SAP ABAP ALE IDOC Interview Questions and Answers

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.

com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

[email protected] +91 08047112411        Login / Register

COURSES CORPORATE TRAINING BLOG 

Search For The Courses, Software or Skills You Want to Learn...

SEARCH

SAP ABAP – ALE IDOC INTERVIEW


QUESTIONS

What is an ALE ?
ALE stands for Application Link Enabling which links two systems.

ALE is a technology that can enable exchange of data between two di erent Systems ( Sap – Sap OR Sap –
Non Sap).

ALE architecture has the  3 layers :

Application layer related to the application data ( SD , MM , FI or data for any SAP application ).

Distribution layer decides to whom should the data generated by the application layer has to be
distributed

Communication layer responsible for  delivering the Idoc to the receiving system and communicates to the
receiving system via tRFC , File ports , FTP or TCP/IP etc. 

ALE uses IDoc as a vehicle to transfer data between two systems.

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 1/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

What are the Advantages


ALE/IDOCS?
Reduced Data entry errors

Reduced processing time

Availability of data in electronic form

Reduced inventories and better planning

Standard means of communications

Better business process

What is an EDI ?
EDI stands for Electronic Data Interchange.It related to the electronic exchange of business data in a
structured format between two systems. The EDI subsystem generally converts the Idoc data into one of
the many EDI formats and generates an EDI le in an X12 format. The middleware then translates the X12 le
to an IDOC format and the IDOC is sent to the SAP system.

What are the process types of EDI?


EDI has two process:

1. Outbound process

2. Inbound process

What happens in the Outbound


Process?
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 2/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×
1.Application document is created.

2. IDOC is generated

3.Idoc is transferred from SAP to Operating system layer

4.Idoc is converted into EDI standards

5.Edi document is transmitted to the business partner

6.The Edi Subsystem report status to SAP

What happens in the Inbound


Process?
1.EDI transmission received

2.EDI document is converted into an IDOC

3.IDOC is transferred to the SAP layer

4.The application document is created

5.The application document can be viewed.

What is RFC Destination?


Used to de ne the characteristics of communication links to a remote system on which a functions needs
to be executed.

What is a Message Control in SAP? 

The message control component enables us to encapsulate business rules with out having to write ABAP
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 3/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

programs. Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

What are the types of records in SAP


ALE Idocs and where is this
information stored ?
There are three types of records in SAP ALE Idocs:

Control Records: IDoc is stored in standard table EDIDC.

Data Records:      IDoc is stored in standard table EDIDD.

Status Records:   IDoc is stored in standard table EDIDS.

What is a Port ? What are the types of


Ports ?
A port is a communication channel through which Messages can be sent or received in SAP.

The common port types are the TRFC Port and the File Port.

If both sender and receiver mention TRFC ports, data is exchanged via RFC connections.

If however , a le port is mentioned , the IDOC is written in a at le at the speci ed location at the sender
system.Then a FTP transfer should be done from that location to the receiver system or a Middleware that
will send the le to the receiver system.

The transaction to maintain ports is WE21.

What is a Message type ?



you will nd that a Message type is always associated with an IDoc type. , a Message type is used just to
specify the kind of information that a system can send or receive to or from another system.

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 4/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

The link between aLearn the most


message Typemost trending
and an IT Technologies
IDoc type with
is maintained initeanz.
TcodeEnrol Now!
WE82. ×

What is a partner pro le ?


To be able to communicate with a partner via an IDoc interface, each system needs to maintain a partner
pro le. A partner pro le is a mechanism by which the system can specify what kind of messages (message
types) it can send or receive.

Partner pro les can be maintained in WE20.

What is a distribution model in ALE


IDocs ?
The distribution model describes how ALE messages ow between di erent logical systems.

You can mention the sender and receiver logical systems, the message type to be distributed and also
distribute data(IDocs) based on certain conditions by using the distribution model.

How do you create a custom IDOC?


Creation of Segment Types

Run T-code ‘WE31’ to create segment type

Creation of IDoc type

Run T-code ‘WE30’ to create custom IDoc type

Creation of logical message types

Run T-code ‘WE81’ to create the logical message types.

Linking Message type and IDoc type. 

Run T-Code ‘WE82’. Now we have to link these created IDoc types and Message types.
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 5/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

What is the whole process to send


custom idoc from source system to
destination system?
Common con gurations on both sides:

Creating Logical System Names SALE

Setup RFC destinations SM59

De ning Port Destinations WE21

In Source system:

Segment Creation WE31

Basic IDOC Type Creation WE30

Message Type Creation WE81

