Fonction SAP BAPI_FTR_IRATE_CHANGE - Change interest rate instrument

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
GENERALCONTRACTDATA BAPI_FTR_CHANGE u 187 X FTR: BAPI Structure for Creating Transactions
GENERALCONTRACTDATAX BAPI_FTR_CHANGEX u 17 X FTR: BAPI Structure Change Information for Change Method
INTERESTRATEINSTRUMENT BAPI_FTR_CHANGE_IRATE u 272 X Change Interest Rate Instrument per BAPI
INTERESTRATEINSTRUMENTX BAPI_FTR_CHANGE_IRATEX u 40 X Change Structure for Changing Interest Rate Instrument per BAPI
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 Parameters

Functionality
You can use this method to change the data of an existing financialtransaction.
Note the following when using this BAPI:
In order to ensure that the changes are consistent, you must transferboth the new, changed status of the transaction and the old status. Theold status is read using the function moduleGetDetail. The parameter for the old statushas the same name as for the new status plus the suffix 'X'.
The system checks whether the most recent status read byGetDetail matches the current status on thedatabase.
If the user calling up the BAPI is working with an old status, thechange request must be rejected. The reason a user may have an oldstatus is that it is not possible to keep the data locked for theduration of several BAPI calls. As a result, the data may have beenchanged by another user in the meantime. In this case, you must read thedatabase again using GetDetail and create anew change request.
If the database status has not changed since the last time the data wasread, the system updates the database according to the change request.
Before updating the database, the system runs the usual plausibilitychecks.

Notes
Any messages are returned in the parameter Return. Thedocumentation for this parameter contains the return values and thecorresponding meanings.

Further information
For more information, see the SAP Library under Corporate FinanceManagement --> Transaction Manager --> Money Market --> Trading -->Interest Rate Instruments.

Description
Documentation in preparation

Default

Description
Documentation in preparation

Default

Description
Documentation in preparation

Default

Description
Documentation in preparation

Default

Description
Documentation in preparation

Default

Description
Documentation in preparation

Default

Description
The meaning of the import parameter is described in the documentationfor the data element Switch to Simulation Mode for Write BAPIs.

Value range
This parameter is used in write BAPIs to check the details for theinstance before the object instance is actually created on thedatabase. The system simulates creating the object instance but thedata is not updated (written to the database).
The following values are possible:
' ' (no value)
Data is updated to the database. This is the standard setting theperson calling up the BAPI would normally expect.
'X'
The BAPI has only been called up in simulation mode. The database isnot updated.

Description
If errors have occurred, this parameter contains the correspondingerror number and error text after the method has been returned to thecalling program. If the method was completed without errors, thisparameter is set at its initial value.