on 08-07-2006 10:51 PM
Hi forum,
I cerated a service w/ templates including some flow logic files accoringly.
All what I want to achieve for the beginning to call an RFC FM that returns back a table that can be e.g. being shown on the html page (template).
I managed to pass simple fields back and forth. But as soon as I try to pass back a table. It doesn't work regardless, if the table ist definded untder TABELS or passed out under EXPORT parameter.
I always find the ITS Context the following:
borerrormsg = Failed to retreive RFC method `Z_R1W_RS_ITS_TEST_TAB'. Check if method exists or program exception occured
But I reduced the RFC function (which it is not a method), so that there are no exceptions anymore.
Please help - I am missing somehting aubstantial but what !??
Cheers,
Chris
Hi,
I had done the same scenario using flow logic.These are the steps i followed :
Say if we have a table named ZTEST in TABLES for your RFC and ZTEST has fields Name,Telephone etc
Then call the RFC from flow logic as follows :
<module name="ZTEST" type="RFC">
Give input mapping if required
</module>
To retreive the values in HTML use the following code in HTML Template :
`repeat with i from 1 to ZTEST-NAME.dim`
Then use `ZTEST-NAME(i)` to get the name at ith row.
Hope this helps. Do get back for further classification.
Regards,
Vijith
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> Hi,
>
> I had done the same scenario using flow logic.These
> are the steps i followed :
>
> Say if we have a table named ZTEST in TABLES for your
> RFC and ZTEST has fields Name,Telephone etc
>
> Then call the RFC from flow logic as follows :
>
> <module name="ZTEST" type="RFC">
> Give input mapping if required
> </module>
>
> To retreive the values in HTML use the following code
> in HTML Template :
>
> `repeat with i from 1 to ZTEST-NAME.dim`
>
> Then use `ZTEST-NAME(i)` to get the name at ith row.
>
> Hope this helps. Do get back for further
> classification.
>
> Regards,
> Vijith
Hi Vijth,
thanks for your reply! But this is exactly what I tried but I still encounter the problem. As soon I remove the table from the equation (RFC Module), it works like a champ!
But with the table I get the error as described above!
Any settings are missing !? What could be the problem here !?
Cheers,
Christian
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.