Ansicht
Dokumentation

BS01_SALESORDER_CHANGE - Sales Order: Change with Bill of Services

BS01_SALESORDER_CHANGE - Sales Order: Change with Bill of Services

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can change and delete sales orders with this method.

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

You can transfer custoemr fields in tables VBAK, VBAP, VBEP and ESLL using structre EXTENSIONIN.

The following changes are not allowed:

  • Changes to a document item if the status does not allow this/if it has the status "complete"
  • Deletion of a service line if a BOS laready exists for this service line
  • Line type of a service line if a BOS already exists for this service line

Example

  • Delete order completely
  • delete order item
  • Create, change and delete service lines

Notes

Generaly speaking, the following applies:

  1. You should only enter the fields to be changed
They should be marked with an X in the appropriate checkbox structure.
  1. Fill field UPDATEFLAG for the selected field.
Possible UPDATEFLAGS: U = change
D = delete
I = create
  1. Exception: configuration. If you change the configuration, it must be filled completely.
  2. Maintain quantites and dates using the schedule line data.

Minimum required entries:

1. The document number must be entered in structure SALESDOCUMENT.

2. Key fields must always be entered when a change is made, also in the
checkbox structure.

3. The update indicator in SALESORDER_HEADER_INX must always be entered.

Commit Control:

The BAPI does not perform a database Commit. This means that the
calling application has to exit the Commit so that changes can be made
on the database. BAPI "BAPI_TRANSACTION_COMMIT" is available for this.

Further information





Parameters

BEHAVE_WHEN_ERROR
CONDITIONS_IN
CONDITIONS_INX
EXTENSIONIN
INT_NUMBER_ASSIGNMENT
LOGICSWITCH
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_SERVICE
ORDER_SERVICES_COND
ORDER_SERVICES_CONDX
ORDER_SERVICEX
ORDER_SERVICE_TEXT
ORDER_TEXT
PARTNERADDRESSES
PARTNERCHANGES
PARTNERS
RETURN
SALESDOCUMENT
SCHEDULE_LINES
SCHEDULE_LINESX
SIMULATION

Exceptions

Function Group

BOS01

ROGBILLS - Synchronize billing plans   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 5260 Date: 20240523 Time: 162404     sap01-206 ( 45 ms )