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 willtrigger 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 (R/3release 4.5A) into a transaction to deal with planned orders. For moreinformation, please refer to the program documentation on this transaction. The name of the program is "MDBAPI01".
Please note that this method can not be used to change the material components of a planned order.
The following authorization objects are checked with the activity V (change):M_PLAF_ORG
Parameter "HEADERDATA" and "HEADERDATAX have the following interdependencies:
"HEADERDATA" is used to enter the values to change a planned order, andthe 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.
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.
Messages are received back in the parameter 'Return'. You can find
return values and their meaning in this parameter documentation.