Fonction SAP BAPI_FTR_CREATE_FWD_FXVA - Create a Forward Volatility Agreement

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
ACTIVITY_CATEGORY BAPI2042-ACTIVITYCAT N 2 X Transaction Activity Category
FOREX_FVA BAPI_FTR_CREATE_FX_FVA u 168 Creating an Forward Volatility Agreement with BAPI
GENERALCONTRACTDATA BAPI_FTR_CREATE u 250 FTR: BAPI Structure for Creating Transactions
TESTRUN BAPI2042-TESTRUN C 1 SPACE X Switch to Simulation Mode for Write BAPIs

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

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

Functionality
This method lets you create a forward volatility agreement.
The transferred data corresponds to the data in the online transactionunder Structure and Underlying and to general business transaction data.
Add to data entered in detail screens using the relevant methods. Thisapplies particularly to data for conditions, additional flows and mainflows.

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 created successfully if the transferred datameets the online transaction consistency conditions. In this case theCOMPANYCODE and FINANCIALTRANSACTION parameters are filled.
If the data is not consistent or complete it is rejected. In this casethe RETURN parameter contains corresponding messages and theCOMPANYCODE and FINANCIALTRANSACTION parameters are initial.
Refer to the interface parameter documentation for information about thedata, what is mandatory, optional or depends on the settings inCustomizing, and what default settings exist.
INCLUDE FTR_BAPI_BUKRS_CREATE OBJECT DOKU ID TX
INCLUDE FTR_BAPI_RFHA_CREATE 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 for transferring the special (for a specific productcategory) value of a forward volatility agreement.
This parameter is only evaluated with the Create method if theproduct category 780 (forward) was assigned in Customizingfor the product type entered.
There are three different types of transferring fields:

  • Mandatory: An entry is required and there are no system default
  • settings.
    • Optional: An entry is not absolutely necessary. A value is either
    • not absolutely necessary or there are system default settings.
      • Customizable: In Customizing you can define whether the field is
      • mandatory, optional or not applicable (no entry possible).
        For further information about the individual parameter fields, see therelevant data element documentation in the ABAP dictionary.


        INCLUDE FTR_BAPI_GEN_CREATE OBJECT DOKU ID TX
        INCLUDE FTR_BAPI_TEST_CREATE OBJECT DOKU ID TX
        INCLUDE FTR_BAPI_TEST_CREATE_R OBJECT DOKU ID TX
        INCLUDE FTR_BAPI_RETURN_TAB OBJECT DOKU ID TX