Application Development 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: 

SWN_CREATE_SHORTCUT for ME54N

Former Member
0 Kudos

Dear Experts,

I am using SWN_CREATE_SHORTCUT function to create the shortcut of ME54N passing the PR number in the parameter and mailing the object to the user.

CONCATENATE parameter 'MEPO_SELECT-BANFN='"'MEREQ_TOPLINE-BANFN_EXT=' S_BANFN ';' INTO parameter.

CALL FUNCTION 'SWN_CREATE_SHORTCUT'

EXPORTING

i_transaction = 'ME54N'

i_parameter = PARAMETER

i_sysid = 'PRD'

  • i_client = '600'

i_user = RO2_1

  • i_language = 'EN'

i_windowsize = 'Normal window'

IMPORTING

shortcut_string = content

EXCEPTIONS

inconsistent_parameters = 1

OTHERS = 2.

The function is working fine and the user is receiving the mail. I have checked the object, it contains my new PR number.

But when the click on the object the last opened PR number through ME54n is opening rather than my PR number which was passed through object.

You are requested to please help me.

Thanks & Regards

Ankur Gupta

1 REPLY 1

Former Member
0 Kudos

I think we cant pass the parameter to ME54n PR number as it is in read only mode. Hence i use ME54.