Ansicht
Dokumentation
BAPI_FTR_FRA_CHANGE - Change an OTC Interest Rate Derivative FRA
ROGBILLS - Synchronize billing plans ABAP Short ReferenceThis documentation is copyright by SAP AG.
Functionality
You can use this method to change the data for an OTC interest rate derivative FRA 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 (or OTCINTERESTFRA) parameter, the fields that are tobe changed, and their values copied, are indicated in the GENERALCONTRACTDATAX (or OTCINTERESTFRAX) parameter.
Example
Changing the fixed interest rate of a FRA:
Set the COMPANYCODE and FINANCIALTRANSACTIONparameters. Set field OTCINTERESTFRA-INTEREST_RATEto the new value. Set field OTCINTERESTFRAX-INTEREST_RATE to 'X.' Call the OTCInterestFRA.Change method.
This is one possibility for using the Change method. The following procedure is more or less how you should proceed when you change an OTC interest rate derivative FRA:
Read the data for a FRA using OTCInterestFRA.GetDetail. Copy and change the data according to the changes required. Call OTCInterestFRA.PrepareChangeStructureto get the change parameters. Call OTCInterestFRA.Change.
Notes
If you set the TESTRUNparameter this calls the BAPI in simulation mode.
To write the data to the database after running a BAPI call in an update run (TESTRUN initial), a commit work must be triggered, for example with BapiService.TransactionCommit.
Messages are returned in the RETURNparameter.
A transaction can only be changed successfully if the transferred data meets the online transaction consistency conditions. In this case the RETURNCOMPANYCODE and RETURNFINANCIALTRANSACTIONparameters are filled.
If the data is not consistent or complete it is rejected. In this case the RETURN parameter contains corresponding messages and the RETURNCOMPANYCODEand RETURNFINANCIALTRANSACTION parameters are initial.
For more information about the parameters, see the interface parameter documentation.
Further information
Parameters
COMPANYCODEFINANCIALTRANSACTION
GENERALCONTRACTDATA
GENERALCONTRACTDATAX
OTCINTERESTFRA
OTCINTERESTFRAX
RETURN
RETURNCOMPANYCODE
RETURNFINANCIALTRANSACTION
TESTRUN
Exceptions
Function Group
FTR_BAPI_FRAFill RESBD Structure from EBP Component Structure Addresses (Business Address Services)
This documentation is copyright by SAP AG.
Length: 4049 Date: 20240523 Time: 111041 sap01-206 ( 44 ms )