Functionality This method enables you to change data in a transaction that has alreadybeen created. In principle, you can change all structure characteristics that you canspecify when you create a transaction. However, this does not apply tothe company code and transaction number key fields, or the product type.Neither does it apply to the transaction activity category andtransaction type fields in the 'Structure: Money market' and 'Structure:Foreign exchange' parameters. Note the following when you use BAPIs: To make sure changes are consistent, you must transfer both the new,changed status as well as the old status of the transaction read byGetDetail> when you call it up. You can usea parameter with the same name as the parameter for the old status byadding an 'X' to it. The system checks whether the last status read usingGetDetail> is the same as the current statusin the database. If the person calling up this BAPI uses an old status, this changerequest must be rejected. This is possible since you must not blockrequests via several BAPI calls and you cannot prevent another user inthe meantime from changing the status of the database. If this is thecase, the only option is to reread the database usingGetDetail> and regenerate the changerequest. If the status of the database has not changed since the last time it wasread, you can post the change request. The system carries out, however, the usual plausibility checks first.Notes INCLUDE BAPI_RETURN Further information For more information, see the SAP Library under TR Treasury-->Treasury Management (TR-TM)-->Money Market-->Trading andTR Treasury-->Treasury Management (TR-TM) -->Foreign Exchange -->Tradingin the following sections:
- Processing Fixed-Term Deposit
- Processing Deposit at Notice
- Processing Commercial Paper
- Processing a Spot/Forward Transaction
- Editing Standard Options
- Editing an Exotic Option
- Editing an Order
Description After you call up the method, this parameter contains the error numberand text if an error occurs. Description INCLUDE BAPI_KEYFIELD Description Parameter for transferring the characteristic of a foreign exchangetransaction. In this structure you transfer both the fields that are changed andthose that remain unchanged by the comparison parameter. INCLUDE BAPI_DATAELEMENT Description Import parameter that transfers the original characteristic of aforeign exchange transaction. Using this parameter, you can determinewhich transaction fields are changed. The contents of fields relevant for change are defined in parameterStructure: Foreign exchange>.Description Import parameter for transferring the characteristic of a money markettransaction. In this structure you transfer both the fields that are changed andthose that remain unchanged by the comparison parameter. INCLUDE BAPI_DATAELEMENT Description Import parameter of the change method that transfers the originalcharacteristic of a money market transaction. The system uses the parameter to determine which transaction fields arechanged. The contents of fields relevant for change are defined inparameter Structure: Money market>.Description INCLUDE BAPI_KEYFIELD
|