This document helps in creating IDOC's.Description complète
Full description
ste
search engine optimizationFull description
Create CV01N
ABAP badi creation stepsFull description
Descripción: Echocardiography
Description complète
Reiki Energy healing
CMG step by step guideFull description
Description complète
Panduan Software MIKEFull description
Step-by-step photographic guide with inspirational projects to make succesfull woodworking.Descripción completa
CMG step by step guideDeskripsi lengkap
Step by step learningDescription complète
C# Step by Step
Step by step learning
Procast Step By Step GuideFull description
Procast Step By Step Guide
cozinha
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
Download
Magazines
News
Documents
Sheet Music
SAP R/3 IDoc Cookbook for EDI
1
of 8
ALE- IDOC
ALE IDOC COMPLETE
Search document
IDoc StepBy-Step Monday, 02 June 2008 00:26
ALE – Application Link Enabling is a mechanism by which SAP systems communicate with other and with non-SAP EDI subsystems. Thus it helps integration of distributed systems. It supports fail-safe delivery which implies that sender system does not have to worry about message not reaching the source due d ue to unavoidable situations. ALE can be used for migratio and maintenance of master data as well as for exchanging transactional data.
The messages that are exchanged are in the form of IDocs or Intermediate Documents. Do cuments. IDoc like a container or envelope for the application data. An IDOC is created as a result of execu 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 S to SAP and SAP to non-SAP process communication as long as the participating processes c understand the syntax and semantics of the data. Complete documentation on IDOC is obta 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 attache IDoc throughout the process as the IDoc moves from one step to other. Now, Now, let us understand the ALE Configuration by means of an exa mple scenario below: The Scenario
SAP ALE Scenario
Sign up to vote on this title
Useful
Not useful
Data from custom tables (created in customer namespace) is to be formatted into an IDoc an
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
1
Download
Magazines
News
Documents
Sheet Music
SAP R/3 IDoc Cookbook for EDI
of 8
ALE- IDOC
ALE IDOC COMPLETE
Search document
DDIC Tables for IDoc Creating Custom IDoc type and Message type All the objects created should be present on both source as well as target system(s). system(s).
1. Create segments – Transaction WE31 •
Create a segment ZRZSEG1
•
Add all fields of table ZCUSTOMERS to it
•
Save the segment
•
Release it using the menu path Edit -> Set Release
•
Similarly create two more segments given below
•
Seg. ZRZSEG2 – to hold all fields of table ZSOHEADERS
•
Seg. ZRZSEG3 – to hold all fields of table ZSOITEMS
2. Create Basic IDoc type – Transaction WE30
Sign up to vote on this title
Useful
Not useful
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
1
Download
Magazines
News
Documents
SAP R/3 IDoc Cookbook for EDI
of 8
ALE- IDOC
ALE IDOC COMPLETE
Search document
WE30 Sheet Music
•
Create a Basic type ZRZORDER
•
Add the created segments in the hierarchy shown
•
Maintain attributes for each of the segments
•
Save the object and go back
•
Release the object using the menu path Edit -> Set Release
3. Create/Assign Message type – Transactions WE81/WE82 •
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
Outbound Settings
Define Logical Systems and Assign Client to Logical System – Transaction SALE
Sign up to vote on this title
SALE
Useful
Not useful
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
1
Download
Magazines
News
Documents
Sheet Music
SAP R/3 IDoc Cookbook for EDI
of 8
ALE- IDOC
ALE IDOC COMPLETE
Search document
•
Create a new RFC destination for R/3 type t ype connection
•
Specify the target host on Technical settings tab
•
Provide the Logon credentials on the Logon/Security tab
•
Save the settings
•
To verify the settings, Click on Test Test connection or Remote logon
Define Ports – Transaction WE21 •
We need to define a tRFC port for the partner system
•
Click on Transactional RFC node
•
Create a new port
•
Provide a description
•
Specify the name of the target RFC destination
•
Save the object
Maintain Distribution Model – Transaction BD64 •
Click on Change
•
Create a new model view
•
Provide a Short text and Technical name to the model view
•
Add message type
•
Specify sender and receiver systems
•
Also, specify the message type that we created previously
•
Save the Distribution model
Sign up to vote on this title Generate/Create Partner Profile – Transactions BD82/WE20
Useful
Not useful
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
1
Download
Magazines
News
Documents
Sheet Music
SAP R/3 IDoc Cookbook for EDI
of 8
ALE- IDOC
ALE IDOC COMPLETE
Search document
WE20
•
To generate Partner profiles automatically you may use BD82 or go to BD64 and use menu path Environment -> Generate partner profiles o
Otherwise, you may use transaction WE20 to create a p artner profile
•
On selection screen, specify the model view, target system and execute
•
The result log will be displayed on the next screen
•
To verify the partner profile go to WE20
•
Check the partner profile for the target system
Distribute Model View – Transaction BD64 •
Select the Model View
Sign up to vote on this title
Useful
Not useful
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
1
Download
Magazines
News
Documents o
Sheet Music •
•
•
ALE IDOC COMPLETE
Search document
Specify message type, Basic IDoc type, tRFC Port, Partner number and Partn type of the receiver
o
Define structures like the IDoc segments
o
Fill the structures with fetched data
o
•
of 8
ALE- IDOC
Fill the data records
o
•
SAP R/3 IDoc Cookbook for EDI
Pass the segment name and the above structure to the appropriate fields of ED type structure Append the EDIDD structure to the EDIDD type internal table
Now, call the function module MASTER_IDOC_DISTRIBUTE and pass the IDoc c record structure and data record table Commit work if return code is zero
Function module returns a table of type EDIDC to provide the details about generated IDoc Display appropriate log
Inbound IDoc Posting Function Module
In the receiving system, create a function module Z_IDOC_INPUT_ZRZSO_MT using SE3 Below, I have described the logic for the same. Add Include MBDCONWF. This include contains predefined ALE constants. Loop at EDIDC table •
•
Check if the message type is ZRZORDER. Otherwise raise WRONG_FUNCTION_CALLED exception Loop at EDIDD table o
o
Append data from the segments to appropriate internal tables
For example: append data from ZRZSEG1Sign segment to the internal up to vote on this title table of typ ZCUSTOMERS Useful Not useful
•
Update the DDic tables from internal tables
•
Depending on the result of the update, fill the IDoc status record (type BDIDOCST
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
1
Download
Magazines
News
Documents •
Sheet Music •
ALE IDOC COMPLETE
Search document
Assign Function Module to Logical message – Transaction WE57 o
Create a new entry
o
Specify name of the Function Module as Z_IDOC_INPUT_ZRZSO_MT
Also, specify Type Type as F, Basic IDoc type as ZRZORDER, Message type as ZRZSO_MT and Direction as 2 (Inbound) Save the entry
Define Input method for Inbound Function Module – Transaction BD51 o
Create a new entry
o
Provide Function Module name as Z_IDOC_INPUT_ZRZSO_MT
o
Specify the Input method as 2
o
Save the entry
Create a Process Code – Transaction WE42 o
Create a new Process Code ZPCRZ
o
Select Processing with ALE Service
o
Choose Processing type as Processing by function module
o
Save the entry
o
On the next screen, select your function module from the list
o
Save the changes
o
Now you will be taken to the next screen
o
Double-click on Logical message
o
In the Assignment to logical message, specify the message type ZRZSO_MT
o
Save the changes Sign up to vote on this title
Send and receive data
Useful
Not useful
On the sender system, execute the IDoc Generation Program. Check the status of IDoc using transaction WE02.
Home
Saved
Top Charts
Books
Audiobooks
Magazines
News
Documents
Sheet Music
Upload
Sign In
Join
Search
Home
Saved
0
2.8K views
Upload
Sign In
Join
RELATED TITLES
0
IDoc Step by Step Uploaded by khalid31
Top Charts
Books
Audiobooks
This document helps in creating IDOC's.
Save
Embed
Share
Print
Download
Magazines
News
Documents
Sheet Music
SAP R/3 IDoc Cookbook for EDI
1
of 8
ALE- IDOC
ALE IDOC COMPLETE
Search document
Check the status of the IDoc in the receiver system using transaction WE02. You You can also ch the contents of DDic tables to make sure that the records have been created in the receiver system.
WE02 Thus to summarize we have learned how to: •
Create a custom IDoc
•
Write an Outbound IDoc Generation Program
•
Sign up to vote on this title
Useful Write Inbound Function Module to post Inbound IDoc
Not useful
Configure and test ALE scenario to transmit data between systems distributed across