09-10-2008 9:26 PM
There is a requirement where whenever there is GR or GI for a material based on PO line item , I need to insert code for rounding the value.
i.e when material document is created in SAP via idoc or manually, i need to check the field for fraction and validate it.
I need to know the Exit in MB01 where i can insert this code to cause changes to this value.
Material document is first created in MSEG and MKPF hence the field is MSEG-BPMNG and EKBE-MENGE
09-11-2008 12:34 AM
Hi Priti,
Try the below userexits
Exit Name Description
MBCF0002 Customer function exit: Segment text in material doc. item
MBCF0005 Material document item for goods receipt/issue slip
MBCF0006 Customer function for WBS element
MBCF0007 Customer function exit: Updating a reservation
MBCF0009 Filling the storage location field
MBCF0010 Customer exit: Create reservation BAPI_RESERVATION_CREATE1
MBCF0011 Read from RESB and RKPF for print list in MB26
MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc.
Put break-point at each exit and find out where it triggers for ur scenario.
Hope it helps u...
Regards,
KK
09-11-2008 1:06 AM
I am not able to find the Function Module mentioned in this exits inman program for MB01.
How do I find that ?
I have worked on Sales order Exits and new to MB01 exits.
Basically I want to change the MSEG-BPMNG qty that is the GR/GI Qty.
10-14-2008 10:37 AM
Hi Priti,
You can find out the function modules in enhancement like this
1) Go to SMOD transaction
2) specify enhancement for example MBCF0002 and click display
3) click on components tab in application toolbar which displays function module exits in first block.
Thanks,
Naveen Kumar.