2013 Feb 27 6:50 AM
Dear All,
I have to develop a bapi which will be used by other sources like java or .net or webdynpro java which should take two input parameters.
for ex in spfli table two input parameters airlineid and connectionid and return a flight list of some fields in spfli table.
To do this i have created a function module(remote-enabled) in se37 with import parameters (carrid and connid) and table parameters flighttable which is a tabletype. the function module is working fine and flight list is shown,but when i create in swo1 by adding api methods it is giving error by poping table parameters cannot be used for bapi.
So how can develop a bapi which returns a table(flight list or any ztable) based on input fields.
Please guide what are the parameters to be used in bapi for returning a table and neccessary source code in function module
Regards
prasad.
2013 Feb 27 7:02 AM