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 in selection screen not holding the drop down value

Former Member
0 Likes
975

Hi all,

I have a parameter field in selection screen with search help as follows.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(40) TEXT-009.

PARAMETERS RCODE TYPE T530E-PREAS MATCHCODE OBJECT H_T530E.

SELECTION-SCREEN END OF LINE.

At the drop down I can see the correct values but when I select one it does appear on the screen. But when I enter the value manually it holds it. Please advise.

1 ACCEPTED SOLUTION
Read only

former_member191735
Active Contributor
0 Likes
847

>

> Hi all,

> I have a parameter field in selection screen with search help as follows.

>

> SELECTION-SCREEN BEGIN OF LINE.

> SELECTION-SCREEN COMMENT 1(40) TEXT-009.

> PARAMETERS RCODE TYPE T530E-PREAS MATCHCODE OBJECT H_T530E.

> SELECTION-SCREEN END OF LINE.

>

> At the drop down I can see the correct values but when I select one it does appear on the screen. But when I enter the value manually it holds it. Please advise.

If i understood it right.... You want the value to be copied back to paramters RCODE when you choose one from drop down.

If yes, use the following code. Just replace it with your old code.

Where did you get the match code object H_T530E? if you use this, this will not copy the rcode but copies the first value.

Just use the following code

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(40) TEXT-009.

PARAMETERS RCODE TYPE T530E-PREAS.

SELECTION-SCREEN END OF LINE.

Hi all,

I have a parameter field in selection screen with search help as follows.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(40) TEXT-009.

PARAMETERS RCODE TYPE T530E-PREAS MATCHCODE OBJECT H_T530E.

SELECTION-SCREEN END OF LINE.

At the drop down I can see the correct values but when I select one it does appear on the screen. But when I enter the value manually it holds it. Please advise.

4 REPLIES 4
Read only

Former Member
0 Likes
847

Hi,

Your question is confusing, Please write it clearly?

Regards

Abhii..

Read only

0 Likes
847

When I take the drop down at the parameter field on selection screen I can see the desired fields but when I select one suppose I select '05' but still '00' will appear in it. So ia have to manually type in '05'. What should I dod so that '05' will appear if I select it.

Read only

former_member191735
Active Contributor
0 Likes
848

>

> Hi all,

> I have a parameter field in selection screen with search help as follows.

>

> SELECTION-SCREEN BEGIN OF LINE.

> SELECTION-SCREEN COMMENT 1(40) TEXT-009.

> PARAMETERS RCODE TYPE T530E-PREAS MATCHCODE OBJECT H_T530E.

> SELECTION-SCREEN END OF LINE.

>

> At the drop down I can see the correct values but when I select one it does appear on the screen. But when I enter the value manually it holds it. Please advise.

If i understood it right.... You want the value to be copied back to paramters RCODE when you choose one from drop down.

If yes, use the following code. Just replace it with your old code.

Where did you get the match code object H_T530E? if you use this, this will not copy the rcode but copies the first value.

Just use the following code

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(40) TEXT-009.

PARAMETERS RCODE TYPE T530E-PREAS.

SELECTION-SCREEN END OF LINE.

Read only

0 Likes
847

Thanks Sampath I got my issue resolved.