We have a file interface where we want to read a file completely, instead line-by-line. This is due to performance reasons. The bapi we want to use in our action is able to use a table of data. This data is read from a file, manipulated and then passed to the bapi. So far, we read the data line-by-line from our file. Is it possible to read the file completely and then execute the action once for all read data?
Thank you in advance,
yes, its possible. Your interface's raw structure needs a component which has a table type. The line type of this table needs to fit to your file.
In the file adapter configuration maintain your interface's raw structure in field "Structure Name". Maintain the component of your table type in field "Field Name".
Then you should have all lines of the file in one data message and can call the action for all lines at once.