You are on page 1of 13

90672811.xls.

ms_office

856 Mapping Template


X12 Transaction X12 Version Idoc Type Extension Type Message Type Direction to SAP Created by System ID Sender Port Logical System Client Partner Number Remit To Order Type Sales Org Dist Channel Division Unit of Measure Language Currency Sender ID Sender ID Qual Receiver ID Receiver ID Qual GS02 GS03 856 4010 DELVRY02 ZLVRY02 DESADV Outbound Kevin Wilson SAPP20 SAPEDI LOGSYS300 300 12345678 Company X ZORD 1000 10 20 CS E USD 0111222333 01 2223334445 01 123 54321

Comments: Please log all changes to this document in the Change Log worksheet of this, explaining reason for changes. There is requirement for one purchase order per delivery SAP configuration must restrict combining of orders on deliveries BOL number (Mandatory) - Populate BOL Number on Transport relevant screen of delivery Carrier reference number - Populate the external delivery number on the overview screen of the delivery SCAC ID code (Mandatory) - Assumed that SCAC is entered into ROUTE field on transport relevant screen on the delivery

Overview

Wella Corp. Confidential

Page 1

90672811.xls.ms_office ANSI Detail


Seg Data Element Name ISA - Interchange Header ISA01 Authorization Information Qualifier ISA02 Authorization information ISA03 Security information Qualifier ISA04 Security information ISA05 Interchange ID Qualifier ISA06 Interchange Sender ID ISA07 Interchange ID Qualifier ISA08 Intechange Receiver ID ISA09 Interchange Date ISA10 Interchange Time ISA11 Interchange Standards Identifier ISA12 Interchange version ID ISA13 Interchange Control Number ISA14 Acknowledgement Requested ISA15 Test Indicator ISA16 Component Element Separator GS - Functional Group Header GS01 Functional ID GS02 Application Senders Code GS03 Application Receiver's Code GS04 Date GS05 Time GS06 Group Control Number GS07 Responsible agency code GS08 Version ST -Transaction Header ST01 Transaction Set ID ST02 Transaction Set Control Number Codes and comments "00" No Authorization information Ten Blank Positions "00" No Security Information Ten Blank Positions 01 0111222333 01 2223334445 Constant Idoc Segment

Idoc Detail
Field Qual Field Qual Value Notes on Mapping Document

X 00401 0 P >

"SH" Shipping Advice 123 54321

X 4010

856

BSN - Beginning segment for ship notice(Mandatory) 01 Transaction Set Purpose Code 02 Shipment Identification 03 Date System date 04 Time System time HL - Hierarchial level - Shipment Level (Mandatory) HL segment sequential number 01 Hierarchical ID Number 1 Occurrence 03 Hierarchical Level Code TD1 - Carrier details - Quantity and Weight (Mandatory) 01 02 06 07 08 Packaging Code Lading Quantity Weight qualifier Weight UOM
BOX = Box BXI = Box with inner cntnr CTN = Carton PLT = Pallet 90 = Standard Number of Pieces in Shipment G = Gross weight KGM = Kilogram LBR = Pounds

OO E1EDL20 System date System time VBELN

ORI = Original Delivery no. CCYYMMDD - Current system date HHMMSS - Current system time

Sequential accumulator HL S = Shipment

Pallets = PLT Boxes = BOX

Z1HEAD E1EDL20

PACK_CODE ANZPK BTGEW GEWEI Number of pieces relating to TD101

E1EDL20
KG = Kilogram LB = Pounds

E1EDL20

TD5 - Carrier details - Routing sequence / Transit time (Mandatory) 02 03 856 Template Identification Code Qualifier Identification Code
2 = SCAC 4 = IATA 92 = Assigned by Buyer

2 E1EDL20 The Wella Corporation Confidential ROUTE

SCAC Qualifier

Page 2

90672811.xls.ms_office
Seg Data Element Name Codes and comments
A = Air D = Parcel post H = Customer pickup M = Motor (common Carrier) AE = Air Express LT = less than trailer load CC = Shipment complete CP = Partial shipment, No backorder PD = PO complete PR = Partial shipment SH = Shipped SJ = Shipped as indicated

Constant

Idoc Segment

Field

Qual Field

Qual Value Notes on Mapping Document

04

Transportation Method/Type Code

06

Shipment / Order status code

CC

Shipment status

