Ansicht
Dokumentation
BAPI_FTR_CAPFLOOR_CHANGE - Change OTC Interest Rate Derivative Cap/Floor
Vendor Master (General Section) ROGBILLS - Synchronize billing plansThis documentation is copyright by SAP AG.
Functionality
You can use this method to change the data for an OTC interest rate derivative Cap or Floor 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 OTCINTERESTCAPFLOOR) parameter, the fields that are to be changed, and their values copied, are indicated in the GENERALCONTRACTDATAX (or OTCINTERESTCAPFLOORX) parameter.
Example
Change the lower limit of a floor:
Set the COMPANYCODE and FINANCIALTRANSACTION parameters. Set the OTCINTERESTCAPFLOOR-STRIKE_LOWER_LIMIT field to the new value. Set the OTCINTERESTCAPFLOORX-STRIKE_LOWER_LIMIT field to 'X.' Call the OTCInterestCapFloor. Change method.
This is one possibility for using the Change method. The following general procedure applies to changing an OTC interest rate derivative cap/floor:
Read the data for a cap/floor using OTCInterestCapFloor.GetDetail. Copy and change the data according to the changes required. Call OTCInterestCapFloor.PrepareChangeStructure to get the change parameters. Call OTCInterestCapFloor.Change.
Notes
If you set the TESTRUN parameter 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 RETURN parameter.
A transaction can only be changed successfully if the transferred data meets the online transaction consistency conditions. In this case the RETURNCOMPANYCODEand RETURNFINANCIALTRANSACTION parameters are filled.
If the data is not consistent or complete it is rejected. In this case the RETURN parameter is filled with corresponding messages and the RETURNCOMPANYCODE and RETURNFINANCIALTRANSACTION are initial.
For more information about the parameters, see the interface parameter documentation.
Further information
Parameters
COMPANYCODEFINANCIALTRANSACTION
GENERALCONTRACTDATA
GENERALCONTRACTDATAX
OTCINTERESTCAPFLOOR
OTCINTERESTCAPFLOORX
RETURN
RETURNCOMPANYCODE
RETURNFINANCIALTRANSACTION
TESTRUN
Exceptions
Function Group
FTR_BAPI_CAPFLOORGeneral Material Data SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up
This documentation is copyright by SAP AG.
Length: 4252 Date: 20240523 Time: 093448 sap01-206 ( 58 ms )