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
555

hi experts,

  1. What is bapi?

  2. how bapi is different from call transaction/session?

  3. what r the advantages of bapi?

  4. for uploading master data(ex:customer data) into sap,

which methods you prefer? call

transaction/session/lsmw/bapi? why?

  1. tell any 2 standard bapi function modules used for

uploading sale

thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
511

Just check this thread, it has all the ansers for your questing.

  1. tell any 2 standard bapi function modules used for

uploading sale

BAPI_SALESDOCU_CREATEFROMDATA

BAPI_SALESORDER_CHANGE

BAPI_SALESORDER_CONFIRMDELVRY

BAPI_SALESORDER_CREATEFROMDAT1

BAPI_SALESORDER_CREATEFROMDAT2

BAPI_SALESORDER_CREATEFROMDATA

BAPI_SALESORDER_GETLIST

BAPI_SALESORDER_GETSTATUS

BAPI_SALESORDER_SIMULATE

Regards

Kathirvel

5 REPLIES 5
Read only

Former Member
0 Likes
512

Just check this thread, it has all the ansers for your questing.

  1. tell any 2 standard bapi function modules used for

uploading sale

BAPI_SALESDOCU_CREATEFROMDATA

BAPI_SALESORDER_CHANGE

BAPI_SALESORDER_CONFIRMDELVRY

BAPI_SALESORDER_CREATEFROMDAT1

BAPI_SALESORDER_CREATEFROMDAT2

BAPI_SALESORDER_CREATEFROMDATA

BAPI_SALESORDER_GETLIST

BAPI_SALESORDER_GETSTATUS

BAPI_SALESORDER_SIMULATE

Regards

Kathirvel

Read only

former_member758419
Active Participant
0 Likes
511

Hi,

BAPI stands for Business Application Programming Interface. BAPI is Remote enabled function module which can be called remotely from other systems(non-sap).

Check the below links,

1) <i># how bapi is different from call transaction/session?</i>

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

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

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

Hope this helps,

Reward all helpful answers,

Read only

Former Member
0 Likes
511

Hi

BAPI stands for Business Application Programming Interface. BAPI is Remote enabled function module which can be called remotely from other systems(non-sap).

You can make your function module remotely enabled in attributes of Function module but

A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).

BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.

The following standardized BAPIs are provided:

Reading instances of SAP business objects

GetList ( ) With the BAPI GetList you can select a range of object key values, for example, company codes and material numbers.

The BAPI GetList() is a class method.

GetDetail() With the BAPI GetDetail() the details of an instance of a business object type are retrieved and returned to the calling program. The instance is identified via its key. The BAPI GetDetail() is an instance method. BAPIs that can create, change or delete instances of a business object type

The following BAPIs of the same object type have to be programmed so that they can be called several times within one transaction. For example, if, after sales order 1 has been created, a second sales order 2 is created in the same transaction, the second BAPI call must not affect the consistency of the sales order 2. After completing the transaction with a COMMIT WORK, both the orders are saved consistently in the database.

Create( ) and CreateFromData! ( )

The BAPIs Create() and CreateFromData() create an instance of an SAP business object type, for example, a purchase order. These BAPIs are class methods.

Change( )

The BAPI Change() changes an existing instance of an SAP business object type, for example, a purchase order. The BAPI Change () is an instance method.

Delete( ) and Undelete( ) The BAPI Delete() deletes an instance of an SAP business object type from the database or sets a deletion flag.

The BAPI Undelete() removes a deletion flag. These BAPIs are instance methods.

Cancel ( ) Unlike the BAPI Delete(), the BAPI Cancel() cancels an instance of a business object type. The instance to be cancelled remains in the database and an additional instance is created and this is the one that is actually canceled. The Cancel() BAPI is an instance method.

Add<subobject> ( ) and Remove<subobject> ( ) The BAPI Add<subobject> adds a subobject to an existing object inst! ance and the BAPI and Remove<subobject> removes a subobject from an object instance. These BAPIs are instance methods.

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

check this links

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

-charitha

Read only

Former Member
0 Likes
511

Hi Surendra ,

1. BAPI : It stands for Business Application Programming Interface , as the name itself says it is an interface which is used to transact with your system , some other SAP system or a non sap system.

It can be used for uploading data , modifyiing a data , reading data e.t.c.

Since BAPI are an interface they are RFC ( Remote Function Call) enabled. So the next question that arises is are all RFC FM's BAPI , the ans is no , because each BAPI is associated with a businsess Object.

2. The main diffrence between BAPI and BDC is that here you need not do much coding like validations e.t.c all of that is usually done by BAPI , and the major advantage is that BAPI are RFC enabled so you can call it from another system , but using call transaction / session from another system to our system may not be feasible.

3. All the there methods are good , it depends upon the volume of data you want to upload.

4. I would suggest you look at the list of BAPI available and see what suits ur requirement best.

The method for it is Run transaction <b>BAPI</b>

Since you want BAPI for SD , click on sales and distrubution , you will see subsections , just go ane explore , each BAPI has its document also explaning what it is supposed to do.

Regards

Arun

Read only

Former Member
0 Likes
511

BAPI (Business Application Programming Interface) is a set of interfaces to object-oriented programming methods that enable a programmer to integrate third-party software into the proprietary R/3 product from SAP. For specific business tasks such as uploading transactional data, BAPIs are implemented and stored in the R/3 system as remote function call (RFC) modules.

Use

The Business Framework - the open, component-based architecture, which allows software components from SAP and third parties to interact and integrate with each other, is becoming more and more important.

SAP business objects are at the heart of the Business Framework, enabling the interoperability of software components. They cover a wide spectrum of R/3 business data and processes.