‎2006 Oct 31 11:09 AM
Hi,
I want to create some bapi. Is Bapi creation same as Function module creation?
I need some info reg the creation of BAPIS.
thanks in advance,
Vijaya.
‎2006 Oct 31 11:12 AM
Hi,
bapi can be used for tranasction to upload or download the data. No need of create fo bapi, U can use standard bapis and ucan modify sccordning your requirements.
‎2006 Oct 31 11:12 AM
Hi,
bapi can be used for tranasction to upload or download the data. No need of create fo bapi, U can use standard bapis and ucan modify sccordning your requirements.
‎2006 Oct 31 11:12 AM
The underlying code for a BAPI is a function module. You will have to create a object in SWO1 and then attach the method of that BAPI to the remote enabled function.
REgards,
Ravi
Note : Please mark all the helpful answers
‎2006 Oct 31 11:15 AM
Programming a BAPI consists of some tasks like:
Defining BAPI Data structures ( using SE11 )
Creating BAPI Function Modules (For each method)
Defining BAPI Methods in the BOR
Generate and release
1. Defining BAPI Data structures: This is the basic step followed while creating BAPIs. All the relevant structures that are required for BAPI have to be created using T-Code SE11. The structures can be created for Import/Tables parameters.
2. Creating BAPI Function Modules: We must create new function group for each BAPI. If the BAPIs are related then the same can be grouped under the same FUNCTION GROUP to enable the sharing of global data amongst the related BAPIs.
3. Defining BAPI Methods in the BOR: When creating a new object type in BOR (Business Object Repository), there can be two possibilities. Either it is created as a subtype of an existing business object or it is created as a new business object from scratch. Create a business object using the T-Code SWO1. The business object gets created with the standard interface that contains an Interface IFSAP, an Attribute ObjectType, and two methods namely ExistenceCheck and Display. All these cannot be changed. You can add a method to the business object. For this, we will choose from the menu path, Utillities -> API methods -> Add method. To use the business object Object type status has to be set to Implemented.
4. Generate and Release: Go to SE37 and release the API enabled Function module. In the Object created in the BOR, set the status of Object Type Component to Released.
You can then display the BAPI in the BAPI Explorer. Invoke the same using the T-code BAPI.
Also have a look at below links.
http://www.allsaplinks.com/bapi_example.html
http://www.erpgenie.com/sap/abap/bapi/example.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
I hope it helps.
Best Regards,
Vibha
*Please mark all the helpful answers
‎2006 Oct 31 11:15 AM
Hi ,
To learn more about BAPI's , Please look at the follwing links.
http://help.sap.com/saphelp_46c/helpdata/de/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
Checkout !!
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sappoint.com/abap/bapilst.pdf
http://www.sappoint.com/abap/bapiprg.pdf
http://www.sappoint.com/abap/bapiexer.pdf
http://www.sappoint.com/abap/bapiactx.pdf
Regards,
Raghav
‎2006 Oct 31 11:17 AM