Fonction SAP BAPI_QNOTIFICAT_GETLISTFORCUST - Select quality notifications for a customer

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPLETE BAPI20782-COMPLETE C 1 'X' X Completed notifications
CUSTOMERNUMBER BAPI20781-CUSTOMER C 10 Customer number
NOTIFICATIONDATE BAPI20781-NOTIFDATE D 8 SY-DATLO X Notification date

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

Paramètre Reférence Long. Facultatif Description
NOTIFICATION BAPI20781 285 X Quality notifications table

Functionality
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 excludecompleted notifications from the selection.

    Notes
    Notifications are displayed by the return parameter.

    Description
    INCLUDE PM_TX_BAPI_RETURN OBJECT DOKU ID TX

    Description
    This parameter indicates whether completed notifications are to betaken into account, as well as open notifications. The parameter isoptional.

    Default
    The parameter is set (the completed notifications are also selected).

    Description
    This parameter gives the number of the customer, who requests the listof notifications.
    A notification can only be included in the list, if the correspondingcustomer is already maintained there.

    Default
    None.

    Description
    When you generate a list of notifications, the system uses thisparameter as the starting date for the notification selection. Theparameter is optional.

    Value range
    This parameter relates to the QMDAT field in the database table QMEL.

    Default
    If a date is not specified (that is, the parameter is not called up),the system uses the current system date.
    If you do call up the parameter, the system checks whether a valid datehas been entered.

    Description
    This table provides a list of all the notifications that fulfill theselection criteria.