Fonction SAP BAPI_FTR_CHANGE_FXOPTIONS_CRL - Change a Basket/Correlation Option

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPANYCODE BAPI2042-COMPANY_CODE C 4 Company Code
FINANCIALTRANSACTION BAPI2042-TRANSACTION C 13 Financial Transaction
FOREX_CRL BAPI_FTR_CHANGE_FXOPT_CRL u 74 FTR: BAPI Structure for Changing Basket/Correlation Options
FOREX_CRLX BAPI_FTR_CHANGE_FXOPT_CRLX u 15 FTR: BAPI Structure for Changing Basket/Correlation Options
GENERALCONTRACTDATA BAPI_FTR_CHANGE u 187 FTR: BAPI Structure for Creating Transactions
GENERALCONTRACTDATAX BAPI_FTR_CHANGEX u 17 FTR: BAPI Structure Change Information for Change Method
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 Parameter
UNDERLYINGS_FX BAPI_FTR_UNDERLYINGS_FX 51 X Underlying Structure for Forex Option
UNDERLYINGS_FXX BAPI_FTR_UNDERLYINGS_FXX 9 X Underlying Structure for Forex Options - Changed Fields

Functionality
You can use this method to change the data for a basket/correlationoption that has already been created.
The changes are carried out with the selected field changes concept.This means that the changed data is transferred in the
GENERALCONTRACTDATA and FOREX_FVA parameters, the fields thatare to be changed, and their values copied, are indicated in theGENERALCONTRACTDATAX (or FOREX_FVAX) parameter.

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, forexample with BapiService.TransactionCommit.
Messages are returned in the RETURN parameter.
A transaction can only be changed 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 parameters, see the interface parameterdocumentation.
INCLUDE FTR_BAPI_BUKRS_CHANGE OBJECT DOKU ID TX
INCLUDE FTR_BAPI_RFHA_CHANGE OBJECT DOKU ID TX

Description
An import parameter that uniquely identifies a company code.

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

Description
An import parameter for transferring the special (for a specific productcategory) value of basket/correlation option.
In this parameter you can transfer the new values for fields you want tochange. The change structure (FOREX_CRLX) must also be notifiedof the fields to be changed.
For further information about the individual parameter fields, see therelevant data element documentation in the ABAP dictionary.
INCLUDE FTR_BAPI_PREP_STRUC OBJECT DOKU ID TX
INCLUDE FTR_BAPI_PREP_STRUC_WERT OBJECT DOKU ID TX
INCLUDE FTR_BAPI_GEN_CHANGE OBJECT DOKU ID TX
INCLUDE FTR_BAPI_PREP_STRUC OBJECT DOKU ID TX
INCLUDE FTR_BAPI_PREP_STRUC_WERT OBJECT DOKU ID TX
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

Description
A table for transferring the special (for a specific product category)value of the underlying for a basket/correlation option.
In this parameter you can transfer the new values for fields you want tochange. The change structure (UNDERLYINGS_FXX) must also benotified of the fields to be changed.
For further information about the individual parameter fields, see therelevant data element documentation in the ABAP dictionary.
INCLUDE FTR_BAPI_PREP_STRUC OBJECT DOKU ID TX
INCLUDE FTR_BAPI_PREP_STRUC_WERT OBJECT DOKU ID TX