Functionality You can use this method to change the data for an OTC interest ratederivative swap 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 GE NERALCONTRACTDATA >(or OTCINTERESTSWAP>) parameter, the fieldsthat are to be changed, and their values copied, are indicated in theGENERALCONTRACTDATAX >(or OTCINTERESTSWAPX>) parameter.Example Changing the fixed interest rate for the outgoing side of an interestrate swap: Set the COMPANYCODE >and FINANCIALTRANSACTION> parameters.Set the OTCINTERESTSWAP-PAY_INTEREST_RATE> field to the new value.Set the OTCINTERESTSWAPX-PAY_INTEREST_RATE> field to 'X'. Call theOTCInterestSwap.Change> method. This is one possibility for using the Change >method. Thefollowing general procedure applies to changing an OTC interest ratederivative swap: Read the data for a swap using OTCInterestSwap.GetDetail>. Copyand change the data according to the changes required. CallOTCInterestSwap.PrepareChangeStructure> to get the changeparameters. Call OTCInterestSwap.Change>.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 RETURNFINANCIALTRANSACTION>parameters 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 TXDescription Import parameter that uniquely identifies a company code. Description Import parameter used to uniquely identify a financial transactionwithin a company code. 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 Description An import parameter for transferring the special (for a specific productcategory) value of an OTC interest rate derivative swap. In this parameter you can transfer the new values for fields you want tochange. The change structure (OTCINTERESTSWAPX>) 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 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 |