01-03-2011 7:27 AM
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
01-05-2011 4:00 AM
I think we cant pass the parameter to ME54n PR number as it is in read only mode. Hence i use ME54.