Ansicht
Dokumentation

BAPI_FTR_CP_CHANGE - Change Commercial Paper

BAPI_FTR_CP_CHANGE - Change Commercial Paper

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to change the data of an existing financial transaction.

Note the following when using this BAPI:

In order to ensure that the changes are consistent, you must transfer both the new, changed status of the transaction and the old status. The old status is read using the function module GetDetail. The parameter for the old status has the same name as for the new status plus the suffix 'X'.

The system checks whether the most recent status read by GetDetail matches the current status on the database.

If the user calling up the BAPI is working with an old status, the change request must be rejected. The reason a user may have an old status is that it is not possible to keep the data locked for the duration of several BAPI calls. As a result, the data may have been changed by another user in the meantime. In this case, you must read the database again using GetDetail and create a new change request.

If the database status has not changed since the last time the data was read, the system updates the database according to the change request.

Before updating the database, the system runs the usual plausibility checks.

Notes

Any messages are returned in the parameter Return. The documentation for this parameter contains the return values and the corresponding meanings.

Further information

SAP Library: Transaction Manager -→ Money Market -→ Trading -→ Commercial Paper.





Parameters

COMMERCIALPAPER
COMMERCIALPAPERX
COMPANYCODE
FINANCIALTRANSACTION
GENERALCONTRACTDATA
GENERALCONTRACTDATAX
RETURN
RETURNCOMPANYCODE
RETURNFINANCIALTRANSACTION
TESTRUN

Exceptions

Function Group

FTR_BAPI_CP

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 3074 Date: 20240523 Time: 104100     sap01-206 ( 69 ms )