Difference between bapi, badi, ale and edi





Answer Posted / naresh

>ALE means Application Link Enabling and is used between SAP systems. ALE is generally used to transmit Master Data information as material, vendor, customer, conditions, etc.
EDI means Electronic Data Interchange and is used between SAP systems and external systems. When thinking about MM-IV processes, EDI enables a vendor to transfer invoice information electronically instead of in the form of a printed paper invoice.
IDOC means Intermediate Document, and is used during ALE and EDI processes. An IDoc is generated for each invoice and the system posts an invoice using the data in this IDoc. To obtain more information regarding invoices via EDI, document Invoices Received via EDI (MM-IV) can help.

>IDOC : It is a container to carry the data.

Now let us take a example.

I have 2 systems A which is non SAP & B SAP. A is located in America and B is India which you are working currently.

Now A sends the order information to B via EDI.

Now this data will be put into IDOC(Orders05) in sap and then passed to va01 to create the sales order.

Now as a functional consultant you can go and check whether any orders created by Idocs or not.

1) You can check by going to WE02 or WE05 by inputting the idoc number or simply execute by giving the data.
2) If you have defined a separated doc type for this scenario then can check
tables ie VBAK ( Input sales doc type you defined and give the date and execute)

=>ALE: This is to enable a connection between 2 systems.

As a functional consultant you dont need to know any thing, this
is the work of ABAPers and Baisis consultants to configure the RFC destinations ,ports etc.

=>BADI : Business Addins

Suppose if some extra functionality need to be added to the already given functionality , then we can go for this.

For example , I want to make the PO number every time as POAUSTRALIA in sales order with doc type ZIOR and sales organization IN01 ,
then ABAPers will write the code in the badi or in user exits.

IF vbak-vkorg = 'IN01'.
IF VBAK-AUART = 'ZIOR'.

XVBAK-bstnk = 'POAUSTRALIA'.

endif.
endif.

As a functional consultant you simply need to check whether the PO number in sales order is coming as POAUSTRALIA or not. ABAPers use tcode SE18 & SE19.

=>BAPI : Business Application Programming Interface. Tcode BAPI.

This is advanced to function modules.

Now the external non sap system say website wants to create the orders in SAP.
Customer will login into website and input some information for example in website EBAY.
Then EBAY will use the webservice and call the BAPI and pass the customer inputted data to BAPI to create the order in SAP.

As a functional consultant you need to define a separate order type and check whether the orders are created or not through BAPI.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Lock box in sap fico?

809


Hi 1)What is the maximum permissible exchange deviation in your project? 2)What is the most typical problem that you have been faced in supporting as well as implementation? 3)How you see dunning notice output?

1782


What do you mean by opening/closing posting periods?

587


Give me an Example for functional specifications in sap fico

2548


what is diff.between production by order and product cost collector?

3400






What is document type, and what does it control? Give an example.

655


How do you calculate the due date of a document?

703


What happens when you post to year 2006 when you are in 2007?

641


What are special periods used for?

651


What are the interaction with abaper in project especially for screens, conditions and cutover plan?

1632


What is an account group? : fi- general ledger master data

585


Hi friends, As we all know (Net Present Value)The Currency value decrease every year.How to assign the net present value in asset accounting. If we use that concept say for ex. the asset value is for 10 years.if we use NPV method the asset the asset life willbe less than that na.How to use that? Ram.

1782


what is the need for balance interest calculation maintenance of setting in case a financial decides on interest rates and loan repayment due dates etc all other issues and we only need to pay the intrest amount ?

1583


Explain asset class

593


What is the relation between a controlling area and a company code?

673