Fonction SAP BAPI_FTR_FUTURE_REVERSE - Reverse a Future

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACTIVITYCAT BAPI2042-ACTIVITYCAT N 2 X Transaction Activity Category
COMPANYCODE BAPI2042-COMPANY_CODE C 4 Company Code
FINANCIALTRANSACTION BAPI2042-TRANSACTION C 13 Financial Transaction
REVERSALREASON BAPI2042-REVERSAL_REASON C 2 X Reason for Reversal
TESTRUN BAPI2042-TESTRUN C 1 SPACE X Switch to Simulation Mode for Write BAPIs

Paramètre Reférence Type Long. Description
RETURNCOMPANYCODE BAPI2042-COMPANY_CODE C 4 Company Code
RETURNFINANCIALTRANSACTION BAPI2042-TRANSACTION C 13 Financial Transaction

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Parameters

Functionality
This method lets you reverse a future.
The reversal function reverses the active activity and reactivates theprevious activity.

Notes
If you set the TESTRUN parameter this calls the BAPI insimulation mode.
To write the data to the database after running a BAPI call in an updaterun (TESTRUN initial), a commit work must be triggered,for example with BapiService.TransactionCommit.
Messages are returned in the RETURN parameter.
You can only give notice successfully on a transaction if thetransferred data meets the online transaction consistency conditions. Inthis case the RETURNCOMPANYCODE andRETURNFINANCIALTRANSACTION parameters are filled.
If the data is not consistent or complete it is rejected. In this casethe RETURN parameter contains corresponding messages and theRETURNCOMPANYCODE and RETURNFINANCIALTRANSACTIONparameters are initial.
For more information about parameters, see the interface parameterdocumentation.
INCLUDE FTR_BAPI_BUKRS_CHANGE OBJECT DOKU ID TX
INCLUDE FTR_BAPI_RFHA_CHANGE OBJECT DOKU ID TX

Description
This import parameter contains the activity category to be reversed.
See the relevant data element documentation in the ABAP dictionary forfurther information.

Description
An import parameter that uniquely identifies a company code.

Description
This import parameter uniquely identifies a financial transaction withina company code.

Description
This import parameter shows the reason for reversal. Valid reasons forreversal are defined for your company in Customizing.
See the relevant data element documentation in the ABAP dictionary forfurther information.
INCLUDE FTR_BAPI_TEST_M OBJECT DOKU ID TX
INCLUDE FTR_BAPI_TEST_R OBJECT DOKU ID TX
INCLUDE FTR_BAPI_RETURN_TAB OBJECT DOKU ID TX