Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to display the table control based on the value from the dropdown in module pool

Hi ,

I am trying to display the table control based on the value from the drop down in module pool program.

I have 2  values in the drop down list (eg : D1,D2).and 2 table controls (eg: tab1,tab2)

If I select first value from dropdown (ie D1).First table control should display (ie: tab1)

If I select second value from dropdown(ie D2).second table control should display.(ie: tab2)

I tried

loop at screen.

IF screen-name = 'table control name'.

screen-invisible = 1. " active field

         modify screen.

endif.

but here I am not able to get the table control name in the screen-name,I am getting only the column name of the table control.


Please suggest is it possible to achieve the requirement.



Thanks

Vivek

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question