SAP ABAP Class CL_LAW_GROUPING (Group SAP Users by Certain Criteria)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-SRV-LIM (Application Component) License Measurement
⤷ SLIM2 (Package) License Administration Workbench
⤷ BC-SRV-LIM (Application Component) License Measurement
⤷ SLIM2 (Package) License Administration Workbench
Properties
Class | CL_LAW_GROUPING | |
Short Description | Group SAP Users by Certain Criteria | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | LAW_MESSAGES | |
Program status | P | SAP Standard Production Program |
Category | 0 | |
Package | SLIM2 | License Administration Workbench |
Created | 20031024 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
Class CL_LAW_GROUPING has no forward declaration.
Interfaces
Class CL_LAW_GROUPING has no interface implemented.
Friends
Class CL_LAW_GROUPING has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MC_FIELD_ACCNT | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'ACCNT' | 20031027 | ||
2 | MC_FIELD_ADRESS1 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'ADRESS1' | 20040205 | ||
3 | MC_FIELD_ADRESS2 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'ADRESS2' | 20040205 | ||
4 | MC_FIELD_BNAME | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'BNAME' | 20031027 | ||
5 | MC_FIELD_EMAIL_ADDR | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'EMAIL_ADDR' | 20031027 | ||
6 | MC_FIELD_PERS | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'PERS_' | 20031111 | ||
7 | MC_FIELD_PERS_1 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'PERS_1' | 20031027 | ||
8 | MC_FIELD_PERS_2 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'PERS_2' | 20031027 | ||
9 | MC_FIELD_PERS_3 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'PERS_3' | 20031027 | ||
10 | MC_FIELD_PERS_4 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'PERS_4' | 20031027 | ||
11 | MC_FIELD_PERS_5 | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'PERS_5' | 20031027 | ||
12 | MC_FIELD_TELNR | Constant | Private | Type reference (TYPE) | LAWSORTFLD | 'TELNR' | 20031027 | ||
13 | MC_GROUPING_AUTOMATICALLY | Constant | Public | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'AUTOMATICALLY' | 20031024 | ||
14 | MC_GROUPING_BY_ACCNT | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'ACCNT' | Measurement Data Key | 20031024 | |
15 | MC_GROUPING_BY_ADDRESS | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'ADDRESS' | Measurement Data Key | 20031024 | |
16 | MC_GROUPING_BY_BNAME | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'BNAME' | Measurement Data Key | 20031024 | |
17 | MC_GROUPING_BY_CUST_PERS | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUST_PERS' | 20031024 | ||
18 | MC_GROUPING_BY_EMAIL | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'EMAIL' | Measurement Data Key | 20031024 | |
19 | MC_GROUPING_BY_PERS_NAME | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUSTPERS_%' | 20031024 | ||
20 | MC_GROUPING_BY_PERS_NAME1 | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUSTPERS_1' | 20031024 | ||
21 | MC_GROUPING_BY_PERS_NAME2 | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUSTPERS_2' | 20031024 | ||
22 | MC_GROUPING_BY_PERS_NAME3 | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUSTPERS_3' | 20031024 | ||
23 | MC_GROUPING_BY_PERS_NAME4 | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUSTPERS_4' | 20031024 | ||
24 | MC_GROUPING_BY_PERS_NAME5 | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'CUSTPERS_5' | 20031024 | ||
25 | MC_GROUPING_BY_TELNR | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'TELNO' | Measurement Data Key | 20031024 | |
26 | MC_GROUPING_DATE | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'DATE' | 20031024 | ||
27 | MC_GROUPING_LAST_AUTO_SORT | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'AUTO_SORT' | 20031024 | ||
28 | MC_GROUPING_LAST_MODE | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'LAST_MODE' | 20031024 | ||
29 | MC_GROUPING_LAST_TOOL | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'OLD_LIST' | 20031024 | ||
30 | MC_GROUPING_MAIN_KEY | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'GROUPING' | 20031024 | ||
31 | MC_GROUPING_MANUAL | Constant | Public | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'MANUAL' | 20031024 | ||
32 | MC_GROUPING_MAX_ID | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'MAX_ID' | 20031024 | ||
33 | MC_GROUPING_NONE | Constant | Public | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'NONE' | 20031024 | ||
34 | MC_GROUPING_TIME | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'TIME' | 20031024 | ||
35 | MC_GROUPING_TRANSACTION | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'TCODE' | 20031024 | ||
36 | MC_GROUPING_USER | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_KEY_L | 'USER' | 20031024 | ||
37 | MC_GROUPING_WITH_ALV_LIST | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'ALV_LIST' | 20031024 | ||
38 | MC_GROUPING_WITH_OLD_LIST | Constant | Private | Type reference (TYPE) | LAW_PARAM-SYM_VAL_L | 'ALV_LIST' | 20031024 | ||
39 | MC_GROUP_ATTR | Constant | Public | Type reference (TYPE) | X | 4 | Operation Code: Save Grouping Attributes | 20031030 | |
40 | MC_GROUP_COMMON | Constant | Public | Type reference (TYPE) | X | 1 | Operation Code: Save Data for Last Grouping | 20031030 | |
41 | MC_GROUP_UNIQUE_ID | Constant | Public | Type reference (TYPE) | X | 2 | Operating Code: Save UNIQUE_ID | 20031030 | |
42 | MS_GROUPING | Instance attribute | Private | Type reference (TYPE) | LAW_GROUPING_PARAMETERS | Grouping Parameters | 20031029 | ||
43 | MT_GROUPING_FIELDS | Instance attribute | Private | Type reference (TYPE) | LAW_T_SORTFIE | Table of Grouping Fields | 20031024 | ||
44 | MT_PERS_KEYS | Instance attribute | Private | Type reference (TYPE) | LAW_T_SORTFIE | Table of Keys for Personalization Objects | 20031029 | ||
45 | M_GROUP_LAW | Instance attribute | Private | Type reference (TYPE) | SAP_BOOL | Group Consolidation | 20041222 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CHECK_FOR_PERS_GROUPING | Instance method | Private | Method | Check whether Personalization Objects Are Used | 20031111 |
2 | CHECK_PERS_PARAMETERS | Static method | Public | Method | Check Grouping Parameter Personalization | 20031120 |
3 | CLEAR_PERS_PARAMETERS | Static method | Public | Method | Delete Grouping Parameter Personalization | 20050201 |
4 | CREATE_PERS_KEYTABLE | Instance method | Private | Method | Build Key Table for Personalization Object | 20031029 |
5 | CREATE_STRUCT_TYPE | Instance method | Private | Method | Create Suitable Key Structure for the Comparison | 20031027 |
6 | DO_USER_GROUPING | Instance method | Public | Method | Perform Grouping | 20031024 |
7 | DO_USER_GROUPING_WITHOUT_PERS | Instance method | Private | Method | Perform Grouping Without Personalization Objects | 20031111 |
8 | GET_GROUPING_PARAMETERS | Static method | Public | Method | Read Grouping Parameters | 20031024 |
9 | GET_NUMBER_OF_PERS_PARAMETERS | Static method | Public | Method | Number of Grouping Parameter Personalizations | 20031119 |
10 | GET_PERS_INDEX | Instance method | Private | Method | Determine Index for a Personalization Object | 20031029 |
11 | GET_PERS_NAME_PARAMETERS | Static method | Public | Method | Names of the Personalization Grouping Parameters | 20060126 |
12 | GET_PERS_PARAMETERS | Static method | Public | Method | Read Grouping Parameters Personalization | 20031029 |
13 | PREPARE_GROUPING | Instance method | Private | Method | Structure of Entire Table with Personalization Data | 20031029 |
14 | SET_GROUPING_PARAMETERS | Static method | Public | Method | Save Grouping Parameters | 20031030 |
15 | SET_PERS_PARAMETERS | Static method | Public | Method | Save Grouping Parameters Personalization | 20031029 |
Events
Class CL_LAW_GROUPING has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | LAW_S_USER | Private | See coding | 20040414 | BEGIN OF law_s_user,
bname TYPE law_unique-bname,
adress2 TYPE law_unique-adress2,
adress1 TYPE law_unique-adress1,
accnt TYPE law_unique-accnt,
email_addr TYPE law_unique-email_addr,
telnr TYPE law_unique-telnr,
pers_1 TYPE law_pers-value,
pers_2 TYPE law_pers-value,
pers_3 TYPE law_pers-value,
pers_4 TYPE law_pers-value,
pers_5 TYPE law_pers-value,
END OF law_s_user
|
||
2 | LAW_T_GROUPING | Private | See coding | 20040414 | law_t_grouping type sorted table of law_grouping
with unique key sysid instno hwkey cmandt bname
|
Method Signatures
Method CHECK_FOR_PERS_GROUPING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_RESULT | Value transfer | Type reference (TYPE) | AS4FLAG | 20031111 | |||
2 | Importing | IT_GROUPING_FIELDS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | 20031111 |
Method CHECK_FOR_PERS_GROUPING on class CL_LAW_GROUPING has no exception.
Method CHECK_PERS_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_RC | Value transfer | Type reference (TYPE) | SY-SUBRC | 20031120 | |||
2 | Importing | I_PERS_BOX_1 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 1 | 20031120 | ||
3 | Importing | I_PERS_BOX_2 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 2 | 20031120 | ||
4 | Importing | I_PERS_BOX_3 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 3 | 20031120 | ||
5 | Importing | I_PERS_BOX_4 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 4 | 20031120 | ||
6 | Importing | I_PERS_BOX_5 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 5 | 20031120 | ||
7 | Importing | I_PERS_VAL_1 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 1 | 20031120 | ||
8 | Importing | I_PERS_VAL_2 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 2 | 20031120 | ||
9 | Importing | I_PERS_VAL_3 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 3 | 20031120 | ||
10 | Importing | I_PERS_VAL_4 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 4 | 20031120 | ||
11 | Importing | I_PERS_VAL_5 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 5 | 20031120 |
Method CHECK_PERS_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method CLEAR_PERS_PARAMETERS Signature
Method CLEAR_PERS_PARAMETERS on class CL_LAW_GROUPING has no parameter.
Method CLEAR_PERS_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method CREATE_PERS_KEYTABLE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_GROUPING_FIELDS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | 20031029 |
Method CREATE_PERS_KEYTABLE on class CL_LAW_GROUPING has no exception.
Method CREATE_STRUCT_TYPE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | E_COLUMN_SYNTAX | Call by reference | Type reference (TYPE) | STRING | ORDER BY Klausel | 20031028 | ||
2 | Exporting | E_STRUCT_TYPE | Call by reference | Object reference (TYPE REF TO) | CL_ABAP_STRUCTDESCR | Typ der Schlüsselstruktur | 20031027 | ||
3 | Importing | IT_GROUPING_FIELDS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | Tabelle der Gruppierungsfelder | 20031028 |
Method CREATE_STRUCT_TYPE on class CL_LAW_GROUPING has no exception.
Method DO_USER_GROUPING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | LAW_T_UNIQUE | Ergebnistabelle | 20031028 | ||
2 | Exporting | E_MAX_UNIQUE_ID | Call by reference | Type reference (TYPE) | LAW_UNIQUE-UNIQUE_ID | Höchste verwendete UNIQUE_ID | 20031030 | ||
3 | Exporting | E_MISSED_USERS | Call by reference | Type reference (TYPE) | I | Anzahl der nicht gruppierten Benutzer | 20031028 | ||
4 | Exporting | E_NOTHING_DONE | Call by reference | Type reference (TYPE) | C | Keine Änderung durchgeführt | 20031029 | ||
5 | Importing | IT_GROUPING_FIELDS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | Tabelle der Gruppierungsfelder | 20031028 | ||
6 | Importing | I_SAVE_IN_DB | Value transfer | Type reference (TYPE) | C | ' ' | Gruppierung in Datenbank sichern? | 20031028 |
Method DO_USER_GROUPING on class CL_LAW_GROUPING has no exception.
Method DO_USER_GROUPING_WITHOUT_PERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_RESULT | Call by reference | Type reference (TYPE) | LAW_T_UNIQUE | Ergebnistabelle | 20031111 | ||
2 | Exporting | E_MAX_UNIQUE_ID | Call by reference | Type reference (TYPE) | LAW_UNIQUE-UNIQUE_ID | Höchste verwendete UNIQUE_ID | 20031111 | ||
3 | Exporting | E_MISSED_USERS | Call by reference | Type reference (TYPE) | I | Anzahl der nicht gruppierten Benutzer | 20031111 | ||
4 | Exporting | E_NOTHING_DONE | Call by reference | Type reference (TYPE) | C | Keine Änderung durchgeführt | 20031111 | ||
5 | Importing | IT_GROUPING_FIELDS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | Tabelle der Gruppierungsfelder | 20031111 | ||
6 | Importing | I_SAVE_IN_DB | Value transfer | Type reference (TYPE) | C | ' ' | Gruppierung in Datenbank sichern? | 20031111 |
Method DO_USER_GROUPING_WITHOUT_PERS on class CL_LAW_GROUPING has no exception.
Method GET_GROUPING_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ES_GROUPING | Value transfer | Type reference (TYPE) | LAW_GROUPING_PARAMETERS | 20031024 |
Method GET_GROUPING_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method GET_NUMBER_OF_PERS_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_NUMBER | Value transfer | Type reference (TYPE) | I | 20031119 |
Method GET_NUMBER_OF_PERS_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method GET_PERS_INDEX Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | E_INDEX | Value transfer | Type reference (TYPE) | SY-TABIX | 20031029 | |||
2 | Importing | IS_LAW_JOIN | Call by reference | Type reference (TYPE) | LAW_S_JOIN | 20031029 |
Method GET_PERS_INDEX on class CL_LAW_GROUPING has no exception.
Method GET_PERS_NAME_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_PERS_NAME | Value transfer | Type reference (TYPE) | LAW_T_PERS_NAME | LAW: Tabellentyp zur Struktur LAW_S_PERS_NAME | 20060126 |
Method GET_PERS_NAME_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method GET_PERS_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | ET_PERS_GROUP_PARAM | Value transfer | Type reference (TYPE) | LAW_T_PERS_GROUP_PARAM | 20031029 |
Method GET_PERS_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method PREPARE_GROUPING Signature
Method PREPARE_GROUPING on class CL_LAW_GROUPING has no parameter.
Method PREPARE_GROUPING on class CL_LAW_GROUPING has no exception.
Method SET_GROUPING_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IS_GROUPING | Call by reference | Type reference (TYPE) | LAW_GROUPING_PARAMETERS | Struktur mit allen Gruppierungsparametern | 20031030 | ||
2 | Importing | I_OPCODE | Value transfer | Type reference (TYPE) | X | '7' | Bestimmt den Umfang der Sicherung | 20031030 | |
3 | Importing | I_UNIQUE_MAX_ID | Value transfer | Type reference (TYPE) | LAW_UNIQUE-UNIQUE_ID | Höchste verwendete UNIQUE_ID | 20031030 |
Method SET_GROUPING_PARAMETERS on class CL_LAW_GROUPING has no exception.
Method SET_PERS_PARAMETERS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_PERS_BOX_1 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 1 | 20031029 | ||
2 | Importing | I_PERS_BOX_2 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 2 | 20031029 | ||
3 | Importing | I_PERS_BOX_3 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 3 | 20031029 | ||
4 | Importing | I_PERS_BOX_4 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 4 | 20031029 | ||
5 | Importing | I_PERS_BOX_5 | Call by reference | Type reference (TYPE) | C | Auswahlfeld 5 | 20031029 | ||
6 | Importing | I_PERS_VAL_1 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 1 | 20031029 | ||
7 | Importing | I_PERS_VAL_2 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 2 | 20031029 | ||
8 | Importing | I_PERS_VAL_3 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 3 | 20031029 | ||
9 | Importing | I_PERS_VAL_4 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 4 | 20031029 | ||
10 | Importing | I_PERS_VAL_5 | Call by reference | Type reference (TYPE) | LAW_PERS_VAR | Eingabefeld 5 | 20031029 |
Method SET_PERS_PARAMETERS on class CL_LAW_GROUPING has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 700 |