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: 

Disable custom screen fields in pr when line items released from me54n

arijitbarman
Participant
0 Kudos

Hi abapers,

I have added a custom screen in line item section in me51n/me52n/me53n. Everything is working fine as i have used exit to achieve this. Now my issue is when line items are released from me54n, from me52n/me53n standard screen fields are getting greyed for those line items as it is a standard procedure as SAP does not allow any changes to those line item which are released from me54n. Say if i have 4 line items in pr and from there 1st and 3rd line items are released from me54n then my fields in my custom tab should also be greyed (no one can change anything) for 1st and 3rd line items when changing the pr from me52n/me53n. Please help me to achieve this. At present my fields are in editable mode even if those line items are in released status. Please help me to change my custom screen fields added in line item level as it is a sap standard procedure.

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos

Look at BAdI ME_PROCESS_PO_CUST method FIELDSELECTION_ITEM.

Regards,
Raymond

arijitbarman
Participant
0 Kudos

hi raymond,

Thanks for your reply.

Solved it from pbo of the screen. Used where frgzu = X, then disable input for those line items.