Fonction SAP BAPI_QNOTIFICAT_GETCATALPROFIL - Determine Catalog Profile for Quality Notification

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
LANGUAGE BAPI10011I-LANGU C 1 SY-LANGU X Language key
MATERIAL BAPI10011I-MATERIAL C 18 Material number
MATERIAL_EVG BAPIMGVMATNR u 82 X
NOTIFICATIONTYPE BAPI10011I-NOTIF_TYPE C 2 Notification type

Paramètre Reférence Type Long. Description
CATALOGPROFILE BAPI10011E u 105 Catalog profile
RETURN BAPIRETURN u 452 Structure for Return Parameters (Code, Text)

Paramètre Reférence Long. Facultatif Description
CODES BAPI10011T 108 Codes

Functionality
This method selects the relevant catalogprofile for a combination of notification type and material numberand lists the corresponding code groups and codes.
This method first checks whether a catalog profile is stored atmaterial level. If no profile is stored, the method selects the catalogprofile that is assigned to the notification type.

Notes
Notifications are given in the RETURN parameter.
INCLUDE QM_TX_BAPI_RETURN OBJECT DOKU ID TX

Description
Key that identifies the language of the certificate profile.

Value range
Dictionary data type: LANG (field length 1)

Description
Alphanumeric key that clearly identifies the material.

Value range
Dictionary data type: CHAR (field length 18)

Description
Parameter for the long material number.
This parameter can be used to transfer long material numbers, which canbe a maximum of 40 characters in length.
To use this parameter, you must activate the switch for the businessfunction LAMA (long material number) in the system.
The business function LAMA is available as part of the business functionset for DIMP.

Value range
None

Default
None

Description
Key that determines the type of plant maintenance notification orquality notification.

Value range
Dictionary data type: CHAR (field length 2)

Description
This parameter returns the catalog profile. The return values arebroken down into the separate codes.

Value range
If this structure is successfully called up, it can contain the
following information:

  • Catalog type (field CAT_TYP), dictionary data type: CHAR (field length
  • 1)
    • Code group (field CODE_GROUP), dictionary data type: CHAR (field length

    • 8)
      • Code (field CODE), dictionary data type: CHAR (field length 4)

      • Short description of the code group (field SHORTTXTGR) dictionary data

      • type: CHAR (field length 40)
        • Short description of the group codes (field SHORTTXTCD), dictionary
        • datatype: CHAR (field length 40)
          If an error occurs the structure is empty.