TD3 - Carrier details -Equipment 01 Equipment description code 02 Equipment initial 03 Equipment number REF - Shipment Reference number - Carrier reference number CN=Carrier Reference # 01 Reference Identification Qualifier 02 Reference Identification REF - Shipment Reference number - Bill of lading (Mandatory) BM = Bill of Lading no. 01 Reference Identification Qualifier 02 Reference Identification DTM - Date time reference for shipment - Shipped (Mandatory) 011 = Shipped 01 Date\Time Qualifier 02 Date 03 Time DTM - Date time reference for shipment - Current scheduled delivery 067 = Current scheduled delivery 01 Date\Time Qualifier 02 Date 03 Time N1 - Name (Mandatory) 01 Entity Identifier Code 02 Name N4 - Geographic location (Mandatory) 01 City name 02 State or province code 03 Postal code HL - Hierarchial level - Order Level (Mandatory) HL segment sequential number 01 Hierarchical ID Number 03 Hierarchical Level Code O = Order PRF - Purchase Order Reference (Mandatory)

Any valid ANSI X12 Code Prefix of units identifying number Units identifying number

CN E1EDL20 LIFEX

BM E1EDL20 BOLNR

011 E1EDT13 IEDD QUALF 006 Goods issue date

067

SF = Ship from Location Name of shipment origin

SF E1ADRM1 NAME1 PARTNER_Q OSP Shipping point

E1ADRM1 E1ADRM1 E1ADRM1

CITY1 PARTNER_Q REGION PARTNER_Q POSTL_COD1 PARTNER_Q

OSP OSP OSP

City State ZIP

Sequential accumulator HL O
Max 1 occurrence

01

Purchase Order Number

Z1HEAD

BSTKD

Rite Aid's PO #. This is stored at the line item level in segment E1EDL41 but was included in Z1HEAD for ease of mapping

TD5 - Carrier details - Routing sequence / Transit time (Mandatory)

856 Template

The Wella Corporation Confidential

Page 3

90672811.xls.ms_office
Seg Data Element Name Codes and comments
CC = Shipment complete CP = Partial shipment, No backorder PD = PO complete PR = Partial shipment SH = Shipped SJ = Shipped as indicated

Constant

Idoc Segment

Field

Qual Field

Qual Value Notes on Mapping Document

06

Shipment / Order status code

CC

Order Status

Tare Level

HL - Hierarchial level - Tare Level 01 Hierarchical ID Number 03 Hierarchical Level Code MAN - Markings and Numbers 01 02 Marks and Numbers Qualifier Marks and Numbers

HL segment sequential number T = Tare

Sequential accumulator HL T

GM Z1PACK1 EXIDV

UCC-128 Serial shipping container code Corresponding number to MAN01

Pack Level

HL - Hierarchial level - Pack Level 01 Hierarchical ID Number 03 Hierarchical Level Code MAN - Markings and Numbers 01 02 Marks and Numbers Qualifier Marks and Numbers

HL segment sequential number P = Pack

Sequential accumulator HL P

UC = UPC Shipping Container Code GM = UCC-128 Serial shipping container code

UC Z1ITEM1 EAN11

UPC Shipping container code Corresponding number to MAN01

HL - Hierarchial level - Item Level (Mandatory) HL segment sequential number 01 Hierarchical ID Number 03 Hierarchical Level Code I = Item LIN - Item Identification (Mandatory) 02 03 04 05 06 07 08 09 10 11 Package Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Preferred qualifer = IN

Sequential accumulator HL I

IN Z1ITEM1 UA Z1ITEM1 UI VN ND EAN11B KDMAT

Rite Aid's Item Number. Only 1 of these is required UPC/EAN Case Code (2-5-5) UPC CPC (1-5-5) Vendor's MFI Number NDC Number

SN1 - Item Detail (Mandatory) 02 Number of Units Shipped 03 Unit or Basis for Measurement Code 04 Quantity shipped to date 05 Quantity ordered 06 UOM

Each or Case

EA or CA

Z1ITEM1 Z1ITEM1

VEMNG VEMEH

Each or Case

EA or CA

856 Template

Item Level

The Wella Corporation Confidential

Page 4

Pa

90672811.xls.ms_office
Seg Data Element Name Codes and comments
AC Accepted and Shipped BP Accepted, Partial, Balance Backordered IA Item Accepted IB Item Backordered IC Item Accepted, Changes Made ID Item Deleted IE Item Accepted, Price Pending IF Item on Hold, Incomplete Description IH Item on Hold IP Item Accepted, Price Changed IQ Item Accepted, Quantity Changed IR Item Rejected IS Item Accepted, Substitution Made IW Item on Hold, Waiver Required R2 Rejected, Invalid Item Product Number R3 Rejected, Invalid Unit of Issue

Constant

Idoc Segment

Field

Qual Field

Qual Value Notes on Mapping Document

Item Level 08

Line item status code

AC

P04 - Item Physical Details 01 Pack 02 Size 03 UOM 04 Inner Pack PID - Item Description (Mandatory) 01 Description type 05 Description DTM - Date \ Time Reference 01 Date \ Time Qualifier 02 Date

