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: 

ME52N Make services sheet display only

former_member433813
Discoverer
0 Kudos

Hi All.

When I execute TCode ME52n and one of the conditions on a field is met I want the services tab to be display only. I cannot use a different document type for this. Any suggestions.

Regards

Justin

2 REPLIES 2

former_member194669
Active Contributor
0 Kudos

Welcome to SCN,

Possible way will be find a screen/user exit in ME52N and code


if <your-field> eq 'XXX'.
loop at screen.
   if screen-name = 'SERVICE TAB FIELD'. " Give the service tab field name
      screen-input = '0'.
      modify screen.
   endif.
endloop.
endif.

0 Kudos

Hi,

Thanks, but could not find a exit to change screen attributes. I tried to use badi IF_EX_ME_PROCESS_REQ_CUST~FIELDSELECTION_ITEM_REFKEYS. I can define my own field selections on req item level, but does not allow to use custom fieldselection for services tab.

Thanks

Regards

Justin