Ansicht
Dokumentation

BAPI_SALESORDER_CHANGE - Sales order: Change Sales Order

BAPI_SALESORDER_CHANGE - Sales order: Change Sales Order

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to change or delete sales orders.

You can change header, item, schedule line and configuration data.

In general, note that you should:

  • Only specify fields that should be changed
  • Select these fields by entering an X in the checkboxes
  • Enter a U in the UPDATEFLAG field
  • Always specify key fields when changing the data, including in the checkboxes
  • The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
  • Maintain quantities and dates in the schedule line data
  • Possible UPDATEFLAGS:
  • U = change

  • D = delete

  • I = add

Example

  1. Delete the whole order
  2. Delete order items
  3. Change the order
  4. Change the configuration

Notes

  1. Minimum entry:

You must enter the order number in the SALESDOCUMENT structure.
You must always enter key fields for changes.
You must always specify the update indicator in the ORDER_HEADER_INX.

  1. Commit control:

The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

Further information





Parameters

BEHAVE_WHEN_ERROR
CONDITIONS_IN
CONDITIONS_INX
EXTENSIONEX
EXTENSIONIN
INT_NUMBER_ASSIGNMENT
LOGIC_SWITCH
NO_STATUS_BUF_INIT
ORDER_CFGS_BLOB
ORDER_CFGS_INST
ORDER_CFGS_PART_OF
ORDER_CFGS_REF
ORDER_CFGS_REFINST
ORDER_CFGS_VALUE
ORDER_CFGS_VK
ORDER_HEADER_IN
ORDER_HEADER_INX
ORDER_ITEM_IN
ORDER_ITEM_INX
ORDER_KEYS
ORDER_TEXT
PARTNERADDRESSES
PARTNERCHANGES
PARTNERS
RETURN
SALESDOCUMENT
SCHEDULE_LINES
SCHEDULE_LINESX
SIMULATION

Exceptions

Function Group

2032

Addresses (Business Address Services)   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4578 Date: 20240523 Time: 160329     sap01-206 ( 43 ms )