  

 

Tracelink University

 ## Breadcrumb

1. [Home](/)
2. [Resources](/resources/resource-center)
3. [TraceLink University](/resources/tracelink-university)
 
  

 

 

# Batch creation canonical guidelines

 

 

 

 

 

 

 

 

- [Download PDF](/node/628066/pdf)
- [Share](#)
    - [ LinkedIn ](https://www.linkedin.com/shareArticle?mini=true&url=https://www.tracelink.com/resources/tracelink-university/batch-creation-canonical-guidelines&title=Batch creation canonical guidelines&summary=Batch creation records allow CMOs to exchange data with their Pharmaceutical Manufacturer Partners about specific lots of product they produce for the Pharmaceutical Manufacturer. &source=TraceLink "LinkedIn")
    - [ Facebook ](https://www.facebook.com/share.php?u=https://www.tracelink.com/resources/tracelink-university/batch-creation-canonical-guidelines&t=Batch creation canonical guidelines "Facebook")
    - [ Mail ](mailto:?subject=Batch creation canonical guidelines+|+TraceLink&body=https://www.tracelink.com/resources/tracelink-university/batch-creation-canonical-guidelines "Mail")
    - [ Twitter ](https://twitter.com/intent/tweet?text=Batch creation canonical guidelines https://www.tracelink.com/resources/tracelink-university/batch-creation-canonical-guidelines&via=TraceLink "Twitter")
 
 

 

 

 

 

#### Table of contents

 

 

 

Batch creation records allow CMOs to exchange data with their Pharmaceutical Manufacturer Partners about specific lots of product they produce for the Pharmaceutical Manufacturer. Batch creation records contain the details for a lot of product (e.g. lot number, lot status, expiration date, and production date).

[![Closed](/sites/default/files/tech_comms/mpl/Skins/Default/Stylesheets/Images/transparent.gif)Canonical guidelines](#)              Canonical Element Type Definition Description IDoc mapping X12 mapping     data - JSon object type/root element. - -     controlFileHeader - Canonical control file header to store data for control segments and envelopes of IDocs, and X12 and EDIFACT EDI messages. - -     messageBody - Payload for batch master canonical data - -       canonicalBatchMasterMessage - Batch Master transaction header - -         productCode string Product code for batch master E1BATMAS/MATERIAL -         productCodeAlternate string Alternate identifier for product code E1BATMAS/MATERIAL\_LONG -         supplierIdentifier string Supplier identifier E1BPBATCHATT/VENDOR\_NO -         lotNumber string Lot or batch identifier E1BATMAS/BATCH -         lotStatus string Lot or batch status key. Indicates lot is restricted or unrestricted in SAP. E1BPBATCHATT/STATUSKEY -         supplierLotNumber string Supplier's lot or batch number E1BPBATCHATT/VENDRBATCH -         plantIdentifier string Plant identifier E1BATMAS/PLANT -         storageLocation string Storage location for batch E1BATMAS/BATCHSTORAGELOCATION -         countryOfOrigin - Country and region of origin type definition – -           country string Country of origin. Specify that we expect ISO code for country of origin. E1BPBATCHATT/COUNTRYORI -           state string State or region within country of origin E1BPBATCHATT/REGIONORIG -         isForDeletion boolean Delete flag for lot or batch E1BPBATCHATT/DEL\_FLAG -         valuationType string Valuation type for lot or batch E1BPBATCHATT/VAL\_TYPE -         restrictedUseStatus string Lot or batch in restricted use status flag. E1BPBATCHSTATUS/RESTRICTED

 (mapped IN, OB)

E1BPBATCHSTATUSX/RESTRICTED

(hard code X OB)

  -         lotLevel string Indicator that defines lot or batch management level E1BPBATCHCTRL/BATCHLEVEL -         isClassifyObject boolean Classify object flag.

Valid values:

- `True` - Classify object
- `False` - Do not classify object (default)
 
  E1BPBATCHCTRL/DOCLASSIFY -         mpcDates array Dates relevant for the batch master – -           dateType string Date type.

Valid values for batch master:

- `AVAILABILITY`
- `EXPIRATION`
- `LASTGOODSRECEIPT`
- `FREEDATE1`
- `FREEDATE2`
- `FREEDATE3`
- `FREEDATE4`
- `FREEDATE5`
- `FREEDATE6`
- `NEXTINSPECTION`
- `MANUFACTURING`
 
  Defines field to be mapped in IDoc -           dateValue string Date defined by referenced date type in date format YYYY-MM-DD.

Dates will be populated with string of 0's if no date found for any of these date types. Maps will pass thru whatever it finds in IDoc date and time fields.

  - E1BPBATCHATT/AVAILABLE
- E1BPBATCHATT/EXPIRYDATE
- E1BPBATCHATT/LASTGRDATE
- E1BPBATCHATT/FREE\_DATE1
- E1BPBATCHATT/FREE\_DATE2
- E1BPBATCHATT/FREE\_DATE3
- E1BPBATCHATT/FREE\_DATE4
- E1BPBATCHATT/FREE\_DATE5
- E1BPBATCHATT/FREE\_DATE6
- E1BPBATCHATT/NEXTINSPEC
- E1BPBATCHATT/PROD\_DATE
 
  -           timeZone string Time zone for referenced dates. – -         lotCharacteristics array Lot or batch characteristics name/value pairs used in custom IDoc segment. Maps from custom IDoc segment -           characteristicName string Name of lot characteristic. Y1M\_BPBATCHCHAR/ATNAM -           characteristicValue string Value of lot characteristic. Y1M\_BPBATCHCHAR/ATWRT -         lotAttributes - Dates relevant for the batch master. Maps from custom IDoc segment -           plantIdentifier string Plant identifier for lot attributes. Y1M\_BPBATCHATT/WERKS -           authorizationGroup string Material authorization group for activities in QM. Y1M\_BPBATCHATT/QMATA -           laboratory string Laboratory/design office. Y1M\_BPBATCHATT/WERKS -           description string Description of the laboratory/engineering office. Y1M\_BPBATCHATT/LBTXT -           email string Email address of laboratory/engineering office. Y1M\_BPBATCHATT/EMAIL -           transactionReferenceIdentifierList  array Transaction references for purchase order number used in the custom IDoc segment. - -             b2bTransactionIdentifierType string Referenced document type. Valid value is `PURCHASEORDER`. b2bTransactionIdentifierType =

PURCHASEORDER

  -             b2bTransactionIdentifierValue string Purchase order number for lotAttributes. Y1M\_BPBATCHATT/EBELN -             transactionDate string Date transaction created. – -             lineItemNumber string Line item number in customer purchase order. Line item level only. – -         freeTextNote array Free text, instructions, notes, descriptions and other free text elements. Maps from custom IDoc segment -           textReferenceCode string Text reference or subject code. Will map whatever is found. – -           textFunctionCode string Text function code. Will map whatever is found. – -           language string Language of free text. – -           textFormatCode string Format code for free text. – -           freeFormText string, array Free text array. Y1M\_BPBATCHTXT/TDLINE -    

 

 



 

 

 

 

#### Table of contents