Fonction SAP BAPI_SERVICENOTIFICAT_GETLIST - Select service notifications according to customer or contact person

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPLETE BAPI2080_2-COMPLETE C 1 'X' X Completed notifications
CUSTOMERNO BAPI100601-CUSTMR_NO C 10 Customer number
NOTIFICATION_DATE BAPI2080_1-NOTIFDATE D 8 SY-DATUM X Notification date
PARTNER BAPIIHPA-PAR_NUM N 10 X Partners
PARTNERFUNCTION BAPIIHPA-PAR_FUNCT C 2 X Partner function
PARTNER_USER BAPI_IHPA-PARTNER C 12 X Partner

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 BAPI2080_1 420 Table of service notifications

Functionality
This method selects service notifications assigned to a customer. Forthis, the following data is used as selection criteria:

  • the customer that is maintained in the service notification

  • the notification date whereupon all notifications are selected, whose
  • date is greater than or equal to the data entered
    You can choose to limit the selection using a partner function andpartner number.
    The service notifications are returned. All notifications are selectedregardless of status. You can choose to exclude completed notificationsfrom the selection.

    Notes
    Notifications are returned in the parameter RETURN.

    Description
    INCLUDE PM_TX_BAPI_RETURN OBJECT DOKU ID TX

    Description
    This parameter specifies whether completed notifcations should be takeninto consideration, in addition to open ones. This parameter isoptional.

    Default
    The default is 'X'. This means that completed notifications are alsoconsidered. Therefore, in this case, the notification status does notplay a role during selection.

    Description
    This parameter specifies the number of the customer for whom the listof notifications should be selected.
    A notification can then only be included in the list if the appropriatecustomer is already maintained there.

    Default
    None.

    Description
    This parameter specifies the date from which notifications should betaken into consideration for the required list. The parameter isoptional.

    Technical note:
    This parameter refers to the field QMDAT in the database table QMEL.

    Default
    The system date (sy-datum) is default. This means that only thenotifications of the present day are taken into consideration.

    Description
    This parameter specifies a partner for the notifications to beselected. The parameter is optional.

    Default
    None.

    Description
    This parameter specifies a partner function for the notifications to beselected. The parameter is optional.

    Default
    None.

    Description
    This field was added to the BAPI to be able to select partners (such asusers) with 12 characters because the PARTNER field has only 10characters.
    The parameter is optional.
    The 10-character PARTNER field must always be filled because it is arequired entry field. PARTNER_USER is only taken into account if bothfields are filled.

    Value range
    This parameter relates to the I_PARNR field.

    Default
    This partner number is initial.
    See TX FU_BAPI_ALM_NOTIF* in A70

    Description
    This table returns the list of all notifications that satisfy theselection criteria.

983752 BAPI notification list: selection with phase