Tip: How to Debug ABAP Code from BAPI Activity

Sometimes it could be very informative to know what a BAPI function module (FM) is doing. With a tiny trick it is very easy to do that. Add in the AdvancedParameters field of the Connection - Server section in the properties of the SAP Application Scope the entry

"ABAPDebug=1"

image

Open the BAPI FM in the TAC SE37 and set an external breakpoint at the first possible ABAP code line.

image

image

With the execution of the workflow in UiPath Studio opens the ABAP Debugger …

… and parameters and processing can be examined in detail.

image

With this option, the integration scenario between UiPath and SAP can be analyzed very precisely in a simple way.

5 Likes

Hi @StefanSchnell,
As always, great work :slight_smile:
I pushed it to FAQ section. Thank you for such contribution!

2 Likes

@Pablito

Pawel, thank you very much :+1:

1 Like