RFC Call Returns "field not found"

Problem

An RFC call to a SAP system returns no values, but an error message, e.g.

SAP error (Key: "RFC_INVALID_PARAMETER" Message "field 'EDI_DOCNUM' not found") occurred during request "INBOUND_IDOCS_FOR_TID...

This problem concerns only certain RFC calls like e.g. INBOUND_IDOCS_FOR_TID. For this call, the SAP system does not return any parameter names, but simply all values in an array.

Solution

The only way to access the parameter value is via its offset in the parameter table. You can specify the offset of the parameter as an external name on the parameter to point the xUML Runtime to the correct value.

Use 0 for the first element.

On this Page:
Related Pages:
  • No labels