Functional Specification 03
Functional Specification 03
: xxx/yyy
                                                            Version: 1.0
QC Labels
                                   Date:   Signature:
Author:
Mayank Mevcha
Technical Expert
Approval:
                                                               Page: 1 / 23
                                                           Doc. ID.: xxx/yyy
                                                               Version: 1.0
Document history:
                                                                  Page: 2 / 23
                                                                                                                                                          Doc. ID.: xxx/yyy
                                                                                                                                                              Version: 1.0
Table of Contents
1     OVERVIEW.................................................................................................................................................................4
2     FUNCTIONAL SPECIFICATION..............................................................................................................................4
    2.1    Label Types......................................................................................................................................... 4
    2.2    Selection Fields - Details..................................................................................................................... 5
    2.3    Selection Fields - Functionality............................................................................................................ 5
    2.4    Selection Fields Matrix......................................................................................................................... 6
    2.5    Restrictions.......................................................................................................................................... 6
    2.6    Error Messages................................................................................................................................... 7
    2.7    Rules for Printing................................................................................................................................. 8
    2.8    Label Content Matrix.......................................................................................................................... 10
    2.9    Content Description........................................................................................................................... 11
    2.10   Label Layouts.................................................................................................................................... 12
    2.11   Label Fields....................................................................................................................................... 14
3     Further information....................................................................................................................................................23
                                                                                                                                                                   Page: 3 / 23
                                                                                                  Doc. ID.: xxx/yyy
                                                                                                      Version: 1.0
1    Overview
    Purpose of output    The purpose of the adaptation is to print Quality Status Labels and Physical
     program/Query       Samples Labels and to develop a custom specific labelling transaction for print,
                         re-print, error handling and label history.
                         These labels are necessary to show usability of materials and physical samples
                         in the warehouse and in the laboratory.
2    Functional specification
    Business objects     All created QC labels and physical sample labels.
    Trigger for output   Depending on the inspection creation, there are different triggers for Label
                         Printing:
                               -   Goods Receipt for Purchase Order
                               -   Goods Receipt from Process Order
                               -   Other Goods receipts
                               -   Recurring Inspection
                               -   Transfer Postings
                               -   Manual inspection lot
                               -   Manual printing request (to reprint the labels)
                               -   Stability studies Inspection Lot
                               -   Reserve sample labels
                                                                                                         Page: 4 / 23
                                                                                  Doc. ID.: xxx/yyy
                                                                                      Version: 1.0
    Field #
      1.          Plant                  Mandatory input field for label printing
      2.          Inspection Lot         Conditional mandatory field to gather all
                  Number                 relevant information required for label
                                         printouts. Select from the list or input
                                         manually.
                                         (inspection lot number or material doc.
                                         number must be entered)
      3.          Posting Date           Posting Date is a Optional label attribute
                                         and input field.
      4.          Label Type             Mandatory field for label printing
      5.          Number of              Total number of containers in related
                  Containers             batch (mandatory for label types 0102A,
                                         0103A and 0201)
      6.          Total nr. Of Labels    Total number of labels that have been
                                         printed (mandatory for label type 0102A,
                                         0103A, 0201)
      7.          Printed no. of         Number of the labels that are printed
                  Labels (used as        before (mandatory for label type 0102A,
                  counter/sequence)      0103A, 0201,0202, 0203A, 0204)
      8.          Number of Labels       Number of the labels that will be printed
                  to print               now (mandatory for all label types)
      9.          Reprint Flag           F: First Print; R: Reprint, Mandatory field
      10.         Comment                Short text or Remark to enter re-print
                                                                                         Page: 5 / 23
                                                                                                                                                            Doc. ID.: xxx/yyy
                                                                                                                                                                Version: 1.0
                                                                           Reserve Sample-FP
                                                       RMReserve Sample-
                                                                                                                                                             Rework
                                                                                               Stability Sample
Approved-RM
                                                                                                                                              Approved-FP
                             Sampled-RM
                                                                                                                                Rejected-RM
  Input / Label
