cancel
Showing results for 
Search instead for 
Did you mean: 

BOM explosion in firmed planned orders

former_member218144
Participant
0 Kudos

Hi,

I want to re-explode BOM in firmed planned orders.Currently we are using the BAPI "BAPI_PLANNEDORDER_CREATE" to do the same.

I am passing the parameters

Planned order

Headerdata

Plant- "xxxx"

DET_SCHEDULE-"x"

Headerdatax

Prod_plant-"x"

DET_SCHEDULE-"x"

Then I commit the bapi.

But the BOM is not reexploding in the planned order.

Please let me know whether I am missing any input parameters to meet my requirement.

Regards

Richie

ewald_neufeld23
Discoverer
0 Kudos
I used the function module MD_PLANNED_ORDER_CHANGE to trigger the BOM explode function
View Entire Topic
ewald_neufeld23
Discoverer
0 Kudos

I used MD_PLDORD_CHANGE_BAPI to trigger explode BOM. 

CALL FUNCTION 'MD_PLDORD_CHANGE_BAPI'
  EXPORTING
    eplaf = VALUE plaf( )
    ecm61o = VALUE cm61o( bapco = '2' ) "will force a BOM explode 
    eplnum = "Planned order number
    ebapiplaf_i2x = VALUE bapiplaf_i2x( det_schedule = 'X' ) "Dummy change 
  EXCEPTIONS
    error_message.

Best regards