‎2008 Jan 08 11:53 AM
Hi All,
I hv a doubts in BAPI ?.
1. How to upload PO data into sap system with BAPI ? and send me information about that with coding.
2.what is this bapi function module do 'BAPI_MATERIAL_SAVEDATA' ?.
3. How to find out bapi's to realted perticular t'code.?
4.How many type's bapi's there in sap.?
bye.
Thanks and Regards.
Srinivas
‎2008 Jan 08 11:58 AM
BAPI (Business Application Programming Interface) is an API method of a business object which intern is a RFC enabled Function Module.
Business Objects are the Objects which has business sence associated to it. Ex. Sales Orders, Purchase Orders etc.
The Properties of BAPI are:
Every BAPI name should start with letters 'BAPI'.
It is an API method of a Business Object.
it does not contain a internal COMMIT statement in the Function Module.
It does not contain "CALL TRANSACTION" statements.
BAPI do not raise 'EXCEPTIONS'.
a RETURN structure is defined as an interface parameter of a BAPI which is used to log all the errors, warnings and the successful processes tha are triggered in the course of execution of a BAPI.
A successful execution of a BAPI requires the data to be commited and this process of performing a COMMIT is achieved by calling the BAPI_TRANSACTION_COMMIT' explicitly if there are no errors logged in the RETURN structure.
There are two types of BAPI's: Instance Dependent & Instance Independent.
BAPI provides an access to the SAP system for external applications to have the business data processed in the form of web services. When BAPI's are used to post the data in SAP system these are used as Function Modules.
For Sales order:
Check these BAPI
BAPI_SALESORDER_CHANGE
BAPI_SALESORDER_CREATEFROMDAT2
for Purchase Order:
check these combination
1) BAPI_PO_CREATE
2) BAPI_TRANSACTION_COMMIT
Reward points if useful.
‎2008 Jan 08 11:55 AM
Hi,
BAPI Links
http://www.erpgenie.com/sap/abap/bapi/example.htm
http://www.sap-img.com/bapi.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c1e53c111d395fa00a0c94260a5/content.htm
http://www.sappoint.com/abap/bapiintro.pdf#search=%22BAPI(SAP)%22
http://www.erpgenie.com/sap/abap/bapi/index.htm
http://www.erpgenie.com/sap/abap/bapi/conventions.htm
http://www.erpgenie.com/sapgenie/docs/BAPI%20Programming.doc
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
Regards,
Satish
‎2008 Jan 08 11:58 AM
BAPI (Business Application Programming Interface) is an API method of a business object which intern is a RFC enabled Function Module.
Business Objects are the Objects which has business sence associated to it. Ex. Sales Orders, Purchase Orders etc.
The Properties of BAPI are:
Every BAPI name should start with letters 'BAPI'.
It is an API method of a Business Object.
it does not contain a internal COMMIT statement in the Function Module.
It does not contain "CALL TRANSACTION" statements.
BAPI do not raise 'EXCEPTIONS'.
a RETURN structure is defined as an interface parameter of a BAPI which is used to log all the errors, warnings and the successful processes tha are triggered in the course of execution of a BAPI.
A successful execution of a BAPI requires the data to be commited and this process of performing a COMMIT is achieved by calling the BAPI_TRANSACTION_COMMIT' explicitly if there are no errors logged in the RETURN structure.
There are two types of BAPI's: Instance Dependent & Instance Independent.
BAPI provides an access to the SAP system for external applications to have the business data processed in the form of web services. When BAPI's are used to post the data in SAP system these are used as Function Modules.
For Sales order:
Check these BAPI
BAPI_SALESORDER_CHANGE
BAPI_SALESORDER_CREATEFROMDAT2
for Purchase Order:
check these combination
1) BAPI_PO_CREATE
2) BAPI_TRANSACTION_COMMIT
Reward points if useful.
‎2008 Jan 08 11:59 AM
Hi,
1) To upload the data first you have to find the respective BAPI. Then either you have to flat file which has the data.
Also you have to create the RFC Destination for it.
2) For 'BAPI_MATERIAL_SAVEDATA' , go to se37 and view the Import, export parameters of it. Also click the Function Module Documentaion in the Application Tool Bar, you will get the Better Idea.
3) BAPI's are Asynchronous and Synchronous. Also BAPI should be RFC Enabled.
Regards,
DS