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

bapi

Former Member
0 Likes
346

hi guru's,

i want an example for bapi, how to create , how to use it in Abap editor to retrive data , to create.

send me proper programs if possible

thanks in advance

2 REPLIES 2
Read only

Former Member
Read only

Former Member
0 Likes
328

Hi,

Business application Prograaming Interface is nothing but the Method of a Business object.

BAPI-step by step

http://www.sapgenie.com/abap/bapi/example.htm

list of all bapis

http://www.planetsap.com/LIST_ALL_BAPIs.htm

for BAPI's

http://www.sappoint.com/abap/bapiintro.pdf

http://www.sappoint.com/abap/bapiprg.pdf

http://www.sappoint.com/abap/bapiactx.pdf

http://www.sappoint.com/abap/bapilst.pdf

http://www.sappoint.com/abap/bapiexer.pdf

http://service.sap.com/ale

http://service.sap.com/bapi

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf

http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf

http://www.planetsap.com/Bapi_main_page.htm

http://www.topxml.com/sap/sap_idoc_xml.asp

http://www.sapdevelopment.co.uk/

http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf

Also refer to the following links..

www.sappoint.com/abap/bapiintro.pdf

www.sap-img.com/bapi.htm

www.sap-img.com/abap/bapi-conventions.htm

www.planetsap.com/Bapi_main_page.htm

www.sapgenie.com/abap/bapi/index.htm

The small piece of code are-------

.

TABLES : MARA.

TYPES : BEGIN OF T_MARA,

MATNR TYPE MATNR,

MTART TYPE MTART,

END OF T_MARA.

DATA : IT_MARA TYPE STANDARD TABLE OF T_MARA WITH HEADER LINE.

DATA : RET LIKE Z8BAPI_MARA.

SELECT-OPTIONS : P_MATNR FOR MARA-MATNR.

START-OF-SELECTION.

CALL FUNCTION 'ZBAPI_MATERIAL_DISP'

EXPORTING

matnr = P_MATNR

IMPORTING

RETURN = RET

TABLES

ITAB = IT_MARA

.

**do rewards if usefull

Regards,

vijay