SlideShare a Scribd company logo
1 of 52
Download to read offline
SAP EDI/IDOC Technologies
Himanshu Banga
Himanshu Banga
 SAP & EDI Overview
 What
 Why
 How
 Conceptual Flow
 Inbound Transaction Cycle
 Outbound Transaction Cycle
 EDI Setup
 Settings in SAP
 Sub-systems and Mapping
 Testing strategies
 ALE : Application Link Enabling
Training Topics
Jargons you will be hearing…
 SAP?
 Systeme, Anwendungen, Produkte,
German for "Systems Applications and Products"
 EDI?
 Electronic Data Interchange
 ALE?
 Application Link Enabling
 Why EDI?
 Save Money 
WHATIS
Himanshu Banga
EDI: An Introduction
Himanshu Banga
» EDI is the Electronic Exchange of business documents between the
computer systems of business partners, using a standard format over a
communication network.
»Used between any two systems on different networks.
»Needs an EDI Subsystem (Third-Party Software) for communication.
» EDI is a technology in itself.
»It has its own set of standards.
»SAP supports EDI through Idocs (Intermediate Document, an SAP Proprietary format).
» EDI uses TEXT file for data communication .
» An EDI messages aligns with a business document format, eg 850 is Order
» There are different formats (ANSI X12, EDIFACT) for EDI messages.
What is Electronic Data Interchange?
Himanshu Banga
Why EDI?
 How do we SAVE money???
 Reduced Data Entry Errors
 Reduced Processing Cycle time
 Availability of Data in electronic form
 Reduced Paperwork
 Reduced Cost
 Reduced Inventory and better planning
 Standard means of communication
 Competitive Advantage
Himanshu Banga
Typical Sales Cycle
Document Exchange:
Customer Vendor
RFQ
Quotation
Purchase Order
Purchase Order Change
Order Acknowledgement
Purchasing Sales
Receiving Shipping
Shipping Notice
Accounts
Accounts
Invoice
Payment
Details
Customer
Bank
Vendor
Bank
Himanshu Banga
EDI in Action
850
EDI
Subsystem
Application
System
Customer
850
ORDERS
DESADV
856
856/810
VAN
INVOIC 810
Himanshu Banga
EDI Jargons: De-mystified
 Trading Partners
 Business Documents
 EDI Messages
 856 – DESADV
 850 – ORDERS
 810 – INVOIC
 Transactions, Segments, Data
Elements
 EDI Standards
 ANSI X12 Standard
 EDIFACT Standard
 VDA
 Translators
 Value – Added Networks
 IDOC
 IDOC Type
 Message Type
 Process Code
EDI : Universal SAP - EDI
Himanshu Banga
Trading Partners:
Parties involved in a business transaction are called Trading Partners.
E.G. Customers, Vendors.
Business Documents:
A Business Document is a legal document that defines the transaction
conducted between trading partners. Some examples are:
Purchase Orders
Purchase Order Changes
Shipping Notice
Invoices
Remittance Advice
EDI Jargons: De-mystified…cntd
Himanshu Banga
Technical Structure of a ANSI X12
The ANSI X12 EDI format is divided into three layers :
Interchange Control / Functional Group / Transaction Set
Functional group Trailer
Interchange control header
Transaction Set Header
Functional group header
Purchase Order
Transaction Set Header
Purchase Order
Transaction Set Trailer
Transaction Set Trailer
Interchange control Trailer
ISA
GS
ST
SE
ST
SE
GE
IEA
Fig: The structure of an ANSI X12 message
EDI Jargons: De-mystified…cntd
EDI Messages – Technical Details
Himanshu Banga
Technical Structure of a Business Document in EDI format
Transaction
Header Segment Detail Segment Trailer Segment
Data Element
Data Element
EDI Jargons: De-mystified…cntd
Business Document – Technical Structure
Himanshu Banga
Technical Structure of a Business Document in ANSI X12
The structure of a business document in ANSI X12 standards can be described using a
three-tier hierarchy: transactions, segments, and data elements.
Transaction:
•A transaction is the electronic equivalent of a business document. And is divided in
three areas:
•header area,
•detail area, and
•summary area
EDI Jargons: De-mystified…cntd
Business Document– Technical Structure
ST
BEG HEADER
…
PO1 DETAIL
…
FIRST SEGMENT
LAST SEGMENT
CTT
SE SUMMARY
Himanshu Banga
The header area
consists of segments that apply to the entire
document and is usually mandatory. For e.g. in a
purchase order, vendor# and vendor address are
part of the header segments.
The detail area
contains document details. For e.g. the items
ordered and their quantities are considered
detail segments.
The summary area
consists of data that summarizes the entire
document. For e.g. the total amount and taxes
are part of the summary segments.
EDI Jargons: De-mystified…cntd
Business Document – Technical Structure
Technical Structure of a Business Document in ANSI X12
ST
BEG HEADER…
.
.
.
PO1
. DETAIL…
.
.
FIRST
SEGMENT
LAST
SEGMENT
CTT
SE SUMMARY
Segments:
 A segment is equivalent to a record in a document. A data segment has the
following attributes: a unique ID, a name, a flag indicating whether it is
optional or mandatory, number of occurrences.
 A group of segments can be combined to form a loop. A segment consists of a
