Fonction SAP BAPI_PRODORDCONF_GETLIST - Confirmations List

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
OPERATION BAPI_PP_CONFIRM-OPERATION C 4 X Operation
SEQUENCE BAPI_PP_CONFIRM-SEQUENCE C 6 X Sequence
SUBOPERATION BAPI_PP_CONFIRM-SUB_OPER C 4 X Suboperation

Paramètre Reférence Type Long. Description
RETURN BAPIRET1 u 470 Return parameter

Paramètre Reférence Long. Facultatif Description
CONFIRMATIONS BAPI_PP_CONF_KEY 155 Keys of Selected Confirmations
CONF_RANGE BAPI_PP_CONFRANGE 23 X Confirmations to be selected
ORDER_RANGE BAPI_PP_ORDERRANGE 27 X Orders to be selected

Functionality
This method lists all the confirmations that fulfill pre-definedseletion criteria. All the key data for the confirmation and theconfirmed object, such as order, sequence, operation and sub-operationis displayed in the list. The administrative data for the confirmation,such as confirmation date and time, person confirming, record type ofthe confirmation is also displayed.

Example
All confirmation for the orders with order numbers 100111 bis 100222are to be listed.
Call the method:
DATA: AUFNR_TAB LIKE BAPI_PP_ORDERRANGE OCCURS 2 WITH HEADER LINE,
CONF_TAB LIKE BAPI_PP_CONF_KEY OCCURS 20 WITH HEADER LINE.
DATA: I_RETURN LIKE BAPIRET1.
REFRESH: AUFNR_TAB.
AUFNR_TAB-SIGN = 'I'.
AUFNR_TAB-OPTION = 'BT'.
AUFNR_TAB-LOW = '000000100111'.
AUFNR_TAB-HIGH = '000000100222'.
APPEND AUFNR_TAB.
CALL FUNCTION 'BAPI_PRODORDCONF_GETLIST'
IMPORTING
RETURN = I_RETURN
TABLES
ORDER_RANGE = AUFNR_TAB
CONFIRMATIONS = CONF_TAB.

Notes
The selection criteria can be transfered as

  • Individual values (for example, Parameter OPERATION)

  • Intervals (for example, ORDER_RANGE and CONF_RANGE)

  • If no limiting conditions are entered, all the confirmations aredisplayed in a list.
    Note that selection criteria can only successfully select objects, ifthey do not contain any contradictions. For example, no confirmationscan be found in a production order, if you enter an operation as aparameter that does not exist in the order.
    If no confirmations could be found for selection criteria you enetered,you receive the relevant information in the RETURN parameter.

    Description
    The Return parameter is only filled if no confirmation has been foundthat fulfills the transferred selection requirements.
    Otherwise, the Return parameter is returned with initial values.

    Description
    Operation in an order, for which existing confirmations are to beprovided.

    Description
    Number of the sequence in an order, for which existing confirmationsfor the assigned operations are to be provided.

    Description
    Sub-operation in an order, for which existing confirmations are to beprovided.

    Description
    The Confirmations table provides key data, and also someselected detail data, for all selected confirmations.

    Description
    Confirmations that are to be included in the selection can be providedin the CONF_RANGE range table.

    Description
    Orders that are to be considered for confirmation selection can beprovided in the ORDER_RANGE range table.