Fonction SAP BAPI_FTR_SWAP_REVERSE - Reverse an OTC Interest Rate Derivative Swap

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 Session 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 an OTC interest rate derivative swap.
This reverses the active activity and reactivates the previous 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.
A transaction can only be reversed successfully if the transferred datameets the online transaction consistency conditions. In this case theRETURNCOMPANYCODE and RETURNFINANCIALTRANSACTION
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 the 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
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