Fonction SAP BAPI_INTERNALORDER_GETLIST - Display list of internal orders according to various criteria

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CONTROLLING_AREA BAPI2075_2-CO_AREA C 4 X Controlling Area
ORDER BAPI2075_2-ORDER C 12 X Order Number (Single Value or Lower Limit)
ORDER_EXTERNAL_NO BAPI2075_2-EXT_ORD_NO C 20 X External Order Number (Single Value or Lower Limit)
ORDER_EXTERNAL_NO_TO BAPI2075_2-EXT_ORD_NO C 20 X External Order Number (Upper Limit)
ORDER_TO BAPI2075_2-ORDER C 12 X Order Number (Upper Limit)
ORDER_TYPE BAPI2075_2-ORDER_TYPE C 4 X Order Type
RESP_COST_CENTER BAPI2075_2-RESPCCTR C 10 X Responsible Cost Center

Paramètre Reférence Type Long. Description
RETURN BAPIRETURN u 452 Structure with Return Information

Paramètre Reférence Long. Facultatif Description
ORDER_LIST BAPI2075_1 78 X List of Selected Orders

Functionality
This method allows you to select internal orders (category "01" and"2") using various criteria. This includes capital investment orders.
The System returns a table of all orders found.
You can combine selection criteria as desired. However, you mustinclude limiting requirements; you cannot select all internal orderssimultaneously.

Notes
The user must have a read authorization for the desired order type inthe desired status. Without it, the list does not display thecorresponding orders.
Some criteria support selection intervals. The different combinationsof upper and lower limits have the following effects:
ORDER,,ORDER_TO,,Effect
SPACE,,SPACE (Default),,No limiting effect
123456,,SPACE,,Only order 123456 is selected
123456,,234567,,All orders between 123456
,,,,and 234567 selected
SPACE,,234567,,All orders between 0000000
,,,,and 2324567 selected
Messages are sent using the RETURN parameter. You can find the returnvalues and their significance in this parameter documentation.

Description
The RETURN structure has the following data elements:
Field,,SAP Data Element,,Short Description
TYPE,,BAPI_MTYPE,,Message type
CODE,,BAPI_RCODE,,Message code
MESSAGE,,BAPI_MSG,,Message text
LOG_NO,,Not used here
LOG_MSG_NO,,Not used here

Description
Controlling area

Description
Order number

Description
External order number

Description
To external order number

Description
To order number

Description
Order type

Description
Responsible cost center

Description
The ORDERLIST table has the following data elements:
Field,,SAP Data Element,,Short Description
ORDER,,AUFNR,,Order number
OBJ_NO,,J_OBJNR,,Object number
ORDER_TYPE,,AUfART,,Order type
SHORT_TEXT,,AUFTEXT,,Short text

353492BAPI_INTERNALORDER... exception/message handling