on 06-07-2017 9:25 PM
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
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.