avatar image
Former Member

MRP split purchase requisition with same date

Hi All,

This question has already been posted, but the answer doesn't work for me.

"When I run MRP, if there are more requirements for the same material with same date, the system creates one purchase requisition grouping requirements.

So, if I have two requirements of 3 and 2 pieces for material A, with date 18042015, the system creates one purchase requisition of 5 pieces"

I tried to use the badi BAdI MD_ADD_ELEMENT method ADD_CHANGE_ELEMENTS like this:

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

CH_CHANGED = ‘X’.

loop at CH_COPY_MDPSX into ls_MDPS where delkz = ‘SR’. ” whatever requirement you have AR, SM, etc.

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-date00

endloop.

But no differences, still have only one purchase request. Any help would we very apreciated.

Thanks,

Nora

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers

Skip to Content