Skip to Content
0
Former Member
Jan 19, 2012 at 10:43 AM

Getting parameter id in the selection screen parameter

7187 Views

Hi,

There are few fields in my selection screen. I need to set the parameter id of warehouse number such that the value in the user profile should get displayed by default when the user executes the report.. The parameter id is /scwm/lgn . How do I get it? Please advise.

I have my parameter as follows:

parameter: p_lgnum TYPE /sapapo/matio_wm-lgnum obligatory.

I modified it as follows:

data: p_par like tpara-paramid value '/scwm/lgn',

d like /sapapo/matio_wm-lgnum.

get parameter id p_par field d.

Parameter: p_lgnum TYPE /sapapo/matio_wm-lgnum MEMORY ID p_par .

But, I am not getting any value in the field when I execute.Please advise.

Regards,

Pavan

Moderator message: (almost) duplicate post, locked again.

Edited by: Thomas Zloch on Jan 19, 2012