2010 Sep 24 12:12 PM
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
2010 Sep 24 12:15 PM
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
2010 Sep 24 12:15 PM
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
2010 Sep 24 12:21 PM
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.
2010 Sep 24 12:21 PM
Hi ,
Write the code in the BAPI fucntion module .
And call the same where ever you need it.
Regards,
Pravin
2010 Sep 24 12:23 PM
2010 Sep 24 12:29 PM
You can find detail regarding BAPI in help.sap.com.Search for "BAPI Programming Guide Reference (CA-BFA)" and you will get details.
2010 Sep 24 12:34 PM
2010 Sep 24 12:34 PM
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