Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Table type in bapi issue

prasad
Participant
0 Likes
380

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.

1 REPLY 1
Read only

RaymondGiuseppi
Active Contributor
0 Likes
338

Start transaction BAPI, read the documentation and try the "wizard"

Regards,

Raymond