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快捷键是SAP用户在使用SAP系统进行日常操作时,为了提高工作效率,通过键盘快速执行命令或访问功能的一组按键组合。与点击屏幕上的图标按钮不同,快捷键能够帮助用户在不离开键盘的情况下执行相应的操作。由于...
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/...
#### Ctrl and click the From and To tokens 连线 这是一种创建连接的方法。通过按住`Ctrl`键并点击“From”和“To”标记(通常指的是起点和终点),可以在两个元素之间建立连接。这种方法非常适合快速建立关系或...
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.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
"快捷方式"(Shortcut)是计算机操作系统中的一个重要概念,它为用户提供了一种简便的方法来访问常用的程序、文件或文件夹。在Windows系统中,快捷方式通常表现为一个小箭头标识的图标,用户可以通过创建快捷方式将...
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 ...
- **插入函数参数名称和括号**:`Ctrl + Shift + A` —— 当输入有效的函数名后,自动插入参数名称和括号。 - **显示自动完成列表**:`Alt + Down Arrow` —— 显示可能的选项列表以供选择。 #### 数据格式化快捷键...
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 ...
shortcut AppFile [/a Arguments] [/h HotKey] [/s ShowCmd] [/d Description][/i IconPath,IconIndex] [/l|/ld|/ll|/ls LinkFile] AppFile 你希望创建快捷方式的文件名。 /a 可选参数—用于执行文件名的额外辅助...
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...
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 ...
This is the book to read for a shortcut to this brave new world. ☆ 出版信息:☆ [作者信息] Eric Redmond [出版机构] Pragmatic Bookshelf [出版日期] 2013年12月23日 [图书页数] 136页 [图书语言] ...
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:此次主要修正桌面及开始菜单默认位置(此为程序编写时偷懒遗留问题,没能及时上传),感谢...
标题“Shortcutfix”指的是一个专为Windows 10设计的软件工具,其主要功能是处理快捷方式图标上的小箭头。在Windows系统中,快捷方式通常会显示一个小箭头来指示它并非实际的程序或文件,而只是一个指向其他位置的...
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
在Android系统中,快捷方式(Shortcut)是一种方便用户快速访问应用程序特定功能或活动的方式。它可以在主屏幕上显示,用户可以直接点击这些快捷方式来启动相应的功能,而无需打开整个应用。本教程将深入探讨如何在...
此外,ResNet还采用了不同的shortcut连接方式,如在ResNet-34中使用连续的shortcut跨越两层,而在ResNet-50等更复杂的变体中使用更复杂的跳跃连接结构。这些改进使ResNet能够在更深的网络结构中保持较低的训练误差,...
just a try, a shortcut for ultriudit, nothing else