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

User Parameters default to Selection Screen params

Former Member
0 Likes
4,136

Hi Experts,

I am having a SELECTION SCREEN with Parameters for Company Code(BUKRS) & Purch Org (EKORG).

I need to default the values of these fields with their respective user parameters for BUKRS & EKORG.

manintained iwhich are 'EKO' & 'BUK' in my program.

How can i do that?

Thanks

Dan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,039

HI,

Use the GET PARAMETER ID in the INITIALIZATION EVENT.

INITIALIZATION.

GET PARAMETER ID 'EKO' FIELD p_ekorg.

GET PARAMETER ID 'BUK' FIELD p_BUKRS.

Edited by: Avinash Kodarapu on Mar 10, 2009 9:09 PM

4 REPLIES 4
Read only

Former Member
0 Likes
2,040

HI,

Use the GET PARAMETER ID in the INITIALIZATION EVENT.

INITIALIZATION.

GET PARAMETER ID 'EKO' FIELD p_ekorg.

GET PARAMETER ID 'BUK' FIELD p_BUKRS.

Edited by: Avinash Kodarapu on Mar 10, 2009 9:09 PM

Read only

0 Likes
2,039

or attach the memory id to the parameters/so

PARAMETERS p_bukrs TYPE bukrs MEMORY ID 'BUK'.
PARAMETERS p_ekorg TYPE ekorg MEMORY ID 'EKO'.

Regards

Read only

Former Member
0 Likes
2,039

Hi,

If the user maintains these parameters in their profile with the values , then the values will be populated from there.

System->User Profile-> goto the parameters tab there you can ask the user to maintain the parameters you mentioned with the default value they need and save this.

Now when that user runs the report, the values from the user profile will be copied to the respective selection screen parameters

regards,

Advait

Read only

Former Member
0 Likes
2,039

thank you