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 on value request..

Former Member
0 Likes
499

Hi,

I have a field called WFA on my selection screen. And I have to populate the login names in that field based on 2 conditions.

To satisfy those two conditions, I have to pullout data from 2 tables.

any help would be appriciated.

Thanks,

Priya.

4 REPLIES 4
Read only

Former Member
0 Likes
481

as suggested, write ur code in the INITIALIZATION event

Message was edited by:

Rajesh

Read only

Former Member
0 Likes
481

Hi,

You need to write the logic in the <b>INITILIZATION</b> field. there you can write those 2 conditions and move the Sy-Uname to that field

Regards

Sudheer

Read only

former_member491305
Active Contributor
0 Likes
481

Initialization.

If condition1 = true.

WFA = 'Login name1'.

Elseif condition2 = true.

WFA = 'Login name1'.

Endif.

Read only

Former Member
0 Likes
481

<b>initialization.</b>

select data into <variables> from table1.

select data into <variables> from table2.

check the conditions using the <variables>.

if ok populate the selection screen field.