You are on page 1of 61

EDI

Real life example

Sales Order SAP Order #


Communicate ?
Jan 1st Beer - $1000.00 133036
Real life example

Sales Order SAP Order #


Communicate ?
Jan 1st Beer - $1000.00 133036
Auto industry in the 70’s
Let’s zoom in

ERP System 2
Invoice

Shipment Notification
Order Response

ERP System 1
Order modification
Order
Tyres - 1000
Payment ERP System 2
Disparate ERP systems, one communication protocol

Oracle Apps

Tyres - 1000
salesforce

SAP
General EDI Architecture

Oracle apps
SAP

Middleware
Tyres - 1000
General EDI Architecture

Also called EDI Oracle apps


Subsystem
SAP

Middleware
Tyres - 1000

1. Mercator
2. Gentran
3. Seeburger
4. PI/XI
5. TIBCO
6. MQ Series
7. Seebeyond
Key Sales processes relevant for EDI
EDIFACT vs X.12

X.12 EDIFACT Description

850 ORDERS Order

855 ORDRSP Order response ( acknowledgement )

856 DESADV Shipment notification ( ASN )

810 INVOIC Invoice

.. .. ..
Middleware
Let’s see one in action
All outbound EDI comm. Is based on output determination
All outbound EDI comm. Is based on output determination
Create output condition record
Create condition record
Create Sales Order
What is this IDOC ( Intermediary Document ) ?
What is this IDOC ( Intermediary Document ) ?
Structure of an IDOC

Control Record

Message Type: ORDRSP


IDOC Type : ORDERS05

Port : SUBSYSTEM Port : SAPXXX


Partner : 1400 Partner : IDES system
Partner Type : Customer Partner Type : Logical
Header Partner Func : Sold to Partner Func :

Customer - 1400
Sales Area - 1000/10/00 Header
..
Customer - 1400
Sales Area - 1000/10/00
..
Item Material Qty Price ..

Segment Item Material Qty Price ..


10 M-01 1 800

1 10 M-01 1 800
20 M-02 2 900

2 20 M-02 2 900
Let’s zoom in on the IDOC
Let’s zoom in on the IDOC
Let’s zoom in on the IDOC
Header and Line item data
Control Record

Going out or coming in ? 1

Internal technical representation 3

What kind of message is this ? 2


Control Record
Segment
Segments

Segment Types 3 E1EDK01 CURR ZTERM BELNR .. 1 Line of data

E1EDK14 Qual Sls Org

E1EDK14 Qual D. Chnl

E1EDK14 Qual Division

E1EDKA1 SP Partner Name ..

E1EDKA1 SH Partner Name ..

E1EDP01 10 1 859.00 ..

Hierarchical 2 E1EDP19 M-01 Desc

E1EDPT1 Text Eng

E1EDPT2 01 Hi there

E1EDPT2 02 ..
How about an inbound IDOC ?
Blank IDOC template - Let’s fill it in
Blank IDOC template - Let’s fill it in
And process the IDOC
And process the IDOC
View the newly created IDOC
And there you have the order
Partner Profile

Partner Profile - WE20

Inbound Outbound

ORDERS ORDRSP

ORDCHG DESADV

INVOIC
Partner Profile - WE20
Inbound Profile

Process code 1

Immediate or 2
wait
Process Code

Process code 1

WE42
Immediate vs background

Change this to 2
background and
see the effect
Copy an existing IDOC to recreate another - WE19
IDOC created- let’s check the status now
What is Status ?
What is Status ?
Inbound and outbound statuses

Status Description
Status Description
01 IDOC generated
50 IDOC added
03 Passed to port
53 Posted to app
30 Ready for dispatch
.. ..
.. ..
Process inbound IDOC waiting to be transferred - BD20
Document is now completely processed
That was inbound parameters. How about outbound Parameters ?

Process code 1

Immediate or 2
wait
Outbound parameters

Port 2

Immediate or 1
wait
What is Port ? - It is how the data is being packaged

[ WE21 ]
What is Port ? - It is how the data is being packaged
Outbound parameters

Based on 1
Output
Determination
Batch process outbound IDOCs
Batch process outbound IDOCs
WE14
WE14
Inbound and outbound Batch Processing

BD20 WE14
5 Key Transactions used so far

WE19 - Test IDOC

BD20 - Inbound Batch WE14 - Outbound Batch

WE02 - Search IDOC WE20 - Partner Profile


Key output types used in Sales

BA01 LAVA RD04

You might also like