Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User exit in MB01 for Rounding the GR/GI Quanity field

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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.