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

selection screen parameter

Former Member
0 Likes
541

hi friends,

for the below given description i have to create selection screen parameter .

can u suggest how to solve this.

<b>#times excess qty

Default value: If “control class-pseudo no.1” = "NonCtrl” then value = 3 Else value = 2. User able to change the default value.</b>

regards,

siri.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
512

Hi

Your data selection and subsequent assignment to parameter on condition check should come into INITIALIZATION.

As this is the only place whr we can manipulate values before presented to user via selection-screen.

Regards,

Raj

3 REPLIES 3
Read only

Former Member
0 Likes
512

Hi

In <b>Initialization</b> write..

IF “control class-pseudo no.1” = "NonCtrl”.

p_ctrl = '3'.

ELSE.

p_ctrl = '2'.

ENDIF.

Regards,

Raj

Read only

0 Likes
512

HI Raj,

fromm the below PSEUDO CODE i have retrived ALNUM . but the values of this ALNUM has to be moved to the parameter in selction screen. my doubt is how can i do this one is in AT SELECTION SCREEN AND ONE IN DATA SELECTION IS IN START-OF-SELECTION.

1. “Control Class”: Write “Ctr Vault” if MAEX-ALNUM(export control class) = ("CNTROL2" or "CNTROL2N") and Write “Ctrl Cage” if MAEX-ALNUM = ("CNTROL3" or "CNTROL3N" or "CNTROL4" or "CNTROL5") else Write “NonCtrl” where MATNR=VBAP-MATNR and match with the user-specified input in selection criteria (see section 5).

REGARDS,

SIRI.

Read only

Former Member
0 Likes
513

Hi

Your data selection and subsequent assignment to parameter on condition check should come into INITIALIZATION.

As this is the only place whr we can manipulate values before presented to user via selection-screen.

Regards,

Raj