Skip to Content
0
Former Member
May 17, 2010 at 12:29 PM

Exit ME51N

32 Views

Hi everyone ,

There is requirement that i have to put a check in PR creation . Like client is maintaining Pack size in basic data 2 (material master)

and they want that this master field should be compared with PR Quantity at the time of creation of PR .

so i found only one exit for ME51N and implemented the same , in exit i could not find the master field so i fetched it from MARA Table by passing the MATNR from PR. but thing is the warning message comes but when i change the PR quantity but it still shows the old one .

For eg :

MARA-NORMT is the field in which they are maintaining the Pack size suppose it is 10.

and PR QTY = 15 or 8 .

then it should give a warning msg that PR qty is not equal to pack size .

Then i change it to 10 lets say but it still shows that warning msg coz it is not updating the PR QTY .

thanks in advance .