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: 

Screen Exit BADI for MIGO

0 Kudos

I have a requirement in which i have to add a table control in my custom screen. In that there are three line items in a particular order no. when i click on line Item one and in that there are 2 quantity(MENGE) is there then in table control only two row should open and others remain grayed out.

3 REPLIES 3

Sandra_Rossi
Active Contributor
0 Kudos

It's difficult to understand whether your issue is only a dynpro issue with the gray out of lines of a table control in a custom screen, or if it's tightly related to MIGO data. Could you please explain what is your exact issue?

0 Kudos

Only dynpro issue with gray out lines of table control

Sandra_Rossi
Active Contributor
0 Kudos

To gray out lines of table control, if you have such a flow logic

PROCESS BEFORE OUTPUT.
  LOOP AT ... WITH CONTROL ...
    MODULE tctrl_pbo.
  ENDLOOP.

then define the module as follows (it will be executed for every line displayed on the screen):

MODULE tctrl_pbo OUTPUT.
  IF the current line is to be grayed out.
    LOOP AT SCREEN.
      screen-input = '0'. " gray out
      MODIFY SCREEN.
    ENDLOOP.
ENDIF.
ENDMODULE.