cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to debug errors in Workflow

Former Member
0 Likes
4,979

Hello SAP Gurus,

I'm am using an OpenText module called Business Center in SAP that triggers a workflow when a document is uploaded, during the end phase of workflow I encountered the following error :-

Unable to create object of class /OTX/PF20_CL_BASIS_API
Error calling application function /OTX/PF02_INIT_WORKFLOW_EXT

I am trying to debug these errors to find their source I'm new on SAP so any basic help may also help very much appreciated. I am attaching screenshot of the error messages and their number.





1. Unable to create object of class /OTX?PF20_CL_BASIS_API
Mesaage No. /OTX/PF02_M_FRAMEWORK014



2. Error calling application function /OTX/PF02_INIT_WORKFLOW_EXT
Message No. /OTX/PF01_M_001037


3.For number range object /OTX/PF02L are no intervals defined

Accepted Solutions (1)

Accepted Solutions (1)

balanand_s
Participant
0 Likes

Hello,

Please use user specific debugger, switch on debugger by clicking on "Utilities->Settings->ABAP Editor Tab -> Debugging Tab -> assign workflow user for external debugging and save it.

Now debugging will be triggered once the workflow action triggered.

Regards,

Balanand S

Former Member
0 Likes

Thanks for replying, I have a SAP demo version running and i'm unable to locate "Utilities"

Answers (3)

Answers (3)

agrawalaadhar8
Participant
0 Likes

Hi,

Alternatively..

You can go to the workflow's log and view the step in which the error occurred.

Then you can view the step details and get the relevant task/method.

You can then execute the task/method with debugging using the input data which you can find in the step's container.

Regards

Aadhar

balanand_s
Participant
0 Likes

Hi,

Not this menu the debugger image has that. In that mention the User that used to trigger the action and then debugger will be connected and you can debug it (y)

If it solved, please mark this as closed 🙂

thank you

Regards,

Balanand S

balanand_s
Participant
0 Likes

Hi,

You can find it even on demo system. Just goto SE38 T-Code and over the menu options you will get "Utilities->Settings".

If possible please share the screenshot of menu list you have.

Regards,

Balanand S

Former Member
0 Likes

Hi i'm able to see this



Do you mean this menu list?