‎2018 Jun 27 2:19 PM
Hello Experts,
Is there a possibility to give IN operator in the selection option of the query for the table in the RFC_READ_TABLE function module ?? Or is only the selection possible one by one using the options text. I have to select a range of document values for a particular field.
‎2018 Jun 27 2:39 PM
I take it you're trying to read a table from a different server and that's why you're not using a SELECT?
IN can be used in the form of Field in (value1, value2,....)
‎2018 Jun 27 2:39 PM
I take it you're trying to read a table from a different server and that's why you're not using a SELECT?
IN can be used in the form of Field in (value1, value2,....)
‎2018 Jun 29 7:26 AM
‎2018 Jun 29 8:11 AM
Try testing it for example for table T000 and place MANDT IN ('000', '001') in the options table
‎2018 Jul 01 8:27 AM
Hello Arthur,
I had made a mistake in the query . I had used a period at the end. The ( ) technique works. Thanks for the suggestion.
‎2018 Jun 28 6:11 AM
that function module call a dynamic SQL so you can define your WHERE clause as you want.
SELECT * FROM (QUERY_TABLE) INTO <WA> WHERE (OPTIONS).
You can use IN (value1, value2...) or if it required you can enhancement that rfc to add range variable.
‎2018 Jun 29 7:27 AM
‎2018 Jun 29 8:47 AM
The SQL i got abow is copied from that fm, so since its dynamic SQL and SQL accept the statement IN( ... ) then it should work. could you share your coding call fm?
‎2018 Jun 28 7:29 PM
This FM is not released for customer and has further restrictions, see note
382318 - FAQ|Function module RFC_READ_TABLE
So you should avoid using it.‎2018 Jun 29 7:25 AM
Hello Harald,
Is there any alternative for the reading of the table from another table ?
‎2018 Jun 29 1:56 PM
Expose the data you need as a service or callable RFC function in the remote system.