04-21-2008 9:55 AM
1) what r the bapi components?
2) what is the f. m is used with bapi to commit?
3) structure of bapi?
4) advantages of bapi?
5)how bapi is different from call traction/session?
04-21-2008 10:07 AM
Hi,
2.BAPI_TRANSACTION_COMMIT Function Module
please check this link
http://help.sap.com/saphelp_nw04/helpdata/en/e0/9eb2370f9cbe68e10000009b38f8cf/frameset.htm
http://articles.techrepublic.com.com/5100-6329-1051160.html
http://help.sap.com/saphelp_nw04/helpdata/en/c3/4099a68b8911d396b70004ac96334b/content.htm
http://www.sap-img.com/bapi.htm
Differences
please check this link
BAPI CAN BE CALLED FROM OUTSIDE THE SAP SYSTEM.
BAPI AUTOMATICALLY PROCESS THE FIELS AND UPDATE THE TABLE.
BDC WE HAVE TO EXPLICITELY DO THE MESSAGE HANDLING BUT IN
BAPI IT IS TAKEN CARE IMPLECTILY.
<REMOVED BY MODERATOR>
raam
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:53 PM
04-21-2008 10:11 AM
hi check this example for finding the good step-by-step prodedures for creating the bapis..
http://www.saptechnical.com/Tutorials/BAPI/BAPIMainPage.htm
regardss,
venkat .
04-21-2008 10:13 AM
Hi,
1. http://help.sap.com/saphelp_nw04/helpdata/en/5c/f3f0371bc15d73e10000009b38f8cf/frameset.htm
2. After calling the generated function module the application program must contain the command COMMIT WORK. The standard database COMMIT at the end of the transaction is not sufficient. The COMMIT WORK must not be executed immediately after the call; it can be executed at higher call levels after the function module has been called several times.
3. http://help.sap.com/saphelp_nw04/helpdata/en/43/b46c3953c111d395fa00a0c94260a5/content.htm
4. Advantages using BAPI.
One of the big plusses for BAPIs is that the interface and function are not supposed to change. This is a big plus when you do upgrades or hot packs because the transaction can change (format, required inputs etc) which means you then need to update the call transaction.
Some of the BAPIs are better documented and easier to use than others.
You usually need to perform the BAPI that actually does the COMMIT after you call your BAPI.
The Program coding for calling a BAPI is usually cleaner than setting up the screen flow etc for the Call Transaction.
You don't need to worry about special data circumstances interrupting the normal data flow of the screens and causing errors because of that.
BAPIs probably have better performance since they don't do the screen flow processing.
In general if the BAPI exists for the transaction you want to perform and you can figure out how to use it the BAPI is probably the best way to go.
5. BAPI CAN BE CALLED FROM OUTSIDE THE SAP SYSTEM.
BAPI AUTOMATICALLY PROCESS THE FIELS AND UPDATE THE TABLE.
In BDC, WE HAVE TO EXPLICITLY DO THE MESSAGE HANDLING BUT IN
BAPI IT IS TAKEN CARE IMPLICITLY.
<REMOVED BY MODERATOR>
Regards,
Ramya
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:54 PM
04-21-2008 10:16 AM
1) what r the bapi components?
BAPI components are methods,events,attributes..etc.
2) what is the f. m is used with bapi to commit?
BAPI_TRANSACTION_COMMIT
3) structure of bapi?
4) advantages of bapi?
1)Using BAPI you can access the data from other applications.
2)Using BAPI you can upload data to njoy transactions.
3)Fast data transafer technique.
4)directly update the database.
5)BAPI support version upgrades.
5)how bapi is different from call traction/session?
Actually BDC data transfer techniques are follows screen flow means through the screen fields you have to tranfer the data...but in BAPI you can directly update the database.
<REMOVED BY MODERATOR>
Dara.
Edited by: Alvaro Tejada Galindo on Apr 22, 2008 5:54 PM