Ansicht
Dokumentation

BAPI_PLANNEDORDER_CHANGE - Change Planned Order

BAPI_PLANNEDORDER_CHANGE - Change Planned Order

TXBHW - Original Tax Base Amount in Local Currency   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method can be used to change the header data of a planned order.

For example, you can change the order quantity of a planned order. Using this method, changing the values in the header data always will trigger rescheduling and re-explosion of the Bill of Material for the planned order.

To help you understand how the method can be used, test transaction "MDBA" is available. It has integrated all 6 planned order methods into a transaction to deal with planned orders. For more information, please refer to the program documentation on this transaction. The name of the program is "MDBAPI01".

Restriction:

Please note that this method can not be used to change the material components of a planned order.

Example

Notes

Authorization checks:

The following authorization objects are checked with the activity V (change):

Parameter interdependencies:

Parameter "HEADERDATA" and "HEADERDATAX have the following interdependencies:
"HEADERDATA" is used to enter the values to change a planned order, and the corresponding fields in "HEADERDATAX" must be filled if you want to make the entry in "HEADERDATA" valid. The two parameters consist of the same fields with the same names.

Further methods:

If you have decided that the changes made by this method are to be saved in the database, you have to call up the method CommitWork. If you decide not to save the data to the database, you can call the method RollbackWork instead.
You can find more information in the parameter documentation of the parameters below.

Confirmations:

Messages are received back in the parameter 'Return'. You can find return values and their meaning in this parameter documentation.

Further information





Parameters

AFS_HEADER
AFS_HEADERX
AFS_MARKER
AFS_RETURN
AFS_SKU
CAPACITYDATA1
CAPACITYDATA2
CAPACITYDATA3
CAPACITYHEADERDATA1
CAPACITYHEADERDATA2
CAPACITYHEADERDATA3
CHANGEDHEADERDATA
COMPONENTSDATA
HEADERDATA
HEADERDATAX
PLANNEDORDER
RETURN
SEASONDATA
SEASONDATAX

Exceptions

Function Group

2004

TXBHW - Original Tax Base Amount in Local Currency   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4543 Date: 20240523 Time: 170036     sap01-206 ( 53 ms )