Problem Ticket: In our company, recently we are observing that the users are not capturing the regular issue of material on daily basis, which is why the material consumption is not coming on time or the status is changing. Is there any option to make the entry a must or do you have any suggestion to control this loop hole? Solution: You can work with PP and ABAP person on this requirement. I think the only way to you can control this is by implementing an USER EXIT or BADI 1) User-Exit Use below user exit for Production Order when saving exit will work - PPCO0007 (Go to SMOD) Function exit EXIT_SAPLCOZV_001 enhancement when saving order &---------------------------------------------------------------------
*Write code here
2) BADI Implement the BADI - WORKORDER_CONFIRM in this
there is method
write this code method IF_EX_WORKORDER_CONFIRM~AT_SAVE. data: lt_resb type standard table of resb,
select * from resb into table lt_resb where rsnum eq i_order_header-rsnum
and xloek eq space and bdmng gt 0.
loop at lt_resb into wa_resb.
endmethod.
Read Also:
SAP PP Reference Books:
Goto:
Back to:
Return to :-
(c) www.gotothings.com All material on this site is Copyright.
|