SAP ABAP Class CL_LAW_COMMON (Class for Common Methods)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-LIM (Application Component) License Measurement
⤷
SLIM2 (Package) License Administration Workbench
⤷
⤷
Properties
| Class | CL_LAW_COMMON | |
| Short Description | Class for Common Methods | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | LAW_MESSAGES | |
| Program status | ||
| Category | 0 | |
| Package | SLIM2 | License Administration Workbench |
| Created | 20040624 | SAP |
| Last change | 20060703 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_LAW_COMMON has no interface implemented.
Friends
Class CL_LAW_COMMON has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | SY-UCOMM | 'ABBR' | Function code that PAI triggered | 20050407 | ||
| 2 | Constant | Private | Type reference (TYPE) | SY-UCOMM | 'CANCEL' | Function code that PAI triggered | 20040921 | ||
| 3 | Constant | Private | Type reference (TYPE) | SY-UCOMM | 'OKAY' | Function code that PAI triggered | 20050407 | ||
| 4 | Constant | Public | Type reference (TYPE) | CHAR1 | '#' | Standard Delimiter for Variable Fields | 20040804 | ||
| 5 | Constant | Private | Type reference (TYPE) | CHAR2 | '#' | Standard Delimiter with Masking | 20050407 | ||
| 6 | Constant | Private | Type reference (TYPE) | CHAR2 | '\' | Masking | 20050407 | ||
| 7 | Constant | Public | Type reference (TYPE) | SY-UCOMM | 'COMPONENTS' | Systems Tab Page | 20050202 | ||
| 8 | Constant | Public | Type reference (TYPE) | SY-UCOMM | 'GROUPS' | Groups Tab Page | 20050202 | ||
| 9 | Constant | Public | Type reference (TYPE) | SY-UCOMM | 'INBOX' | Inbox Tab Page | 20050202 | ||
| 10 | Constant | Public | Type reference (TYPE) | SY-UCOMM | 'ALOG' | Messages Tab Page | 20050202 | ||
| 11 | Constant | Public | Type reference (TYPE) | SY-UCOMM | 'RESULTS' | Result Tab Page | 20050202 | ||
| 12 | Static Attribute | Private | Type reference (TYPE) | LAW_T_CLIENTS | Table of All Clients in the LAW | 20040624 | |||
| 13 | Static Attribute | Private | Type reference (TYPE) | LAW_T_SYSTEMS | Table of All Systems in the LAW | 20040624 | |||
| 14 | Static Attribute | Private | Type reference (TYPE) | T_TUTYP | Table of the User Types | 20040707 | |||
| 15 | Static Attribute | Private | Type reference (TYPE) | T_TUZUS | Table of the Special Surcharges | 20040707 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | SY-DYNNR | Current Screen Number | 20040921 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | TCDAT_TAB_HANDLE | Tab Control Handle | 20040921 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | SY-CPROG | Calling Program | 20040921 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Build Various Help Tables | 20040624 | |
| 2 | Static method | Public | Method | Build Table of Forbidden Functions | 20050202 | |
| 3 | Static method | Public | Method | Create List with Personalization Data | 20040624 | |
| 4 | Instance method | Public | Constructor | Constructor | 20050407 | |
| 5 | Static method | Public | Method | Write Entry to the Error Log | 20040806 | |
| 6 | Static method | Public | Method | Build Key Table for Personalization Object | 20040625 | |
| 7 | Static method | Public | Method | 20051117 | ||
| 8 | Static method | Public | Method | Generate Transfer Log | 20050114 | |
| 9 | Static method | Public | Method | Generate Generic Table Control | 20040922 | |
| 10 | Instance method | Public | Method | Obtain Client's Role | 20040624 | |
| 11 | Static method | Public | Method | Obtain Type of Classification of a User | 20040929 | |
| 12 | Static method | Public | Method | Determine the Common Data for a Grouped User | 20040624 | |
| 13 | Static method | Public | Method | Determine Name(s) of Active Consolidation Group(s) | 20050405 | |
| 14 | Static method | Private | Method | Determine Index for a Personalization Object | 20040624 | |
| 15 | Instance method | Public | Method | Obtain System Number | 20040624 | |
| 16 | Static method | Public | Method | Determine Systems for the Active Consolidation Groups | 20041222 | |
| 17 | Instance method | Public | Method | Determine Text for a Special Version | 20040707 | |
| 18 | Instance method | Public | Method | Determine Text for a User Type | 20040707 | |
| 19 | Static method | Public | Method | Check whether group consolidation is active | 20050405 | |
| 20 | Static method | Public | Method | Get Information About the Status of the Processing | 20040624 | |
| 21 | Static method | Public | Method | Split Long Message Over Multiple Lines | 20051117 |
Events
Class CL_LAW_COMMON has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | GENERIC_S_TYPE | Private | See coding | Generic Type for Table Control | 20040921 | GENERIC_S_TYPE(8192) type x
|
|
| 2 | GENERIC_T_TYPE | Private | See coding | Generic Table Type for Table Control | 20040921 | GENERIC_T_TYPE type table of generic_s_type
|
|
| 3 | LAW_T_CLIENTS | Private | See coding | Table of All Clients in the LAW | 20040624 | LAW_T_CLIENTS type table of BAPILAWCLIENT
|
|
| 4 | LAW_T_SYSTEMS | Private | See coding | Table of All Systems in the LAW | 20040624 | LAW_T_SYSTEMS type table of BAPILAWSYSTEM
|
|
| 5 | T_TUTYP | Private | See coding | Table of the User Types | 20040707 | t_tutyp TYPE TABLE OF tutyp
|
|
| 6 | T_TUZUS | Private | See coding | Table of the Special Surcharges | 20040707 | t_tuzus TYPE TABLE OF tuzus
|
Method Signatures
Method BUILD_AUX_TABLES Signature
Method BUILD_AUX_TABLES on class CL_LAW_COMMON has no parameter.
Method BUILD_AUX_TABLES on class CL_LAW_COMMON has no exception.
Method BUILD_EXCLUDE_TABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_EXCL | Value transfer | Type reference (TYPE) | LVC_T_EXCL | Excluding-Tabelle für GUI-Status | 20050202 | |||
| 2 | I_GROUPS | Call by reference | Type reference (TYPE) | SAP_BOOL | Gruppenkonsolidierung aktiv | 20050202 | |||
| 3 | I_LOCKED | Call by reference | Type reference (TYPE) | SAP_BOOL | LAW gesperrt (Lese-Modus) | 20050202 | |||
| 4 | I_TAB_PAGE | Call by reference | Type reference (TYPE) | SYUCOMM | Funktionscode des Reiters | 20050202 |
Method BUILD_EXCLUDE_TABLE on class CL_LAW_COMMON has no exception.
Method BUILD_TABLE_WITH_PERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_GROUPING | Call by reference | Type reference (TYPE) | LAW_T_GROUPING | Temporäre Tabelle zur Gruppierung von Benutzern | 20040624 | |||
| 2 | E_MAX_PERS | Call by reference | Type reference (TYPE) | I | Anzahl der Personalisierungsfelder | 20040624 | |||
| 3 | IT_PERS_KEYS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | Tabelle der Gruppierungsfelder (Sortierfelder) | 20040624 |
Method BUILD_TABLE_WITH_PERS on class CL_LAW_COMMON has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_LAW_COMMON has no parameter.
Method CONSTRUCTOR on class CL_LAW_COMMON has no exception.
Method CREATE_ERROR_LOG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IS_MESSAGE | Call by reference | Type reference (TYPE) | RSUVM_MSG | Beschreibung einer Nachricht | 20040806 |
Method CREATE_ERROR_LOG on class CL_LAW_COMMON has no exception.
Method CREATE_PERS_KEYTABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_PERS_KEYS | Value transfer | Type reference (TYPE) | LAW_T_SORTFIE | Tabelle der Gruppierungsfelder (Sortierfelder) | 20040625 | |||
| 2 | IT_PERS_GROUPING | Call by reference | Type reference (TYPE) | LAW_T_PERS_GROUP_PARAM | Tabelle der Gruppierungsparameter Personalisierung | 20040625 |
Method CREATE_PERS_KEYTABLE on class CL_LAW_COMMON has no exception.
Method CREATE_RETURN_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_RETURN | Value transfer | Type reference (TYPE) | BAPIRET2 | Returnparameter | 20051117 | |||
| 2 | I_MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20051117 | |||
| 3 | I_MSGV1 | Call by reference | Type reference (TYPE) | C | Nachrichtenvariable | 20051117 | |||
| 4 | I_MSGV2 | Call by reference | Type reference (TYPE) | C | Nachrichtenvariable | 20051117 | |||
| 5 | I_MSGV3 | Call by reference | Type reference (TYPE) | C | Nachrichtenvariable | 20051117 | |||
| 6 | I_MSGV4 | Call by reference | Type reference (TYPE) | C | Nachrichtenvariable | 20051117 | |||
| 7 | I_SYSTEM | Call by reference | Type reference (TYPE) | C | Systemname | 20051117 |
Method CREATE_RETURN_LINE on class CL_LAW_COMMON has no exception.
Method CREATE_TRANSFER_DOCUMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | CL_DD_DOCUMENT | Dynamische Dokumente: Dokument | 20050114 |
Method CREATE_TRANSFER_DOCUMENT on class CL_LAW_COMMON has no exception.
Method GENERATE_TABLE_CONTROL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Generischer Tabellentyp für Table-Control | 20040922 | |||
| 2 | IT_DATA_TABLE | Call by reference | Object reference (TYPE REF TO) | DATA | Generischer Tabellentyp für Table-Control | 20040922 | |||
| 3 | I_DD_TYPENAME | Call by reference | Type reference (TYPE) | TYPENAME | Name des Dictionary Typs | 20040922 | |||
| 4 | I_HEADER | Call by reference | Type reference (TYPE) | C | Titel des Table Control | 20040922 | |||
| 5 | I_MAXWIDTH | Call by reference | Type reference (TYPE) | I | 60 | Maximale Breite des TC | 20040923 | ||
| 6 | I_NO_BUTTON | Call by reference | Type reference (TYPE) | AS4FLAG | ' ' | Keine Funktionen anzeigen | 20040922 | ||
| 7 | I_SELECT_SINGLE | Call by reference | Type reference (TYPE) | AS4FLAG | ' ' | Nur Einzelselektion | 20040922 |
Method GENERATE_TABLE_CONTROL on class CL_LAW_COMMON has no exception.
Method GET_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLIENT | Call by reference | Type reference (TYPE) | CMANDT | Property für Session Manager | 20040624 | |||
| 2 | I_SYSNUMBER | Call by reference | Type reference (TYPE) | LAW_SYSID | Eindeutige System-ID von saplicense | 20040624 | |||
| 3 | R_CATEGORY | Value transfer | Type reference (TYPE) | LAW_CL_STAT | Client Control: Rolle des Mandanten (Productive, Test,...) | 20040624 |
Method GET_CATEGORY on class CL_LAW_COMMON has no exception.
Method GET_CLASSIFICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLASS | Call by reference | Type reference (TYPE) | LAW_UNIQUE-CLASS_TYPE | Art der Benutzerklassifizierung (Kurzform) | 20040929 | |||
| 2 | R_CLASS_TXT | Value transfer | Type reference (TYPE) | LAW_CLASS_TYPE | Art der Benutzerklassifizierung (Text) | 20040929 |
Method GET_CLASSIFICATION on class CL_LAW_COMMON has no exception.
Method GET_COMMON_DATA_OF_USERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CT_UNIQUE_INDEX | Call by reference | Type reference (TYPE) | LAW_T_UNIQUE_INDEX | LAW: Tabelle Gruppenindex auf die UNIQUE-Tabelle | 20040624 | |||
| 2 | E_ACCNT | Call by reference | Type reference (TYPE) | XUACCNT | Account-Id | 20040624 | |||
| 3 | E_ADRESS1 | Call by reference | Type reference (TYPE) | XUNAME1 | Name des Benutzers innerhalb der Firma | 20040624 | |||
| 4 | E_ADRESS2 | Call by reference | Type reference (TYPE) | XUNAME1 | Name des Benutzers innerhalb der Firma | 20040624 | |||
| 5 | E_EMAIL_ADDR | Call by reference | Type reference (TYPE) | AD_SMTPADR | E-Mail-Adresse | 20040624 | |||
| 6 | E_ERDAT | Call by reference | Type reference (TYPE) | XUERDAT | Anlegedatum des Benutzerstamms | 20040624 | |||
| 7 | E_KOSTL | Call by reference | Type reference (TYPE) | XUKOSTL | Kostenstelle | 20040624 | |||
| 8 | E_PERS_1 | Call by reference | Type reference (TYPE) | LAW_PERS_VAL | LAW: Wert einer Personalisierungs-Variable | 20040625 | |||
| 9 | E_PERS_2 | Call by reference | Type reference (TYPE) | LAW_PERS_VAL | LAW: Wert einer Personalisierungs-Variable | 20040625 | |||
| 10 | E_PERS_3 | Call by reference | Type reference (TYPE) | LAW_PERS_VAL | LAW: Wert einer Personalisierungs-Variable | 20040625 | |||
| 11 | E_PERS_4 | Call by reference | Type reference (TYPE) | LAW_PERS_VAL | LAW: Wert einer Personalisierungs-Variable | 20040625 | |||
| 12 | E_PERS_5 | Call by reference | Type reference (TYPE) | LAW_PERS_VAL | LAW: Wert einer Personalisierungs-Variable | 20040625 | |||
| 13 | E_TELNR | Call by reference | Type reference (TYPE) | XUTELNR | Telefonnummer, geschaeftlich | 20040624 | |||
| 14 | IT_LAW_GROUPING | Call by reference | Type reference (TYPE) | LAW_T_GROUPING | Temporäre Tabelle zur Gruppierung von Benutzern | 20040624 | |||
| 15 | I_UNIQUE_ID | Call by reference | Type reference (TYPE) | LAW_UNIQUE_ID | LAW: eindeutige Identifikation innerhalb der LAW | 20040624 |
Method GET_COMMON_DATA_OF_USERS on class CL_LAW_COMMON has no exception.
Method GET_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_VALUE | Value transfer | Type reference (TYPE) | STRING | 20050405 |
Method GET_GROUPS on class CL_LAW_COMMON has no exception.
Method GET_PERS_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_INDEX | Call by reference | Type reference (TYPE) | SY-TABIX | Interne Tabellen, aktueller Zeilenindex | 20040624 | |||
| 2 | IS_LAW_JOIN | Call by reference | Type reference (TYPE) | LAW_S_JOIN | LAW: Join-Struktur für UNIQUE und PERS | 20040624 | |||
| 3 | IT_PERS_KEYS | Call by reference | Type reference (TYPE) | LAW_T_SORTFIE | Tabelle der Gruppierungsfelder (Sortierfelder) | 20040624 |
Method GET_PERS_INDEX on class CL_LAW_COMMON has no exception.
Method GET_SYSNUMBER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_HWKEY | Call by reference | Type reference (TYPE) | HWKEY | Hardwarekey | 20040624 | |||
| 2 | I_INSTNO | Call by reference | Type reference (TYPE) | INSTNUMBER | Installationsnummer | 20040624 | |||
| 3 | I_SYSID | Call by reference | Type reference (TYPE) | SYSYSID | R/3-System, Name des R/3-Systems | 20040624 | |||
| 4 | R_SYSNUMBER | Value transfer | Type reference (TYPE) | LAW_SYSID | Eindeutige System-ID von saplicense | 20040624 |
Method GET_SYSNUMBER on class CL_LAW_COMMON has no exception.
Method GET_SYSTEMS_OF_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_LAWKEYS | Value transfer | Type reference (TYPE) | LAW_T_LAWKEY | LAW: Tabelle mit Systemidentifikationsdaten | 20041222 |
Method GET_SYSTEMS_OF_GROUPS on class CL_LAW_COMMON has no exception.
Method GET_TEXT_FOR_SPECIAL_VERSION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SPEC_VERS_TEXT | Value transfer | Type reference (TYPE) | TUZUS-TEXTSVERS | Kurztext Sonderversion | 20040707 | |||
| 2 | I_SPEC_VERS | Call by reference | Type reference (TYPE) | LAW_UNIQUE-SPEC_VERS | Zuordnung zu Sonderversion | 20040707 |
Method GET_TEXT_FOR_SPECIAL_VERSION on class CL_LAW_COMMON has no exception.
Method GET_TEXT_FOR_UTYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LIC_TYPE_TEXT | Value transfer | Type reference (TYPE) | TUTYP-UTYPTEXT | Kurztext für die Usertypen | 20040707 | |||
| 2 | I_LIC_TYPE | Call by reference | Type reference (TYPE) | LAW_UNIQUE-LIC_TYPE | ID für die Nutzertypen des R/3-Systems | 20040707 |
Method GET_TEXT_FOR_UTYPE on class CL_LAW_COMMON has no exception.
Method LAW_WITH_GROUPS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | O_VALUE | Value transfer | Type reference (TYPE) | SAP_BOOL | boolsche Variable (X=true, space=false) | 20050405 |
Method LAW_WITH_GROUPS on class CL_LAW_COMMON has no exception.
Method SAPGUI_PROGRESS_SEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PERCENTAGE | Call by reference | Type reference (TYPE) | I | 0 | Fortschrittsanzeige (0 <= x <= 100) | 20040624 | ||
| 2 | I_TEXT | Call by reference | Type reference (TYPE) | C | 20040624 |
Method SAPGUI_PROGRESS_SEND on class CL_LAW_COMMON has no exception.
Method SPLIT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_MSG_LINE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20051117 | ||||
| 2 | I_MAX_LINE | Call by reference | Type reference (TYPE) | I | 20051117 | ||||
| 3 | I_STRING | Call by reference | Type reference (TYPE) | STRING | 20051117 |
Method SPLIT_MESSAGE on class CL_LAW_COMMON has no exception.
History
| Last changed by/on | SAP | 20060703 |
| SAP Release Created in | 700 |