Steps to debug a workflow
Hi Gurus,
I need to debug a standard workflow which is ws12300111 and i need the step by step procedure for debugging.i need the flow of bapis which are been used in this workflow.
Thanq you,
Bhavani.
Hi
Go thru these links, hope it will help you,.
Reward if help.
Regarding Work Flow
work flow scenarios.
1. applying for a leave.
2. approval process.
3. material creation process.
4. mainly work flow is for notification purpose.
chk this links
http://help.sap.com/saphelp_erp2005/helpdata/en/fb/135962457311d189440000e829fbbd/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/c5/e4a930453d11d189430000e829fbbd/frameset.htm
Workflow
http://www.sap-img.com/workflow/sap-workflow.htm
http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
For examples on WorkFlow...check the below link..
http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.workflowing.com/id18.htm
http://www.e-workflow.org/
http://web.mit.edu/sapr3/dev/newdevstand.html
http://www.erpgenie.com/workflow/index.htm
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
http://www.insightcp.com/res_23.htm
A good tutorial
http://www.thespot4sap.com/articles/Invoice_Verification_Automation_Using_SAP_Workflow.asp
http://www.sap-basis-abap.com/wf/sap-business-workflow.htm
/people/alan.rickayzen/blog
/people/jocelyn.dart/blog/2006/06/19/why-use-abap-oo-with-workflow
a good book
http://www.sap-press.com/product.cfm?account=&product=H950
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
http://www.sap-press.com/downloads/h950_preview.pdf
Check the following PDF
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
also seach the workflow forum: SAP Business Workflow
Similar Messages
-
Can we debug the Workflow ?
Hi All,
I have created a method in the BO, it is working fine when i tested that BO. then i call that method in an activity step with required parameters, but that didnot work.
Then i tested that Task that i used in that Activity step using SWUD transaction, that task is also working fine. It is giving the desired output. Then i checked the binding of the workflow, it seems to be fine, but still i created it again, but still when i am executing workflow, values are not coming into Workflow container.
Is there any way to debug the workflow ?
how can i know that where is the issue ?
Regards,
Raman.Check the binding between event and workflow container...
Regarding the debugging..please search the forum...
Already discussed in lot of threads..
Edited by: Swaminathan PJ on Jan 21, 2010 4:09 PM -
How can we Debug the workflow?
Hi,
How can we debug the workflow?
Please help me on debugging the workflow in step by step procedure?
Early reply is highely appriciable.
Regards,
Chow.Hi,
If you want to set breakpoints in method which is used in workflow task then it is possible
till ECC5 am afraid about ECC6
you can see the graphical view of workflow through transactions said by Kalpesh
you can also use swwl (delete workflow) for viewing the container elements of the workflow.
SWI2_ADM1:Workitem without agents
SWI2_DIAG:Workflow with error
these transactions are also helpful
Thanks & Regards
Hari Sankar M -
dear friends,
please tell me how to debug the workflow, if you have time then you just see the workflow WS99900212 . in this i have done Leave Approver Notification . but i want to debug on that how to flow step by step .
please you tell me on same workflow , where i am going to take breakpoint.
Thanks in Advance for help.
Cheers.
Puneet.You can try first of all to enable more logging. (I assume you are running release ERP 2005 since you are not saying what your release is.)
In the workflow builder, select menu item "Goto", "Basic data"
Select the "Version-dependent (current workflow version)" tab
Select the "Control" tab within the version-dependent subscreen
Select the "Performance optimization" tab within the control subscreen
Change the "Settings" drop-down value to "No restrictions on logging".
That will give you much more information in the workflow log. The description of this choice says "All the messages are logged. All runtime operations can be traced." As also noted: don't keep this setting in a production system. -
Steps for debugging the ABAP program
Hi
Im a SAP-BW Consultant. I have a program in R/3-Side. I want to debugg that program.
Please give me the steps for debugging that program .
KumarHi Ravi,
Check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/b3/d322540c3beb4ba53795784eebb680/content.htm
I give you some usefull Tips.
Type /h in command Bar.
Then press F8 then system will automatically goes to debugging mode.
Then press F5. Then it shows the Each and every line of your program.
or type break-point in your SE38 program. Then press F8. it will goes to the Debugging mode.
Thanks.
Reward If Helpful.
Message was edited by:
Viji -
How to get the Asset's current step under a specific workflow process via API?
Everyone,
Is there a way to get the asset's current step for a specific workflow process by the WebCenter Sites API? We are showing out the asset created within the WebCenter Sites in another application via its API. We would like some actions get to be done once determined assets went into a specific step of a workflow process. Any suggestions are welcomed.
Regards!Here is some information from the FDK Programmer's guide page 115:
IMPORTANT: A valid text range can span multiple paragraphs, subcolumns, or text frames.
It cant span multiple flows, footnotes, table cells, or text lines.
It is possible for a document to have no text selection or insertion point at all. This can occur in
the following circumstances:
● One or more graphic objects in the document are selected
● One or more entire table cells in the document are selected
● There is no selection of any type in the document
So, I did select one or more entire table cells in the document in my first test. It's logical that the result was not like expected.
But selecting one or more entire table cells is a crucial requirement for my plugin, is there anyway to get things straight?
Simply put, I want to enable users to select one or more table cells in the document, and I want to get the object handles of the first cell and the last cell through Framemaker API calls. How?
Many thanks in advance!
Best Regards,
Ellen N. Zhao -
Step type 'condition' in workflow
hai all.....
I have got a problem while working with the step type 'condition' in workflow,i.e i want to check the values in internal table in my step type for example,whether the internal table is initial....please someone help me ..its very urgent...Hi Kiran,
For the Operator 'NX' u need not enter any comparison value. U click on the condition in the condition step type . A window appears and u click on the internal table in expression 1 and the operator as 'NX' . It doesnt need a comparison value.
Now u check this with the test data in the same window . U will have an icon in the bottom of window to enter test data and another icon to evalutate it . U check it with data and without data. It will work .
In ur reply to Kasi , Ur answer is not at all related with what kasi asked for .U can check the initial property while the data is in workflow container itself . Instead u r passing the data from workflow container to task container and then to method container and then the processing has to take place in BO and again the reverse should take place .Which is Unnecessary .
Regards,
Scobby.
Be Free To Award Points -
How to go back to previous step in a sub workflow?
We are calling a sub workflow upon approval action from a main workflow. In the child workflow we have 9 steps. If at any step in the child workflow (other than first) user does reject action, the workflow control should go back to previous step in the child workflow itself.
We added a custom action in the exit events of all the child workflow steps. Following is the logic of exit event of Step4 of child workflow. Similar logic is there for all steps in the child workflow.
<$if wfAction and wfAction like "REJECT"$>
<$wfSet("wfJumpTargetStep", "Step3@childWF")$>
<$wfSet("wfJumpEntryNotifyOff", "0")$>
<$endif$>
With this code when the user is doing reject action from child workflow, it is taking us back to the main workflow and not to the previous step of child workflow.
Is this approach correct?
-Pratap1. The 3 events are Entry, Update, and Exit.
2. Rejects happen in the Update area but you can not reliably react to it there because upon reject it immediately leaves (not going through the exit event).
3. The rejected content goes backwards in the Workflow step by step (even going back to the main workflow from a sub workflow) until it finds a Step that has valid Editors (not just reviewers).
4. If it does not find an Editor step it goes all the way back to the automatic Contribution step at the beginning of the Workflow and sits there in a kind of no mans land until the contributor (or an admin) goes and approves it again.
5. To check if something has been rejected the Entry Event of an editor Step BEFORE the step where it is rejected needs to have code to check for the Reject status.
The sub workflow should be able to capture the Reject as you desire. Are all of the steps in the child workflow (sub workflow) Review only steps? Or maybe the people in the steps do not have RW access to the document? This is what I would predict with your described symptoms. -
Hi All,
I wish to know can we debug a workflow. If yes then how?
Also if i want to know how the flow is going for the business process in question. I mean if it is stuck some where, then what is the way for it?
Thanks in advance.
Regards,
NehaHi Neha,
Yes you can debug the WF to check the LOG in terms of Graphical Display and Technical details..!!
Use the following transaction:-
1> SWE4/SWELS -> EVENT TRACE ON/OFF (Switch On the Event Trace)
2> SWEL -> DISPLAY EVENT TRACE
3> SWUD -> WF DIAGNOSTICS
4> SWPR -> WORKFLOW RESTART AFTER ERROR
Enter the WF Number and Click on the LOG Icon.
There you can see the Graphical Log of the WF to know where the WF is stuck.
And You can also check the Technical Details of the WF there, to find which WF Container has what value.
Let me know if you need any help on this.
Regards,
Kanika -
Authentication step in standard signing workflow
Is it possible to add authentication step into standard signing workflow? We cannot use any other signature handler except the standard one (PPKLight) - there is a restriction in the documents. But we need to authenticate user once she wants to sign,
Thanks in advance,
NikitaHi Steve,
Thank you for your attention to my question!
By the requirements we need to make user enter password every time when he/she signs document.
We are aware of the strong private key protection for digital IDs from Windows Certificate Store and about digital ID files in Adobe. But in case of Windows Certificate Store Adobe asks for password only first time when user sign document, all the next are skipped; in case of digital ID files Adobe allows user to adjust password timeout - we need somehow restrict this option for user so he/she cannot set anything except entering password "Always".
There are 2 open questions now for us and it would be very helpful if you knew the answer:
1) How to overcome the "certificate caching" in case of Windows Certificate Store or how to restrict adjusting password timeout for digital ID files in Adobe?
2) It would be even better if we could authenticate user in third party system every time he/she tries to sign document. I was looking for some kind of authentication interceptor which Adobe could use right before starting signing procedure, but no luck so far. Do you know if it is possible? And if yes then how?
Thank you for your help in advance!
Nikita -
Adding Validator step in MDG Customer workflow
Hello All,
I need to add validator step in MDG - Customer workflow - WS54300003 and process is, requestor will create CR and it should go to Validator. Once he approves then it should go to final approval team. Currently it is going to final approval stage at first step itself.
I added that additional step(Validator) to workflow templete(WS54300003) under processing modeling->workfloe->other MDG workflow->Define Change Request Step Numbers. Also, assigned process at ...-->Assign processor to Change Request Step Number (Simple Workflow).
Seems i am still missing some thing. Could you please guide me what else need to be done? we are on MDG 6.1step numbers are hard-coded in this workflow template (WS54300003). if you open any task container, you will see the value of the step in the container of that task.
any way, you should not modify workflow WS54300003 as that is considered modification to standard objects. you can copy it to a custom workflow template and then add any new step as you like. you can assign whatever number you like to any step as long as the numbers in the workflow template are consistent with the numbers assigned in the MDGIMG configuration node.
A recommended solution is to use the rule-based workflow template. your MDG process will be much more dynamic and a lot easier to modify/enhance going forward.
this document can help you understand how you can use the rule-based workflow template: How to Fill MDG Rule-Based Workflow Decision Tables -
How to debug Sequential workflow and state machine workflow?
Hi All,
How to debug Sequential workflow and state machine workflow?
Thanks in Advance!check this
http://msdn.microsoft.com/en-IN/library/bb386166(v=vs.90).aspx
http://msdn.microsoft.com/en-us/library/vstudio/ee231573(v=vs.100).aspx -
Is there a way to debug OIM workflow (provisioning, approvals)?
If not now, are there any plans to add this into future releases?
thank you for your feedbacki think debugging should be available through some IDE. Design console should go away.
I have seen many products who use Eclipse for developing,debugging and deploying enterprise level apps. directly from IDE. A very famous example is SAP Entriprise Portal.
When will Oracle publish such a product!!! -
can someone give me steps to debug start routine.
Thanks,
RadhaHi,
Please go through this link
/thread/157701 [original link is broken]
Thanks,
JACK -
Debugging N step badi triggering GOA workflow
Hi Gurus,
We have a approval workflow which is triggered whenever a GOA document is saved or its change version is saved.
The BADI is used for determining the approvers and assigning leves as we have multiple level approval process.
I want to debug this badi whenever i create a GOA document using transaction BBP_CTR_MAINCC.
I tried using normal session break point technique but it didn't work. I also tried to put infinite loop in the badi and tried debugging using sm50 but without success.
Request you to suggest how to debug that badi .
Regards,
RohitI think you can just debug the badi from SE19.
1. Create a GOA in the web frontend, but don't do any approval just yet
2. Write the GOA number down somewhere.
3. the object type is BUS2000113
4. Start SE19 and start debugging the BADI workflow
5. Enter the object id = goa number, object type = BUS2000113
6. Start debugging
Regards,
Robin
Maybe you are looking for
-
How do I get the albums created on my iPhone5 to show up on my Macbook Pro in iPhoto?
Have an album I created on my iPhone5 that I want to be able to see all those photos on my MacBook Pro in iPhoto. But when I have my iPhone connected (wirelessly) to iTunes, and iPhoto open, I can't for the life of me figure out how to seamlessly me
-
I am creating an automotive braking system using flash and have a wheel turning. I want the wheel to slow down and stop after the brake pedal is pushed at a certain frame. I know I could do this with frame by frame animation but was hoping there was
-
I have an 8GB iPhone 3GS on AT&T, and I wanted to purchase a 16GB version on eBay. Will I be able to just pop the SIM card out of the current iPhone 3GS into the new iPhone 3GS and have it work properly?
-
Framemaker 8 and Distiller 8.1.4 creating PDF
Hi I use FrameMaker 8. I save it as Frame 7.0 document type. When I create PDF, I get error and cannot successfully convert to pdf. My friend told me to uninstall Acrobat Professional, Framemaker 8 and then reinstall frammaker8 so that the PDF add-on
-
How do I save opened documents in the Documents or Recent folders for future use?
I open several PDFs from my emails but would like to access them through adobe at a later date. None of them remain in the Documents or Recent folders for me to review the next day. Can anything be done about this?