cancel
Showing results for 
Search instead for 
Did you mean: 

Planned order generation for each demand

Former Member
0 Kudos

hi all,

Is it possible to Create planned order for each demand within a day in LTP.

for ex.,

Ms04

Planned order-  19.09.2014  4500

demand   19.09.2014  --  500

demand   19.09.2014  --  1500

demand   19.09.2014  --  2500

Its creating like above is it possible to create planned order as follows

We required as follows

Planned order-  19.09.2014  500

Planned order-  19.09.2014  1500

Planned order-  19.09.2014  2500

demand   19.09.2014  --  500

demand   19.09.2014  --  1500

demand   19.09.2014  --  2500

Which setting controls it. we are using individual/collective requirement as 1 for these materials

How the on different dates separate planned orders are generated. please include your valuable inputs

Regards

Muthu Kumar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos


One information i can add.

My demand is from different material to the same child.

MS04 for child

Planned order-  19.09.2014                           4500

demand   19.09.2014  --  From Material1      500

demand   19.09.2014  --  from Material2      1500

demand   19.09.2014  -- From Material3      2500

Can we differentiate this into separate planned orders

Regards

Muthu Kumar

Former Member
0 Kudos

Hi Kumar,

as mentioned before.

If you do not have a MTO scenario you need to use BAdI MD_ADD_ELEMENTS to simulate individual requrirements within the same date.

Make sure you check for the right scenario, so the coding is not executed during regular MRP

This coding could be a starting point.

could not test it.,  but you can give it a try.

data: lf_temp_date type DAT00, ls_MDPS type mdps, lf_planr type PLANR.

if IM_PLSC is not initial.
 
  CH_CHANGED = 'X'.

  loop at CH_COPY_MDPSX into ls_MDPS where delkz = 'SM'. "for simulated dependent requirements

if ls_MDPS-dat00 = lf_temp_date.
 
  ls_mdps-planr = lf_planr + 1.
  lf_planr = ls_mdps-planr.
else.
  lf_planr = ls_mdps-planr.
endif.

lf_temp_date = ls_mdps-dat00.

  endloop.
endif.

If you need to have separate planned order depending on header material you can also check for this in addition to requirement date

Uli

Former Member
0 Kudos

Thanks KÖller´.

We face a  new challenge when we do this we have pir at assembly level and sub assembly level.

The planned order generated at sub assembly get summed up for both PIR and depedent requirement.

In this case this Plnr number range doesnt works. Because one demand is dependent demand and other is PIR demand but single planned order generated for both.

Regards

Muthu Kumar

Former Member
0 Kudos

You have to keep the same  ls_mdps-planr for which you want to have a common planned order ...

Former Member
0 Kudos

If you don't have a MTO scenario for the header material, its not possible to achieve that with sap standard.

MRP will always create one planned order for requiremnts on the same date.

You can use BAdI MD_ADD_ELEMENTS and change planning segment in CH_COPY_MDPSX so its different for the requirements on the same date.

This would be like a individual requirement.

Regards,

Uli

Caetano
Product and Topic Expert
Product and Topic Expert

Hello

On the standard system this is not possible.

See my answer on the following thread and the refered note:

BR

Caetano