‎2008 Feb 15 11:44 AM
Hi All,
We have a field on the selection that is Sales Organisation.
Now for this field we want the default value coming from the User Parameters.
i.e On SAP menu under SYSTEM there is User profile, In that user profile if you go to OWN DATA, There is tab called parameters.
Here VKO Parameter ID the sales Organisation is defined. They want this value to come as default on the screen.
Please help out how can this be done.
‎2008 Feb 15 11:48 AM
‎2008 Feb 15 11:48 AM
‎2008 Feb 15 12:13 PM
‎2008 Feb 15 11:48 AM
In the INITIALIZATION write the code as below.
get paramater id 'VKO' into field p_sfiled.
here p_field is your selection screen field.
Reward points if useful
Regards,
Nageswar
‎2008 Feb 15 11:51 AM
Hi,
Use Get Parameter ID VKO Field variable. Use this variable as the default value in select options.
Regards
Vadi
‎2008 Feb 15 11:59 AM
Hi,
Under initialization
you can use the following
select single parva from usr05 into data1(variable) where
parid = 'VKO'.
and pass this value as default value to you selection screen.
Regards,
Himanshu