Ansicht
Dokumentation

/BA1/BAPI_F4_FX_MODIFY - BAPI for Creating or Changing Market Data Exchange Rates

/BA1/BAPI_F4_FX_MODIFY - BAPI for Creating or Changing Market Data Exchange Rates

ABAP Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You use this method to create or change exchange rates.

This method will decide itself if the object in question needs to be created, or updated. This method makes use of the two-dimensional versioning concept in the SDL, which means that:

- If you want to create an object several times, the system will not issue any error messages (unlike the Create BAPI in the same situation, for example). Instead, a new version is created each time, each with the relevant system date and business date.

- If you go to change an object, but this object does not exist, the system will not issue any error messages, but will instead create an original instance of the object. Compare this to the relevant Change BAPI, which would issue an error message in the same situation.

The object key contains the parameters MDCODE, RATETYPE, FROMCCY, TOCCY, and CONVTYPE.

Possible input values are either stored as fixed values in the system, or are checked again the appropriate Customizing settings.

Data is deleted in the system by using a #logical deletion#. This is controlled by the STATUS parameter. A new version, which the system flags as logically deleted, is created.

In order to definitively post the data to the database, the user must explicitly execute the CommitWork command (by calling the BAPI_TRANSACTION_COMMITfunction module, for example).

The method stores a new version only if the market data value is different from that in the previous version.

Example

Notes

Further information





Parameters

CONVTYPE
CORRECTIONSERVERACTIV
CUSTOMIZINGSETTINGS
EXTENDEDFXRATE
EXTENSIONIN
EXTENSIONOUT
FROMCCY
FROMFACTOR
FXRATE
MDCODE
NOTATION
PROCESSEXTENSION
RATETYPE
RETURN
STATUS
TESTRUN
TOCCY
TOFACTOR
VALIDDATE

Exceptions

Function Group

/SAPLF4_FX_BAPI

rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.

Length: 3818 Date: 20240329 Time: 133045     sap01-206 ( 51 ms )