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

calling two bapi

Former Member
0 Likes
419

How To call two bapi's inside a new program.

can i get a sample program...how to pass parameters to these bapi's

thanks in advnce

2 REPLIES 2
Read only

ak_upadhyay
Contributor
0 Likes
374

Hi,

Check these links.....

BAPI Programming guide: -

http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm

BAPI user guide: -

http://help.sap.com/saphelp_46c/helpdata/en/7e/5e115e4a1611d1894c0000e829fbbd/frameset.htm

BAPI STEP BY STEP PROCEDURE: -

http://www.sap-img.com/abap/bapi-step-by-step-guidance.htm

Example:-

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

PDF download: -

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/200dd1cc-589e-2910-98a9-bb2c48b7...

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..

http://www.sap-img.com/bapi.htm

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

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

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

Checkout !!

http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html

http://techrepublic.com.com/5100-6329-1051160.html#

check out these link,

http://www.sapgenie.com/abap/index.htm

http://www.sap-img.com/abap.htm

http://sap.ittoolbox.com/nav/t.asp?t=448&p=448&h1=448

http://www.thespot4sap.com/

http://www.kabai.com/abaps/q.htm

http://www.geocities.com/mpioud/Abap_programs.html

http://www.sapgenie.com/abap/tips_and_tricks.htm

http://www.sapdevelopment.co.uk/tips/tipshome.htm

http://help.sap.com/printdocu/core/Print46c/en/Data/Index_en.htm

List of BAPI's.....

http://www.sapnet.ru/m/list_BAPI.html

Reward points if useful.... (Don't forget)

Regards

AK

Read only

Former Member
0 Likes
374

Hi,

CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
         EXPORTING
              documentheader    = is_achd
*           CUSTOMERCPD       =
              contractheader    = is_cah
         IMPORTING
              obj_type          = e_obj_type
              obj_key           = e_obj_key
              obj_sys           = e_obj_sys
         TABLES
              accountgl         = it_gl
              accountreceivable = it_deb
              accountpayable    = it_cred
              accounttax        = it_tax
              currencyamount    = it_cr
*           CRITERIA          =
*           VALUEFIELD        =
              extension1        = it_bapiacextc
              return            = lt_return
              paymentcard       = it_pc
              contractitem      = it_cai
              extension2        = it_bapiparex.

 IF ( id_awtyp IS NOT INITIAL ) AND
     ( id_awkey IS NOT INITIAL ).

    CALL FUNCTION 'BAPI_ACC_DOCUMENT_DISPLAY'
      EXPORTING
        obj_type = id_awtyp
        obj_key  = id_awkey
        obj_sys  = ''.
endif.

Pls Refer to the BAPI BAPI_BILL_DOC_PROXY_CREATE.

It has one BAPI called inside .

Regards,

Morris Bond.

Reward Points if Helpful.