SAP Knowledge Base Article - Public

3354518 - Custom Logic Tracing app: "Either this method does not have any parameters or an error occurred in the method call"

Symptom

  • You are using Custom Logic Tracing app.
  • You want to trace a custom logic that is triggered when using an API.
  • You are using a communication user to launch the API.
  • You are getting message "Either this method does not have any parameters or an error occurred in the method call" in the Custom Logic Tracing app.

Environment

S/4HANA Cloud

Reproducing the Issue

  1. Start a trace with Custom Logic Tracing app
  2. Launch the API with communication user
  3. Stop the trace in Custom Logic Tracing app
  4. Access the trace and select an entry
  5. It shows "Either this method does not have any parameters or an error occurred in the method call"

Cause

The tracing of the parameter values supplied to a Custom Logic implementation will only work successfully if the logic is invoked with a business user(CB-user), but not when it is invoked with a communication user(CC-user).

Resolution

2-System Landscape: 

Unfortunately there is currently no workaround for this problem as the parameter value tracing functionality internally relies on prerequisites which can only be met by business users.

3-System Landscape:

With the availability of Developer Extensibility for S/4HANA Cloud, it's possible to debug key user logic via the ABAP Development Tools (ADT). 

For more information, please check Key User Debugging

See Also

SAP Help - Key User Debugging

SAP Help - Custom Logic Tracing

SAP Fiori Apps Reference Library - Custom Logic Tracing

Keywords

custom logic tracing, custom logic, trace, key user, communication user, api , KBA , BC-SRV-APS-EXT-BL , Custom Business Logic , Problem

Product

SAP S/4HANA Cloud Public Edition all versions ; SAP S/4HANA Cloud all versions