Assign Message Type To Basic IDOC Type WE82

Distribution Model BD64

Writing Report Program SE38

Partner Pro le WE20

Message control NACE

Check IDOCs WE02, WE05

In Destination System:

Creating FM SE37

Assign FM to Logical Message WE57 

De ne I/P method for Inbound FM BD51

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 6/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×
Create Process Code WE42
Generate Partner Pro le BD64

Get Global Python Certi cation


Get Started Python Online Training Now!

Request for Free Demo

How can you create a at le from


IDOC generated through transaction
code WE19 for outbound processing?
Choose the standard outbound processing and send the created IDOC file to your file. Port type file is
maintained in transaction codes WE20 and WE21.

How do I create a Fileter group for my


message?
To create a filter group, implement transaction codes BD59and BD95.

How do you Search error lines within


the IDOC file? 
Table EDID4 includes all the header and segment data of an IDOC file. Use transaction code SE16 to data
browses the table. Another alternative is to implement transaction code WE09 or WE10. It retrieves IDOC
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 7/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

files that match the condition you input (segment, field and value.).
Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

How do you view the IDOC file status


history?
Select the IDOC file with transaction code WE02. Double-click on the IDOC file you wish to display. On the
left side, you will have both the IDOC file content (segments) and the status history (successive status
values). By clicking on the status, you will receive even more details, such as time and user ID.

What is an Idoc?
An IDoc (Intermediate document) is a vehicle that is used to transfer data from one system to another.

IDoc is not a technology of some sort , but it is just a container that holds data .

It holds data in a structured format i.e. in the Fields of the Segments.

What is IDoc Type?


IDoc Type vs. IDoc:

An IDoc Type is nothing but a collection of one or more structures de ned in a system with speci c elds. It
does not hold Data.

However, an IDoc is something that holds the values in the elds of the structure de ned by IDOC type.

The transaction code to view an IDoc type (Basic and extension) is WE30.

Examples: ORDERS04, DEBMAS04, MATMAS04, CREMAS04.

These are all SAP standard Basic IDoc Types.

What is an IDoc Extension ?


https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 8/16
What is an IDoc Extension ?
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×
You can even have an IDoc extension in which you can use the existing Basic IDoc type and add extra
segments and elds to it. Usually we extend an IDoc when the standard SAP IDoc type is not able to cater
to the business process.

Difference between IDOC and IDOC


type?
IDOC type speci es Data Structure and IDOC is the instance based on IDOC type.

what is structure of IDOC?


IDOC has three type of records:

Control Record — contains control info ex: receiver port etc


Data record — Contains IDOC data

Status — holds IDOC status.

How can debug runtime IDOC?


When it comes to debugging, I believe we can make use of WE19.

How to reprocess error IDOC's ?


We can reprocess error IDOC’s(status 51) using program RBDAGAIN

Can we send the idoc to multiple sub


t ?
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 9/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

systems? Learn the most most trending IT Technologies with iteanz. Enrol Now! ×
If you are sending one idoc to more systems  ,then  we have to create one sender logical system and more
receiver logical systems in Tcode is SALE. After then we will send In Tcode BD64.

What is the main difference between


ALE/IDOC and BAPI?
ALE/IDocs are used for asynchronous information interchange.while BAPIs are used for synchronous
information interchange

How do you correct and reprocessing


the idoc?
If we have any error in IDOC then we can edit it by using WE02 Tcode,after that you can reprocess the
corrected IDOC by using BD87tcode.

How to reprocess edited IDOC's ?


We can reprocess edited IDOC’s using program RBDAGAIE (Se38 prorgram)

What is the difference between SAP


memory and ABAP memory?
SAP memory  is Global Memory is available to a user during the entire duration of a terminal session. Its
contents are retained across transaction boundaries as well as external and internal sessions.


The contents of the ABAP/4 memory are retained only during the lifetime of an external session .

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 10/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

Suppose i was sent 12 records using


outbound in ale/idoc 10 records are
up dated in data base tables what
happens for remaining records did
not showing error in WE02?
We are trying to generate the idocs with 12 records, and u nd only 10 records idocs created remaining
records are missing.We have to check with the lter set up for the records for its receiving partner system
logical system . Correct the lters then try regenerating the idocs(missing records).

How do you reprocess previously


generated idoc with same number?
We can use BD87 ,if you want to reprocess same idoc number.

How do you get output from IDOC?


Data in IDOc is stored in segments, the output from Idoc is obtained by reading the data stored in its
respective segments.

How do we generate IDOC in SAP ?


We can generate IDOC using function module MASTER_IDOC_DISTRIBUTE

