on 07-22-2009 7:03 AM
Dear Experts,
I am putting a condition record entry in VK11 tcode. Then i press save button. I have turned on my event trace. I want to know which BO is getting triggered for that tcode so that i can develop a Workflow using that as stating event. But no entry comes in SWEL. In that case is it not possible to create any workflows(standard or custom) and trigger it when i press save. Also in swo1 i tried to find a BO for condition record. But there seems to be no standard BO.
Edited by: bharath padmanabhan on Jul 22, 2009 8:06 AM
I think there is no standard BOR for your case but i suggest you to make use of the BAdi SD_COND_SAVE_A
1. Create a Customized workflow.
2. Trigger the workflow from this BAdi's Interface method by using standard SAP FM SAP_WAPI_START_WORKFLOW, by simply passing the workflow template number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Pavan,
Thanks a lot for your reply. In that BADI interface method i have included the SAP_WAPI_START_WORKFLOW fm. for that FM i have passed my workflow name' WS90000006' as input. In that workflow i just have a user decision step for which i have specified agent as wf_initiator. But when i activate that BADI and put an entry in VK11 and press save i am not getting any entry in SWI1. But as per the BADI it should trigger my workflow and a user decision step should have come to initiator inbox.? Is there something else that i have to do.
Edited by: bharath padmanabhan on Jul 22, 2009 8:53 AM
Dear Pavan,
Thanks again for your useful reply. As u had said i went to PFTC and made it as general task. Also while calling the FM i passed DO_COMMIT as ' ' (space). But even now when i go to VK11, put an entry and press save button i am not getting an entry in swi1. As per my workflow design i have a simple user decision step where in case of approval or rejection i send a mail to initiator. that's it from workflow side. If all are working fine i should have got an entry in SWI1 tcode displaying Please approve user decision step. But that is not happening. Can you please tell me what i have missed out. Also in the workflow i have given no start events to trigger workflow. I think from BADI as we are calling the workflow using Fm there is no need for a separate start event. Am i right? or is it necessary to add any start event?
Edited by: bharath padmanabhan on Jul 22, 2009 9:25 AM
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
7 | |
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.