sequence of logically related data elements. Data elements are separated by a
data element separator and can be optional or mandatory or conditional.
Shraddha S.M© 2010 Capgemini - All rights reserved
EDI-IDOC Information Exchange Interface
EDI Jargons: De-mystified…cntd
Business Document – Technical Structure
Technical Structure of a Business Document in ANSI X12
PER*BD*JOHN SMITH*TE*2145551212 (N/L)
SEGMENT ID DATA ELEMENT
SEPARATOR
DATA ELEMENTS
Himanshu Banga
Technical Structure of a Business Document in ANSI X12
Data Elements:
Data elements are the smallest unit of information in a transaction. A data
element is identified by a data element reference number, a data type, and a
minimum and maximum length.
PER – Administrative Communications Contract
PER*BD* JOHN SMITH*TE*2145551212 (N/L)
SEGMENT ID
DATA ELEMENT
SEPARATOR
DATA ELEMENTS
EDI Jargons: De-mystified…cntd
Business Document – Technical Structure
Himanshu Banga
EDI Messages:
The standards define various EDI messages that govern the rules, format and content of data in a
transaction. A one-to-one correspondence exists between the components of a paper-based document
and an EDI message.
The EDI standards were designed to be independent of communication and software technologies. EDI
can be transmitted using any methodology agreed to by the sender and recipient. This includes a
variety of technologies, including modem (asynchronous, and bisynchronous), FTP, E-mail, HTTP, AS1,
AS2, etc.
The formation of common standards has many advantages:
• Standardization allows representation that can be easily processed by computer system.
• It allows companies to exchange information that is independent from the application software.
• Third-party applications can provide EDI translation and thus relieve the application of having to
keep up with evolving standards.
EDI Jargons: De-mystified…cntd
EDI Messages – Technical Details
Himanshu Banga
Technical Structure of a Communication Packet
It is common to bundle several EDI messages in one packet before transmitting it over the
network. The communication packet as transmitted over the network has a hierarchical
format as shown below:
Functional group Trailer
Interchange control header
Transaction Set Header
Functional group header
Purchase Order
Transaction Set Header
Purchase Order
Transaction Set Trailer
Transaction Set Trailer
Interchange control Trailer
ISA
GS
ST
SE
ST
SE
GE
IEA
Fig: The structure of an ANSI X12 message
EDI Jargons: De-mystified…cntd
EDI Messages – Technical Details
Himanshu Banga
Commonly used transaction Sets in ANSI X12
• EDI 810 Transaction – Invoice
• EDI 820 Transaction – Remittance Advice
• EDI 850 Transaction – Purchase Order
• EDI 855 Transaction – Purchase Order Acknowledgement
• EDI 860 Transaction – Purchase Order Change
• EDI 856 Transaction – Advance Shipping Notice
• EDI 830 Transaction – Receiving Advice
• EDI 862 Transaction – Shipping Schedule
• EDI 871 Transaction – Sales Bill of Material
• EDI 888 Transaction – Material Master Data to 3PL
• EDI 940 Transaction – Warehouse Shipping Order
• EDI 997 Transaction – Transaction Acknowledgement
EDI Jargons: De-mystified…cntd
EDI Messages – Technical Details
Himanshu Banga
EDIFACT Format
•EDIFACT (Electronic Data Interchange for Administration, Commerce and Transport)
format was formed using the ANSI X12 and UNTDI (United Nations Trade Data
Interchange) as the base standards.
•The purpose was to develop an international standard to meet the needs of a global
economy.
•EDIFACT is quite similar to ANSI X12, with some minor differences in terminology and
layout:
•EDIFACT calls business documents messages and represents them by a name such as
ORDERS for a purchase order, whereas ANSI X12 calls them transactions and represents
them by a number such as 850 for a purchase order.
•EDIFACT uses the same segment in multiple places, whereas ANSI X12 has a specific use
for each segment.
•EDIFACT has additional segments that apply to international trade.
EDI Jargons: De-mystified…cntd
Document Format - EDIFACT
Himanshu Banga
Value – Added Networks
Communication networks, often called VANs, provide a means of transmission for
EDI transactions between the trading partners.
The VAN provides a mailbox on the network to each trading partner. This
mailbox is polled periodically for messages. The mailboxes are marked as
incoming or outgoing mailboxes.
The VAN picks up outgoing messages and delivers them to the incoming mailbox
of the receiving trading partner.
VANs enable communication between trading partners with different internal
communication networks.
EDI Jargons: De-mystified…cntd
EDI Architecture – Value Added Networks
Himanshu Banga
Translators
The traditional approach to EDI implementation was to incorporate the
conversion of application data to EDI standards as an integral part of the
business application.
The problem with this approach was that a separate program existed for
not only each transaction, but also for each trading partner to meet its
unique requirements.
To overcome this limitation, third – party translation software have been
developed and have become a key element of the EDI process chain.
The translator is responsible for mapping the application data to the EDI
standard format, and vice – versa. This frees the application software to
concentrate on the business logic.
EDI Jargons: De-mystified…cntd
EDI Architecture - Translators
Himanshu Banga
All of the technical aspects of message mapping transmission are handled by the EDI subsystem.
1. TLE, Harbinger
2. Amtrix, Inovis
3. Gentran, Sterling Commerce
4. ETS, SAA Consultants
5. Seebuger
Examples
Translate to
Vendor format
Vendor Customer
Translate to
Customer format
EDI Jargons: De-mystified…cntd
EDI Architecture – Pictorial Representation
Himanshu Banga
EDI in SAP
 EDI in SAP : Jargons
 IDOC
 Control Record
 Data Record
 Status Record
 IDOC Type (WE30/31)
 Eg: ORDERS02
 Message Type (WE81/82)
 Eg: DELINS
 Output Determination/Output Type
 RFC Destination (SM59)
 Process Code (WE41)
 Port (WE21)
 Partner Profile
 EDI Subsystem
