Fonction SAP BAPI_QNOTIFICAT_GETKEYFIGURES - Determines Existing Quality Notifications

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
KEYFIGURESTRUCTURE BAPI20783I u 130 Information for the required key figures

Paramètre Reférence Type Long. Description
KEYFIGURES BAPI20783E u 15 Number of values for existing notifications
RETURN BAPIRETURN1 u 470 Structure for Return Parameters (Code, Text)

Paramètre Reférence Long. Facultatif Description
LISTOFNOTIFICATIONS BAPI20783T 225 X List of existing quality notifications

Functionality
You can use this method to determine the number and the list of relatedquality notifications.
You can search for the quality notifications according to variouscriteria, for example:
Quality notifications for a specific material, a specific customer, aspecific vendor, or a specific combination of material and vendor.
You can also choose between two variants, to determine the number ofrelated quality notifications:

  • Variant 1: Access using original documents

  • Variant 2: Access using statistical database
  • Notes
    Note that a simultaneous evaluation according to customer notificationsand vendor notifications is not possible.
    In variant 2, the system does not provide a list of the existingnotifications. This variant, however, determines the number of existingnotifications more quickly than variant 1.
    For more information on the advantages and disadvantages of the accessvariants, see the documentation for the Version.

    Parameter documentation

    • Import parameter

    • key_figure_structure: Entries that the system uses, to search for thequality notifications. This structure consists of the following fields:
      Material
      Mat_Cust
      Mat_Vend
      Customer
      Vendor
      Mat_No
      Cust_No
      Vend_No
      Version
      No_Days
      • Export parameter

      • key_figures: This structure contains the numbers of relatednotifications that the method has found. The structure contains thefollowing fields:
        Material
        Mat_complet
        Mat_open
        Customer
        Cust_complet
        Cust_open
        Vendor
        Vend_complet
        Vend_open
        Mat_Customer
        Mat_Cus_co
        Mat_Cus_op
        Mat_Vendor
        Mat_Ven_co
        Mat_Ven_op
        • Table parameter

        • List_of_notifications: List of all the notifications found. Containsthe following fields:
          Notif_No
          Notif_Type
          Short_Text
          Priority
          Notif_Date
          Mat_No
          Cust_No
          Vend_No
          Insp_Lot_No
          Status_Ind
          Material
          Mat_Cust
          Mat_Vend
          Vendor
          Customer
          Object_No

          Value range
          This structure contains the number of related notifications that havebeen determined by the method.

          Value range
          The system uses this structure to specify which quality notificationsshould be found.

          Value range
          List of all existing notifications in the system.