Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>QualityNotification



Index

QualityNotification

QualityNotification


The business object Quality notification describes a business
object's nonconformance with a quality requirement and contains a request to take appropriate action.

Structure

A quality notification can contain several items. An item describes a
single problem. The items in a quality notification can specify the causes for the nonconformance with the quality requirement.


The activities or tasks that must be carried out to complete a quality
notification can be described at the header level or item level of a notification.

Comment

A quality notification may pertain to a customer complaint, a complaint against a vendor, or an internal problem report.

A quality notification can specify the partners who are involved in the processing of the notification.


Among other items, quality notifications can exist for the following business objects:


  • Material

  • Customer

  • Vendor

  • Inspection lot

  • Sales order

  • Customer delivery

  • Purchase order

  • Goods movement

  • Production order

  • Run schedule header

  • 11-Dec-2005


    Methods

    Available Methods


    • CreateFromData : Create quality notification [ BAPI_QNOTIFICAT_CREATE ]
    • GetCatalogProfile : Determine catalog profile [ BAPI_QNOTIFICAT_GETCATALPROFIL ]
    • GetKeyFigures : Determining of related notifications [ BAPI_QNOTIFICAT_GETKEYFIGURES ]
    • GetListForCustomer : Select quality notifications for a customer [ BAPI_QNOTIFICAT_GETLISTFORCUST ]
    • GetMaterialListFCust : Materials list for a customer [ BAPI_QNOTIFICAT_GETMATLISTFCUS ]

    11-Dec-2005


    CreateFromData

    CreateFromData


    You create quality notifications using this method. You can create setfields and the long text in the notification header, as well as various notification items.

    Currently, you can only create notifications for notification types that are assigned to the origin customer complaint
    .

    Notes

    In the parameter NotifHeader, you must at least enter thenotification type (NOTIF_TYPE). If a sales order (SALES_ORD) thatcontains an item number (S_ORD_ITEM) is returned, the system onlytransfers dependent data from the customer order, for example, the
    material (MATERIAL). However, the system first checks whether thetransferred customer number corresponds to the customer number in the order.


    11-Dec-2005


    GetCatalogProfile

    GetCatalogProfile


    This method selects the relevant catalog profile 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 catalog profile that is assigned to the notification type.


    Notes

    Notifications are given in the RETURN parameter.


    11-Dec-2005


    GetKeyFigures

    GetKeyFigures


    You can use this method to determine the number and the list of related quality notifications.

    You can search for the quality notifications according to various criteria, for example:
    Quality notifications for a specific material, a specific customer, a
    specific vendor, or a specific combination of material and vendor.

    You can also choose between two variants, to determine the number of related quality notifications:

  • Variant 1: Access using original documents
  • Variant 2: Access using statistical database

  • Notes

    Note that a simultaneous evaluation according to customer notifications and 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 existing notifications more quickly than variant 1.


    For more information on the advantages and disadvantages of the access variants, see the documentation for the Version.

    Further Information

    Parameter documentation

  • Import parameter
  • key_figure_structure: Entries that the system uses, to search for the
    quality 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 the following 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. Contains the 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


    11-Dec-2005


    GetListForCustomer

    GetListForCustomer


    This method selects quality notifications for a customer.
    To do this, the system uses the following data as selection criteria:

  • The customer, who is maintained in the quality notification.
  • The notification date. (All the notifications are selected that have the same date or a later date than the date entered).

  • The selected quality notifications are displayed. All notifications areselected, irrespective of their status. As an option, you can exclude completed notifications from the selection.

    Notes

    Notifications are displayed by the return parameter.


    11-Dec-2005


    GetMaterialListFCust

    GetMaterialListFCust


    This method provides a list of all materials, for which a customer- material-info record.

    Notes

    Notifications are given in the RETURN parameter.


    11-Dec-2005