‎2007 Apr 12 5:01 PM
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.
‎2007 Apr 12 5:10 PM
as suggested, write ur code in the INITIALIZATION event
Message was edited by:
Rajesh
‎2007 Apr 12 5:11 PM
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
‎2007 Apr 12 5:12 PM
Initialization.
If condition1 = true.
WFA = 'Login name1'.
Elseif condition2 = true.
WFA = 'Login name1'.
Endif.
‎2007 Apr 12 5:25 PM
<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.