Skip to Content
author's profile photo Former Member
Former Member

SAP Shortcut created using FM SO_NEW_DOCUMENT_ATT_SEND_API1 has junk values

Hello,

I have a requirement to send a mail to the Approver with tcode MIR4 as attachments.

I have to pass parameters to the t code as well.

I referred to the link, http://wiki.sdn.sap.com/wiki/display/Snippets/Creating+a+SAP+shortcut+for+any+transaction+and+sending+it+by+mail

I was successful in creating the shortcut, but when I pass parameters the shortcut file created get populated with Junk value.

Below is the contents of the file created.

[System]

Name=SYS

Description=

Client=CLNT

[User]

Name=USERNAME

Language=EN

[Function]

Title=

Command=MIR4 RBKP-BELNR 㴀㔀㜀    ㄀㐀㘀㔀㬀刀䈀䬀倀ⴀ䜀䨀䄀䠀刀㴀㈀ ㄀㌀㬀ഀ਀吀礀瀀攀㴀吀爀愀渀猀愀挀琀椀漀渀ഀ਀嬀䌀漀渀昀椀最甀爀愀琀椀漀渀崀ഀ਀䜀甀椀匀椀稀攀㴀一漀爀洀愀氀 眀椀渀搀漀眀ഀ਀                                       †

System Component Information.

SAP_BASIS 701 0003 SAPKB70103 SAP Basis Component SAP_ABA 701 0003 SAPKA70103 Cross-Application Component SAP_APPL 604 0003 SAPKH60403 Logistics and Accounting

Please suggest what is that I am missing.

Regards,

Revathi SJ

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 30, 2013 at 09:09 AM

    What data is being passed to FM SWN_CREATE_SHORTCUT?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.