on 02-11-2014 9:36 AM
Hi Experts
I am running program /SAPSRM/OFFLINEAPPROVALSEND to send workitems for approval as email to the approvers.
The program is not picking up the workitems.
I debugged the program and initially the select statement is selecting the workitems but then the following check fails.
* these are forwarded workitems
SELECT * APPENDING TABLE lt_wi_help_for FROM swwloghist
FOR ALL ENTRIES IN lt_wiid WHERE
wi_id = lt_wiid-wi_id AND method IN ('SWW_WI_FORWARD', 'SAP_WAPI_FORWARD_WORKITEM').
The approver is correctly setup in PPOSA_BBP. The attribute FORWARD_WI is 'X'.
How would an entry get created in table swwloghist with method = SAP_WAPI_FORWARD_WORKITEM?
Thank you for any help.
Raj
Hi Raj,
Attribute FORWARD_WI is responsible only for mail notifications.
SAP_WAPI_FORWARD_WORKITEM is a forwarding workitem to another approver.
You can logon into Workflow Inbox select workitem and forward it to another approver.
This check is performed for the following case.
Approver 1 gets sc for approval. After job run he receives a notification. He login into system and select workitem. See, that he is not responsible for that and forward workitem to approver 2.
Approver 2 should also receive notification after forwarding. That is why the forwarding history is checked.
Regards
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.