cancel
Showing results for 
Search instead for 
Did you mean: 

Lock Some fields of PR through ABAP Code

masna_7
Participant
0 Kudos
325

Hi,

 

there is a scenario where once the PR is created in SAP, it will be sent to 3rd Party application for Approval via IDOC.

I am looking for a possibility to lock some fields of PR through ABAP Code based on some field in 'Status' tab at Item level until this Approval is complete and this response is received back to SAP via IDOC.

 

I mean Locking here in the sense that the Fields should be greyed out and should not be allowed to EDIT

 

The fields I want to lock are :  1. Fixed vendor at Item Overview Level

2. Quantity at Item Level

3. Gross Price at Item Level.

 

What are the possibilities of these ?

 

many Thanks in advance

  

Sandra_Rossi
Active Contributor
0 Kudos

You may edit your question to embed the screenshot instead of a hyperlink e.g.

Sandra_Rossi_0-1728995028206.png

Sandra_Rossi
Active Contributor
0 Kudos
So, it's ME52N. There are existing answers here: https://www.google.com/search?q=ME52N+user+exit+gray+out+fields. What did you try? What doesn't work?
View Entire Topic
masna_7
Participant
0 Kudos

Hi Sandra,

 

I did not try anything, just trying to find out the possibilites on how to achieve this. Is there any standard procedure or need to write an enhancement for this ?

 

Regards,

Sandra_Rossi
Active Contributor
0 Kudos