Application Development 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: 

Please need some assistance

Former Member
0 Kudos
124

I have created a BAPI now i want to read the data from bapi..how can i do it..I have created bapi for flight data with predefined sflight db table..now i want to read the data from it pls throw some light how can i read the data in bapi..

thanks and regards,

omkar.

Moderator message: please search for available information before asking, use meaningful subject lines when posting.

locked by: Thomas Zloch on Sep 24, 2010 1:38 PM

1 ACCEPTED SOLUTION

former_member188827
Active Contributor
0 Kudos
100

Have you created interface of BAPI?that have you created import,export,tables parameters.These parameters should refer to data types whose names begin with "BAPI" or "ZBAPI".write your code in the same way you would for normal function modules

7 REPLIES 7

former_member188827
Active Contributor
0 Kudos
101

Have you created interface of BAPI?that have you created import,export,tables parameters.These parameters should refer to data types whose names begin with "BAPI" or "ZBAPI".write your code in the same way you would for normal function modules

0 Kudos
100

ya i wrote that..

in function module i wrote SELECT statement from which it will select the defined fields but those fields doesnt have data in it now i want to put data in that field how to do that within the function module which i have created..i have created mandt,carrid,currency,seatsmax and seatocc..now without accessing sflight table i want to put data in those field...can u throw some light on it.

Former Member
0 Kudos
100

Hi ,

Write the code in the BAPI fucntion module .

And call the same where ever you need it.

Regards,

Pravin

0 Kudos
100

This message was moderated.

0 Kudos
100

You can find detail regarding BAPI in help.sap.com.Search for "BAPI Programming Guide Reference (CA-BFA)" and you will get details.

0 Kudos
100

Hi,

0 Kudos
100

Go to SAP technical and search for Bapi creation you will get your answer.

I am unable to insert link.

Edited by: UMANGmehta on Sep 24, 2010 1:35 PM