Application Development and Automation 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: 
Read only

Dynamic Parameter in selection screen

Former Member
0 Likes
574

Hi all

Following is the selection screen code through which I am trying to assign dynamic parameter name to PARAMETERS, but it is giving sytax error.

SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME.

Loop at i_text.

CHKIDX = SY-TABIX.

CONCATENATE 'CHKTEXT' chkidx into CHKTXT.

condense chktxt no-gaps.

ASSIGN (chktxt) TO <char>.

PARAMETERS: <char> AS CHECKBOX DEFAULT 'X'.

endloop.

SELECTION-SCREEN END OF BLOCK B.

Please advice whether i can define dynamic parameter in selection screen.

Thanks

Ravindra Suvarna

2 REPLIES 2
Read only

Former Member
0 Likes
434

you cant define dynamic txt for labeling the parameter in selection screen..but there is another way out..

you can declare all the required parameter on screen, but make visible only those which r required in that perticular condition or user action..

Message was edited by: Anid

Read only

andreas_mann3
Active Contributor
0 Likes
434

hi,

pls look F1 for :

SELECT-OPTIONS sel FOR (f).

Andreas