Himanshu Banga
EDI in SAP . . . cntd
IDOC Basics - Introduction
IDOCS
• An IDOC is a container that can be used to exchange data between
any two processes. It is nothing but a data holder.
• The document represented in an IDOC is independent of the complex
structure used in SAP to store the application data.
• IDOC is divided into three parts:
• Control Record
• Data Record
• Status Record
Himanshu Banga
IDOCS
EDI in SAP . . . cntd
IDOC Basics - Introduction
Himanshu Banga
CONTROL RECORD:
• Every IDOC has only one Control Record.
• Each Control Record contains header info like:
• IDOC number
• Direction of IDOC: Inbound or Outbound
• Date and Time of creation of IDOC
• Date and Time when IDOC was last modified
• Message Type of IDOC
• IDOC Type and Extension of IDOC
• Sender and Receiver Partner
EDI in SAP . . . cntd
IDOC Basics – Control Records
Himanshu Banga
DATA RECORD:
• Data Record contains data to be processed.
• Every IDOC has one data record with multiple segments in hierarchy.
• Segments and Hierarchy of Segments is defined by IDOC Type and Extension.
• IDOC created has to strictly follow the hierarchy, else the IDOC fails giving syntax error.
• Segments which are repetitive have qualifiers attached to it.
Example:
For inbound DELINS IDOC, segment E1EDKA1 contains partner information like sold-to, ship-to,
supplier.
How will you identify which E1EDKA1 contains which partner?
They are identified through qualifiers, like for sold-to, in segment E1EDKA1, qualifier would be
AG. For ship-to it is WE and for supplier it is LF.
EDI in SAP . . . cntd
IDOC Basics – Data Records
Himanshu Banga
DATA RECORD:
EDI in SAP . . . cntd
IDOC Basics – Data Records
Himanshu Banga
STATUS RECORD:
• Status Record describes the status of the IDOC.
• Each IDOC contains one Status Record with multiple status information.
• Status at each level in the life-cycle of an IDOC is appended to the IDOC.
For e.g.
When the IDOC is created in SAP, status is “This Idoc has been generated
through a test transaction”
When the IDOC is added to the system, status is “IDOC Added”, “IDOC ready to
be transferred to the Application”.
• Status should always be read bottom-up. Status at the top is the latest
status.
• Some examples of Status Records:
EDI in SAP . . . cntd
IDOC Basics – Status Records
Himanshu Banga
STATUS RECORD:
• For Inbound:
• 53 – IDOC posted successfully
• 51 – IDOC failed
• 64 – IDOC ready to be transferred to Application
Read Bottom Up
EDI in SAP . . . cntd
IDOC Basics – Status Records
Himanshu Banga
STATUS RECORD:
• For Outbound:
• 30 – IDOC ready for Dispatch
• 03 – IDOC passed to port OK
• 12 – IDOC Dispatched
• 16 – Functional Acknowledgement Positive
• 17 – Functional Acknowledgement Negative
EDI in SAP . . . cntd
IDOC Basics – Status Records
Himanshu Banga
Transaction Codes:
• WE02 – To view the IDOC
• WE09 – To search for an IDOC based on data in the IDOC
• WE19 – Test tool to create and simulate an IDOC
EDI in SAP . . . cntd
IDOC Basics – Transaction Codes
Himanshu Banga
IDOC TYPE
• An IDOC Type defines the structure and format of the data being exchanged. It
defines the segments and the hierarchy and syntax of the segments.
For example, the IDOC type INVOIC01 defines the format of an invoice document.
• IDOC types are based on EDI standards (ANSI X12 and EDIFACT). The size and
format of the data elements in an IDOC type are derived from these standards
wherever applicable.
• IDOC Extension is nothing but to add segments to the standard IDOC Types.
These segments could be SAP standard segments or custom built segments.
• Once Segments and IDOC Types are created, they need to be released. Unless
they are released you cannot use them. It is like activating the object. But once
released it cannot be modified.
• IDOC type once released cannot be modified however you can extend this IDOC
type to add new segments.
• IDOC type in short can be seen as more technical in nature as it contains the
fields and segments.
EDI in SAP . . . cntd
IDOC Basics – IDOC Type
Himanshu Banga
Transaction Code:
• WE30 – To create, change or display the IDOC Type and the Extension
EDI in SAP . . . cntd
IDOC Basics – IDOC Type
Himanshu Banga
Segments to be used and Hierarchy of segments:
EDI in SAP . . . cntd
IDOC Basics – IDOC Type
Himanshu Banga
Attributes of a Segment:
• Mandatory Segment – If checked, this segment should always exist in
the IDOC.
• Minimum Number – Least number of times the segment must be
repeated
• Maximum Number – Maximum number of times the segment can be
repeated in IDOC.
E.g. E1EDKA1 is a partner information segment. This segment will be
repeated for sold-to information, ship-to information, supplier
information.
• Parent Segment – Parent of this segment
• Hier. Level – Level of hierarchy
EDI in SAP . . . cntd
IDOC Basics – IDOC Type
Himanshu Banga
EDI in SAP . . . cntd
IDOC Basics – IDOC Type
Himanshu Banga
Transaction Code:
• WE31 – To create, change or display the Segments
EDI in SAP . . . cntd
IDOC Basics – IDOC Type
Himanshu Banga
MESSAGE TYPE
• Message Type identifies the type of data the IDOC holds.
E.G. Orders (ORDERS), Delivery (DESADV), Invoice (INVOIC).
• Message Type defines what needs to be done with the data in the
IDOC, in case of Inbound IDOC, and which data to be extracted in case
of Outbound IDOC.
• Message Type is linked to a Process Code, which in turn is linked to
a Function Module. This Function Module extracts from or posts data to
SAP depending on direction of IDOC.
• Relation between Message Type, IDOC type and IDOC extension
needs to defined. Without this relation Message type or IDOC type
cannot be used.
EDI in SAP . . . cntd
IDOC Basics – Message Type
Himanshu Banga
Transaction Code:
• WE81 – To create, change or display the Message Type and the extension.
EDI in SAP . . . cntd
IDOC Basics – Message Type
Himanshu Banga
Transaction Code:
• WE82 – To setup link between Message Type, IDOC Type, IDOC Extension and Version
EDI in SAP . . . cntd
IDOC Basics – Message Type
Himanshu Banga
PROCESS CODE
• Process Code is linked to a Function Module. This Function
Module is executed for Inbound or Outbound IDOC.
• Relationship is Message Type is linked to a Process Code
which is linked to a Function Module.
• In case if you are using a stand alone code to trigger an
IDOC, you need not define a process code.
EDI in SAP . . . cntd
IDOC Basics – Process Codes
Himanshu Banga
Transaction Codes:
• WE41 – Outbound Process Code
• WE42 – Inbound Process Code
EDI in SAP . . . cntd
IDOC Basics – Process Codes
Himanshu Banga
Link between Process Code and Message Type:
EDI in SAP . . . cntd
IDOC Basics – Process Codes
Himanshu Banga
Link between Process Code and Functional Module:
EDI in SAP . . . cntd
IDOC Basics – Process Codes
Himanshu Banga
Conceptual flow - Outbound
Outbound Flow
Himanshu Banga
Output
Type
Application
Document
Output
Determination
Process
code
Partner Profile
RSNAST00
Function
Module
IDOC
IDOC
File
Port
File to
EDI
Subsystem
RFC
Destination
Himanshu Banga
Inbound Flow
Conceptual flow - Inbound
Himanshu Banga
File From
EDI
Subsystem
IDOC
File
RFC
Destination
IDOC
Start RFC Process
code
Function
Module
Application
Document
Inbound Flow
Conceptual flow - Inbound
Partner
Profile
Himanshu Banga
EDI Processing
 Inbound Processing:
 Partner Profile
 Partner Number
 Message Type
 Process code
 Table Entries
 EDPAR
 EDSDC
 KNMT
 Outbound Processing:
 Output Determination
 Partner Profile
 Partner Number
 Port/RFC Destination
 Message Type
 Output Type
 Process code
