Fonction SAP BAPI_ALM_ORDERHEAD_GET_LIST - Determination of a List of Maintenance/Service Orders from Selection

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
DISPLAY_PARAMETERS BAPI_ALM_LIST_NAVIGATION_IN u 12 X ALM Order Lists: Parameter for Navigation

Paramètre Reférence Type Long. Description
NAVIGATION_DATA BAPI_ALM_LIST_NAVIGATION_RET u 20 ALM Order Lists: Basic Dates for Navigation

Paramètre Reférence Long. Facultatif Description
ET_RESULT BAPI_ALM_ORDER_LISTHEAD_RESULT 2056 ALM Orders: Order List from Selection
ET_TEMPLATE BAPI_ALM_ORDER_LISTHEAD_RANGES 123 X ALM Order BAPIs: Copy Structure for Selection Parameter
IT_RANGES BAPI_ALM_ORDER_LISTHEAD_RANGES 123 ALM Order BAPIs: Copy Structure for Selection Parameter
RETURN BAPIRET2 548 Return Parameters

Functionality
You can use this method to determine a list of orders according to alist of selection criteria. The number of hits that are produced forthe person calling up the list, can be specifically reduced; withoutfurther parameter transfers, the first 50 hits are displayed.
A complete list of the hits is stored internally. If you call up theselection again within a Logical Unit of Work (LUW) without changingthe selection parameters, but with other refurbishment parameters,then you receive further partial quantities of the selection result, asspecified by you.
However, you can also make a new database selection. Note, however,that such queries are a strain on the database and the sequence of thehits can change after the new selection has been made.

Description
Structured parameter with specifications for hit list (number of hits,hits displayed numbered consecutively as to- and from- specifications,displayed page and last page of the list)

Description
Structured parameter, with which the amount of hits to be output can bedetermined.

Description
Result of the selection, corresponding to the page settings (forexample, hits 21-40 of 103).

Description
Structure constructed by the system and which can be used as a templatefor new entries for selection parameters. This list is reset if theentries in table IT_RANGES are invalid or insufficient.

Default
Only output.

Description
Transfer table for selection parameters for outputting a list of ALMorders.

Value range
In this table you can transfer values for selected parameters orselection options, to determine an order list according to selectedcriteria.
For this, in the field FIELD_NAME enter the description of a parameteror a selection option. The values allowed for parameters correspond tothe names of the components in the structureBAPI_ALM_ORDER_LISTHEAD_PARAMS. You can find the selection optionsallowed in the structure BAPI_ALM_ORDER_LISTHEAD_SELOPS.
If FIELD_NAME represents a selection option, then in the field SIGN youcan determine whether the amount of hits for this criteria should beexcluded from (value 'E' for exclusive) or included ('I' for inclusive)in the hit list. The SIGN field is not interpreted for the parameternames.
The OPTION field is likewise only evaluated for selection options. Herelogical operators corresponding to ABAP syntax ('EQ', 'CP', 'BT' ...)must be used.
In the field LOW_VALUE, either the value for a parameter or a lowerlimit for a selection option (for example, from-value) is expected.
HIGH_VALUE is only evaluated for selection options and is the higherlimit for a selection option (for example, to-value).

Default
You must maintain at least one entry in this table. In certain cases,the system has additional prerequisite parameters to limit the amountof hits: If you have not made any specifications for the parametersSHOW_OPEN_DOCUMENTS, SHOW_DOCUMENTS_IN_PROCESS,SHOW_COMPLETED_DOCUMENTS and SHOW_HISTORICAL_DOCUMENTS, only openedand released orders will be selected. If no specifications for theparameters SHOW_DOCS_WITH_FROM_DATE and SHOW_DOCS_WITH_TO_DATE arecopied, then only orders from the last 90 days are displayed.

Description
Table with error messages, if processing had to be terminated.