Refer to SAP wiki: http://wiki.sdn.sap.com/wiki/display/Snippets/Creating+a+SAP+shortcut+for+any+transaction+and+sending+it+by+mail
Key Points:
1. Create the shortcut content for the required transaction
CALL FUNCTION 'SWN_CREATE_SHORTCUT'
EXPORTING
i_transaction = transaction
i_parameter = parameter
i_sysid = sy-sysid
i_client = sy-mandt
i_user = recipient_user_id
i_language = sy-langu
i_windowsize = 'Normal window'
IMPORTING
shortcut_string = content
EXCEPTIONS
inconsistent_parameters = 1
OTHERS = 2.
2. Sending the document to recipients with the shortcut attachment
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = doc_chng
put_in_outbox = 'X'
commit_work = 'X'
TABLES
packing_list = it_objpack
contents_bin = it_objbin
contents_txt = it_objtxt
receivers = it_reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
operation_no_authorization = 4
OTHERS = 99.
Shortcut Example.
[System]
Name=QA1
Description=
Client=800
[User]
Name=
Language=EN
[Function]
Title=
Command=ZAPR
Type=Transaction
[Configuration]
GuiSize=Maximized
[Options]
Reuse=1
分享到:
相关推荐
SAP SCM
excel shortcut keys and tips
Postman Desktop shortcut for Ubuntu 18, Postman version: Postman-linux-x64-7.0.7. To install, download Postman linux x64 7.0.7, modify the PATH_TO to Postman folder, copy the postman.desktop to /usr/...
It is useful, for example, in removing or organizing the using statements generated by a wizard. This command can be executed from a solution node or a single project node. Extract Constant This ...
Shortcut
用过别人写的,总觉得不顺手(并非写得不好),所以自写一个。ShortCut.exe_命令行创建快捷方式...shortcut D:\Tencent\QQ\Bin\QQ.exe /a -win /d QQ /s 3 /h ctrl+F5 /i C:\WINDOWS\system32\shell32.dll,13 /ld c.lnk
It start right now and by the time you finish and implement the steps here, you will have learned everything there is to know in less than a day! Steps covered to become proficient in C Programming ...
Long ago, when Alexander the Great asked the mathematician Menaechmus for a crash course in geometry, he got the famous reply ``There is no royal road to mathematics.’’ Where there was no shortcut ...
identify multiple ways to define an Excel table using buttons on the HOME and INSERT tabs, the Quick Analysis feature, a keyboard shortcut and by formatting a data range as a table, and recognize ways...
Microsoft Visual Basic 6.0 IDE Shortcut and Hotkeys
EasyNSE is a component package for Delphi 5-7 (BCB 5-6 coming soon) that takes the difficulty out of writing code to interact with Windows Explorer and the Shell.There are two basic levels of ...
shortcut AppFile [/a Arguments] [/h HotKey] [/s ShowCmd] [/d Description][/i IconPath,IconIndex] [/l|/ld|/ll|/ls LinkFile] AppFile 你希望创建快捷方式的文件名。 /a 可选参数—用于执行文件名的额外辅助...
This is the book to read for a shortcut to this brave new world. ☆ 出版信息:☆ [作者信息] Eric Redmond [出版机构] Pragmatic Bookshelf [出版日期] 2013年12月23日 [图书页数] 136页 [图书语言] ...
By help of this utility you can add any folders and programs in " My computer " and "Control panel" The basic opportunities: - Addition / change / removal of any folder and programs in a folder "My ...
它可以给你方便的操作,可以帮你简化一些 不必要的操作。在第一功能项中,有简化的系统操作; 在第二功能项中,有你需要的快捷工具,相信对你会 有帮助的。
markup+and+send.shortcut
shortcut D:\Tencent\QQ\Bin\QQ.exe /a -win /d QQ /s 3 /h ctrl+F5 /i C:\WINDOWS\system32\shell32.dll,13 /ld c.lnk PS:此次主要修正桌面及开始菜单默认位置(此为程序编写时偷懒遗留问题,没能及时上传),感谢...
just a try, a shortcut for ultriudit, nothing else
For creating new icons or editing existing ones, with color palettes(one for 16x16 icons specifically), a color mixer, a panel for lining up icons for edit, icon new/open/save functions, flip/rotate/...
有关书签的一些信息:•键盘快捷方式◦显示/隐藏书签栏a。 Windows:Ctr + Shift + B b。 Mac :: + Shift + B◦显示书签管理器a。 Windows:Ctr + Shift + O b。 Mac:⌘+ Option + B◦在此页面上添加书签。 ...