cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Planned Order for inactive materials

Former Member
0 Kudos

Is there a way I can delete planned order if material status is inactive?

When I try to change/display planned order in MD12/MD13 I get the below message and it does not let me view

But I can see planned orders for this SKU in PLAF table but not in MD04.

When I open MD04 it shows up with the below message with an empty screen (no requirements or planned orders)

Accepted Solutions (1)

Accepted Solutions (1)

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Manoj,

You can delete the planned order through MD16.

You can use COHV to delete planned orders.

You can use this BAPI/FM to delete planned order.

BAPI_PLANNEDORDER_DELETE or MDBA

Also you can use LSMW or BDC for MD12 deletion of planned order by extracting the planned order from PLAF table for these inactive materials MARC.

MPS planned order can be deleted by using report RMPLAF00.

MD04 shows the elements which relevant for planning as material status is inactive these order are not relevant for MRP.

Best Regards,

R.Brahmankar

Former Member
0 Kudos

On further analysis found that these are simulation orders (PLAF.OBART = 6) which is why these are not showing up in COHV, COOIS, MD04, MD12 tcodes.

How can I get rid of these from PLAF?

kiran_kumar179
Active Contributor
0 Kudos

Manoj,

Check with Program RMPLAF00.

See below thread for reference

BR
KK

Former Member
0 Kudos

Also when I try to delete a planned order for inactive material using COHV, I do not see Delete Planned Order under Functions. How can I add this under Functions?

rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Manoj,

It means Simulation order you can get it inside MS12 MS13 or MS04 for your Planning Scenario to Change delete simulative planned order

MPS planned order can be deleted by using report RMPLAF00.


Best Regards,

R.Brahmankar



rupesh_brahmankar3
Active Contributor
0 Kudos

Hello Manoj,

For that you need to activate business function LOG_PP_MIS.

Please refer SAP KBA  1819470 - Mass processing functions are missing in t-code COHV

If you use Release ECC 6.03 and activate the enterprise business function LOG_PP_MIS in transaction SFW5, you can enable this selection.


Best Regards,

R.Brahmankar

Answers (1)

Answers (1)

marianoc
Active Contributor
0 Kudos

Hello,

Run MD16. You will be able to delete the planned orders even when the material is not active. I just make a test and it will fix your problem.

You can also try with program MDBAPI01.

Kind Regards,

Mariano