on 07-14-2015 8:21 AM
Hi Team,
We have a requirement in which the PR workflow should be triggered or not triggered for the below conditions:
1) If any new line is added in Purchase Requisition then workflow should be started again.
2) In case of deletion of line item workflow should not be started.
Can we do this from SWEC?
How to go about for this requirement?
Regards,
Ashish
Hi,
In SWEC linkage there is a place FUNCTION Module . There you can write your code to check addition of line or deletion of line in PR.
Otherwise you can also check in Check FM in swe2 to check new line or delete line and restrict the event for workflow .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
You can implement a check function module in SWE2 against the BOR object and event and control the trigger of the workflow . Refer to links below for reference.
Use a custom FM by copying FM SWE_CD_TEMPLATE_CHECK_FB :
Check Function Module - Roles in Workflow - SAP Library
Regards
Sandy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.