Fonction SAP BAPI_LAWUSERPERS_GETLIST - Select LAW Personalization Objects for User

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

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

Paramètre Reférence Long. Facultatif Description
RETURN BAPIRET2 548 X Return Parameter
SELECTION_RANGE BAPILAWRGE_USRP 123 X BAPI Structure for Selection with the Range Table
USERPERSLIST BAPILAWUSERPERS 210 X BAPI Structure: LAW User with Personalization Object
USERPERSLIST_XML BAPILAWXMLDOC 128 X License Administration Workbench: Structure for Output as XML Document

Functionality
This BAPI allows the selection of personalization objects for SAP usersthat are stored in the License Audit Workbench (LAW). The selectedobjects are output using the table Userperslist. The selection itself isdetermined using the table Selection_Range. In this way, you can selectby systems<(>,<)> users, and objects known in the LAW. The result can begenerated as tables with the structure Userperslist or as an XMLdocument.

Example
Report RSLAW_BAPI_TEST

Description
Returns the number of selected personalization objects.

Description
If an XML document was requested, the size of this document is specifiedin 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 resultstable Userlist.

Value range
0 - 2 **32 -1

Default
0 , no limit

Description
Standard BAPI return table. Contains all error messages that occurredduring processing.

Value range
The following error messages are possible:

  • You are not authorized to display LAW data

  • Selection row 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 BAPILAWUSERPERS structure is enteredin the PARAMETER field if this attribute is to be used for selection.All other fields are the usual fields for RANGE tables. You can use allfields for selection.
    Note: For systems that have not yet been assigned a unique system number(SYSTEM_NO), a system is identified using the three fields INST_NO,SAP_SYSTEM, and HW_KEY.

    Description
    Table containing the result of the selection. If you have restricted thenumber of rows, the set of results may have been prematurely closed.

    Description
    Result of the selection as an XML document. If you restricted the numberof rows, the set of results may have been prematurely closed.