Skip to Content
0
Former Member
Apr 24, 2007 at 06:11 AM

dynamic parameter

11 Views

Hello,

I have a program with a parameter declared as no-display. I would like that, only for a specific user, the parameter to be visible. How can I do that?

I tried in this way:

SELECTION-SCREEN BEGIN OF BLOCK b1.

if lconfig_flag = 'X'.

PARAMETERS: p1 TYPE I .

else.

PARAMETERS: p1 TYPE I

NO-DISPLAY.

endif.

SELECTION-SCREEN END OF BLOCK b1.

But I have an error because I am declaring the parameter twice.

How can I do it?