Can we debug a workflow

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,
Neha

Hi 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

Similar Messages

  • 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

  • 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 an SRM workflow problem?

    Q: How can we debug an SRM workflow problem?

    Hi,
    In SRM system using transaction SWI6 you can troubleshoot the workflow process.
    if you are using N step badi in the workflow process, we can debug the badi BBP_WFL_APPROV_BADI
    method GET_REMAING_APPROVERS
    if required please take a help of Abap consultant to debug...
    Thanks & Regards,
    prasad.s

  • How to debug the workflow

    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.

  • How to trace/debug main workflow calling sub workflow.

    Guys,
    I am calling Sub workflow from MAIN workflow.
    I am able to trace till beginning of sub workflow, with the help of workflow log.
    But, is it possible to trace/debug the sub workflow as well(in single stretch).
    Please guide with t-codes & procedures(links).......
    Regrads.
    santosh.

    Hi Santosh,
    You should be able to see the technical log for the subflow as well - but perhaps that's not what you are asking.
    First, you should always be able to 'trace' your subflows by starting them directly via SWUS.  Then you will have the log to review.
    You can also set the workflow trace on via SWU9.
    Hope this helps,
    Sue

  • I can't Debugging BADI WS14000133

    Hi all,
    I need debugging the BADI to workflow WS14000133, but I can't debugging. I tested with my user, the user WF-BATCH and the user to create the SC, but with nothing I have had lucky.
    Is possible this debug?
    Many thanks,
    Regards,
    David.

    Hello
    of course it is possible to debug.
    go to SE18, call your implementation, and open the get_remaining_approvers.
    put your Breakpoint here.
    Put an another Breakpoint to function module BBP_PDH_WFL_DB_UPDATE in the fu.group
    bbp_pdh_wfl. here you have to change the lv_in_dialog flag to X -> then it will go to debugging mode..
    now call the transaction bbpsc01, and create a SC. at the last step, before ordering go to debugging /h...
    there you go
    Regards,
    DAniel

  • How can I debug a web application running on Weblogic 10.3

    Hello,
    I have inherited a NetUI Web Application developed using Weblogic Workshop and I can't manage to debug it. I have configure my server in Workshop and to debug it I right-click the project in Project Exporer and select Debug As -> Debug On Server, but this isn't working. The browser does open the application doesn't appear to be getting delpoyed.
    Can anyone help me out? I am using Weblogic 10.3 and Java 1.6.
    Thanks,
    Sean

    Hi Kal,
    The application is an enterprise application packaged as an EAR. if I right click on the project and click Debug As -> Debug on Server, the application appears in the Server Tab, but it does not start automatically. If I then manually start the server the application runs, but it does not stop at break points and I can not debug it.
    If I right-click on the web project that is packaged as part of the ear and select Debug As -> Debug On Server again the application is deployed, but I can't debug it. I don't get error messages, the application functions as normal but it does not stop at break points. When I attempt to debug the application via the Web Project, two browsers open automatically, both correctly displaying the application.
    Regards,
    Sean

  • How can i debug a rfc being called from sap

    hello Gurus,
    We made a RFC call from SAP r3 to sap grc nfe......we did not receive any data in sap grc .......we go to SM58 and there it gives
    the message "Name or password is incorrect (repeat logon)u201D.
    How can i find out where the data has stuck.
    Please help.
    BR
    Honey

    HI,
    please have a look at the link below..
    this may help u !!!
    [Re: how can i debug a rfc being called from .net connector (NCO) v2.0?;
    Best of Luck !!1
    Regards
    Ravi

  • How can I debug a routine created in Deletion of similar requests?

    Hello Experts,
    I need some help from you. I need to delete overlapping requests and the common
    settings you can set are not suitable, so I decided to write my own ABAP routine.
    But how can I debug a routine, which is implemented in the deletion of similar requests?
    Hope you can help me.
    Cheers
    Daniel Weilbacher

    Please go to the routine code..
    In the menu options..u will find an option for breakpoint--set..
    The line where breakpoint is set will get highlighted and u will also see a STOP symbol..
    then come out of routine..and then run the data load..
    this ABAP routine for overlapping request deletion runs before the scheduled data load..
    the run shud stop at the set breakpoint and show the routine code..in debugger mode..
    cheers,
    Vishvesh

  • How can I debug a sequence that has a subsequence is running in a separate thread?

    Hi,
    How can I debug a sequence that has a subsequence is running in a separate thread?
    I have to have a continues check for a  digital in signal to be able to terminate the sequence if a physical button is pushed.
    This is running in a separate thread, but this way I cannot debug the main sequence.
    Is there any workaround for this?
    Thanks,
    Andras

    This KB might help you:
    http://digital.ni.com/public.nsf/websearch/46D1E157756C37E686256CED0075E156?OpenDocument
    Let me know if this does not help.
    Allen P.
    NI

  • Can Automator run a workflow on many folders, one at a time?

    Hello,
    In a parent folder, I have a bunch of subfolders with image files (BMP, JPG or PNG).
    I want each of these subfolders to become a PDF combining the original image files.
    I also want the resulting PDFs to be named as the original subfolder.
    Is there a way to do it with Automator, or do I have to dive into Applescript (I am totally new to both)?
    In Automator, the following 3-step workflow does almost what I want:
    #1 - Ask for Finder Items (I provide the parent folder)
    #2 - Get folder contents
    #3 - New PDF from images
    However, I get only one huge PDF combining the contents of all subfolders (I need one PDF per subfolder) and I must give for step #3 a specific file name (I need the filename to be that of the containing folder).
    Am I on the right path? I tried using the 'Loop' action and the 'Path' variable but I didn't progress.
    More generally, can Automator run a workflow on a bunch of folders one folder at a time, or is that a job for Applescript?
    Thank you very much for you help.
    W.

    Unfortunately, the text field in the *New PDF from Images* action doesn't support variables, and the *Rename Finder Items* action doesn't either (I wish Apple would get on the stick with updating their actions). There is this macosxhints article about hacking the workflow plist, but that doesn't always work.
    I have a couple of actions that could be used - the Get Names of Finder Items action can be used to get the folder name (to put into a variable), and the Change Name of Finder Items action does accept variables to change the name.

  • How can i execute a workflow using a bapi/wapi??

    Hi All,
    How can i execute a workflow using a bapi/wapi??
    pls advice
    thanks

    Hi Hrus,
    it's not as simple as a single BAPI to approve a workflow.
    Workflow comes with a Workflow API (WAPI) that you can use to programmatically interact with the workflow system. The WAPI is implemented as a group of RFC-enabled function modules that are prefixed with "SAP_WAPI_".
    Approving a workflow is simply taking a decision path for a workflow item. It is logically no different to rejecting the same workflow item or any other workflow decision.
    As part of NetWeaver workflow is tightly coupled to the WAS platform you are running on so you may need to perform WAPI operations slightly differently on older releases.
    Some of the WAPI calls you might need to use include: -
      SAP_WAPI_GET_HEADER to get the workitem header
      SAP_WAPI_READ_CONTAINER to get the workitem container
      SAP_WAPI_GET_OBJECTS to get the attached objects
      SAP_WAPI_DECISION_READ to get a list of possible decisions
      SAP_WAPI_SET_WORKITEM_STATUS to set the workitem status
      SAP_WAPI_WRITE_CONTAINER to write to the workitem container
      SAP_WAPI_EXECUTE_WORKITEM to execute the workitem
    I usually do what you are trying to do by adding the decision to the workflow container and then executing the workflow.
    Be warned, you can really stuff things up if you get this wrong! Make sure you know what you are doing.
    Quoting from Practical Workflow for SAP by Alan Rickayzen, et al from SAP Press...
    Writing directly to the workflow container is dangerous because it can compromise the integrity of the process.
    ...be careful that you do not waste time duplicating existing ad hoc features of SAP's Workflow Engine.
    For example you can use events (combined with wait steps), instead of container modifications to force the workflow to restart.
    Cheers
    Graham Robbo

  • Can we debug the Html template in Internet service

    Hi ,
      I need to change the  name of a filed in srm portal "confirmation of good and service" for that i had a template but i am not able to find the label in that
    How can i find the label  ?
    can i debug the template
    help me
    thanks
    Channappa Sajjanar

    Hi Pradeep,
    Thanks for reply .Actually i found one solution which is as follow just  guide me is it correct or not?
    I gone to the screenpainter (se51) their i given the
    program name =SAPLBBP_PDH_SEARCH.
    screen number = 3001.
    in this screen only the speeling mistakes are found for the variable's
    Confirmatn Value : BBPS_SEARCH_SUBLIST_PO_WEB-VAL_CF and
    Calculatd : BBPS_SEARCH_SUBLIST_PO_WEB-QUAN_IV.
        So i just changed the spelling mistakes there in IDES SRM and they are reflection when i exceute the t-code BBPCF02 in SE80.
    now just tell me is the way i am going is correct or not ?
    what are the side effetcts of this?
    and is any way i can solve the proble  from the template?
    please give  your valuable sugetions i am very new to SRM.
    Regards
    Channappa Sajjanar

  • Can we debug the USER EXITs

    Hi,
          This is Krishna. Can we Debug the User exits. If possible, how to debug and what r the user exits can we debug.
      If any one knows, pls help me.
      Thanx in advance.
    Regards,
    Krishna.

    Hi,
    Write one of these statements in ur user exit code.
    break-point
    or
    break <URID>
    Thanks
    mahesh

Maybe you are looking for

  • How to total 2 colums with an -If then else- statement each

    Hello, I have 2 colums A en B who generate data based on an "If then else" statement. Colum A <?xdofx:if (OMZET_YTD_VJ )!='' then ((OMZET_YTD_VJ) * (BM_YTD - BM_YTD_VJ)) div 100 else 0 end if?> Colum B <?xdofx:if (BM_YTD)!='' then ((BM_YTD) * (OMZET_

  • Mac Pro and monitor compatibility

    Hi Just ordered a new Mac Pro (ATI Radeon HD 4870 512MB), couldn't afford an apple display. I'm looking to take advantage of the dual monitor option. Can anyone tell me whether I need an adapter to connect the following monitors? Or even if the follo

  • GRC 10 - Risk Analysis in legacy system

    Hi everybody, I have a problem with legacy connectors in GRC 10. I implemented the note 1594963. So, I created the legacy files and storage it in GRC server. When I run the user synch, the legacy connector only synch the first record. Someone can hel

  • CS4 Bridge and Web Galleries

    This is probably nit-picking, but I liked a web gallery which I have been using on a site which has about 13 galleries on it. The choices for web galleries in CS4 are OK, but when I checked the file size on a web gallery in CS4 with an identical one

  • JDeveloper-Is it suitable for enterprise-level systems?

    I develop 'traditional' Oracle forms/reports applications in client-server systems and I am considering using Java for future application development. Such applications are usually keyboard-intensive, having screens capable of rapid data entry as wel