‎2008 Apr 09 11:55 AM
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
‎2008 Apr 09 11:57 AM
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: -
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://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.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
‎2008 Apr 09 11:58 AM
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.