Sampled-FP
                                                                                                                                                                        Rejected-FP
     Type
                                                                                                                                                             0102C
               
0203A
0203B
0102A
0103A
0102B
                                                                                                                                                                        0103B
                                          0202
                                                                                               0204
                             0201
 Plant                       M            M            M                   M                   M                  M             M             M             M          M
 Inspection Lot
 Number                      M            M            M                   M                   M                  M             M             M             M          M
 Label Type                  M            M            M                   M                   M                  M             M             M             M          M
 Number of
 Containers                  M            O            O                    O                  O                  M             M             O              O         O
 Total nr. Of
 Labels                      M            O            O                    O                  O                  M             M             O             O           O
 Printed no. of
 Labels                      M            M             M                   O                   M                 M             M             O             O          O 
 Number of
 Labels to print             M             M           M                   M                   M                  M             M             M             M          M
 Reprint Flag                M             M           M                   M                   M                  M             M             M             M          M
  Comment*         O      O                            O                   O                   O                  O             O              O             O          O
M= Mandatory, O = Optional
* Mandatory in case of reprint.
  2.5         Restrictions
Number of Label = A
No. of Containers = B
Printed No. of Labels = C
Total No. Of Labels = D
                                                                                                                                                                      Page: 6 / 30
                                                                         Doc. ID.: xxx/yyy
                                                                             Version: 1.0
The Z-Table must be maintained for Plant wise, Label Wise Error Messages.
                                                                                  Page: 7 / 30
                                                                                               Doc. ID.: xxx/yyy
                                                                                                   Version: 1.0
                                                            decision status’
                    W                            0103*      Error message: ‘Please check the usage
                                                            decision status’
                    W                            0201       No error message
                    W                            0202       No error message
                    W                            0203       No error message
                    W                            0204       No error message
                    E, R                         0101       No error message
                    E, R                         0102A/     Error message: ‘Please check the usage
                                                 B          decision status’
                    E, R                         0103*      No error message
                    E, R                         0201       Error message: ‘Please check the usage
                                                            decision status’
                    E, R                         0202       No error message
                    E, R                         0203       No error message
                    E, R                         0204       No error message
                   * applicable for type A & B
Processing logic   In general the source of information shall be the initial document (e.g. Inspection
                   Lot) and the matchcode. All available information should be copied from these
                   documents.
                   User must be forced to enter 'R' in reprint flag field after first print.
                   Sample Label – RM (label type 0201) can only be printed if the material types
                   are: ZAPI, ZRAW, ZPKB, ZPKS, and ZPPP. Otherwise an error message is
                   generated.
                   Print an additional Sample Label when the sequential number of containers is
                   equal to the total number of containers
                   Approved label – RM (Label type 0102A) for incoming materials (raw and packaging
                   materials) can only be printed if the material types: Z010, Z020, Z030, Z040,
                   ZAPI, ZBUL, ZRAW, ZPKB, ZPKS. Otherwise an error message is generated.
                   The values for Assay and Water must be retrieved from the Z-table maintained
                                                                                                      Page: 8 / 30
                                                                        Doc. ID.: xxx/yyy
                                                                            Version: 1.0
for MIC.
Rejected label – RM (Label type 0103A) for incoming materials (raw and packaging
materials) can only be printed if the material types are: Z010, Z020, Z030, Z040,
ZAPI, ZBUL, ZRAW, ZPKB, and ZPKS. Otherwise an error message is
generated
Sample label - FP (label type 0202) can only be printed if the material types
are: Z010, Z020, Z030, Z040, ZINS, ZINT, ZBUL, and ZFDF. Otherwise an error
message is generated.
Approved label – FP (Label type 0102A) for manufactured materials can only be
printed if the material types: Z010, Z020, Z030, Z040, ZAPI, ZBUL, ZRAW,
ZPKB, ZPKS. Otherwise an error message is generated.
While printing Approved label, the value of Batch Characteristic-Country must be
retrieved in Remark/Comment.
Rejected label – FP (Label type 0103A) for manufactured materials can only be printed
if the material types are: Z010, Z020, Z030, Z040, ZAPI, ZBUL, ZRAW, ZPKB,
and ZPKS. Otherwise an error message is generated
Stability Samples Label (label type 0204) can only be printed if Sample category
is “Sample for Storage Condition” (QPRS-PRTYP = 6) and for all material types.
Otherwise an error message is generated.
Reserve sample label (label type 0203*) can only be printed if the Sample
category is Reserve sample (QPRS-PRTYP = 3) and for all material types.
Otherwise an error message is generated.
                                                                               Page: 9 / 30
                                                                                                                                                             Doc. ID.: xxx/yyy
                                                                                                                                                                 Version: 1.0
                 Inspection lot
                 Material document
                 Item
                 Material document year
                 Print Date
                                                                                                                                                                Rework
                                                                            Reserve Sample-FP
