05-17-2006 7:00 AM
Hi All,
Iam Using the FM : SWL_SUBSTITUTION_DEFINE, by using this iam assigning my userid as substitute to others inbox.
What is next step, to view the Others SAP inbox.
IS there any Transaction code or Function Module to see others inbox
Can any one help me on this.
Thanks & Regards,
N.L.Narayana
05-17-2006 7:07 AM
Hi N.L.,
I suggest you use function SAP_WAPI_SUBSTITUTE_MAINTAIN instead of SWL_SUBSTITUTION_DEFINE if you need to maintain the substitutes programmatically (btw why can't you use Business Workplace / UWL to define it?), it's a 'workflow bapi' and thus more stable during upgrades.
After you have defined the substitute, you need to activate it, too. The function for this is SAP_WAPI_SUBSTITUTE_ACTIVATE. After this you will see the substitutors work items in your own inbox.
If you just need to see the work items of another person, you can use transaction SWI5.
Hope this helps,
Mikko
ps. Please post future workflow-related questions to the business process management forum to get more replies
05-17-2006 7:26 AM
Hi Mikko,
I tried using the steps what you have given, but iam unable to view others inbox.
My substituted id is HRMAST
My substitue id is ABAP5
profile as ALL
can you help me out on this.
Regards,
N.L
05-17-2006 7:33 AM
Ok, first have you tried setting the substitution manually and see if it works that way (ABAP5 substitutes HRMAST)? Were you able to use the report SWI5?
Which system version are you on by the way?
-Mikko
05-17-2006 7:42 AM
Iam able to see the report using SWI5. Thanks for this
we are using 4.6C.
can you send the steps how to see the others inbox using functionmodule.
Regards,
Kiran I
05-17-2006 8:00 AM
Hi Kiran I,
have a look at function SAP_WAPI_CREATE_WORKLIST. You need to enter the user ID as the import param and the work items are visible in table worklist.
Hope this helps,
Mikko