Professional Documents
Culture Documents
WordPress Tips & Tricks Internet SAP Personal Finance Health & Fitness Travel & Leisure
This article will help you understand the basics of ALE and IDocs via a simple do-it-
yourself example. We will create a custom IDoc in one SAP system and then post some
business data through it to another SAP system. Business data will be picked up from
custom data dictionary tables.
The messages that are exchanged are in the form of IDocs or Intermediate Documents.
IDocs act like a container or envelope for the application data. An IDOC is created as a
result of execution of an Outbound ALE. In an Inbound ALE an IDOC serves as an input
to create application document. In the SAP system IDocs are stored in the database
tables. They can be used for SAP to SAP and SAP to non-SAP process communication as
long as the participating processes can understand the syntax and semantics of the data.
Complete documentation on IDOC is obtained by using transaction WE60.
Every IDoc has exactly one control record along with a number of data records and
status records. Control record has the details of sender/receiver and other control
information. Data records contain the actual business data to be exchanged while the
status records are attached to IDoc throughout the process as the IDoc moves from one
step to other.
1 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Now, let us understand the ALE Configuration by means of an example scenario below:
The Scenario
2 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Go to WE81
Create a new Message type ZRZSO_MT
Save the object
Go to WE82 and create new entry
Assign the message type ZRZSO_MT to the basic type ZRZORDER
Also specify the Release Version
Save the object
Thus we have defined the IDoc structure which will hold the data to be transferred. In
the next part of the article we will understand the outbound settings, i.e. the settings to
be done in the source system.
About Riyaz
Riyaz Sayyad is the founder and editor of riyaz.net Tech Blog and flipstreak -
Indian Contemporary Art Gallery. Learn more about him here and connect
with him on Facebook, Twitter and Google+...
Comments
sameer says
March 5, 2008 at 2:38 PM
Hi,
I am creating IDOC in CRM-IDES and sending it to Solution Manager IDES. I have defined
two logical systems CRMCLNT800 and SMCLNT800. The problem is on both the systems the
client no is 800. How to assign client 800 (already present in the list of clients) to both the
logical systems. OR Is it that these clients which we are assigning to the logical systems
have no relation with the SAP system client.
3 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Please help.
Sameer
Riyaz says
March 5, 2008 at 9:27 PM
Hi Sameer,
You need to assign client to logical system in their respective systems only (see the next
part of this article series).
In your case, in CRM system, create entries for both logical systems (CRMCLNT800 and
SMCLNT800), but assign client 800 to CRMCLNT800 only. Similarly, in SM system, create
entries for both logical systems (CRMCLNT800 and SMCLNT800), but assign client 800 only
to SMCLNT800.
Assigning a client to a logical system simply tells SAP that this particular client will be
referred to while communicating using this logical system name.
I hope this answers your query. If not, please revert. I will be more than happy to help you
out.
Thanks.
Regards,
Riyaz
Hi Riyaz,
I am new to idoc area but this link really helps me in understanding concepts..Thanks
Once again .
I have come across the new requirement regarding inbound idoc.Please help me in this
regard.
My requirement is to generate the idoc after reading data from a flat file. The file is passed
to the application server by a middleware . The SAP interface program reads the file from
the application server and then starts processing the data. Please help me how to create
the inbound IDoc and which FM needs to be used.
4 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Thanks.
Tanu
Riyaz says
August 27, 2010 at 10:23 AM
When you have the flat file already with you and wish to create an IDoc, it will always be
an outbound IDoc. Inbound IDoc is something that comes into your system from outside.
To generate an IDoc from flat file or any data, you need to use the function module
MASTER_IDOC_DISTRIBUTE. For more details and sample program, see the part II of this
article.
Hi Riyaz,
I am in real need,
Thanks
Tanu
Riyaz says
August 27, 2010 at 5:29 PM
Try creating an inbound file port using transaction WE21. You can place the flat file at this
location. File ports which are typically used in EDI. I havent tried this though. Use
transaction WE16 to test inbound files.
Other option is to pass the data from the flat file to appropriate Inbound processing
5 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Sahil says
December 27, 2010 at 1:45 AM
Hi Riyaz,
I am a complete beginner to SAP SD, i am very interested in also to learn about IDOCs.
How to create IDOCS? How to send invoices etc
Can please provide some assistance on how to go about the learning process
Riyaz says
March 13, 2008 at 11:35 AM
Krishna says
March 22, 2008 at 3:27 AM
HI Riyaz,
you are the BEST. KEEP IT UP.
Please try to explain other concepts of SAP like BAPI, WEBSERVICES, SAP XI JMS ADAPTER,
etc…
we have so many material for these but dont know getting much knowledge from your
blogs.
6 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
there is some magic in your blogs. they are simple and easy to implement. very well
explained and formatted.
Riyaz says
March 22, 2008 at 8:41 PM
Thanks a lot Krishna for your compliments :) I am happy to know that you liked the
content and it helps you.
I will be posting the articles on the content you suggested. You can find all SAP articles at
this link.
There is also a series of posts about creating web services in XI, consuming them in Web
Dynpro, and designing UI for the same. Do check them out.
Thanks again!
Regards,
Riyaz
sudheerraja says
April 15, 2008 at 9:16 PM
Hi Riaz,
I am from a java background recently moved to XI. I found out your site while searching
for blogs for good Xi stuff. I found it is the best blog, I have ever seen. it is very simple and
more meaningful. I would be happy if you can post more posts regarding the part of java
role in realtime projects. like mapping java mapping , xslt mapping . I found many
articles explaining bits and pieces, I could not find any article which gives clear idea of
parsers like SAX AND DOM and thier participation while doing complex Idoc scenarios. It
would be greate if you can write some article covering with screenshots and coding.
Ultimately i want to tell you. You are the best blogger….. Keep it up.
Thanks
sudheer
Riyaz says
April 15, 2008 at 9:29 PM
7 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi Sudheer,
Thanks a ton for your compliments. I will soon be adding articles on mappings including
Java mapping.
Regards,
Riyaz
Riyaz says
April 30, 2008 at 2:05 PM
You can go for SAP Education training (SAP Education), or any authorized SAP training
institute like Genovate, Siemens. Details here.
Srinivas says
July 2, 2008 at 12:28 AM
VBRK
VBRP
VBAK
VBPA
VBKD
Riyaz says
July 2, 2008 at 9:36 AM
Hi Srinivas,
For sales order you can use ORDERS or ORDCHG IDoc and for Invoice/Billing document
you can use INVOIC01 or INVOIC02 IDoc.
8 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Regards,
Riyaz
Ray says
July 15, 2008 at 4:42 PM
Hi experts,
I need to convert data from legacy system to SAP CRM 6.0 using a txt file as input. I need to
convert data of “opportunity”.
My concern is: Looking to the transaction, I know what fields are required, in the screen.
Nevertheless I’m don’t know what tables are internaly filled out.
If I create a segment, I will map just the fields I can see through the screen. Does the
process of loading fill all tables that are used when I enter data through the screen?
Tks in advance,
Ray.
Riyaz says
July 16, 2008 at 10:22 AM
Hi Ray,
This very much depends on the IDoc posting program that you use in LSMW. May be going
thru the program documentation or code would help.
Regards,
Riyaz
Vamshi says
August 1, 2008 at 12:39 AM
Hi Riyaz,
You have any kind of documentation for creating a IDoc for SAP HR Benefits. As we are
9 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Riyaz says
August 1, 2008 at 11:03 AM
Hi Vams,
Regards,
Riyaz
Julie says
August 20, 2008 at 1:42 PM
Hi Riyaz,
i have a question
am i have to creat the 3 new tables ZCUSTOMERS etc.
how about using the transp.table KNA1 ?
Thank u
best wishes:)
Riyaz says
August 21, 2008 at 12:54 PM
Hi Julie,
This is just an example. You can use any tables you wish. I have described using custom
tables so that you dont change any standard table data inadvertently.
Regards,
Riyaz
Venkat says
August 24, 2008 at 5:57 AM
10 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi Riyaz,
Our client is using both SAP 4.7 and SAP ECC 6.0, and the Corporate account is in SAP ECC
6.0, so the Liability on SAP 4.7 is to be posted in SAP ECC 6.0 Corporate Account. We are
using BizTalk as our middleware tool which is converting flat file into an IDOC, FIDCCP01
for SAP 4.7 and FIDCCP02 for SAP 6.0.
Now the Liability on SAP 4.7 system needs to be posted on SAP 6.0 Corporate account, for
that our initial thought was to use ALE between SAP 4.7 and SAP ECC 6.0, but the business
is now saying we dont want to use ALE, we want the IDOC to be posted into SAP 4.7 and SAP
ECC 6.0 as well for posting the Affiliate Corporate J/E into SAP 6.0.
Dear Riyaz
It was really a very nice tutorial which I have ever read on IDOCs. All steps were clearly
defined and self explanatory..
I need a little more help from your end , I had made all configurations and IDOC is
creating and sending successfully at sender end. But I am not able to read them at receiver
end. I have made correct entry for sender and receiver port and partners number but Idoc
are not receiving at receiver end.
Will you please give some tips to troubleshoot the receiver end. Will be regretful to you.
Thanks
Riyaz says
August 28, 2008 at 10:45 AM
Hi Adnan,
Try using transaction SM58 and check if the IDoc is stuck there. You can use this
transaction in both the systems. You will find the error details/network connection failure
details there.
Regards,
Riyaz
Sri says
11 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi Riaz,
Thank u very much for ur deep explanation on the idocs.It very easy to understand and
implement. u have done a grate job.Thank u once again for providing this on the website.
Pranjal says
October 22, 2008 at 5:45 PM
Hi Riyaz,
rgrds,
Pranjal
Tarun says
November 13, 2008 at 5:00 PM
Hi Riaz,
I want to configure an Outbound IDOC for Creation of material master. I dont have any
logical system to which this IDOC can be transmitted to. I want to set up the system to use
an RFC call to itself.
Please advice, it is urgent requirement for us. Also share code which we need to change so
that IDOC gets triggered when we save material master.
Regards
Tarun Jain
Atulya says
November 13, 2008 at 9:38 PM
Hi Riaz,
we use a Java (JCo connection) application to receive CREMAS IDocs from SAP. After
upgrading SAP from 4.7 to ECC 6.0 the documentList delivered to the handleRequest-
Handler remains empty. I have checked all relevant entries in the upgraded system
(Distribution Model, Ports, Partner profiles) but I can’t find any incosistences. The sender
side seems to be ok (Status 03 in WE02, no entry in SM58).
12 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Our java application is able to receive IDOCs from 4.7 system, but with ECC 6.0 we are
getting an empty list.
varunwalia says
November 20, 2008 at 11:09 AM
pls let me ur mail id or ur mob no , i rely sir need help to implement idoc for inbound .
thnxs,
varun walia ,
nahar group.
Hello Riyaz,
I want to know difference between ALE & EDI. I will be good if you explain me with
example.
Regards,
Naveed Ansari
Riyaz says
November 21, 2008 at 6:26 PM
ALE is meant for communication between SAP systems while EDI is a global standard for
electronic data interchange. ALE works by means of IDoc which is a messaging format
specific to SAP systems, whereas EDI uses predefined message formats like EDIFACT and
messages are sent in the form of text files. SAP also supports EDI message interchange for
SAP to non-SAP communication.
13 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Sagar says
December 8, 2008 at 6:28 PM
Hi Riyaz,
I have seen there are some numbers in EDI processingl ike 850, 810, 865. what is the
significance of these numbers & where are I will get all these numbers.
Regards,
Naveed Ansari.
Sun says
December 26, 2008 at 1:14 PM
Hi Riyaz,
thanks a lot for your information.
when i create a custermized outbound program,the WE05 status is :29 Entry in outbound
table not found,How to solve it?
Thanks
Riyaz says
December 28, 2008 at 12:44 PM
Sun,
You might need to add entry to outbound table in WE20 for your partner profile.
Riaz says
January 3, 2009 at 9:29 AM
Hi RiYaz,
Your answers provide a lot of support for people like us, thanks for taking time and
providing the answer,
Here is my Scenaario, with the same client i have two different company codes and i am
14 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
seding a billing document from one company code to other Company code so that out
bound idoc uses INVOIC01 IDOC type and incoming idoc is INVOIC Receipt FI, iam using
INVF in the process code at receiving end. I have configured the Inboound and outbound
parameters for LS (as i am using ALE to move this idoc) out going IDOC has no issues but i
am getting an error in the incoming IDOC which says as ” Conventional invoice
verification no longer maintained as of Release 4.6C” not sure what is Wrong. Please help
me on this.
gurminder says
February 4, 2009 at 5:36 PM
Hi Riyaz,
Today I hav learn stuff from ur website .it is owesome..
regards
Gurminder
Michael says
March 11, 2009 at 9:19 PM
Dear Gurus,
How can I create a ALE between two client in different system? Your advice will be
appreciated.
Regards
Michael
Riyaz says
March 11, 2009 at 9:30 PM
Jagan says
March 12, 2009 at 11:28 AM
Hi Riyaz,
15 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
The steps which you gave for craeting an IDOC was really very very useful for me.I
followed these steps and succeeded in creating an ALE IDOC with regards to R/3 side.
Could you please help me out with any material – about creating an ALE IDOC in CRM
side?
With Regards,
Jagan.
Silvia says
March 12, 2009 at 10:24 PM
Hi,
I’ve the same problem described by Atulya on the 13th of november.
The documentList delivered to the handleRequest-Handler remains empty for me, too.
Can you help me?
Thanks and regards
Silvia
——————————————————————————
Atulya says:
Hi Riaz,
we use a Java (JCo connection) application to receive CREMAS IDocs from SAP. After
upgrading SAP from 4.7 to ECC 6.0 the documentList delivered to the handleRequest-
Handler remains empty. I have checked all relevant entries in the upgraded system
(Distribution Model, Ports, Partner profiles) but I can’t find any incosistences. The sender
side seems to be ok (Status 03 in WE02, no entry in SM58).
Our java application is able to receive IDOCs from 4.7 system, but with ECC 6.0 we are
getting an empty list.
——————————————————————————
16 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hello,
This tutorial really helped me get the precise concept of ALE/ IDocs.
I could understand the whole concept and could get good marks in the performance test.
Hats-off to RIYAZ.NET.
Thankyou.
Vishal says
April 11, 2009 at 4:14 AM
Hi Riyaz
I am new to ABAP.
Pls help me to learn ALE IDOC and WorkFlow.
Best Regards
Vishal P
Srinivas R says
April 13, 2009 at 9:47 AM
Hi Riyaz,
I’ve a requirement to extract Special ledger dtaa from ECC to another ECC system.
As you know, Special ledger is specific to a client defined as configuration step in ECC and
system generated one, I would like to know if the creation of customer IDoc type is the only
solution here.
Can you please share if you have any experice with Special Ledger extractions?
Thanks,
Srini R.
narendra says
May 7, 2009 at 12:15 PM
Hi Riyaz ,
this is very useful for new learners about IDoc’s .
Regards
Naren
17 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Gilles says
June 3, 2009 at 2:33 PM
Hi everybody,
I have 2 questions about FIDCCP02 Idoc type and posting financial document.
First, do you know how I can transfer the “Text in Accounting Document” with ALE ? The
“Text in Accounting Document” is the text which you see in the FB01, FB02 or FB03
transactions by “Extra>Text…”.
And the last question, do you know if we can use the “RESERVE” field in the FIDCCP02 Idoc
and how I can do provide it ?
sachin says
June 9, 2009 at 2:35 PM
Hi Riyaz,
I am configuring INVRPT messge type basic type – WMMBIDO2. The external warehouse is
sending these messges to SAP. once posted it will perform the goods receipt in SAP for
plant -XYZ.
now i would like to know for whom partner profile needs to be setup? I mean – creating
new partner profile as KU /LI OR as LS- logical system?
Thanks in advance
sachin
Muthuraj says
July 8, 2009 at 9:43 PM
Hi Riyaz,
18 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
i wnt to add custom segment in DESADV idoc and also i want to fill data to those custom
segment from VBAP, VBAK table.
but the problem is the controls does not comes to this badi.
My nace config.
please suggest to me wht is the problem why the controls does not go to this
BADI/USER-EXIT.
Riyaz says
July 11, 2009 at 2:50 PM
Venky says
August 26, 2009 at 7:07 PM
Hello,
Is there any SAP table that stores the IDoc numbers and the Accounting document nos after
the IDocs are processed?
19 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Riyaz says
August 26, 2009 at 9:43 PM
EDIDS table will have statuses of IDocs. Choose the record corrreponding to your IDoc
number and status = 53 (or any successful status). The fields STAPA1, STAPA2, STAPA3,
STAPA4 will carry the details of the documents posted. STAPA1 would have the accounting
document number.
Sushil says
September 1, 2009 at 12:43 PM
Hi Riyaz,
Please suggest,
I am able to transfer sales order related data to non-sap system…….but not header long
text……please suggest how can I transfer bunch of header long texts to non-sap
corresponding to one sales order in an effecient way……..
inder says
September 10, 2009 at 1:40 PM
riyaz i m new to ale idoc i have seen ur example .. n did that outbound idoc is posted
perfectly 03 , 30 , 01 , 12
but the problem is with inbound idoc .. i m getting idoc number wrong and second thing
status 51 62 64 74
status 51 says wrong function call i configured all again but still getting same error what
should be done .. to that .. we57 we42 bd64 all are ok
status 62 says direct call stated
status 51 says ale service error
i executed standard report to manually change the status but same error
kevat says
October 26, 2009 at 10:29 PM
HELLO RIYAZ,
I MUST SAY A VERY HARD WORK AND THANK YOU .
20 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
IN MY CASE BD64 GENERATE PARAMETER OPTION DID N’T WORK IT SAYS “NO MESSAGE
…………………”
SO I WENT IN TCODE WE20 AND EXPLICITLY SPECIFIED THE MESSAGE TYPE
Zahack says
October 27, 2009 at 10:52 AM
Hello Kevat,
What I feel is your problem is with the configuration of Partner Profile; once partner
profiles are made, generation of distribution model should be done; normally when BD64
is run; partner profiles are to be generated before distribution. First of, configure WE20
and then create model view in BD64, go to ‘Environment’ and select ‘Generate Partner
Profiles’ and finally distribute the model.
Moreover, outbound parameters should be rightly checked in Partner System and a try out
giving SYNCH in outbound parameters – ALE:Dummy Message Type for Determination of
RFC Destinations. And a proper checking of port should be done. Many a time, issue lies
within the configuration itself.
Abaper says
November 9, 2009 at 6:33 PM
Hi,
I am new to ALE-IDOC-XI scenario. We have done all ALE config settings in development
server i.e. logical system, port , partner profile etc. Can I get info. about what settings
should be done for each client/environment and what setting can be transported? For
example : logical systems should be created for each environment i.e. each client and each
server (development/quality/production) whereas idoc types/message types can be
transported.
3) Also are there any naming conventions to be followed for logical systems/ports etc.
Thanks a lot !
Riyaz says
November 10, 2009 at 2:11 PM
Hi,
21 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Wherever a transport is necessary, a popup message will ask you to add objects to the
transport. For other configuraiton objects like logical systems (as these differ from system
to system), objects need to be created for each environment. Naming conventions may be
formulated as per your company standards.
RJ says
December 23, 2009 at 5:41 PM
Hi Riyaz
I have two SAP System : ex SAP A client 100 and SAP B clint 200.
*In SAP A*
Should i assign Logical system of SAP A to client 100 or 200?and what should i do for
Logical System of B?
I hope i need to assign the Logical system of both system in SAP A to some client.
Regards
RJ
Riyaz says
December 24, 2009 at 12:42 PM
First create a logical system for System A in System A and for System B in System B. Now,
you have to assign its own client to each logical system. i.e. System A’s client to System A’s
Logical system in System A and System B’s client to System B’s Logical system in System B.
Apart from this, also create logical system name for partner system i.e. Define a logical
system for System A in System B and a logical system for System B in System A.
For more information, have a look at Outbound settings section in: http://www.riyaz.net
/blog/beginners-guide-to-ale-and-idocs-part-ii/
22 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi All,
Please i am in need with your help guys as i am totally new to ale/idoc concept thing is i
am working on is-retail and passing the idoc’s for pos and connectivity with external
system ivend is retail server i have to transfer from sap to non sap system
through ale/idoc concept can you guys please mail me the relevant doc for transferring
data from sap to non sap
and at present i have to create customised idoc’s so in order to execute what are the steps
required.
Please help.
mail id is vedthakur@gmail.com
thanks in advance
Hi Riyaz,
Friends, i would be highly obliged if you can please provide me the solution to this
problem.
we are using sap.net connector for integration all the relevant things like BOR, functions
etc i am able to see but friends how to call those zprograms which will execute the idoc.
pls help and any other alternative i should work on
and suggest me how to call the zprogram of sap in .net connector
very urgent pls help
Dear Riyaz
23 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
it is nice one , but i m facing a problem at one point . i make all the thinks as you suggested
. but at sender point it giving error ” Error in ALE Serivies ” ” Entry in outbound table not
found ” . what it menas ?
or what i can do to resolve this ?
one of my friend suggested that you didn’t assign process code in outbound setting so it is
giving this error .but i don’t hope that this is a perfect reason.
please suggest .
Riyaz says
February 10, 2010 at 6:37 PM
Dear Riyaz
i checked we20 . that is ok , but is there any basis setting for the same ?
, bcoze , i m working on development server as sender and other development server as
reciver .In my office there is some restriction for test server so , i m working on
development server .
Saranya VS says
February 27, 2010 at 7:29 PM
Hi Riyaz,
I need some help from you.Idoc was successfully generated in sender side and it shows the
status as 3(Data passed to port OK).But I could not see any Idocs passed in XI.As you
mentioned earlier I tried with SM58 transaction in both sides, it was clear.
regards,
saranya
24 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Riyaz says
March 1, 2010 at 10:17 AM
Hi,
Check if the IDoc metadata for the IDoc is present in XI system. Use transaction IDX2 to
check this. If not present, you can use the same transaction to create new metadata for the
IDoc using create button. You need to specify the port and the IDoc type. The port is the port
pointing to sender SAP system, the port you created in transaction IDX1.
madhu says
March 2, 2010 at 5:07 PM
Dear Riyaz,
I am new to this concept like Ale, Idoc, Websevices. I want to learn Idoc first. I know bapi
part. Can you guide me how to start the learning the basic Idoc. From where i can get a
nice material for this. I hope you will help me in this.
Regards,
Madhu.
Manish says
March 20, 2010 at 2:15 AM
Hi Riyaz,
I have configured a scenairo following the same steps mentioned in your blog. I see that
the status of the IDOC in sender system is 03. But I do not this IDOC in WE02 of thereceiver.
I tried trace on BD87 in sender system and I see that the target status is 00 and target idoc
number is 0000000000.
25 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Riyaz says
March 20, 2010 at 9:34 PM
Check if the IDoc is stuck in the sender system using transaction SM58.
Manish says
March 30, 2010 at 2:51 AM
Hey Riyaz,
I had to push it manually using the report – RSEOUT00.
Actually my receiver is a XI system. I did the Inbound config as you had mentioned. DId
some investigation but could not go forward much. I did some settings in IDX1 and IDX2 as
well.
But irrespective of these settings, I see the message in SXMB_MONI as an errored out one.
The error being, “No receiver found”.
Pls advise.
Riyaz says
March 30, 2010 at 12:49 PM
Manish,
XI acts as a intermidiary or a message broker and not the receiver system. You need to
configure a receiver to whom the incoming IDoc data may be sent. To understand this
better have a look at following:
Configuring receiver:
http://www.riyaz.net/blog/xipi-configuration-using-integration-directory/
26 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Set up mapping:
http://www.riyaz.net/blog/xipi-designing-with-integration-repository/
Simple XI Scenario:
http://www.riyaz.net/blog/xipi-your-first-xi-scenario/
Mohit says
April 8, 2010 at 2:50 PM
Hi Riyaz ,
i am not able to maintain data in table ZCUSTOMERS.please suggest me.
regards
mohit
9871859403
Riyaz says
April 8, 2010 at 4:00 PM
You can simply add records to the tables using SE16 transaction.
Karunakar says
April 27, 2010 at 5:40 AM
Hi Riyaz,
Your document is very helpful, really you are helping bignners.I have a quich question.
Interface with Idoc will be done by techanical or functioanl. What will be the role of
functional consultant?
Thanks,
Karun
Riyaz says
April 27, 2010 at 1:55 PM
Karun,
It really depends on the conventions the project teams follow. Generally configuration
27 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
activities like SALE, WE20, BD64 may be performed by functional team. Also IDoc specific
IMG configuration to trigger a particular outbound IDoc or to post an inbound IDoc is done
by functional consultants.
Hi Riyaz,
Thanks fr feedback.
Do u have any idea about these FM’s IDOC_CREATE_ON_DATABASE and
Application_IDOC_post_immediat.
Do you have any sample program in which you have used these FM’s.
If Yes please share the same..
Take care,
Tanu
cLN says
September 7, 2010 at 10:31 AM
Hi,
I am having issues while triggering ASN from delivery created with reference to STO (
Stock Transport order ). I see that in the outbound ASN E1EDL41 is not getting filled. In
debug, i see that E1EDL41 is filled from VBKD. In case of STO’s there will not be VBKD. I
also checked a OSS note 795584 related to this. In our SAP system, corrections related to
this OSS note are already available. Please let me know in case if there are any OSS notes
which can help me.
Mohinder says
September 20, 2010 at 2:40 PM
Hi Riyaz,
28 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Regards
Mohinder
sudhakar says
September 25, 2010 at 5:53 AM
Hi,
Regards,
sudhakar.
Jeevitha says
November 17, 2010 at 9:48 PM
Hi Riyaz!
29 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
1 idoc is in the status of 3. i found that idoc got stucked in trfc layer. i pushed it from there.
but still the idoc is in same status, it is not visible in receipient side also. whether the
status will change if we push the idoc . what to proceed now for this case .
pls help me..
Thanks
Jeevitha says
December 29, 2010 at 4:20 AM
Hi,
how to find out the po numbers for all inbound idocs at a single instance.
Thanks
Jeevitha
Hi Riyaz,
Currently our client is upgrading from SAP 4.7 Version to ECC 6.0. Do you see any changes
need to be carried out on EDI IDOC mapping. Also, do you see any backward compatibility
issues of ECC 6.0 with low end version of middle which is connected to current SAP 4.7.
Please suggest what should be the approach taken to ensure that after ECC 6.0 upgrade, all
the EDI Idoc transmission happens to middleware without any hassles.
30 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
karthick says
January 11, 2011 at 8:54 PM
hai riyaz,
karthick here , i had read ur article on idocs ,its very useful for me ,keep up the good work,
and in one interview i got one question ,in sales order creation ,what is the idoc u are
using and what the idoc no he asked ,can u answer my question
patrick says
January 27, 2011 at 10:04 PM
Hi Riyaz
Thank you for the very useful steps.
Thank you
Patrick
patrick says
January 27, 2011 at 10:11 PM
Hi Riyaz
Also, like add that, the inbound IDOC file is send to a unix directory.
How do I configure to read this IDOC, so that it can be display in WE02/WE05?
Thanks
Filippo says
February 11, 2011 at 6:59 AM
Hi Riyaz,
Your post helped me to solve the problems I’m facing while trying to send Purchase Orders
Idoc (ORDERS or ORDCHG) to an external warehouse system but if possible i would
implement this with the standard messaging tools.
I’ve spent many time trying to configure NACE to send IDocs after the creation or change of
31 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
the PO but I couldn’t be able to complete the task with the standard.
After I’ve configured a logical system, a RFC destination, a distribution model I can
succesfully send ARTMAS, CREMAS and INFREC IDoc (or the corrensponding Z reduction
IDocs) to the logical system and receiving the STATUS Idoc in reply from the other
communication partner but any attempt to manage automatic generation of IDoc Orders
was unsuccessful.
Every time I create a new PO if i check the message log I see a message which says that the
only partner allowed are KU and LI while LS is not (In the NAST table i can find an entry
for the logical system which maps the external warehouse but the Idoc generation is not
triggered at all).
Have you any hints or suggestion to complete this task with the standard message tools for
Purchase Orders?
Thanks in advance
Regards
Filippo
32 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Imran says
August 17, 2011 at 12:31 PM
Hi Riyaz,
First of all I want to thank you for such a descriptive article on ALE/IDOC.
The scenario we are getting stuck is when a Business partner is changed in CRM an IDOC
triggered in R/3 system but this being a change the Change pointers are not called hence
the IDOC which is supposed to be triggered for the PI system is not getting triggered.
Can you please tell me what steps should I take to trigger this Outbound IDOC from R/3
system?
I did some anlyasis and found a table which COM_BUPA_CALL_FU which contains a set of
function module which is triggered in the sequence. Is this the solution or if you have any
different do let me know.
Thanks,
Imran
sama says
September 7, 2011 at 4:56 PM
I define a z segment to cutom field of infotype 0002, I can’t transfer data of these custom
fields in inbound direction in SAP clients.
how can Implement BADI HRALE00OUTBOUND_IDOC for the enhancement?
fpeiqin says
September 8, 2011 at 2:02 PM
33 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Riyaz says
September 8, 2011 at 4:09 PM
Yes. These objects should be present on both systems. Next two parts of the article discuss
about settings in the source and target system.
fpeiqin says
September 9, 2011 at 6:31 AM
Every IDoc has exactly one control record along with a number of data records and status
records?
Riyaz says
September 9, 2011 at 9:19 AM
Yes.
Hi Riyaz
I was going through this site and got a lot of useful information.
I have one doubt,if want to create a new segment with new fields like partner id for each
contact person person for customer master in the idol ,what is the procedure do i need to
follow and what changes i have to make.Could you please let me know the process.
Thanks in Advance.
srikanth
Riyaz says
September 22, 2011 at 12:10 PM
You can use the same procedure as described in this article to create segments. Then create
an extension to the existing IDoc and add the new segments to the extended IDoc.
thanks Riyaz
34 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Made the changes to idoc with extension.Initially got syntax error due wrong
alignment.But now it is working fine.
Seth says
November 5, 2011 at 10:51 PM
ANISH says
November 9, 2011 at 4:49 PM
HI
I HAVE TO DO ONE PROJECT
THE PROJECT IS NON SAP TO SAP
IF YOU HAVE ANY PROJECT THAN SEND ME.
praveen says
February 29, 2012 at 4:03 PM
Hi Riyaz ,
i create the IDOC to File case. with standard idoc type MATMA05 . But it showing the error
with status record 37
idoc added incorrectly ( entry in outbound table not found ).
pleease suggest me where is the problem.
Regards
praveen
Alan says
35 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi. I tried to download IDOC from IDES in a Retail system from WPMI or WPMA. The
related idocs for a store is generated but it has message:
Trigger file for status ID: 00000000000285
does not have to be created No messages needed
Does anyone know what does that mean? I can use WE19 to check the generated idoc.
Best regars,
Alan
Brian says
March 7, 2012 at 3:26 AM
Riyaz, I am having a discusion with our BASIS person and I hope you can help shed some
light on IDOC looping. I am using an edi translator and sending an IDOC into SAP. When we
log into SAP the segements are in the correct order but not showing parents vs. children.
All records are equal, no hierarchy. What on the IDOC controls hierarchy psgnum? Could
this be controlled outside the IDOC? The IDOC segments in SAP are in reverse order but it
seems to read ok.
Riyaz says
March 7, 2012 at 9:33 AM
It could be an issue with the way you construct IDoc using the EDI mapping.
sai says
April 15, 2012 at 10:23 AM
36 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi Riyaz,
When iam trying to process the output type at header level iam getting the belwo error.
“Field DIRECT in control is ‘ ‘ which is invalid”
Hi Riaz
Your site is truely great for newbes like myself, thank you.
Please could you help with following error?
With reference to the tutorial , I have the following in WE20 already saved
Partner number: Yes
Partner type LS
Partner role LS
Message type : ZRZSO_MT
Receiver port : Yes
Packet size : 5
Basic type : ZRZORDER
Cancel processing \after sysntax error = X
Sameer says
May 16, 2012 at 1:03 AM
Hi Riyaz,
Appreciate your time for the well explained ALE and IDOC process.
I had quick question about the ongoing issue with the two idoc generation for the same
message type.
Created a new ZBA0 copying the BA00.
37 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
can you please help and make me understand the reason why it is doing so.
Thank you
Sam
Hi Riyaz,
I would like to get some help from you.
what is the sequence of events after transmitting the schedule lines, to getting
acknowledgements (through EDI), IDOC creation? I have set up the partner profile with
DELFOR but I dont see any idocs populating.
Is there a step I am missing??
Hello
Please let me know what is the difference between Feeder system in SAP and What is
legacy system
Would like to know the flow of invoices From supplier entering the invoice to SAP
Hi Riyaz,
I need to create and send outbound Idoc immediately after creation of customer. When the
customer is created and saved it should immediately should release the outbound Idoc
which would then hit the PI system for further process. I am new to this thing. Can you
38 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi riyaz,
This document is very use full for me,
could you please send me some document related to ALE/IDOC aat my email id.
My email ID is -mohdarif92@gmail.com
Regards,
Mohd Arif
Vishal says
October 2, 2012 at 11:17 AM
sankar says
October 16, 2012 at 3:35 PM
hi
can you send the IDOC/ALE Document
mail id bojjasivasankar@gmail.com
regards
sankar
Jaydeep says
October 30, 2012 at 5:12 PM
Hi Riyaz !
39 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Bravo Riaz
Kumar/Germany
manuel says
November 1, 2012 at 9:17 AM
Good evening I write for the next issue I encountered in the CREAMS IDOC when creating
partners do not let me append the data
within the transaction XK02, I’m sending values are within E1WYT3M segment are:
LIFNR =
VKORG =
PARVW =
These are all the data that I send, my question is, you know if I need to send you more
information that I’m sending?
When I reviewed the program and proper standard VENDOR_BDCDATA function, I noticed
that not save the values that I send via idoc, will I need to check the settings for storing
these data? or there is a note that I do need to apply?
Best Regards/Mexico.
Mudasir says
December 3, 2012 at 2:47 AM
thanks My friend its very very help full being an Sap FI consultant is it f9 to understand all
3 parts or which is my area at times in interviews facing difficulty like tell idoc settings?
or ALE please guide me lil more
sachn says
December 4, 2012 at 5:03 PM
good thnks
40 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
Hi Riyaz,
I hope you can help me out with an issue I am facing, I need to create a Plant Maintenance
Order via IDOC from data that will be coming into SAP via a 3rd Party System (Using XI).
These PM Orders are the ones that would usually be created using IW31, but we would like
to achieve this functionality using IDOCs.
So basically the incoming IDOCS after being processed must create the Plant Maintenance
Orders.
Thanks,
Pablo
shailendra says
March 15, 2013 at 1:42 PM
41 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
“
Truly a paradigm
shift...Now I see my
content from a
different perspective!
~ Kimberly C.
Download Now
Free Updates
42 of 43 2/2/2016 2:10 PM
Beginner’s Guide to ALE and IDocs – a step-by-step approach http://www.riyaz.net/sap/beginners-guide-to-ale-and-idocs-a-step-by-ste...
riyaz.net was launched way back in 2005 by web Create Twitter App
designer, blogger and SAP Consultant Riyaz Sayyad Short URLs
from Pune, India. Over the years the site has grown
Password Protect Folders
into a full featured online community with thousands
of visitors daily from around the world. Read more. Time Management
SAP PI Tips
Ergonomics
Downloads
Social Plugins
Connect
Google+
Email Newsletter
Contact Us
43 of 43 2/2/2016 2:10 PM