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

Why it is necessary to block an asset master record? : fi- asset accounting

685


What is a controlling area? How is it related to a company code? : co- general controlling

628


Where are payment terms for customer master maintained?

624


Explain co automatic account assignment? : co- cost center accounting

556


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

653






How do you create new status groups for capital spending accounts and revenue accounts? What are the steps and the T codes used?

1780


What is the meaning of Retained earning account ? why it is mandatory area in SAP FI

1547


How does sap go about costing a product having multiple bill of materials within it?

602


hi, waht is line item settlement,investment measure,manage historically helps in OAOA?

2247


Hi Could you please share the process of migration of Classical GL Balances to New GL Balances. What are the actions / precautions we need to take at the time of New GL Migration time.

1657


Am a Sap Fi trainee learning the process, i came across a topic Foreign currency valuation. my doubt is whether foreign currency valuation and foreign currency revaluation is one and the same?

1071


I am interested in how to write Functional Specicification documents to be passed on SAP ABAP Consultants. After the Fit/Gap Analysis the RICEFW objects will be derived and functional specicifications will be written for the ABAPers to work on. I would be happy if anyone could send me examples, templates and explanations. Thanks Jay

1393


What do you mean by balances in local currency only? : fi- general ledger accounting

753


Is it possible to create asset classes automatically? : fi- asset accounting

601


What do you understand by posting key? : cost center accounting

585