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

Default value on the selection screen.

Former Member
0 Likes
2,178

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.

1 ACCEPTED SOLUTION
Read only

ThomasZloch
Active Contributor
0 Likes
1,401

add "MEMORY ID vko" to the selection parameter.

Cheers

Thomas

5 REPLIES 5
Read only

ThomasZloch
Active Contributor
0 Likes
1,402

add "MEMORY ID vko" to the selection parameter.

Cheers

Thomas

Read only

0 Likes
1,401

Thanks for the help.

This has solved my problem.

Read only

Former Member
0 Likes
1,401

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

Read only

i048168
Product and Topic Expert
Product and Topic Expert
0 Likes
1,401

Hi,

Use Get Parameter ID VKO Field variable. Use this variable as the default value in select options.

Regards

Vadi

Read only

Former Member
0 Likes
1,401

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