Stability Sample
Approved-RM
                                                                                                                                               Approved-FP
                               RMSampled-
Rejected-RM
           Input / Label
                                            Sampled-FP
Rejected-FP
              Type
                                                                                                                                                                0102C
               *Y-Print
                                                         0203A
0203B
0102A
0103A
0102B
                                                                                                                                                                           0103B
                               0201
0202
0204
Content
                                                                                                                                                                     Page: 10 / 30
                                                                             Doc. ID.: xxx/yyy
                                                                                 Version: 1.0
Material Code          Y     Y      Y       Y      Y      Y      Y     Y        Y         Y
Material
                       Y     Y      Y       Y      Y      Y      Y     Y        Y         Y
Description
Inspection Lot
                       Y     Y      Y       Y      Y      Y      Y     Y        Y         Y
No.
Manufacturer           N/A   N/A   N/A     N/A    N/A     Y      Y     N/A     N/A       N/A
Goods Receipt
                       Y     N/A    Y      N/A    N/A     Y      Y     N/A     N/A       N/A
No
Vendor Batch
                       Y     N/A    Y      N/A    N/A     Y      Y     N/A     N/A       N/A
No.
Batch No.              Y     Y      Y       Y      Y      Y      Y     Y        Y         Y
Physical
                       Y     Y      y       Y     N/A    N/A    N/A    N/A     N/A       N/A
Sample No.
Container No.          Y     N/A   N/A     N/A    N/A    N/A    N/A    N/A     N/A       N/A
Storage                N/A   N/A   N/A     N/A     Y     N/A    N/A    N/A     N/A       N/A
Condition
Stability Start        N/A   N/A   N/A     N/A     Y     N/A    N/A    N/A     N/A       N/A
Date
Time Point             N/A   N/A   N/A     N/A     Y     N/A    N/A    N/A     N/A       N/A
Assay                  N/A   N/A   N/A     N/A    N/A     Y     N/A    N/A     N/A       N/A
Water                  N/A   N/A   N/A     N/A    N/A     Y     N/A    N/A     N/A       N/A
Manufacturing          N/A   Y      Y       Y      Y     N/A    N/A    Y        Y         Y
Date
Next Inspection        N/A   N/A    Y       y     N/A     Y     N/A    N/A     N/A       N/A
Date
Expiry Date            N/A   Y      Y       Y     N/A     Y     N/A    Y       N/A        Y
Batch Status           N/A   N/A   N/A     N/A    N/A     Y      Y     Y        Y         Y
Description
Remarks                Y     Y      Y       Y             Y      Y     Y        Y         Y
User Id                Y     Y      Y       Y      Y      Y      Y     Y        Y         Y
Print Date             Y     Y      Y       Y      Y      Y      Y     Y        Y         Y
UD Date                                                   Y      Y     Y        Y         Y
                                                                                     Page: 11 / 30
                                                                Doc. ID.: xxx/yyy
                                                                    Version: 1.0
               Description         CODEVE
   40          Remarks             Optional Remark from Input Screen
               User Id             Name of Person who print Label
   10          Print Date          Label Printing Date
   10          UD Date             QAVE-VDATUM
0201-Sampled (RM)
                                                       M
                                                       A
                                                       D
                                                       S
                                                       E
                                                       L
