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 TCDAT 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 MC_COMMAND_ABORT Constant Private Type reference (TYPE) SY-UCOMM 'ABBR' Function code that PAI triggered 20050407
2 MC_COMMAND_CANCEL Constant Private Type reference (TYPE) SY-UCOMM 'CANCEL' Function code that PAI triggered 20040921
3 MC_COMMAND_OKAY Constant Private Type reference (TYPE) SY-UCOMM 'OKAY' Function code that PAI triggered 20050407
4 MC_DELIMITER Constant Public Type reference (TYPE) CHAR1 '#' Standard Delimiter for Variable Fields 20040804
5 MC_MASK_DELIM Constant Private Type reference (TYPE) CHAR2 '#' Standard Delimiter with Masking 20050407
6 MC_MASK_MASK Constant Private Type reference (TYPE) CHAR2 '\' Masking 20050407
7 MC_TAB_COMPONENTS Constant Public Type reference (TYPE) SY-UCOMM 'COMPONENTS' Systems Tab Page 20050202
8 MC_TAB_GROUPS Constant Public Type reference (TYPE) SY-UCOMM 'GROUPS' Groups Tab Page 20050202
9 MC_TAB_INBOX Constant Public Type reference (TYPE) SY-UCOMM 'INBOX' Inbox Tab Page 20050202
10 MC_TAB_LOG Constant Public Type reference (TYPE) SY-UCOMM 'ALOG' Messages Tab Page 20050202
11 MC_TAB_RESULTS Constant Public Type reference (TYPE) SY-UCOMM 'RESULTS' Result Tab Page 20050202
12 MT_CLIENTS Static Attribute Private Type reference (TYPE) LAW_T_CLIENTS Table of All Clients in the LAW 20040624
13 MT_SYSTEMS Static Attribute Private Type reference (TYPE) LAW_T_SYSTEMS Table of All Systems in the LAW 20040624
14 MT_TUTYP Static Attribute Private Type reference (TYPE) T_TUTYP Table of the User Types 20040707
15 MT_TUZUS Static Attribute Private Type reference (TYPE) T_TUZUS Table of the Special Surcharges 20040707
16 M_TAB_DYNSUB Instance attribute Private Type reference (TYPE) SY-DYNNR Current Screen Number 20040921
17 M_TAB_HANDLE Instance attribute Private Type reference (TYPE) TCDAT_TAB_HANDLE Tab Control Handle 20040921
18 M_TAB_PROGRAM Instance attribute Private Type reference (TYPE) SY-CPROG Calling Program 20040921
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_AUX_TABLES Static method Private Method Build Various Help Tables 20040624
2 BUILD_EXCLUDE_TABLE Static method Public Method Build Table of Forbidden Functions 20050202
3 BUILD_TABLE_WITH_PERS Static method Public Method Create List with Personalization Data 20040624
4 CONSTRUCTOR Instance method Public Constructor Constructor 20050407
5 CREATE_ERROR_LOG Static method Public Method Write Entry to the Error Log 20040806
6 CREATE_PERS_KEYTABLE Static method Public Method Build Key Table for Personalization Object 20040625
7 CREATE_RETURN_LINE Static method Public Method 20051117
8 CREATE_TRANSFER_DOCUMENT Static method Public Method Generate Transfer Log 20050114
9 GENERATE_TABLE_CONTROL Static method Public Method Generate Generic Table Control 20040922
10 GET_CATEGORY Instance method Public Method Obtain Client's Role 20040624
11 GET_CLASSIFICATION Static method Public Method Obtain Type of Classification of a User 20040929
12 GET_COMMON_DATA_OF_USERS Static method Public Method Determine the Common Data for a Grouped User 20040624
13 GET_GROUPS Static method Public Method Determine Name(s) of Active Consolidation Group(s) 20050405
14 GET_PERS_INDEX Static method Private Method Determine Index for a Personalization Object 20040624
15 GET_SYSNUMBER Instance method Public Method Obtain System Number 20040624
16 GET_SYSTEMS_OF_GROUPS Static method Public Method Determine Systems for the Active Consolidation Groups 20041222
17 GET_TEXT_FOR_SPECIAL_VERSION Instance method Public Method Determine Text for a Special Version 20040707
18 GET_TEXT_FOR_UTYPE Instance method Public Method Determine Text for a User Type 20040707
19 LAW_WITH_GROUPS Static method Public Method Check whether group consolidation is active 20050405
20 SAPGUI_PROGRESS_SEND Static method Public Method Get Information About the Status of the Processing 20040624
21 SPLIT_MESSAGE 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 Returning ET_EXCL Value transfer Type reference (TYPE) LVC_T_EXCL Excluding-Tabelle für GUI-Status 20050202
2 Importing I_GROUPS Call by reference Type reference (TYPE) SAP_BOOL Gruppenkonsolidierung aktiv 20050202
3 Importing I_LOCKED Call by reference Type reference (TYPE) SAP_BOOL LAW gesperrt (Lese-Modus) 20050202
4 Importing 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 Changing CT_GROUPING Call by reference Type reference (TYPE) LAW_T_GROUPING Temporäre Tabelle zur Gruppierung von Benutzern 20040624
2 Exporting E_MAX_PERS Call by reference Type reference (TYPE) I Anzahl der Personalisierungsfelder 20040624
3 Importing 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 Importing 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 Returning ET_PERS_KEYS Value transfer Type reference (TYPE) LAW_T_SORTFIE Tabelle der Gruppierungsfelder (Sortierfelder) 20040625
2 Importing 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 Returning ES_RETURN Value transfer Type reference (TYPE) BAPIRET2 Returnparameter 20051117
2 Importing I_MSGNO Call by reference Type reference (TYPE) SYMSGNO Nachrichtennummer 20051117
3 Importing I_MSGV1 Call by reference Type reference (TYPE) C Nachrichtenvariable 20051117
4 Importing I_MSGV2 Call by reference Type reference (TYPE) C Nachrichtenvariable 20051117
5 Importing I_MSGV3 Call by reference Type reference (TYPE) C Nachrichtenvariable 20051117
6 Importing I_MSGV4 Call by reference Type reference (TYPE) C Nachrichtenvariable 20051117
7 Importing 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 Importing 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 Exporting ET_DATA_TABLE Call by reference Object reference (TYPE REF TO) DATA Generischer Tabellentyp für Table-Control 20040922
2 Importing IT_DATA_TABLE Call by reference Object reference (TYPE REF TO) DATA Generischer Tabellentyp für Table-Control 20040922
3 Importing I_DD_TYPENAME Call by reference Type reference (TYPE) TYPENAME Name des Dictionary Typs 20040922
4 Importing I_HEADER Call by reference Type reference (TYPE) C Titel des Table Control 20040922
5 Importing I_MAXWIDTH Call by reference Type reference (TYPE) I 60 Maximale Breite des TC 20040923
6 Importing I_NO_BUTTON Call by reference Type reference (TYPE) AS4FLAG ' ' Keine Funktionen anzeigen 20040922
7 Importing 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 Importing I_CLIENT Call by reference Type reference (TYPE) CMANDT Property für Session Manager 20040624
2 Importing I_SYSNUMBER Call by reference Type reference (TYPE) LAW_SYSID Eindeutige System-ID von saplicense 20040624
3 Returning 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 Importing I_CLASS Call by reference Type reference (TYPE) LAW_UNIQUE-CLASS_TYPE Art der Benutzerklassifizierung (Kurzform) 20040929
2 Returning 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 Changing CT_UNIQUE_INDEX Call by reference Type reference (TYPE) LAW_T_UNIQUE_INDEX LAW: Tabelle Gruppenindex auf die UNIQUE-Tabelle 20040624
2 Exporting E_ACCNT Call by reference Type reference (TYPE) XUACCNT Account-Id 20040624
3 Exporting E_ADRESS1 Call by reference Type reference (TYPE) XUNAME1 Name des Benutzers innerhalb der Firma 20040624
4 Exporting E_ADRESS2 Call by reference Type reference (TYPE) XUNAME1 Name des Benutzers innerhalb der Firma 20040624
5 Exporting E_EMAIL_ADDR Call by reference Type reference (TYPE) AD_SMTPADR E-Mail-Adresse 20040624
6 Exporting E_ERDAT Call by reference Type reference (TYPE) XUERDAT Anlegedatum des Benutzerstamms 20040624
7 Exporting E_KOSTL Call by reference Type reference (TYPE) XUKOSTL Kostenstelle 20040624
8 Exporting E_PERS_1 Call by reference Type reference (TYPE) LAW_PERS_VAL LAW: Wert einer Personalisierungs-Variable 20040625
9 Exporting E_PERS_2 Call by reference Type reference (TYPE) LAW_PERS_VAL LAW: Wert einer Personalisierungs-Variable 20040625
10 Exporting E_PERS_3 Call by reference Type reference (TYPE) LAW_PERS_VAL LAW: Wert einer Personalisierungs-Variable 20040625
11 Exporting E_PERS_4 Call by reference Type reference (TYPE) LAW_PERS_VAL LAW: Wert einer Personalisierungs-Variable 20040625
12 Exporting E_PERS_5 Call by reference Type reference (TYPE) LAW_PERS_VAL LAW: Wert einer Personalisierungs-Variable 20040625
13 Exporting E_TELNR Call by reference Type reference (TYPE) XUTELNR Telefonnummer, geschaeftlich 20040624
14 Importing IT_LAW_GROUPING Call by reference Type reference (TYPE) LAW_T_GROUPING Temporäre Tabelle zur Gruppierung von Benutzern 20040624
15 Importing 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 Returning 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 Exporting E_INDEX Call by reference Type reference (TYPE) SY-TABIX Interne Tabellen, aktueller Zeilenindex 20040624
2 Importing IS_LAW_JOIN Call by reference Type reference (TYPE) LAW_S_JOIN LAW: Join-Struktur für UNIQUE und PERS 20040624
3 Importing 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 Importing I_HWKEY Call by reference Type reference (TYPE) HWKEY Hardwarekey 20040624
2 Importing I_INSTNO Call by reference Type reference (TYPE) INSTNUMBER Installationsnummer 20040624
3 Importing I_SYSID Call by reference Type reference (TYPE) SYSYSID R/3-System, Name des R/3-Systems 20040624
4 Returning 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 Returning 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 Returning E_SPEC_VERS_TEXT Value transfer Type reference (TYPE) TUZUS-TEXTSVERS Kurztext Sonderversion 20040707
2 Importing 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 Returning E_LIC_TYPE_TEXT Value transfer Type reference (TYPE) TUTYP-UTYPTEXT Kurztext für die Usertypen 20040707
2 Importing 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 Returning 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 Importing I_PERCENTAGE Call by reference Type reference (TYPE) I 0 Fortschrittsanzeige (0 <= x <= 100) 20040624
2 Importing 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 Exporting ET_MSG_LINE Call by reference Type reference (TYPE) STANDARD TABLE 20051117
2 Importing I_MAX_LINE Call by reference Type reference (TYPE) I 20051117
3 Importing 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