ALE : Application Link Enabling
To transfer the SAP data, necessary ALE customization should be carried out in SAP.
The following are the settings that have to be maintained in case of general configuration
settings.
 Maintain Logical System (T-Code: SALE )
 Assign client to Logical System (T-Code: SALE)
 Port Definition (T-Code: WE21)
 Maintain Distribution Model (T-Code: BD64)
 Change Partner Profile of the Logical System (T-Code: WE20)
 Activate Change Pointers (T-Code: SALE or BD61/BD51)
Himanshu Banga
Questions – Queries?
Himanshu Banga

More Related Content

What's hot

Introduction on sap security
Introduction on sap securityIntroduction on sap security
Introduction on sap securityyektek
 
Salesforce apex hours PayPal with Salesforce Integration
Salesforce apex hours   PayPal with Salesforce IntegrationSalesforce apex hours   PayPal with Salesforce Integration
Salesforce apex hours PayPal with Salesforce IntegrationAmit Singh
 
How to remove disable and cancel shipment functionality in enter purchase or...
How to remove  disable and cancel shipment functionality in enter purchase or...How to remove  disable and cancel shipment functionality in enter purchase or...
How to remove disable and cancel shipment functionality in enter purchase or...Ahmed Elshayeb
 
Session 1: INTRODUCTION TO SALESFORCE
Session 1: INTRODUCTION TO SALESFORCESession 1: INTRODUCTION TO SALESFORCE
Session 1: INTRODUCTION TO SALESFORCESmritiSharan1
 
SAP Security important Questions
SAP Security important QuestionsSAP Security important Questions
SAP Security important QuestionsRagu M
 
HR Security in SAP: Securing Data Beyond HCM Authorizations
HR Security in SAP: Securing Data Beyond HCM AuthorizationsHR Security in SAP: Securing Data Beyond HCM Authorizations
HR Security in SAP: Securing Data Beyond HCM AuthorizationsUL Transaction Security
 
We Built This City - Apigee Edge Architecture
We Built This City - Apigee Edge ArchitectureWe Built This City - Apigee Edge Architecture
We Built This City - Apigee Edge ArchitectureApigee | Google Cloud
 
Customer 360 de Salesforce
Customer 360 de SalesforceCustomer 360 de Salesforce
Customer 360 de SalesforceSergio Gutierrez
 
Sap Security Workshop
Sap Security WorkshopSap Security Workshop
Sap Security Workshoplarrymcc
 
Introduction to apex code
Introduction to apex codeIntroduction to apex code
Introduction to apex codeEdwinOstos
 
OPA: The Cloud Native Policy Engine
OPA: The Cloud Native Policy EngineOPA: The Cloud Native Policy Engine
OPA: The Cloud Native Policy EngineTorin Sandall
 
Oracle Cash Management
Oracle Cash ManagementOracle Cash Management
Oracle Cash ManagementMohamed159686
 
R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)lingaswamy vallapu
 
API designing with WSO2 API Manager
API designing with WSO2 API ManagerAPI designing with WSO2 API Manager
API designing with WSO2 API ManagerWSO2
 
Salesforce administrator training presentation slides
Salesforce administrator training presentation slides Salesforce administrator training presentation slides
Salesforce administrator training presentation slides Salesforce Associates
 
How to downscope your EBS upgrade project
How to downscope your EBS upgrade projectHow to downscope your EBS upgrade project
How to downscope your EBS upgrade projectpanayaofficial
 
Sap security interview question & answers
Sap security interview question & answersSap security interview question & answers
Sap security interview question & answersNancy Nelida
 

What's hot (20)

Introduction on sap security
Introduction on sap securityIntroduction on sap security
Introduction on sap security
 
RAML
RAMLRAML
RAML
 
API Integration
API IntegrationAPI Integration
API Integration
 
Salesforce apex hours PayPal with Salesforce Integration
Salesforce apex hours   PayPal with Salesforce IntegrationSalesforce apex hours   PayPal with Salesforce Integration
Salesforce apex hours PayPal with Salesforce Integration
 
