Skip to Content

Debug process controlled workflow standalone

Hi Experts,

I would like to know if there is any way that we can simulate the process controlled workflow for a SC/PO by giving details like document number or guid. Let's say there is a issue reported by customer that some of the steps ( process levels ) are not triggered even though there are supposed to be. We have this step evaluation logic written in BRF event ( expressions) and I want to debug this determination standalone by running an FM / class. Is there a way to do this in standard or can we create some report / FM to simulate this?

thanks,

sankar,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 16, 2016 at 08:46 AM

    Hi Sankar,

    Not sure whether you have resolved your issue or not. To debug the logic standalone, you can always write FM and in that FM you can call function module, BBP_PD_SC_GETDETAIL and you can pass your GUID as hard coded from BBP_PD. I am sure you want to debug already ordered/in process Shopping Cart only. So give a try.

    Thanks and regards,

    Abhijit.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 16, 2016 at 10:03 AM

    HI Sankara

    Follow the below steps to debug. There is no way to debug except when you are in the creation process then it gets triggered and you place an external debug point. Since this may not be possible in a production environment so best is to follow below steps.

    1. In SPRO go to the business process configuration and in that >> Define Process Levels

    come to Process level configuration where you see different steps being defined

    2. To come to this point you should know what is the Process schema Evaluation and Process schema Definition in the system.

    3. Check which step is causing an error as likely each step will have a different logic and note the evaluation ID

    4. Now ,In your case the step does not trigger so please check the Evaluation ID as I have highlighted below and then go to Tcode BRF and in that SRM_WF should be opened >> Then All groups >> All events and check for this evaluation ID .

    5. It will have an expression associated with it and that will give you the FM or logic which triggers this step if it says pass the SC Guid then you can pass the GUID etc in that and sometime it may just be a simple Logic to read SC price so it can be anything you may have to check that in your system

    Regards

    Vinita


    pastedImage_1.png (17.6 kB)
    pastedImage_2.png (24.6 kB)
    pastedImage_0.png (36.3 kB)
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.