05-25-2017 5:19 AM
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.
05-25-2017 10:37 AM
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?
05-25-2017 2:29 PM
05-25-2017 4:01 PM
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.