on 01-23-2006 10:26 AM
Hello,
i face a very strange problem when executing an abap rfc call:
The target BAPI has several structures as table parameters but only one of this table parameters is filled with data on abap side (recognized through debugging). When i check the corresponding nodes on web dynpro side before rfc call, i see that the other nodes/tables are filled with data, too.
Can anybody give me a suggestion to solve this problem?
best regards
Florian
Hi,
check ur code where u r setting the input to RFC model object
like
ZBApiname_inp inp = new ZBapiname_inp();
wdcontext.node<name>().bind(inp);
inp.set<strname> or inp.set<tablename> or inp.set<parameter>
are u filling all the necessary inputs or not check if any........
Regards,
yashpal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for tables parameter two nodes are created .....
bapiname_input---map this node with the controller....
and there is a output node inwhich the others parameters
i.e o/p of exectution is stored so map this node also
and bapi_output---it contains the output if the same table is populated with data by BAPI...so if u want to bind the table output....mapboth..........
but for executing the bapi..
create the object of bapiname_input and bind it to context...... and then execute....
regards,
yashpal
Message was edited by: Yashpal Gupta
Hi Yashpal,
this is exactly what i have done.
context example:
context
--- model_input_node
--- subnode1
--- subnode2
--- subnode3
--- subnode4
--- model_output_node
-
subnode1_output
-
subnode2_output
-
subnode3_output
-
subnode4_output
Data for input is in the "normal input nodes"
After execution only the data of subnode1 and subnode2 are available in abap system. Data of subnode3 and subnode4 aren't!
User | Count |
---|---|
85 | |
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.