on 09-21-2010 8:14 PM
I am trying to Write a Code in Server/Inbound proxy .
DATA : WA TYPE ZRFC_TABLE.
LOOP AT INPUT-ZRFC_TABLE-ROW INTO WA.
ENDLOOP.
endmethod.
It is giving me error .
"INPUT-ZRFC_TABLE-ROW" is neither specified under "TABLES" nor is is defined as an internal table.
I am looking at blogs, every one is picking data in loop by same way ...
If i write a code for Direct assignment it is working ok.
like
DATA : WA TYPE ZRFC_TABLE.
WA-VBELN = INPUT-ZRFC_TABLE-ROW-VBELN
endmethod.
I dont know why in loop it is not working ... Please suggest how to pick data in Loop in Server Side proxies
Please guide , what could be the issue ?
for using a loop you would need a data structure that is of occurrence of unbounded.
check your data type in PI and confirm the occurrence
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Thanks for all comments ... Problem is solved by these commenst only...
Problem was ... Earlier i declared my data type with ocurence 1..1, and Proxy generated...... but then i changed my datatype struucture to 1..unbounded..but here i forgot to regenerate my proxy structure .... so by which structure remains 1..1 in proxy and table structure was not generated...
but after these valuable comments , i checked my structure again and regenerate the proxy ..
and hence problem solved.
thanks & Regards
Prabhat Sharma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you have not defined node "row" as unbounded. So it is not a table structure in generated ABAP proxy.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
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.