Skip to Content
0
Former Member
Jan 03, 2011 at 07:27 AM

SWN_CREATE_SHORTCUT for ME54N

279 Views

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