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: 

Weird Problem - ME21n

Former Member
0 Kudos

I have created a user exit for ME21n, however ..there is only one user that cant access to ME21n.. it will go the the dump but other user can acess to ME21n. The user authority is same btw these users.

When I set breakpoint in the user exit, for user that can access, it will not go through the user exit breakpoints....but for the user tht cant access ME21n, it will goes to the breakpoint that i set in the user exit....

what can i do n test ????????

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi !

That's dificult !

What is the dump's reason ??

What you can do is the following:

- Check the GUI-Version

Programms with GUI-Controly may dump if the GUI-Version

is not correct !

- Before your debugging check the user specific

parameters. So go to the SU3 and see what parameters

are set. If you can - copy both users to "test-users",

delete the paramters of the test users and

try debugging.

Regards

Rainer

Some points would be fine if that helped a bit...

5 REPLIES 5

Former Member
0 Kudos

Hi rayblur,

one possibility is that the user exit u have selected may not be the appropriate one for ur case,ie, it may be something like validating a user or something like that.. u may need to chk out another user exit,if possible more than one n put BPs n use trial n error method to c which one works.. for ME21N, badi ME_PROCESS_PO or ME_PROCESS_PO_CUST may be more useful though..

hope it helps..

Regards

Former Member
0 Kudos

Hi !

That's dificult !

What is the dump's reason ??

What you can do is the following:

- Check the GUI-Version

Programms with GUI-Controly may dump if the GUI-Version

is not correct !

- Before your debugging check the user specific

parameters. So go to the SU3 and see what parameters

are set. If you can - copy both users to "test-users",

delete the paramters of the test users and

try debugging.

Regards

Rainer

Some points would be fine if that helped a bit...

Former Member
0 Kudos

can you give information on your dump???

0 Kudos

check the ABAP Code editor for that dump and try to analize the error .

still you can debugg and check the value of sy-subrc at various point .

if possible then send Error analysis from dump .

Regards

Siddharth

Former Member
0 Kudos

HI

GOOD

CHECK WITH SOME OF THE USEREXITS OF ME21N AND TRY TO IMPLEMENT IN YOUR REPORT I HOPE THIS WILL HELP YOU.

AMPL0001 User subscreen for additional data on AMPL

LMEDR001 Enhancements to print program

LMELA002 Adopt batch no. from shipping notification when posting a GR

LMELA010 Inbound shipping notification: Transfer item data from IDOC

LMEQR001 User exit for source determination

LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt

LWSUS001 Customer-Specific Source Determination in Retail

M06B0001 Role determination for purchase requisition release

M06B0002 Changes to comm. structure for purchase requisition release

M06B0003 Number range and document number

M06B0004 Number range and document number

M06B0005 Changes to comm. structure for overall release of requisn.

M06E0004 Changes to communication structure for release purch. doc.

M06E0005 Role determination for release of purchasing documents

MEQUERY1 Enhancement to Document Overview ME21N/ME51N

THANKS

MRUTYUN