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: 

ME51N/ ME52N/ ME53N

Former Member
0 Kudos

Hi,

I added a new tab at item level of Purchase Requisition using enhancement MEREQ001 screen SAPLXM02 screen number 0111. The fields that i placed in my new tab had been added to include table CI_EBANDB. The new tab appears in transaction ME52N and ME53N but not in ME51N. What I need to do to make my new tab appear in ME51N? Also in ME53N, the fields that i added in my new tab is activated. How am I going to deactivated the fields if I am in display mode?

Kindly guide me on how to do this..

2 REPLIES 2

Former Member
0 Kudos

Hi,

It should work for all the tcodes, as the program is the same.

In PBO of the screen 0111, write:

if sy-tcode = 'ME53N'.

loop at screen.

screen-input = 0.

modify screen.

endloop.

endif.

The screen will be in display only without input allowed.

Regards,

Subramanian

former_member262988
Active Contributor
0 Kudos

hi,

go to se80 tcode give the function group as XM02 ....in that u will find ur added screen 0111 ....and include

ZXM02TOP where u can declare ur sscreen fields here .

and in the flowlogic of the screen u will find PBO AND PAI.

here you can add the required modules for your logic.....

if you want to make the fields non editable in ME23N..

crearet a module under PBO which will ask u for new Z include create it and write code under

loop at screen.

end loop.

loop at screen .

if sy-tcode = 'ME23N'.

if screen-name = ' '.

screen-input = 0.

endif.

endif.

endloop.

try to check out the values in debugg mode.