cancel
Showing results for 
Search instead for 
Did you mean: 

Grey out all fields to edit on Services tab in ME52N based on PReq.Processing State (BANPR)

masna_7
Participant
0 Kudos
216

Hi Experts, 

 

I have a requirement to disable all the fields of Services Tab to edit based on the PReq.Processing State (BANPR). Can this be achieved using any Exits ? 

 

I am attaching a screenshot of the fields to be greyed out. Help greatly appreciated. 

 

Regards,

Masna

masna_7_0-1729863266897.png

 

Accepted Solutions (0)

Answers (1)

Answers (1)

RaymondGiuseppi
Active Contributor
0 Kudos

Could you set a break-point at start of form MODIFY_SCREEN_ROW of SAPLMLSP, to insure it's the correct PBO logic of table control and then debug or analyze it (some ENHANCEMENT-POINTs are available)

 

masna_7
Participant
0 Kudos

Hi Raymond,

 

Yes, this Sub-Routine is getting triggered when displaying the Services Tab in ME52N, but do I need a Implicit enhancement in the Standard Include here ? Do I need to Disable the fields one by one or the whole tab can be disabled at once ?

 

Regards.

RaymondGiuseppi
Active Contributor
0 Kudos

You could put a LOOP AT/MODIFY SCREEN loop at end of form.

  • A loop LOOP AT TC_VIEW-COLS doesn'r seem required
  • Just insure you are in the correct dynpro, and PR is in the required status