Sets the trace level for debugging and analysis purposes.


Set the trace level. sap_rfc_set_trace_level has an unnamed positional parameter that takes unsigned integers. The available trace levels are:

  • 0: Off
  • 1: Brief
  • 2: Verbose
  • 3: Detailed
  • 4: Full

The function has the following signature:

PRAGMA sap_rfc_set_trace_level(<Unsigned Int>);

Example usage

The following function call set the trace level to Verbose:

PRAGMA sap_rfc_set_trace_level(2);