Where is all the IDOCs will be stored


ft ti ?
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 11/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

after creation? Learn the most most trending IT Technologies with iteanz. Enrol Now! ×
EDIDC stores control/header record.

EDIDD/EDID4 stores data records.

EDIDS stores status records.

What is an Idoc status? What are the


different types of Idoc statuses ?
When an IDoc is sent from one system to another , it goes through variuos stages.The IDoc status indicates
the stage that the Idoc in currently in.

There about 75 IDoc statuses.

0-49 indicates an Outbound IDoc and 50-75 as Inbound IDoc.

01  IDoc generated

02  Error passing data to port

03  Data passed to port OK

51  Application document not posted

52  Application document not fully posted

53  Application document posted

What is the conversion rule of


LAE/IDOC?
Imagine ,If both the systems have di erent con gurations then we need to convert the measurements 
like
Unit of measure/Text id that is converting eld value from one value to another.

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 12/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×

What is the Serialization of IDOC


Message type?
IDocs are created, sent and posted in a speci c order. This prevents errors occurring when inbound IDocs
are processed. Interdependent messages can be distributed serially in di erent ways, as described in the
following sections.

Serialization Using Message Types

Serialization Using Business Objects.

What is an IDOC Filtration?


The system provides several lter objects for each message type to lter data. We have to choose the
appropriate lter for our business needs and add it to our distribution model.

We can create lter objects for a receiver in Distribution Model View: Tcode BD64.

How do you reprocess error inbound


idocs?
Open the IDOC in error in WE02 Transaction.

Expand the status records, and see which segment is in error.

Replace the error value with the correct value and click on the save button.

Now go to transaction BD87, enter the IDOC number and click on execute. It will re-process the IDOC with
the modi ed data and display the success message if there are no errors in the edited data.


You May Be Interested In

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 13/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now!
SAP Interview Questions ×
OOPS ABAP Interview Questions

SAP ABAP Enhancement Interview Questions

OOPS ABAP Interview Questions and Answers


SAP ABAP ALV REPORTS Interview Questions

SAP ABAP DATA Dictionary Interview Questions

Sap Abap HR Interview Questions


SAP ABAP Interview Questions and Answers for Experienced

SAP ABAP Module Pool Programming Interview Questions

SAP ABAP REPORTS Interview Questions


SAP ABAP Smartforms Interview Questions

SAP ABAP TECHNICAL Interview Questions

SAP BAPI Interview Questions


ABAP Interview Questions and Answers

SAP ABAP Interview Questions

SAP BASIS Interview Questions


SAP BASIS Interview Questions and Answers For Experienced

ABAP Interview Questions and Answers

SAP WORKFLOW Interview Questions


SAP Web Dynpro Interview Questions

SAP Web Dynpro ABAP Interview Questions and Answers

SAP TESTING Interview Question


Sap Solution Manager Interview Questions

SAP OOPS ABAP Interview Questions

SAP MDM Interview Questions


SAP MDG Interview Questions and Answers

SAP MDG Interview Questions

SAP FSCM Interview questions and answers


SAP Fiori Interview Questions

SAP EP Interview Questions

SAP Enterprise Portal (EP) Interview Questions and Answers


SAP BW on HANA Interview Questions

SAP BW Interview Questions

Sap BPC Interview Questions


SAP XI/PI I t i Q ti
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 14/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com
SAP XI/PI Interview Questions
Learn the most most trending IT Technologies with iteanz. Enrol Now!
SAP PI Interview Questions
×
Sap Adobe Forms Interview Questions

[/vc_column_text][/vc_column]

[/vc_row]

 FACEBOOK  TWITTER  LINKEDIN  INSTAGRAM  YOUTUBE

 PINTEREST

COMPANY

 About

 Awards

 Clients

 Blog

 Careers

 Reviews

 Newsroom

 Blog as guest

IT SERVICES

 Amazon Web Services

 SAP

 Arti cial intelligence

SOLUTIONS
https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 15/16
5/20/2021 SAP ABAP ALE IDOC Interview Questions and Answers | Iteanz.com

Learn the most most trending IT Technologies with iteanz. Enrol Now! ×
 Business

 Individuals

 Small Business

 Academic

 Government

SUPPORT

 Help Center

 Site Feedback

 Contact Us

 Knowledge base

 Course Suggestion

 Discuss

 Subscribe

 Af liate

 Become an Instructor

© 2018 Iteanz Technologies a myTectra Company. All rights reserved.


     

https://www.iteanz.com/sap-abap-ale-idoc-interview-questions/ 16/16

You might also like