Problem with SAP Inbox Shortcut attachment
I am using the function module SWN_CREATE_SHORTCUT to create shortcut to transaction SBWP and imported the shortcut link from 'shortcut_string' to a local variable which is then passed to the parameter 'contents_bin' of the function module 'SO_NEW_DOCUMENT_ATT_SEND_API1' so that the shortcut appears as an attachment in the email.
There are two systems in the landscape of which i am facing problem with only one system. I get the email but i am unable to open the SAP shortcut attachment in the second system.
When i tried to open the attachment in wordpad the contents of the attachment of the system where i am facing the problem has junk character after every letter and hence its not recognized as SAP shortcut.