You are on page 1of 12

Mapping of inbound ORDERS messages

This document describes the Gentran mapping for inbound ORDERS messages from partner XXX (XXX Company). This partner uses standard
003010 transaction 850 for purchase orders.

Logical Mapping
This section describes the logical mappings from EDI 3010 transaction 850 data to SAP ORDERS01 IDocs (message type ORDERS).

Application Record: PO Header (Repetitions indicated)


Application ID: P3ORDERSI
Transaction ID: 850MTN3040
Application Application Description XFer Special
Standard Segment Field
Element
[] = Constant
E2EDK01 Document header general data (F020)
[‘000’] No action ACTION Action code for the whole EDI message
[‘USD’] CURCY Currency
[‘EDI’] BSART Document type
E2EDK14 Document header organizational data (F030)
[‘012’] Order type QUALF IDoc qualifier organization
[‘ZTSO’] ORGID IDoc organization
E2EDK14 Document header organizational data (F030)
[‘019’] PO type (SD) QUALF IDoc qualifier organization
[‘EDI’] ORGID IDoc organization
Application Record: PO Header (Repetitions indicated)
Application ID: P3ORDERSI
Transaction ID: 850MTN3040
Application Application Description XFer Special
Standard Segment Field
Element
[] = Constant
NOT USED!!! These segment values are not used any more.
Instead the inbound processing uses the
default order type “DFUE” since the IDoc does
not provide the order type. The “DFUE” order
type needs to be configured in the IMG
(OVSB).
E2EDK03 Document header date segment (F040)
[‘002’] Delivery date IDDAT Qualifier for IDoc date segment
DTM02 DATUM IDoc: Date
UZEIT IDoc: Time
E2EDKA1 Document header partner information (F070)
[‘LF’] Vendor PARVW Partner function
REF02 PARTN Partner number
E2EDK02 Document header reference data (F080)
[‘001’] Customer PO QUALF IDoc qualifier organization
BEG03 BELNR IDoc document number
BEG05 DATUM IDoc: Date
UZEIT IDoc: Time
Application Record: PO Detail (Repetitions NOT indicated)
Application ID: P3ORDERSI
Transaction ID: 850MTNC3040
Application Application Description XFer Special
Standard Segment Field
Element
[] = Constant
E2EDP01 Document item general data
PO101 POSEX Item number
PO102 MENGE Quantity
PO103 MENEE Unit of measure
E2EDP19 Document item object identification
[‘002’] Mat# at vend QUALF IDoc object identification
PO109 (PO107?) IDTNR IDoc material ID
Physical Mapping
This section describes the physical Gentran segment mapping.

Segment ID: BEG


Application ID: P3ORDERSI
Transaction ID: 850MTNC3040
Application Description Used Special
Field
Standard Element
[] = Constant
F010.TABNAM [‘EDI_DC’] Done in BEG extended mapping 100/10/0
F020.ACTION [‘000’] No action Done in BEG extended mapping 100/10/1
F020.CURCY [‘USD’] Done in BEG extended mapping 100/10/2
F020.BSART [‘EDI’] Done in BEG extended mapping 100/10/3
F080.QUALF [‘001’] Done in BEG extended mapping 100/10/4
F070.PARVW [‘LF’] Done in BEG extended mapping 100/10/5
F030.QUALF [‘012’] Order type Done in BEG extended mapping 100/10/6
F030.ORGID [‘ZTSO’] Done in BEG extended mapping 100/10/7
F080.BELNR BEG03
F080.DATUM BEG05
Segment ID: REF
Application ID: P3ORDERSI
Transaction ID: 850MTNC3040
Application Description Used Special
Field
Standard Element
[] = Constant
F070.PARTN REF02

Segment ID: DTM


Application ID: P3ORDERSI
Transaction ID: 850MTNC3040
Application Description Used Special
Field
Standard Element
[] = Constant
F040.IDDAT [‘002’] Delivery date Done in DTM extended mapping 1400/10/0
F040.DATUM DTM02
Segment ID: PO1
Application ID: P3ORDERSI
Transaction ID: 850MTNC3040
Application Description Used Special
Field
Standard Element
[] = Constant
F130.POSEX PO101
F130.MENGE PO102
F130.MENEE PO103
F200.QUALF [‘002’] Mat# at vendor Done in PO1 extended mapping 4100/10/1
F200.IDTNR PO109 (PO107?)
003010 Transaction 850 Standard
The documentation for the 003010 (ANSI X12 VERSION 3 RELEASE 1) standard transaction
850 (PURCHASE ORDER) can be found in Gentran under standards.

ORDERS01 IDoc Structure


This section of the document describes the ORDERS01 IDoc structure in SAP ver 3.1I. The
structure only includes relevant segments and fields, and does not display the complete
ORDERS01 structure. Note that the logical and physical mapping in the previous section only
contains the fields needed for the specific scenario at Thomson Industries and for EDI with the
specified partner.

P
u
r
c
h
a
s
i
n
g
/
S
a
l
e
s

O
R
D
E
R
S
0
1
E1
EDK
01
 
IDo
c:
Doc
ume
nt
hea
der
gen
era
l
dat
a
  S
 e
g
m
e
n
t
f
i
e
l
d
s
 AC 
Act TI
ion ON
cod
e
for
the
who
le
EDI
mes
sag
e
 KZABS    Indicator for order acknowledgment requirement
CURCY    Currency

   E1EDK14
IDo
c:
Doc
.he
ade
r
org
ani
zat
ion
al
dat
a
 S
 e
g
m
e
n
t
f
i
e
l
d
s
 QU 
IDO AL
C F
qua
lif
er
org
ani
zat
ion
 ORGID    IDOC organization

   E1EDK03
IDo
c:
Doc
ume
nt
hea
der
dat
e
seg
men
t
 S
 e
g
m
e
n
t
f
i
e
l
d
s
 ID 
Qua DA
lif T
ier
for
IDO
C
dat
e
seg
men
t
 DATUM    IDOC: Date
UZEIT    IDOC: Time

   E1EDKA1
IDo
c:
Doc
.he
ade
r
par
tne
r
inf
orm
a
 S
 e
g
m
e
n
t
f
i
e
l
d
s
 PA 
Par RV
tne W
r
fun
cti
on
(e.
g.
sol
d-
to
par
ty,
shi
p-
to
par
ty,
...
)
 PARTN    Partner number
LIFNR    Vendor number at customer location

   E1EDK02
IDo
c:
Doc
ume
nt
hea
der
ref
ere
nce
dat
a
 S
 e
g
m
e
n
t
f
i
e
l
d
s
 QU 
IDO AL
C F
qua
lif
ier
ref
ere
nce
doc
ume
nt
 BELNR    IDOC document number
POSNR    Item number
DATUM    IDOC: Date
UZEIT    IDOC: Time

   E1EDP01
IDo
c:
Doc
.it
em
gen
era
l
dat
a
 S
 e
g
m
e
n
t
f
i
e
l
d
s
  P 
Ite O
m S
num E
ber X
MENGE    Quantity
MENEE    Unit of measure

   E1EDP19
IDo
c:
Doc
.it
em
obj
ect
ide
nti
f
 S
 e
g
m
e
n
t
f
i
e
l
d
s
 QU 
IDO AL
C F
obj
ect
ide
nti
fic
ati
on
suc
h
as
mat
eri
al
no.
,cu
sto
mer
 IDTNR    IDOC material ID
KTEXT    IDOC short text

You might also like