How to remove disable and cancel shipment functionality in enter purchase or...
How to remove  disable and cancel shipment functionality in enter purchase or...How to remove  disable and cancel shipment functionality in enter purchase or...
How to remove disable and cancel shipment functionality in enter purchase or...
 
Session 1: INTRODUCTION TO SALESFORCE
Session 1: INTRODUCTION TO SALESFORCESession 1: INTRODUCTION TO SALESFORCE
Session 1: INTRODUCTION TO SALESFORCE
 
Apex code (Salesforce)
Apex code (Salesforce)Apex code (Salesforce)
Apex code (Salesforce)
 
SAP Security important Questions
SAP Security important QuestionsSAP Security important Questions
SAP Security important Questions
 
HR Security in SAP: Securing Data Beyond HCM Authorizations
HR Security in SAP: Securing Data Beyond HCM AuthorizationsHR Security in SAP: Securing Data Beyond HCM Authorizations
HR Security in SAP: Securing Data Beyond HCM Authorizations
 
We Built This City - Apigee Edge Architecture
We Built This City - Apigee Edge ArchitectureWe Built This City - Apigee Edge Architecture
We Built This City - Apigee Edge Architecture
 
Customer 360 de Salesforce
Customer 360 de SalesforceCustomer 360 de Salesforce
Customer 360 de Salesforce
 
Sap Security Workshop
Sap Security WorkshopSap Security Workshop
Sap Security Workshop
 
Introduction to apex code
Introduction to apex codeIntroduction to apex code
Introduction to apex code
 
OPA: The Cloud Native Policy Engine
OPA: The Cloud Native Policy EngineOPA: The Cloud Native Policy Engine
OPA: The Cloud Native Policy Engine
 
Oracle Cash Management
Oracle Cash ManagementOracle Cash Management
Oracle Cash Management
 
R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)R12:Payment Process Request (PPR)
R12:Payment Process Request (PPR)
 
API designing with WSO2 API Manager
API designing with WSO2 API ManagerAPI designing with WSO2 API Manager
API designing with WSO2 API Manager
 
Salesforce administrator training presentation slides
Salesforce administrator training presentation slides Salesforce administrator training presentation slides
Salesforce administrator training presentation slides
 
How to downscope your EBS upgrade project
How to downscope your EBS upgrade projectHow to downscope your EBS upgrade project
How to downscope your EBS upgrade project
 
Sap security interview question & answers
Sap security interview question & answersSap security interview question & answers
Sap security interview question & answers
 

Similar to EDI_IDOC.pdf

Similar to EDI_IDOC.pdf (20)

All about idoc definition architecture, implementation
All about idoc definition architecture, implementationAll about idoc definition architecture, implementation
All about idoc definition architecture, implementation
 
All about idoc definition architecture, implementation
All about idoc definition architecture, implementationAll about idoc definition architecture, implementation
All about idoc definition architecture, implementation
 
Efficient electronic business transactions
Efficient electronic business transactionsEfficient electronic business transactions
Efficient electronic business transactions
 
Idocs
IdocsIdocs
Idocs
 
IDOC
IDOC IDOC
IDOC
 
IDOC.pdf
IDOC.pdfIDOC.pdf
IDOC.pdf
 
Sap abap ale idoc
Sap abap ale idocSap abap ale idoc
Sap abap ale idoc
 
Edi,idoc,ale
Edi,idoc,aleEdi,idoc,ale
Edi,idoc,ale
 
Ale Idoc Edi
Ale Idoc EdiAle Idoc Edi
Ale Idoc Edi
 
An Introduction To EDI
An Introduction To EDIAn Introduction To EDI
An Introduction To EDI
 
Mulesoft anypoint
Mulesoft anypointMulesoft anypoint
Mulesoft anypoint
 
Idocs tcodes and others , sap idoc
Idocs tcodes and others , sap idoc Idocs tcodes and others , sap idoc
Idocs tcodes and others , sap idoc
 
15. ALE IDOC.pdf
15. ALE IDOC.pdf15. ALE IDOC.pdf
15. ALE IDOC.pdf
 
EDI
EDIEDI
EDI
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 
Ale Idoc
Ale IdocAle Idoc
Ale Idoc
 
I doc in SAP
I doc in SAPI doc in SAP
I doc in SAP
 
Edi
EdiEdi
Edi
 
SAP IDoc Overview and Outbound IDoc.pptx
SAP IDoc Overview and Outbound IDoc.pptxSAP IDoc Overview and Outbound IDoc.pptx
SAP IDoc Overview and Outbound IDoc.pptx
 
Ale IDOC
Ale IDOCAle IDOC
Ale IDOC
 

Recently uploaded

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraDeakin University
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 

Recently uploaded (20)

#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Artificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning eraArtificial intelligence in the post-deep learning era
Artificial intelligence in the post-deep learning era
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 

