2008 Oct 07 10:19 AM
Moderator message: please use meaningful subject in future. And do search before asking basic questions.
i need to know how to use bapi inside the program. and how to create a bapi
Edited by: Matt on Nov 19, 2008 7:55 AM
2008 Oct 07 10:21 AM
hi,
search in SCN(Sap Community Network ) with terms bapi and bapi create you will get lot of posts.
2008 Oct 07 10:21 AM
hi,
search in SCN(Sap Community Network ) with terms bapi and bapi create you will get lot of posts.
2008 Oct 07 10:39 AM
In program you have to call function and give the bapi name and bapi contain some export and import parameter and table you have to pass some value in the bapi from progrom and it will fill the interanle table and give the result in it_return table about the status.
and for creating the bapi you have indepth knowledge of t-code for which you creating the bapi and you must aware of the table who all are updated through this bapi.
2008 Nov 19 6:48 AM
for bapi
create table or structure but name start with zbapi
first create function group use transtion se37.
in se37 there are 2 fields like import and export
in export there is always return type bapiret2.
return collect all the error message.
source code provide logic then save check activate.
in attribte select remote enable module,
then save check activate and relese.
use transtion code sw01 for conversion of fm into metho.
some potion comes give name and remaining *
ener utilities-api method-add method-provide fm name.
goto next-continue-yes
click on method-expand it save selct object -edit-change release ststus-object type-to implemented
to relesed- same for method
seve check and genrate
ur bapi is created.