Skip to Content
avatar image
Former Member

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.

Please help.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 03, 2008 at 08:34 AM

    Problem with data conversion to binary format. Used the class CL_SWN_DELIVERER_BCS

    instead of using the function modules and the problem is solved.

    Add comment
    10|10000 characters needed characters exceeded