EDI_IDOC.pdf

  • 2. Himanshu Banga  SAP & EDI Overview  What  Why  How  Conceptual Flow  Inbound Transaction Cycle  Outbound Transaction Cycle  EDI Setup  Settings in SAP  Sub-systems and Mapping  Testing strategies  ALE : Application Link Enabling Training Topics
  • 3. Jargons you will be hearing…  SAP?  Systeme, Anwendungen, Produkte, German for "Systems Applications and Products"  EDI?  Electronic Data Interchange  ALE?  Application Link Enabling  Why EDI?  Save Money  WHATIS Himanshu Banga
  • 4. EDI: An Introduction Himanshu Banga » EDI is the Electronic Exchange of business documents between the computer systems of business partners, using a standard format over a communication network. »Used between any two systems on different networks. »Needs an EDI Subsystem (Third-Party Software) for communication. » EDI is a technology in itself. »It has its own set of standards. »SAP supports EDI through Idocs (Intermediate Document, an SAP Proprietary format). » EDI uses TEXT file for data communication . » An EDI messages aligns with a business document format, eg 850 is Order » There are different formats (ANSI X12, EDIFACT) for EDI messages. What is Electronic Data Interchange?
  • 5. Himanshu Banga Why EDI?  How do we SAVE money???  Reduced Data Entry Errors  Reduced Processing Cycle time  Availability of Data in electronic form  Reduced Paperwork  Reduced Cost  Reduced Inventory and better planning  Standard means of communication  Competitive Advantage
  • 6. Himanshu Banga Typical Sales Cycle Document Exchange: Customer Vendor RFQ Quotation Purchase Order Purchase Order Change Order Acknowledgement Purchasing Sales Receiving Shipping Shipping Notice Accounts Accounts Invoice Payment Details Customer Bank Vendor Bank
  • 7. Himanshu Banga EDI in Action 850 EDI Subsystem Application System Customer 850 ORDERS DESADV 856 856/810 VAN INVOIC 810
  • 8. Himanshu Banga EDI Jargons: De-mystified  Trading Partners  Business Documents  EDI Messages  856 – DESADV  850 – ORDERS  810 – INVOIC  Transactions, Segments, Data Elements  EDI Standards  ANSI X12 Standard  EDIFACT Standard  VDA  Translators  Value – Added Networks  IDOC  IDOC Type  Message Type  Process Code EDI : Universal SAP - EDI
  • 9. Himanshu Banga Trading Partners: Parties involved in a business transaction are called Trading Partners. E.G. Customers, Vendors. Business Documents: A Business Document is a legal document that defines the transaction conducted between trading partners. Some examples are: Purchase Orders Purchase Order Changes Shipping Notice Invoices Remittance Advice EDI Jargons: De-mystified…cntd
  • 10. Himanshu Banga Technical Structure of a ANSI X12 The ANSI X12 EDI format is divided into three layers : Interchange Control / Functional Group / Transaction Set Functional group Trailer Interchange control header Transaction Set Header Functional group header Purchase Order Transaction Set Header Purchase Order Transaction Set Trailer Transaction Set Trailer Interchange control Trailer ISA GS ST SE ST SE GE IEA Fig: The structure of an ANSI X12 message EDI Jargons: De-mystified…cntd EDI Messages – Technical Details
  • 11. Himanshu Banga Technical Structure of a Business Document in EDI format Transaction Header Segment Detail Segment Trailer Segment Data Element Data Element EDI Jargons: De-mystified…cntd Business Document – Technical Structure
  • 12. Himanshu Banga Technical Structure of a Business Document in ANSI X12 The structure of a business document in ANSI X12 standards can be described using a three-tier hierarchy: transactions, segments, and data elements. Transaction: •A transaction is the electronic equivalent of a business document. And is divided in three areas: •header area, •detail area, and •summary area EDI Jargons: De-mystified…cntd Business Document– Technical Structure ST BEG HEADER … PO1 DETAIL … FIRST SEGMENT LAST SEGMENT CTT SE SUMMARY
  • 13. Himanshu Banga The header area consists of segments that apply to the entire document and is usually mandatory. For e.g. in a purchase order, vendor# and vendor address are part of the header segments. The detail area contains document details. For e.g. the items ordered and their quantities are considered detail segments. The summary area consists of data that summarizes the entire document. For e.g. the total amount and taxes are part of the summary segments. EDI Jargons: De-mystified…cntd Business Document – Technical Structure Technical Structure of a Business Document in ANSI X12 ST BEG HEADER… . . . PO1 . DETAIL… . . FIRST SEGMENT LAST SEGMENT CTT SE SUMMARY
  • 14. Segments:  A segment is equivalent to a record in a document. A data segment has the following attributes: a unique ID, a name, a flag indicating whether it is optional or mandatory, number of occurrences.  A group of segments can be combined to form a loop. A segment consists of a sequence of logically related data elements. Data elements are separated by a data element separator and can be optional or mandatory or conditional. Shraddha S.M© 2010 Capgemini - All rights reserved EDI-IDOC Information Exchange Interface EDI Jargons: De-mystified…cntd Business Document – Technical Structure Technical Structure of a Business Document in ANSI X12 PER*BD*JOHN SMITH*TE*2145551212 (N/L) SEGMENT ID DATA ELEMENT SEPARATOR DATA ELEMENTS
  • 15. Himanshu Banga Technical Structure of a Business Document in ANSI X12 Data Elements: Data elements are the smallest unit of information in a transaction. A data element is identified by a data element reference number, a data type, and a minimum and maximum length. PER – Administrative Communications Contract PER*BD* JOHN SMITH*TE*2145551212 (N/L) SEGMENT ID DATA ELEMENT SEPARATOR DATA ELEMENTS EDI Jargons: De-mystified…cntd Business Document – Technical Structure
  • 16. Himanshu Banga EDI Messages: The standards define various EDI messages that govern the rules, format and content of data in a transaction. A one-to-one correspondence exists between the components of a paper-based document and an EDI message. The EDI standards were designed to be independent of communication and software technologies. EDI can be transmitted using any methodology agreed to by the sender and recipient. This includes a variety of technologies, including modem (asynchronous, and bisynchronous), FTP, E-mail, HTTP, AS1, AS2, etc. The formation of common standards has many advantages: • Standardization allows representation that can be easily processed by computer system. • It allows companies to exchange information that is independent from the application software. • Third-party applications can provide EDI translation and thus relieve the application of having to keep up with evolving standards. EDI Jargons: De-mystified…cntd EDI Messages – Technical Details
  • 17. Himanshu Banga Technical Structure of a Communication Packet It is common to bundle several EDI messages in one packet before transmitting it over the network. The communication packet as transmitted over the network has a hierarchical format as shown below: Functional group Trailer Interchange control header Transaction Set Header Functional group header Purchase Order Transaction Set Header Purchase Order Transaction Set Trailer Transaction Set Trailer Interchange control Trailer ISA GS ST SE ST SE GE IEA Fig: The structure of an ANSI X12 message EDI Jargons: De-mystified…cntd EDI Messages – Technical Details
  • 18. Himanshu Banga Commonly used transaction Sets in ANSI X12 • EDI 810 Transaction – Invoice • EDI 820 Transaction – Remittance Advice • EDI 850 Transaction – Purchase Order • EDI 855 Transaction – Purchase Order Acknowledgement • EDI 860 Transaction – Purchase Order Change • EDI 856 Transaction – Advance Shipping Notice • EDI 830 Transaction – Receiving Advice • EDI 862 Transaction – Shipping Schedule • EDI 871 Transaction – Sales Bill of Material • EDI 888 Transaction – Material Master Data to 3PL • EDI 940 Transaction – Warehouse Shipping Order • EDI 997 Transaction – Transaction Acknowledgement EDI Jargons: De-mystified…cntd EDI Messages – Technical Details
  • 19. Himanshu Banga EDIFACT Format •EDIFACT (Electronic Data Interchange for Administration, Commerce and Transport) format was formed using the ANSI X12 and UNTDI (United Nations Trade Data Interchange) as the base standards. •The purpose was to develop an international standard to meet the needs of a global economy. •EDIFACT is quite similar to ANSI X12, with some minor differences in terminology and layout: •EDIFACT calls business documents messages and represents them by a name such as ORDERS for a purchase order, whereas ANSI X12 calls them transactions and represents them by a number such as 850 for a purchase order. •EDIFACT uses the same segment in multiple places, whereas ANSI X12 has a specific use for each segment. •EDIFACT has additional segments that apply to international trade. EDI Jargons: De-mystified…cntd Document Format - EDIFACT
  • 20. Himanshu Banga Value – Added Networks Communication networks, often called VANs, provide a means of transmission for EDI transactions between the trading partners. The VAN provides a mailbox on the network to each trading partner. This mailbox is polled periodically for messages. The mailboxes are marked as incoming or outgoing mailboxes. The VAN picks up outgoing messages and delivers them to the incoming mailbox of the receiving trading partner. VANs enable communication between trading partners with different internal communication networks. EDI Jargons: De-mystified…cntd EDI Architecture – Value Added Networks
  • 21. Himanshu Banga Translators The traditional approach to EDI implementation was to incorporate the conversion of application data to EDI standards as an integral part of the business application. The problem with this approach was that a separate program existed for not only each transaction, but also for each trading partner to meet its unique requirements. To overcome this limitation, third – party translation software have been developed and have become a key element of the EDI process chain. The translator is responsible for mapping the application data to the EDI standard format, and vice – versa. This frees the application software to concentrate on the business logic. EDI Jargons: De-mystified…cntd EDI Architecture - Translators
  • 22. Himanshu Banga All of the technical aspects of message mapping transmission are handled by the EDI subsystem. 1. TLE, Harbinger 2. Amtrix, Inovis 3. Gentran, Sterling Commerce 4. ETS, SAA Consultants 5. Seebuger Examples Translate to Vendor format Vendor Customer Translate to Customer format EDI Jargons: De-mystified…cntd EDI Architecture – Pictorial Representation
  • 23. Himanshu Banga EDI in SAP  EDI in SAP : Jargons  IDOC  Control Record  Data Record  Status Record  IDOC Type (WE30/31)  Eg: ORDERS02  Message Type (WE81/82)  Eg: DELINS  Output Determination/Output Type  RFC Destination (SM59)  Process Code (WE41)  Port (WE21)  Partner Profile  EDI Subsystem
  • 24. Himanshu Banga EDI in SAP . . . cntd IDOC Basics - Introduction IDOCS • An IDOC is a container that can be used to exchange data between any two processes. It is nothing but a data holder. • The document represented in an IDOC is independent of the complex structure used in SAP to store the application data. • IDOC is divided into three parts: • Control Record • Data Record • Status Record
  • 25. Himanshu Banga IDOCS EDI in SAP . . . cntd IDOC Basics - Introduction
  • 26. Himanshu Banga CONTROL RECORD: • Every IDOC has only one Control Record. • Each Control Record contains header info like: • IDOC number • Direction of IDOC: Inbound or Outbound • Date and Time of creation of IDOC • Date and Time when IDOC was last modified • Message Type of IDOC • IDOC Type and Extension of IDOC • Sender and Receiver Partner EDI in SAP . . . cntd IDOC Basics – Control Records
  • 27. Himanshu Banga DATA RECORD: • Data Record contains data to be processed. • Every IDOC has one data record with multiple segments in hierarchy. • Segments and Hierarchy of Segments is defined by IDOC Type and Extension. • IDOC created has to strictly follow the hierarchy, else the IDOC fails giving syntax error. • Segments which are repetitive have qualifiers attached to it. Example: For inbound DELINS IDOC, segment E1EDKA1 contains partner information like sold-to, ship-to, supplier. How will you identify which E1EDKA1 contains which partner? They are identified through qualifiers, like for sold-to, in segment E1EDKA1, qualifier would be AG. For ship-to it is WE and for supplier it is LF. EDI in SAP . . . cntd IDOC Basics – Data Records
  • 28. Himanshu Banga DATA RECORD: EDI in SAP . . . cntd IDOC Basics – Data Records
  • 29. Himanshu Banga STATUS RECORD: • Status Record describes the status of the IDOC. • Each IDOC contains one Status Record with multiple status information. • Status at each level in the life-cycle of an IDOC is appended to the IDOC. For e.g. When the IDOC is created in SAP, status is “This Idoc has been generated through a test transaction” When the IDOC is added to the system, status is “IDOC Added”, “IDOC ready to be transferred to the Application”. • Status should always be read bottom-up. Status at the top is the latest status. • Some examples of Status Records: EDI in SAP . . . cntd IDOC Basics – Status Records
  • 30. Himanshu Banga STATUS RECORD: • For Inbound: • 53 – IDOC posted successfully • 51 – IDOC failed • 64 – IDOC ready to be transferred to Application Read Bottom Up EDI in SAP . . . cntd IDOC Basics – Status Records
  • 31. Himanshu Banga STATUS RECORD: • For Outbound: • 30 – IDOC ready for Dispatch • 03 – IDOC passed to port OK • 12 – IDOC Dispatched • 16 – Functional Acknowledgement Positive • 17 – Functional Acknowledgement Negative EDI in SAP . . . cntd IDOC Basics – Status Records
  • 32. Himanshu Banga Transaction Codes: • WE02 – To view the IDOC • WE09 – To search for an IDOC based on data in the IDOC • WE19 – Test tool to create and simulate an IDOC EDI in SAP . . . cntd IDOC Basics – Transaction Codes
  • 33. Himanshu Banga IDOC TYPE • An IDOC Type defines the structure and format of the data being exchanged. It defines the segments and the hierarchy and syntax of the segments. For example, the IDOC type INVOIC01 defines the format of an invoice document. • IDOC types are based on EDI standards (ANSI X12 and EDIFACT). The size and format of the data elements in an IDOC type are derived from these standards wherever applicable. • IDOC Extension is nothing but to add segments to the standard IDOC Types. These segments could be SAP standard segments or custom built segments. • Once Segments and IDOC Types are created, they need to be released. Unless they are released you cannot use them. It is like activating the object. But once released it cannot be modified. • IDOC type once released cannot be modified however you can extend this IDOC type to add new segments. • IDOC type in short can be seen as more technical in nature as it contains the fields and segments. EDI in SAP . . . cntd IDOC Basics – IDOC Type
  • 34. Himanshu Banga Transaction Code: • WE30 – To create, change or display the IDOC Type and the Extension EDI in SAP . . . cntd IDOC Basics – IDOC Type
  • 35. Himanshu Banga Segments to be used and Hierarchy of segments: EDI in SAP . . . cntd IDOC Basics – IDOC Type
  • 36. Himanshu Banga Attributes of a Segment: • Mandatory Segment – If checked, this segment should always exist in the IDOC. • Minimum Number – Least number of times the segment must be repeated • Maximum Number – Maximum number of times the segment can be repeated in IDOC. E.g. E1EDKA1 is a partner information segment. This segment will be repeated for sold-to information, ship-to information, supplier information. • Parent Segment – Parent of this segment • Hier. Level – Level of hierarchy EDI in SAP . . . cntd IDOC Basics – IDOC Type
  • 37. Himanshu Banga EDI in SAP . . . cntd IDOC Basics – IDOC Type
  • 38. Himanshu Banga Transaction Code: • WE31 – To create, change or display the Segments EDI in SAP . . . cntd IDOC Basics – IDOC Type
  • 39. Himanshu Banga MESSAGE TYPE • Message Type identifies the type of data the IDOC holds. E.G. Orders (ORDERS), Delivery (DESADV), Invoice (INVOIC). • Message Type defines what needs to be done with the data in the IDOC, in case of Inbound IDOC, and which data to be extracted in case of Outbound IDOC. • Message Type is linked to a Process Code, which in turn is linked to a Function Module. This Function Module extracts from or posts data to SAP depending on direction of IDOC. • Relation between Message Type, IDOC type and IDOC extension needs to defined. Without this relation Message type or IDOC type cannot be used. EDI in SAP . . . cntd IDOC Basics – Message Type
  • 40. Himanshu Banga Transaction Code: • WE81 – To create, change or display the Message Type and the extension. EDI in SAP . . . cntd IDOC Basics – Message Type
  • 41. Himanshu Banga Transaction Code: • WE82 – To setup link between Message Type, IDOC Type, IDOC Extension and Version EDI in SAP . . . cntd IDOC Basics – Message Type
  • 42. Himanshu Banga PROCESS CODE • Process Code is linked to a Function Module. This Function Module is executed for Inbound or Outbound IDOC. • Relationship is Message Type is linked to a Process Code which is linked to a Function Module. • In case if you are using a stand alone code to trigger an IDOC, you need not define a process code. EDI in SAP . . . cntd IDOC Basics – Process Codes
  • 43. Himanshu Banga Transaction Codes: • WE41 – Outbound Process Code • WE42 – Inbound Process Code EDI in SAP . . . cntd IDOC Basics – Process Codes
  • 44. Himanshu Banga Link between Process Code and Message Type: EDI in SAP . . . cntd IDOC Basics – Process Codes
  • 45. Himanshu Banga Link between Process Code and Functional Module: EDI in SAP . . . cntd IDOC Basics – Process Codes
  • 46. Himanshu Banga Conceptual flow - Outbound Outbound Flow
  • 49. Himanshu Banga File From EDI Subsystem IDOC File RFC Destination IDOC Start RFC Process code Function Module Application Document Inbound Flow Conceptual flow - Inbound Partner Profile
  • 50. Himanshu Banga EDI Processing  Inbound Processing:  Partner Profile  Partner Number  Message Type  Process code  Table Entries  EDPAR  EDSDC  KNMT  Outbound Processing:  Output Determination  Partner Profile  Partner Number  Port/RFC Destination  Message Type  Output Type  Process code
  • 51. ALE : Application Link Enabling To transfer the SAP data, necessary ALE customization should be carried out in SAP. The following are the settings that have to be maintained in case of general configuration settings.  Maintain Logical System (T-Code: SALE )  Assign client to Logical System (T-Code: SALE)  Port Definition (T-Code: WE21)  Maintain Distribution Model (T-Code: BD64)  Change Partner Profile of the Logical System (T-Code: WE20)  Activate Change Pointers (T-Code: SALE or BD61/BD51) Himanshu Banga