on 10-07-2009 2:42 PM
Hey,
I need a parent node with with a sub node and again a sub node. I have a function, which is retrieving this data from SAP.
I thought about getting the data from the function already in the same way I need it in the context nodes. That's why I have
created a table type for a structure in the EXPORTING tab of the function. This table type referes to a structure, which includes
also a table type. And again this table type refers to a structure which has another table type included.
Now I have created a service call in the component to this function. I got now the problem, that the service call wizard
just creates the parent node for the exporting parameter. But for the table type, which is there included, it is just creating an
attribute.
Isn't it possible to use the service call wizard to call a function with nested tables as EXPORTING parameter?
Thank you!
The service wizard has limitations when generating with nested structures. This is a known limitations. The Service Call wizard doesn't do anything that can't also be done manually. So when you hit these limitations you have two choices. One - complete the work manually and build the rest of the context and logic yourself. Two - wrap the existing service inside a new service (perhaps an assistance class method) with a simpliefied interface - or just change the service interface itself if you can.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.