‎2008 Jun 19 2:22 AM
Hi,
I am trying to create an ABAP program with input parameters. We need to have a default value for the input parameters. How can I write that in such a way the the system will put a default value on a specific field with a value defined in SU3. For example, I have a program with Sales Org as an input parameter. Then I will set a user-specific preassignment value via TCode SU3 for 'VKO' parameter id. How can I have that vaue be defaulted in my program's input parameter?
Thanks a lot.
Points will be given.
Edited by: Question Man on Jun 19, 2008 3:37 AM
‎2008 Jun 19 3:01 AM
Hi,
In your Initialization event.
Put this syntax:
GET PARAMETER ID 'VKO' FIELD LV_VKO.
LV_VKO --> your parameter name.
It should works.
Thanks,
Victor.
‎2008 Jun 19 3:01 AM
Hi,
In your Initialization event.
Put this syntax:
GET PARAMETER ID 'VKO' FIELD LV_VKO.
LV_VKO --> your parameter name.
It should works.
Thanks,
Victor.
‎2008 Jun 19 6:59 AM