‎2013 May 30 10:02 AM
Hi experts,
I need create an abap webservice that should return a couple or records. It will return the data from a function module, the returned values will be for instance:
Pernr, Month, Year -> As a Header
100, 01, 2013
100, 02, 2013
100, 02, 2014
...
I'm not sure what is the best option for the returning values, create a Z table and use it in the function module in the tab "tables" or use an structure Z that will have three fields (pernr, month, year). This structure will be used as an export param in "Export" tab.
What do you think is the best option?
Kind regards,
Julian.
‎2013 May 30 11:12 AM
Hi Julian ,
To get the set of values from tables using Web service you can use the "Tables" tab and in that you can declare a table by using a Z structure (I preferred in same requirements I got).though using of tables concept is obsolute one but it works without any issue .Another way you can get the same vales through "Export" parameter by using a variable of table type .
Thanks
Mallikarjun
‎2013 May 30 11:12 AM
Hi Julian ,
To get the set of values from tables using Web service you can use the "Tables" tab and in that you can declare a table by using a Z structure (I preferred in same requirements I got).though using of tables concept is obsolute one but it works without any issue .Another way you can get the same vales through "Export" parameter by using a variable of table type .
Thanks
Mallikarjun