Skip to Content
ABAP Development

ABAP Code Sample using RFC_READ_TABLE for WebAS

This code sample describes working with RFC enabled Function Modules that use predefined structures. This is a limiting factor when you want the output to be dynamic. For example RFC_READ_TABLE function can read any table (with/without restrictions on what fields you want to output) but the output table (DATA) is not a neat one to work with. With the introduction of XSLT programming and XML transformation, handling this scenario has become easier as you now have the ability to output the result in XML format, which any system can read and use. In this article I am going to show you how a similar function module can be created which can output the results in XML format and how an ABAP program can take that XML result and convert it to an ABAP internal table.

View Document