on 08-06-2008 1:22 PM
Hi Pros,
I need to call a FM in ABAP that has tables and attributes of type ANY or ANY TABLE.
I do not care about how, but I need to find a way to call such a FM from a Web Dynpro Aplication and transport these "any" types to java...
can anyone think of a way how to do that???
Thanks!
P.S.: Its an important task and it constitutes a notable part of my dissertation... So, helpful threads will be rewarded.
Hi Johannes,
Call RFC_READ_TABLE function module. it will retrieve value irrespective of table.
Note: in import you will get parameter as query_table pass your table name.
regards,
sukanta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
so you can import the RFC_READ_TABLE as an adaptive RFC Model into your WebDynpro app. After that you are able to access the ModelContext node and read the return structures.
You also can use if you have a system below 4.6c which does not support Adaptive RFC the old JCO way. So u create with the SAP Enterprise Connector the needed Java classes to call inside the system using JCO.
But the deeper problem i see when you have to read the output strukture in very flat tables RFC_READ_TABLE can be a useful way but if you have complex tables with deep struktures in it you will have your problems to read the contents and concatinate them.
kind regards
Fabian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.