Z1ITEM1

UMVKZ

Free form

F Z1ITEM1 ARKTX

Expiration date

036 Z1ITEM1 EXP_DATE

856 Template

The Wella Corporation Confidential

Page 5

90672811.xls.ms_office

Step Trans Code


1 VD02

Action
Maintain the customer master data for the ship-to: Enter sold-to customer number. Click on [Sales area data]. On the Sales view, enter the Acct. at Cust. (KNVV-EIKTO) - This value must be returned to the customer in the N104 field where N101=SE. Maintain the vendor master data for the carrier (forwarding agent) partner: Select General Data, Control view. Enter Reference data - SCAC value. Create a partner profile for the sold-to partner: Partner type: KU Make an Outbound parmtrs. record for Message type 'DESADV' 1. Outbound Options Receiver Port: ?? Syntax check: x Basic type: DELVRY03 Transfer Immediately: x 2. Message Control Application: V2 Message type: Z856 Process Code: ZDEL Configure an output type for EDI ASNs. Packaging material types: Check for values to cross-reference in map The following are required in the delivery creation process to enable the various components of the 856: BOL number (Mandatory) - Populate BOL Number on Transport relevant screen of delivery Carrier reference number - Populate the external delivery number on the overview screen of the delivery SCAC ID code (Mandatory) - Assumed that SCAC is entered into ROUTE field on transport relevant screen on the delivery The expiration date has not been implemented

Considerations
Output in IDoc field E1ADRE1-EXTEND_D where E1ADRE1-EXTEND_Q = '300' and E1ADRM1-PARTNER_Q = 'WE'

XK02

Output in IDoc field E1ADRE1-EXTEND_D where E1ADRE1-EXTEND_Q = '304' and E1ADRM1-PARTNER_Q = 'SP' (external code 'CR')

WE20

4 5

SPRO VHAR

Copy LAVA to Z856

Config Notes

The Wella Corporation Confidential

Page 6

90672811.xls.ms_office

Trading Partner
Company Y Company Y Company Y

Delivery

IDoc Number

Notes

80000075 1223012 (DELVRY02) See Screendump for packing detail 80000075 1223013 (DESADV01) See Screendump for packing detail 80000075 Idoc type: DELVRY02, Extension type: ZLVRY02. See 1226028 Screendump 1 for packing detail

DEV Testing

The Wella Corporation Confidential

Page 7

Delivery: 80000075

90672811.xls.ms_office

Materials: PS1003 PS1040 PS1041

"E" Containers Pallet UPS Box

Screendump

The Wella Corporation Confidential

Page 8

90672811.xls.ms_office

Screendump1

The Wella Corporation Confidential

Page 9

90672811.xls.ms_office

Date

Name

Version RevisionNature of Change

Change Log

The Wella Corporation Confidential

Page 10

90672811.xls.ms_office
Segment Data Element Name ISA - Interchange Header ISA01 Authorization Information Qualifier ISA02 Authorization information ISA03 Security information Qualifier ISA04 Security information ISA05 Interchange ID Qualifier ISA06 Interchange Sender ID ISA07 Interchange ID Qualifier ISA08 Intechange Receiver ID ISA09 Interchange Date ISA10 Interchange Time ISA11 Interchange Standards Identifier ISA12 Interchange version ID ISA13 Interchange Control Number ISA14 Acknowledgement Requested ISA15 Test Indicator ISA16 Component Element Separator GS - Functional Group Header GS01 Functional ID GS02 Application Senders Code GS03 Application Receiver's Code GS04 Date GS05 Time GS06 Group Control Number GS07 Responsible agency code GS08 Version ST -Transaction Header ST01 Transaction Set ID ST02 Transaction Set Control Number Codes and comments "00" No Authorization information Ten Blank Positions "00" No Security Information Ten Blank Positions 01 0111222333 01 2223334445 Idoc Segment Field Constant Qual Field Qual Value Notes on Mapping Document

X 00401 0 P >

"IN" Invoice 123 54321

X 4010

856

BSN 01 02 03 04 DTM 01 02

E1EDL18 E1EDL20

QUALF VBELN

"00"

ORI = Original Delivery no. CCYYMMDD - Current system date HHMMSS - Current system time

"011" E1EDT13 IEDD QUALF "006"

03

E1EDT13

IEDZ

QUALF

"006"

04 HL 01 02 03 04 TD1

"PT"

Shipped CCYYMMDD - Goods Issue final date HHMMSS - Goods Issue final time (If no time in IDoc, map must use current system time) CT = Central time ET = Eastern time GM = Greenwich Mean time MT = Mountain time PT = Pacific time

