Log based on the object in workflow
I am working on the Sales order approval and rejection process in workflow. I can view the log in the outbox based on the workflow triggered.
But the requirement is that, I have to view the log as and when required (may be as a report) based on the sales order number. I have to create a Z- program for this.. But not sure about where these details are captured and if there is anything already existing to ease my job.
Pls. help me on this.
Mike Pokraka replied
Are you aware that you can access the workflow log from inside VA03?
Just in case you're not: in the top left corner just underneath the menu there is a button for generic object services. Click on that and you can see an option for workflow, and from there to workflow view. This will show you a list of all the workflows that have worked with that sales order, and you can view the logs for each of them.
This works for most SAP transactions that have associated business object.