Forward a work item to your own currently logged in SAP ID
By Anirban Bhattacharjee, KPIT Cummins and Infosystems from Link
Purpose: The purpose of this document is to demonstrate how you can forward a work item to your own ID. This is not possible via the standard transaction SWIA. For example, if your SAP ID is XYZZ and you are logged into SAP via this ID, you would try to forward the work item to this same ID by running SWIA. This transaction you are executing from this ID itself. But SWIA will give you the prompt “You cannot choose yourself as an agent” and not allow this forward.
Business Scenario: Many times when testing various workflow developments, we need to forward a work item to our own ID for testing purposes. Sometimes it becomes difficult to maintain our own ID in the Agent / Approver tables as they might need Customizing Transport Requests or other business constraints. Standard T-Code SWIA does not allow forwarding the work items to your own ID. On such situations we either need to forward the work item to some other test IDs or ask someone else to do it for us.
Not any more, as with this technique you can even forward any work item to yourself while you are logged in via that same SAP ID and be able to do your testing.
Process: The steps are very simple
· We will take a work item and first try to forward it to the current logged in SAP ID (self ID) via T-Code SWIA. This will not work.
· We will then use a special function module to forward this work item to our own logged in SAP ID.
Looking at a work item in the workflow log
Here the following foreground work item currently does not have any agents assigned to it.
We check the work item ID from the technical log
The work item ID for the user decision step is 2733499. We will now run transaction SWIA and enter this work item ID
Now we will select this row and try to forward it to the logged in ID via which this workflow is been tested and this transaction is being executed
SWIA gives the following prompt when I try to forward the work item to the current logged in ID via which SWIA is being executed and workflow being tested
The transaction SWIA prompts; “You cannot choose yourself as an agent” and does not allow the Administrator Forward.
Process to forward this work item to self:
Now to make this possible, we need to run the function module:
SWW_WI_FORWARD
This highly useful function module allows you to skip any previous checks and forward to any desired Agent / Approver, including self.
We need to enter the same work item ID for the user decision step 2733499. This we had entered previously in SWIA.
Pass the importing parameter PRECONDITIONS_CHECKED as “X”. This will ensure no conditions are checked!!!
In the TABLES parameter NEW_AGENTS, pass your own logged in SAP ID, like US-XXYYZZ.
This should be the same agent to whom you tried to forward via SWIA but it failed. So this will be the self logged in ID.
The function module screen will look as shown
Now execute the function module. We will see the function module returns the work item status as READY with the selected new agent
To verify that the WI forward worked as expected, we look at the workflow log – agents again
We can see now that the log does not say “No selected agents”, but is showing our own ID to which we forwarded the work item to.
Also note the e-mail like icon, indicates that the work item came as a forward.
In technical log, the step details also confirms that the Forward was a success
Checking in business work place SBWP, to verify with certainty that the work item did get forwarded successfully to own logged in ID
Conclusion: Thus we have successfully forwarded a dialog / foreground work item to own logged in ID even when standard transaction SWIA did not allow the administrator forward to self.
相关推荐
The Google API Client Library enables you to work with Google APIs such as Google+, Drive, or YouTube on your server. These client libraries are officially supported by Google. However, the libraries...
WordPress异地IP登录自动禁封用户插件,Erphp loggedin是一款基于异地IP登录自动禁封用户的WordPress插件,插件主要功能就是基于同时在线IP数、固定时间段内的登录IP数这两个值来自动禁封用户,有效防止账号共享。...
The benefit of a column maker is that it can help you to format your text/code, or in some cases to make it easier to read in complex nested logic. Quick Open UltraEdit and UEStudio provide multiple ...
Build a simple server-side application that will respond to messages from our logged in desktop client Install and run XMPP-FTW, connect to the server from the browser, and handle incoming/outgoing ...
- Updated license management, in an attempt to remove a rare crash on startup. Release 5.3 build 1012.0002 WIN32 release 31 October 2007 - New build of Rebooter (64-bit Windows correction). - ...
Build a simple server-side application that will respond to messages from our logged in desktop client Install and run XMPP-FTW, connect to the server from the browser, and handle incoming/outgoing ...
响应服务器:Sender address rejected: not logged in”。这个错误通常意味着Outlook在尝试通过SMTP服务器发送邮件时,服务器拒绝了发件人的邮箱地址,或者Outlook没有正确配置身份验证。 首先,我们需要了解电子...
to see if they are logged in use the code at the bottom of my script When a user registers, it will update the lastmember.php page, so you can include it in your home page by using and it shows the ...
- The passing of invalid OPC Item IDs caused a memory leak in the driver's global memory. After the global memory was exhausted, the driver crashed. - The writing of strings failed when using ...
You must have permissions to change the security settings of the target computer‘s Registry keys, which typically means that you must be logged in as a domain administrator to use this feature.Note ...
### SAP系统管理事务码详解 在企业资源规划(ERP)领域,SAP系统因其强大的功能和灵活性被广泛采用。为了确保系统的高效运行和维护,SAP提供了大量的事务码供管理员和咨询顾问使用。本文将详细介绍一系列重要的SAP...
Developer notes on setting up your IDE to work with AppFuse are contained below. Instructions currently existing for Eclipse and IDEA. Netbeans is on the roadmap; you're more than welcome to create ...
screen in a resizable window on your own monitor or as the full screen. Your mouse and keyboard control the remote computer so you can work on the remote computer just as if you were sitting right ...
The wrong user ID is logged on to an ABAP back-end system when using SNC together with the Single Sign On (SSO) mechanism. Parameter default values ABAP_TRUE and ABAP_FALSE do not work as expected ...
在SAP系统中,事务码(T-Code)是用于执行特定功能或任务的快捷方式。以下是关于"SAP Basic T-Code"的一些关键知识点和它们的功能: 1. **SBIT - Menu**: 这个事务码主要用于打开特定的菜单,帮助用户访问系统中的...
The Security Wizard is a tool that will allow you to setup your own security mechanism in your Access application without having to implement Jet security. Running the wizard from Tools/Add-ins/...
Drupal requires access to a database in order to be installed. Your database user will need sufficient privileges to run Drupal. Additional information about privileges, and instructions to create ...
just install and run our intranet messenger on each computer on your network and it's ready to work. Import and export your LAN settings Configure network settings on one computer, export it to a ...