Skip to Content
-1

Screen Exit BADI for MIGO

May 25, 2017 at 04:19 AM

81

avatar image

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.

req-1.jpg (128.6 kB)
10 |10000 characters needed characters left characters exceeded

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

Only dynpro issue with gray out lines of table control

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Sandra Rossi May 25, 2017 at 03:01 PM
0

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.
Share
10 |10000 characters needed characters left characters exceeded