Fonction SAP BAPI_LAWCONSENG_GETLIST - License Administration Workbench: Select Consolidated Engines

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
MAX_ROWS BAPILAWMISC-BAPIMAXROW I 4 0 X Maximum Number of Lines of Hits
PRETTY_PRINT BAPILAWMISC-BAPILAWPTPRINT C 1 ' ' X Formatting of an XML Document (Line Breaks)
WITH_TEXT BAPILAWMISC-BAPILAWTXFL C 1 ' ' X Add Texts to Engines

Paramètre Reférence Type Long. Description
ROWS BAPILAWMISC-BAPIROWS I 4 Number of Selected Rows
SIZE BAPILAWMISC-BAPILAWXMLSIZE I 4 Size of an XML Document

Paramètre Reférence Long. Facultatif Description
CONSENGINELIST BAPILAWCONSENGINE 117 X BAPI Structure: Consolidated Measurement Data for an Engine
CONSENGINELIST_XML BAPILAWXMLDOC 128 X License Administration Workbench: Structure for Output as XML Document
RETURN BAPIRET2 548 X Return Parameter
SELECTION_RANGE BAPILAWRGE_CENG 123 X BAPI Structure for Selection with the Range Table

Functionality
This BAPI allows the selection of engine data that has been consolidatedand stored by the License Administration Workbench (LAW). Theselected engine data is transferred using the ConsEngineListtable. The selection itself is determined using the tableSelection_Range. It is possible to select by engine. The result can begenerated as tables with the structure ConsEngineList or as an XMLdocument.

Example
Report RSLAW_TEST_BAPI

Description
Returns the number of selected engines.

Description
If an XML document was requested, the size of the document is specifiedin this field.

Description
You can use this parameter to determine the maximum number of rows forthe set of hits. In this way, you can limit the size of the resulttable ConsEngineList.

Value range
0 - 2 **32 -1

Default
0 , no limit

Description
Formatting the XML document in accordance with the document structure.Very helpful in test cases.

Value range
' ',,Without formatting
'X',,With formatting

Default
' ',,Without formatting

Description
You can request engine and unit texts with this parameter.

Value range
' ',,No texts
'X',,With texts

Default
' ',,No texts

Description
Table containing the result of the selection. If the number of rowsis restricted, the result set may be prematurely closed.

Description
Table of the result of the selection in the form of an XML document.If the number of lines is restricted, the result set may have beenprematurely closed.

Description
Standard BAPI return table. Contains all error messages thatoccurred during the processing.

Value range
The following error messages are possible:

  • You are not authorized to display LAW data

  • Selection criterion does not contain any parameters

  • Selection criterion <(>&<)>1-&2 is not supported

  • There is no conversion for database field &1

  • Internal error: the BAPI structure &1 does not exist

  • Internal error at &1, &2
  • Description
    Table with the selection parameters. This is an extended RANGE table.The name of a field from the BAPILAWCONSENGINE structure is entered inthe PARAMETER field, if the selection is to be made with this attribute.All others are the usual fields for RANGE tables. The following fieldscan be used for selection:

    • APPLICATION

    • UNIT