Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Call Function with RFC dynamic table

Former Member
0 Likes
1,351

Hi all

I create a function compare TABLE_ENTRIES_GET_VIA_RFC and CTVB_COMPARE_TABLES, everything is.dynamic

it works well but, how could i create a dynamic output parameter for table.

the system show me that RFC and dynamic table don't work.

i don't want line by line i would like to have the real structure inside of the Function i have everything but i can't move the data to the output parameter table .

could somebody help ?

6 REPLIES 6
Read only

Former Member
0 Likes
860

i found a solution

Read only

0 Likes
860

As a rule you need to explain the answer too if you got it yourself. So that somebody will get something from it if he face same kind of probelm like me.

So if you have solution can u elaborate on the same.

Mani

Read only

0 Likes
860

Hi Mani

Thanks for nice request, i found the solution on SDN like these threate[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f50dcd4e-0501-0010-3596-b686a7b51492]

best wishes

Edited by: SAPERLE on Feb 3, 2009 7:01 PM

Read only

0 Likes
860

Thanks, but i thought you are passing dynamic table as input parameters to FM. i seen this too it is nice but its something else than i m looking for. i appreciate your reply.

Mani

Read only

0 Likes
860

yes but the problem i have no response to the customer system... maybe i could threat later sorry

nice evening

Read only

0 Likes
860

Thx RE (and Mani) for the feedback.

I think that this URL is sufficient to understand how to pass dynamic internal table via RFC function module, whatever it is input or output. This URL says to use a STRING to store the table content in XML format, via CALL TRANSFORMATION ID, and pass this string as parameter. In the calling program, we have to "decode" the XML back into abap data, Just notice that we don't need to create an XSLT, ID is sufficient.

For any other information, open a new thread, or ask a precise question.