cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

components data in bapi_plannedorder_create

SidAnand
Explorer
0 Likes
1,837

Hi ,

Please correct me if i am wrong.

the BAPI : bapi_plannedorder_create  , i am passing the header data.

So for the header material , the components are identified and the BOM explosion is done and the values are populated in the component data.

now , Case 2 : I want to create a planned order with custom components data (quantities of component materials are different from the ones determined                         by the system automatically) , and  if i pass these to the COMPONENTSDATA ( table of bapi ) ,

                       it is even then creating the planned order with it own component value and the values supplied by me are not getting populated.

What , should be done:

Step 1 : Use Bapi_plannedorder_create and let the system auto create the components and its quantity values.

Step 2 : Change the planned order components values (But how ? .. there are no change BAPI/FM for components)

               Should i use a BDC/Batch Input ? or is there any other way to update a planned order with component data (quantities are different from the ones                determined by the system automatically)

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

MarianoCabalen
Active Contributor
0 Likes

Hello,

The documentation of the BAPI said that this can be used with manual entry of components.


This method can be used to create planned orders with BoM explosion or

with manual entry of components.

To help you to 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'.

You need to complete the structure: CREATEDCOMPONENTSDATA 

What you enter there will be added manually.

Kind Regards,

Mariano

Answers (0)