Functionality This BAPI allows the selection of consolidation data about SAP users,that is stored in the License Audit Workbench (LAW). The selected usersare output using table ConsUserlist. The selection itself isdetermined using the table Selection_Range. It is possible to selectby user name and user types (license types). The result can becreated as tables with the structure ConsUserlist or as an XMLdocument. Example Report RSLAW_TEST_BAPI Description Returns the number of selected users. Description If an XML document was requested, the size of the document can bespecified in this field. Description You can use this parameter to determine the maximum number of rows inthe set of hits. In this way, you can limit the size of the resulttable Userlist. Value range 0 - 2 **32 -1 Default 0 , No limit Description Formatting of the XML document in accordance with the documentstructure. This is very helpful in test cases. Value range ' ',,Without formatting 'X',,With formatting Default ' ',,Without formatting Description List of the users consolidated by LAW. If consolidation was not possiblefor certain users, the users are listed consecutively. In this case,the field CONS_STATUS is filled with "E" (Error) or "W" (Warning). Description Table for the result of the selection in the form of an XML document.If you restrict the number of lines, the result set may beprematurely closed. Description Standard BAPI return table. It contains all error messages thatoccurred during 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: BAPI structure &1 does not exist
- Internal error at &1, &2
Description Table containing the selection parameters. This is an extended RANGEtable. The name of a field from the BAPILAWCONSUSER structure isentered in the PARAMETER field, if this attribute is to used forselection. All other fields are the normal fields for RANGE tables. Thefollowing fields can be used for selection:
|