on 05-17-2007 10:56 AM
Hello all,
I am doing RFC lookup using JCO function call in UDF . My RFC is returning a table structure . Now I want to assign this returned table elements to the elements from target structure . Can anyone please help me out how this can be done .
Regards,
Keith
Hi,
you need to define a global variable (for your mapping)
of type table and fill it inside your UDF
then you need to create as many UDFs as the number of fields
that you return and return one per each
Regards,
michal
-
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>>>> I have crteated a table in my UDF which I am filling with the table data coming from RFC . Can I access this table outside my UDF ?
sure but create the table in as global variaable
and just fill it in your UDF
/people/sap.user72/blog/2005/10/01/xi-new-features-in-sp14
clearer now?
Regards,
michal
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.