997Functional Acknowledgment

This X12 Transaction Set contains the format and establishes the data contents of the Functional Acknowledgment Transaction Set (997) for use within the context of an Electronic Data Interchange (EDI) environment. The transaction set can be used to define the control structures for a set of acknowledgments to indicate the results of the syntactical analysis of the electronically encoded documents. The encoded documents are the transaction sets, which are grouped in functional groups, used in defining transactions for business data interchange. This standard does not cover the semantic meaning of the information encoded in the transaction sets.

  • ST
    Transaction Set Header
    M必须(Mandatory)
    Repeat 1

    To indicate the start of a transaction set and to assign a control number

  • AK1
    Functional Group Response Header
    M必须(Mandatory)
    Repeat 1

    To start acknowledgment of a functional group

  • AK2Loop1Transaction Set Response Header LOOPO可选(Optional)Repeat > 1
    AK2AK3Loop1AK5
    • AK2
      Transaction Set Response Header
      M必须(Mandatory)
      Repeat 1

      To start acknowledgment of a single transaction set

    • AK3Loop1Data Segment Note LOOPO可选(Optional)Repeat > 1
      AK3AK4
      • AK3
        Data Segment Note
        M必须(Mandatory)
        Repeat 1

        To report errors in a data segment and identify the location of the data segment

      • AK4
        Data Element Note
        O可选(Optional)
        Repeat 99

        To report errors in a data element or composite data structure and identify the location of the data element

    • AK5
      Transaction Set Response Trailer
      M必须(Mandatory)
      Repeat 1

      To acknowledge acceptance or rejection and report errors in a transaction set

  • AK9
    Functional Group Response Trailer
    M必须(Mandatory)
    Repeat 1

    To acknowledge acceptance or rejection of a functional group and report the number of included transaction sets from the original trailer, the accepted sets, and the received sets in this functional group

  • SE
    Transaction Set Trailer
    M必须(Mandatory)
    Repeat 1

    To indicate the end of the transaction set and provide the count of the transmitted segments (including the beginning (ST) and ending (SE) segments)

Segment
X12 EDI Release 00504
To indicate the start of a transaction set and to assign a control number
Elements
  • ST01143Transaction Set Identifier Code
    ID
    M必须(Mandatory)
    Min 3 / Max 3

    Code uniquely identifying a Transaction Set

    Codes (320)
  • ST02329Transaction Set Control Number
    AN
    M必须(Mandatory)
    Min 4 / Max 9

    Identifying control number that must be unique within the transaction set functional group assigned by the originator for a transaction set

  • ST031705Implementation Convention Preference
    AN
    O可选(Optional)
    Min 1 / Max 9

    Reference assigned to identify Implementation Convention