here the answer of your question.
Define your SAP Application Scope and add inside the Do sequence a Try Catch.
Add a data table for the OPTIONS parameter of the RFC_READ_TABLE RFM and add a column at this table with the name TEXT.
Add a row to your OPTIONS data table. In this row you can the where clause, in your case ERDAT=‘20210202’. The max length is here 72 characters. If you need more options add more rows.
Open the Invoke SAP BAPI activity and insert RFC_READ_TABLE. Add the parameter DELIMITER. For the output add with Strg+K a DATA table, in this example dt_DATA.
With the following loop I write the output.
I tried that with table USR02 and the option BNAME = ‘BCUSER’ because the table KNA1 is on my test system not available.
Here the complete workflow.
As I wrote above, the return field WA allows in maximum 512 characters. So it is necessary for the KNA1 table to define the fields you need. To realize that add a data table FIELDS.
Add a column with the name FIELDNAME.
Add one ore more rows of the fields you need from your table.
On this way you can use RFC_READ_TABLE with the Invoke SAP BAPI activity.