0202-Sampled (FP)
                                                       D
                                                       S
                                                       E
                                                       L
                                                       R
                                                       E
                                                       S
                                                       E
                                                       V
                                                       E
                                                                       Page: 12 / 30
                                                          Doc. ID.: xxx/yyy
                                                              Version: 1.0
                                                          R
                                                          E
                                                          S
                                                          E
                                                          V
                                                          E
0204-Stability Sample
  Remark       XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  User Id/Date XXXXXXXXXX - 99-MMM-9999
                                                          A
                                                          B
                                                          S
                                                          Y
                                                          T
                                                          T
                                                          I
                                                          I
0102A-Approved (RM)
                                                          D
                                                          P
                                                          P
                                                          V
                                                          E
0102B-Approved (FP)
                                                          D
                                                          P
                                                          P
                                                          V
                                                          E
                                                                Page: 13 / 30
                                                          Doc. ID.: xxx/yyy
                                                              Version: 1.0
0103A-Rejected (RM)
                                                       D
                                                       E
                                                       E
                                                       T
                                                       J
0103B-Rejected (FP)
                                                       D
                                                       E
                                                       E
                                                       T
0102C – Rework                                         J
                                                                Page: 14 / 30
                                                            Doc. ID.: xxx/yyy
                                                                Version: 1.0
Applicability       Mandatory
Printed             Always
Field description
Start position      Line 01
                    Tab stop left: 0.75 inch
Length              9
Font                Arial
                    8
                    Align left
Source              QALS-MATNR
Comment             N/A
Source              QALS-KTEXTMAT
Comment             N/A
Source              DESCR-PRODUCER
Comment             N/A
                                                                  Page: 15 / 30
                                                             Doc. ID.: xxx/yyy
                                                                 Version: 1.0
Source              QALS-PRUEFLOS
Comment             N/A
Source              QALS-CHARG
Comment             N/A
                                                                   Page: 16 / 30
                                                                  Doc. ID.: xxx/yyy
                                                                      Version: 1.0
Length              10
Font                Arial
                    8
                    Align left
Source              MCHA-HSDAT
Comment             N/A
Source              MCHA-VFDAT
Comment             N/A
                                                                        Page: 17 / 30
                                                                  Doc. ID.: xxx/yyy
                                                                      Version: 1.0
Source              MCHA-QNDAT
Comment             N/A
Source              QALS-LICHN
Comment             N/A
                                                                        Page: 18 / 30
                                                            Doc. ID.: xxx/yyy
                                                                Version: 1.0
                                                                  Page: 19 / 30
                                                           Doc. ID.: xxx/yyy
                                                               Version: 1.0
                                                                 Page: 20 / 30
                                                                  Doc. ID.: xxx/yyy
                                                                      Version: 1.0
Field description
Start position      Line 9
                    Tab stop left: 0.75 inch
Length              11
Font                Arial
                    8
                    Align left
Source              QGRES-CODEVE
Comment             N/A
                                                                        Page: 21 / 30
                                                                    Doc. ID.: xxx/yyy
                                                                        Version: 1.0
Source              QAVE-VDATUM
Comment             N/A
Source              QPRS-PHYNR
Comment             N/A
                                                                          Page: 22 / 30
                                                                                                 Doc. ID.: xxx/yyy
                                                                                                     Version: 1.0
                                                    Align left
                            Applicability           User-ID of person who prints the label and
                                                    Date of Printing
                            Printed                 Always
                            Field description
                            Start position          Line 12
                                                    Tab stop left: 0.75 inch
                            Length                  10 + 1 + 11
                            Font                    Arial
                                                    8
                                                    Align left
    Additional functions
                           The user will have the option to
                                                     reprint the labels
                                                     display and print label history report
                                                     select certain object to print labels
                                                     add necessary data on labels
                           If mandatory fields are missing, labels will not be printed. User has to correct
                           missing or wrong data (master data, documents) to proceed to print the labels
                           using Z- transaction.
3     Further information
     Contact persons /
                           Technical Expert : Mayank Mevcha
         Function
References
Page: 23 / 23