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

Parameter logic ...

Former Member
0 Likes
633

Hi,

I would like to know if there is a way to use the USER-COMMAND logic for radio buttons - getting info without pressing ENTER - for a parameter field.

thanx !

5 REPLIES 5
Read only

Former Member
0 Likes
604

Hi,

yes tehre is a way for user-command logic for radio buttons,

declare the radio button as given below,

parameters : p1 as radiobutton group GP1 USER-COMMAND fcode default 'X',
p2 as radiobutton group GP1 USER-COMMAND fcode.

Now when ever you select the radio button, it will trigger the at selection screen automatically without pressing enter

Regards,

Siddarth

Read only

0 Likes
604

Hi Siddarth,

Sorry i expressed myself badly.

I want to know if there is such logic for a parameter without defining it a radiobutton.

Read only

0 Likes
604

Hi,

No there is no such logic for a parameter as far as I know,

Regards,

Siddarth

Read only

Former Member
0 Likes
604

hi,

refer this standard program DEMO_DYNPRO_CHECK_RADIO .

thanks

chinnaiya

Read only

Former Member
0 Likes
604

I do not believe there is a way to assign a user-command to a standard text box parameter. However, You do have more options than a RB. You can assign a user-command to a check box and also a list box.

I think that listbox may actually work for you.

use it like this:

PARAMETERS p_carrid TYPE spfli-carrid

AS LISTBOX VISIBLE LENGTH 20

USER-COMMAND lbcmd.

You should also study the command help for the parameter statement.