Академический Документы
Профессиональный Документы
Культура Документы
CUSTOMER
1
Objectives
• Outline the purpose of the Object tracking with EPCIS in SAP Global Track and Trace
• Learn how to create model for EPCIS event tracking in Metadata modeling App
• Understand how EPCIS Capture service works
• Understand how EPCIS Query service works
• Know how objects tracked with EPCIS Events are displayed in Global Track and Trace App
2
Overview
3
Use Cases for Object Tracking
Asset Tracking
• China Unicom
• US hospital track
medical asset
Predicament
visibility Inventory
▪ Auto - JIT supply
▪ T-Mobile track
Process Tracking Object Tracking customer returned
mobile device
EPCIS
Production • Source: ERP system ▪ Source: Data capture application (AII)
visibility • Data Type: Transaction Data (PO, ▪ Data Type: Viability Event Data (Pack, Parcel Tracking
SO, Delivery, Shipment) Pick, Transport...) ▪ Postal
• Granularity: Document level ▪ Granularity: Instance level (serial number, ▪ Express
• Data Size: GB batch/lot)
▪ Data Size: TB ~ PB
Anti-Counterfeiting
Fulfillment ▪ Pharmaceutical
visibility ▪ Tobacco
▪ Wine
4
What is EPCIS?
Electronic Product Code Information Services (EPCIS) is a global GS1 Standard for creating
and sharing visibility event data, both within and across enterprises, to enable users to gain a
shared view of physical or digital objects within a relevant business context.
Repository
Repository Repository Repository
Event Event
Event Event
Event
Logistics Service
Manufacturer Distribution Center Retailor
Provider
5
Basic Elements of EPCIS Event
“What” (Object)
• SGTIN (GTIN+ Serial number) “Why”
• LGTIN (GTIN+ Batch/Lot number) • Business Step Event
• SSCC • Packing
• Staging_outbound
• …... • Arriving
• Loading
• Departing
• Transporting
• Unloading
• Accepting (PoD)
“When”
• Date/Time • Disposition Status
• In_Progress
• Time zone offset • In_transit
• Damaged
• Returned
• Stolen
• Recalled
• Expired
“Where” • Active/inactive
• Read point : GLN • Business Transaction Type
• Business location : GLN • Desadv – Dispatch advice (ASN)
• PO – purchase order
• Source and Destination
6
Example of EPCIS Aggregation Event
7
Core EPCIS Service interfaces
Event Repository Poll SOAP message Immediately return a set of event data or
SOAP/HTTP • SimpleEventQuery master data matched with the given query.
Validation / Conversion
HTTP.POST
8
Create GTT Model for EPCIS
9
Create Model for EPCIS event tracking
10
Create Model for EPCIS event tracking
11
Create Model for EPCIS event tracking
After EPCIS Model is ready, activate the model.
Solution owner can view and manage model in GTT Model Management App.
Once related business role is assigned properly, business users can check EPCIS related tracked objects in Global Track and
Trace App.
12
EPCIS Capture Service
13
Core Capture Operation – Technical Validation
14
Example of call capture service with Postman
EPCIS capture service endpoint:
• https://<server address>[:port]/epcis/v1/capture/event
Return Code 200 means the EPCIS event is successfully stored in GTT.
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 15
15
Handling Failure
Golden Rule: Accept all EPCIS Events in one EPCIS Document or reject all
16
EPCIS Query Service
17
Supported parameters for SimpleEventQuery
Parameter Name Meanings
eventType ObjectEvent, AggregationEvent, QuantityEvent, TransactionEvent, or TransformationEvent
EQ_action ADD, OBSERVE, or DELETE , if not, the implementation SHALL raise a QueryParameterException
EQ_bizStep (a) have a non-null bizStep field; and where (b) the value of the bizStep field matches one of the specified values.
MATCH_epc
MATCH_parentID
MATCH_anyEPC
18
Supported parameters for SimpleEventQuery
orderBy The value of this parameter SHALL be one of: eventTime, recordTime
orderDirection The value of this parameter must be one of ASC (for ascending order) or DESC (for descending order); if not, the
implementation SHALL raise a QueryParameterException.
19
Example of call query service with Postman
EPCIS query service endpoint:
• https://<server address>[:port]/epcis/v1/query
Response XML
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<ns3:QueryResults xmlns:ns3="urn:epcglobal:epcis-query:xsd:1"
xmlns:ns4="http://www.unece.org/cefact/namespaces/StandardBusinessDocumentHeader" xmlns:ns5="urn:epcglobal:epcis:xsd:1">
Request XML <queryName>SimpleEventQuery</queryName>
<?xml version="1.0" encoding="UTF-8"?> <resultsBody>
<EventList>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body> <ns3:TransactionEvent>
<eventTime>2018-05-29T01:00:16.000+01:00</eventTime>
<eqpcisq:Poll xmlns:eqpcisq="urn:epcglobal:epcis-query:xsd:1">
<recordTime>2018-05-30T07:42:45.945+01:00</recordTime>
<queryName>SimpleEventQuery</queryName>
<params> <eventTimeZoneOffset>+01:00</eventTimeZoneOffset>
<bizTransactionList>
<param>
<name>EQ_disposition</name> <bizTransaction type="urn:epcglobal:cbv:btt:inv">urn:epc:id:gdti:0356781.02010.0000003091</bizTransaction>
<bizTransaction type="urn:epcglobal:cbv:btt:bol"/>
<value type="urn:String">
<bizTransaction type="urn:epcglobal:cbv:btt:desadv">urn:epc:id:gdti:0111111.02005.000002578</bizTransaction>
<string>urn:epcglobal:cbv:disp:sellable_not_accessible</string>
</value> <bizTransaction type="urn:epcglobal:cbv:btt:pedigree">urn:epc:id:gdti:0222222.02005.000006891</bizTransaction>
<bizTransaction type="urn:epcglobal:cbv:btt:po">urn:epc:id:gdti:0333333.02010.0000001256</bizTransaction>
</param>
<param> <bizTransaction type="urn:epcglobal:cbv:btt:poc">urn:epc:id:gdti:0444444.02010.0000001256</bizTransaction>
<bizTransaction type="urn:epcglobal:cbv:btt:prodorder">urn:epc:id:gdti:0555555.02005.000001981</bizTransaction>
<name>EQ_bizTransaction_urn:epcglobal:cbv:btt:inv</name>
<bizTransaction type="urn:epcglobal:cbv:btt:recadv">urn:epc:id:gdti:0666666.02005.000002567</bizTransaction>
<value type="urn:String">
<string>urn:epc:id:gdti:0356781.02010.0000003091</string> <bizTransaction type="urn:epcglobal:cbv:btt:rma">urn:epc:id:gdti:0777777.02005.000002167</bizTransaction>
</bizTransactionList>
</value>
</param> <parentID>urn.epc.id.sgtin.69010280.10528.LC00Z</parentID>
<epcList>
<param>
<epc>urn.epc.id.sgtin.69010280.10528.LC000</epc>
<name>GE_recordTime</name>
<value type="urn:DateTime"> </epcList>
<action>ADD</action>
<datetime>2018-05-28T01:11:43.615+01:00</datetime>
</value> <bizStep>urn:epcglobal:cbv:bizstep:storing</bizStep>
<disposition>urn:epcglobal:cbv:disp:sellable_not_accessible</disposition>
</param>
<readPoint>
<param>
<name>orderBy</name> <id>urn:epc:id:sgln:0012345.11111.400</id>
</readPoint>
<value type="urn:String">
<string>recordTime</string> <bizLocation>
<id>urn:epc:id:sgln:0012345.11111.0</id>
</value>
</bizLocation>
</param>
<extension>
<quantityList/>
<param>
<name>eventCountLimit</name> <sourceList/>
<destinationList/>
<value type="urn:Int">
</extension>
<int>2</int>
</value> </ns3:TransactionEvent>
</EventList>
</param>
</params> </resultsBody>
</ns3:QueryResults>
</eqpcisq:Poll>
</SOAP-ENV:Body>
</soapenv:Body>
</soapenv:Envelope> </SOAP-ENV:Envelope>
20
Global Track and Trace App
21
Search EPCIS event
Use input EPC ID, or business step or disposition, read point, business location or event time to search all the
satisfied EPCIS data should be listed below.
22
Display head of EPC object
▪ Business step
▪ Disposition
▪ Read Point & Business Location
▪ Event Time
23
Display packaging hierarchy
List all the events list which deal with the same EPC ID in different event time.
© 2018 SAP SE or an SAP affiliate company. All rights reserved. ǀ CUSTOMER 24
24
Display EPCIS event details
Below is the detail event info page after clicking the event in the previous main EPCIS page.
25
Summary
• Outline the purpose of the Object tracking with EPCIS in SAP Global Track and Trace
• Model EPCIS event in Metadata Modeling App
• Send EPCIS event to capture service
• Query EPCIS event via query service
• Track objects and packaging hierarchy in Global Track and Trace App.
26
© 2018 SAP SE or an SAP affiliate company. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP SE or an SAP affiliate company.
The information contained herein may be changed without prior notice. Some software products marketed by SAP SE and its distr ibutors contain proprietary software components
of other software vendors. National product specifications may vary.
These materials are provided by SAP SE or an SAP affiliate company for informational purposes only, without representation or warranty of any kind, and SAP or its affiliated
companies shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP or SAP affil iate company products and services are those that are
set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be constr ued as constituting an additional warranty.
In particular, SAP SE or its affiliated companies have no obligation to pursue any course of business outlined in this docume nt or any related presentation, or to develop or release
any functionality mentioned therein. This document, or any related presentation, and SAP SE’s or its affiliated companies’ st rategy and possible future developments, products,
and/or platform directions and functionality are all subject to change and may be changed by SAP SE or its affiliated compani es at any time for any reason without notice. The
information in this document is not a commitment, promise, or legal obligation to deliver any material, code, or functionalit y. All forward-looking statements are subject to various
risks and uncertainties that could cause actual results to differ materially from expectations. Readers are cautioned not to place undue reliance on these forward-looking statements,
and they should not be relied upon in making purchasing decisions.
SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trade marks of SAP SE (or an SAP affiliate company)
in Germany and other countries. All other product and service names mentioned are the trademarks of their respective companie s.
See http://global.sap.com/corporate-en/legal/copyright/index.epx for additional trademark information and notices.
27