Skip to Content
0
Former Member
Aug 30, 2013 at 08:01 AM

SAP Shortcut created using FM SO_NEW_DOCUMENT_ATT_SEND_API1 has junk values

201 Views

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