Hierarchical ID Number Hierarchical Parent ID Number Hierarchical Level Code Hierarchical Child Code

HL segment sequential number HL01 of parent level (Max 1 occurrence for CUST X) Indicates if child exists

S = Shipment

Sample

The Wella Corporation Confidential

Page 11

90672811.xls.ms_office
BOX = Box BXI = Box with inner cntnr CTN = Carton PLT = Pallet 90 = Standard

01 02 06

Packaging Code Lading Quantity Weight qualifier

E1EDL38 Z1EDS01

VHART_BEZ SUMME

Pallets = PLT Cartons = CTN Boxes = BOX Other = 71

SUMID
G = Gross weight

004

Packaging material type descriptions Ship quantity in PCE - sum of E1EDL24LGMNG (check E1EDL24-MEINS = 'PCE')

07 08 TD5 01 02 03

Weight qualifier UOM


KG = Kilogram LB = Pound

Z1EDS01 Z1EDS01

SUMME GEWEI
KGM = Kilogram LBS = Pounds

SUMID

022

Sum of E1EDL37-BRGEW. (The gross weight in E1EDL20-BTGEW does not include packaging material.) Follows E1EDL20 Weight UoM - take first 2-char of SAP value

Routing Sequence Code Identification Code Qualifier Identification Code

O = Origin carrier 2 = SCAC 4 = IATA 92 = Assigned by Buyer

2 E1ADRE1 EXTEND_D EXTEND_Q 304 ID code - Assumed that SCAC is entered into SCAC field on carrier vendor master

04 05 REF 01 02 REF 01 02 REF 01 02 N1 01 02 03

Transportation Method/Type Code Routing

A = Air D = Parcel post H = Customer pickup M = Motor (common Carrier) AE = Air Express LT = less than trailer load

E1EDL28 E1ADRM1

VSART NAME1

PARTNER_Q SP

Carrier name

Reference Identification Qualifier Reference Identification

AW = Air Waybill no. E1EDL20 LIFEX

AW May be multiple - comma-separated in IDoc field

Reference Identification Qualifier Reference Identification

BM = Bill of Lading no. E1EDL20 BOLNR

AW

Reference Identification Qualifier Reference Identification

PK = Packing List no. E1EDL20 VBELN

AW SAP delivery no.

Entity Identifier Code Name Identification Code Qualifier

E1EDKA1 E1ADRM1

PARVW NAME1

SE PARTNER_Q OSO 92 E1ADRM1PARTNER_Q = 'AG' and EXTEND_Q 300

SE = Selling party 92 = Assigned by Buyer

04 HL 01 02 03 04 LIN

Identification Code

E1ADRE1

EXTEND_D

CUST X vendor number (from Acct. at Cust., VNVV-EIKTO, on ship-to customer master)

Hierarchical ID Number Hierarchical Parent ID Number Hierarchical Level Code Hierarchical Child Code

HL segment sequential number HL01 of parent level (Max 1 occurrence for CUST X) Indicates if child exists

I = Item

Sample

The Wella Corporation Confidential

Page 12

90672811.xls.ms_office Custom code reads VBEH with key: scheduling agreement no. = E1EDL43BELNR and item no. = E1EDL43-POSNR (where E1EDL43-QUALF='E') and delivery date = E1EDL24-ABRDT. Note that the delivery line item may be from a sales order instead of a scheduling agreement - in this case, the PO number would be found in the E1EDL41-BSTNR field and line item in E1EDL41-POSEX (where E1EDL41QUALI='001'). BP = Buyer's part no. mandatory EC = Eng. Change level Optional - not used by UTY VP = Vendor's part no. Country of Origin mandatory

01 02 03 04 05 06 07 08 09 SN1

Assigned Identification Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID Product/Service ID Qualifier Product/Service ID

Z1SUBITEM E1EDL24 N/A

POSEX BP KDMAT35 EC VP

E1EDL24 Z1SUBITEM

MATNR COO STABE

02 03 PRF 01

Number of Units Shipped Unit or Basis for Measurement Code EA = Each

Z1SUBITEM E1EDL44

LFIMG VEMEH PCE or ROL

Custom code must combine qtys for all L37 segs for this item for this country of origin sum of E1EDL44-VEMNG If not PCE, custom code must calculate correct EA qty

Purchase Order Number

Z1SUBITEM

EBELN

03 CTT 01

Change Order Sequence Number

See LIN01 - from VBLB-USR01 linked via VBEH Number assigned by orderer to identify a specific change or revision to a previous transaction set - not used

Number of Line Items

Z1EDS01

SUMME

SUMID

001

Count of ZSUBITEM segs.

Sample

The Wella Corporation Confidential

Page 13

You might also like