sapInvoke sapInvoke BAPI Read Table RFC_READ_TABLE

Certified Senior Developer

Hi there,

we are trying to read the data from SAP tables, for instance the table "T001".

This table holds maybe only about 100 entries. For this reason we do not have any conditions.

We already have a connection to our SAP System and we are using several BAPI's.

But with the BAPI "RFC_READ_TABLE" we do have some issues.

a!sapInvoke(

scsExternalSystemKey: cons!SAP_EXTERNALSYSTEMKEY,
usePerUserCredentials: false,
hostname: cons!SAP_HOSTNAME,
clientNumber: cons!SAP_CLIENTNUMBER,
systemNumber: cons!SAP_SYSTEMNUMBER,


bapi: "RFC_READ_TABLE",
importParameters: { QUERY_TABLE: "T001" },
tableParameters: {}

)



Errormessage: Details from external system: java.lang.IllegalArgumentException: InvalidFieldType

We have tried unsuccessfully several option for "importParameters" and "tableParameters".

Any idea how to create a simple call to read from a SAP table?

thanks

Yusuf

  Discussion posts and replies are publicly visible