SAP ABAP Class CL_WCM_TOOLS (WCM: General Functions)
Hierarchy
☛
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
⤷
PM-WCM (Application Component) Work Clearance Management
⤷
WCM (Package) WCM: Work Clearance Management

⤷

⤷

Properties
Class | CL_WCM_TOOLS | |
Short Description | WCM: General Functions | |
Super Class | ||
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | K | Customer Production Program |
Category | 0 | |
Package | WCM | WCM: Work Clearance Management |
Created | 20090928 | SAP |
Last change | 20131127 | 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) |
2 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
4 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
5 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_WCM_TOOLS has no interface implemented.
Friends
Class CL_WCM_TOOLS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | See coding | Names of Conversion Exits | 20110224 | |||
2 | ![]() |
Constant | Private | See coding | Clock Times | 20100907 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | Adds Duration in Seconds to Date/Time | 20100716 |
2 | ![]() |
Static method | Private | Method | Internal Conversion Date/Time | 20100907 |
3 | ![]() |
Static method | Public | Method | Determines Duration in Seconds Relative to Date/Time | 20100819 |
4 | ![]() |
Static method | Public | Method | Display Timer | 20111229 |
5 | ![]() |
Static method | Public | Method | Extracts the Object Key | 20131025 |
6 | ![]() |
Static method | Public | Method | Extracts the Valid Keys | 20110126 |
7 | ![]() |
Static method | Public | Method | Extracts a Standard Table (List Processing) | 20091203 |
8 | ![]() |
Static method | Public | Method | Appends Message to a Message Table | 20110224 |
9 | ![]() |
Static method | Public | Method | Converts Messages from an SPI Message Table | 20121223 |
10 | ![]() |
Static method | Public | Method | Converts Messages to an SPI Message Table | 20121223 |
11 | ![]() |
Static method | Public | Method | Converts Any Variable to a Message Variable | 20110224 |
12 | ![]() |
Static method | Public | Method | Determines the Boolean Negation | 20100203 |
13 | ![]() |
Static method | Public | Method | Extracts the Status Object Number | 20131025 |
14 | ![]() |
Static method | Public | Method | Check Object Number: Temporary or Permanent? | 20130820 |
15 | ![]() |
Static method | Public | Method | Extracts the Valid Object Numbers | 20090928 |
16 | ![]() |
Static method | Public | Method | Division into Permanent/Temporary Object Numbers | 20100624 |
17 | ![]() |
Static method | Public | Method | Checks the Validity for the Chosen Time | 20100202 |
18 | ![]() |
Static method | Public | Method | Creates a Selection Table for Status Exclusive | 20100706 |
19 | ![]() |
Static method | Public | Method | Creates a Selection Table for Status Inclusive | 20100706 |
20 | ![]() |
Static method | Public | Method | Extracts Any Table | 20091201 |
Events
Class CL_WCM_TOOLS has no event.
Types
Class CL_WCM_TOOLS has no local type.
Method Signatures
Method DATETIME_ADD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DATE | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Endwert (Datum) | 20100716 | ||
2 | ![]() |
EV_TIME | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Endwert (Uhrzeit) | 20100716 | ||
3 | ![]() |
IV_DATE | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Startwert (Datum) | 20100716 | ||
4 | ![]() |
IV_SECS | Value transfer | Type reference (TYPE) | NUMERIC | Dauer (Sekunden) | 20100716 | ||
5 | ![]() |
IV_TIME | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Startwert (Uhrzeit) | 20100716 |
Method DATETIME_ADD on class CL_WCM_TOOLS has no exception.
Method DATETIME_CONVERT_INTERNAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
EV_DATE | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Konvertierter Wert (Datum) | 20100907 | ||
2 | ![]() |
EV_TIME | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Konvertierter Wert (Uhrzeit) | 20100907 | ||
3 | ![]() |
IV_DATE | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Unkonvertierter Wert (Datum) | 20100907 | ||
4 | ![]() |
IV_TIME | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Unkonvertierter Wert (Uhrzeit) | 20100907 |
Method DATETIME_CONVERT_INTERNAL on class CL_WCM_TOOLS has no exception.
Method DURATION_GET Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATEFR | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Startwert (Datum) | 20100819 | ||
2 | ![]() |
IV_DATETO | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Endwert (Datum) | 20100819 | ||
3 | ![]() |
IV_TIMEFR | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Startwert (Uhrzeit) | 20100819 | ||
4 | ![]() |
IV_TIMETO | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Endwert (Uhrzeit) | 20100819 | ||
5 | ![]() |
RV_SECS | Value transfer | Type reference (TYPE) | WCTP1_CNT_TYPE | Dauer (Sekunden) | 20100907 |
Method DURATION_GET on class CL_WCM_TOOLS has no exception.
Method GUI_PROGRESS_INDICATOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_INDEX | Value transfer | Type reference (TYPE) | WCTP1_CNT_TYPE | Aktueller Primärindex | 20111229 | ||
2 | ![]() |
IV_SUBINDEX | Value transfer | Type reference (TYPE) | WCTP1_CNT_TYPE | WCTP1_NUMBER-ZERO | Aktueller Sekundärindex | 20111229 | |
3 | ![]() |
IV_TEXT | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | IV_TEXT = 1 :<=> Text anzeigen | 20111229 | |
4 | ![]() |
IV_TOTAL | Value transfer | Type reference (TYPE) | WCTP1_CNT_TYPE | Gesamtanzahl | 20111229 |
Method GUI_PROGRESS_INDICATOR on class CL_WCM_TOOLS has no exception.
Method KEYNR_EXTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ANY | Value transfer | Type reference (TYPE) | ANY | Beliebige Struktur | 20131025 | ||
2 | ![]() |
IV_OBJART | Value transfer | Type reference (TYPE) | WCTP1_OBJART_TYPE | Objektart | 20131025 | ||
3 | ![]() |
RV_OBJKEY | Value transfer | Type reference (TYPE) | WCTP1_OBJKEY_TYPE | Schlüssel | 20131025 |
Method KEYNR_EXTRACT on class CL_WCM_TOOLS has no exception.
Method KEYTAB_EXTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ANY | Value transfer | Type reference (TYPE) | ANY TABLE | Beliebige interne Tabelle | 20110126 | ||
2 | ![]() |
IV_CONDENSE | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | Boolesche Wert: Daten verdichten | 20110126 | |
3 | ![]() |
IV_OBJART | Value transfer | Type reference (TYPE) | WCTP1_OBJART_TYPE | Objektart | 20131025 | ||
4 | ![]() |
RT_OBJKEY | Value transfer | Type reference (TYPE) | WCTP3_OBJKEYTAB_TYPE | Tabelle der Schlüssel | 20110126 |
Method KEYTAB_EXTRACT on class CL_WCM_TOOLS has no exception.
Method LIST_TABLE_EXTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ANY | Value transfer | Type reference (TYPE) | STANDARD TABLE | Beliebige interne Standardtabelle | 20091203 | ||
2 | ![]() |
IV_FIELD | Value transfer | Type reference (TYPE) | FIELDNAME | Feldname z.B: Name der Ausgabestruktur | 20091203 | ||
3 | ![]() |
IV_SELECTED | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | Nur ausgewählte Einträge = 1 | 20091203 | |
4 | ![]() |
RR_TABLE | Value transfer | Object reference (TYPE REF TO) | DATA | Referenz auf extrahierte Standardtabelle | 20101221 |
Method LIST_TABLE_EXTRACT on class CL_WCM_TOOLS has no exception.
Method MSGTAB_APPEND Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MSG | Value transfer | Type reference (TYPE) | BAL_T_MSG | Nachrichtentabelle | 20110224 | ||
2 | ![]() |
IV_MSGID | Value transfer | Type reference (TYPE) | SYMSGID | WCTPM_MSGID-I4 | Nachrichtenklasse | 20110224 | |
3 | ![]() |
IV_MSGNO | Value transfer | Type reference (TYPE) | SYMSGNO | Nachrichtennummer | 20110224 | ||
4 | ![]() |
IV_MSGTYP | Value transfer | Type reference (TYPE) | SYMSGTY | Nachrichtentyp | 20110224 | ||
5 | ![]() |
IV_MSGV1 | Value transfer | Type reference (TYPE) | ANY | Nachrichtenvariable | 20110224 | ||
6 | ![]() |
IV_MSGV2 | Value transfer | Type reference (TYPE) | ANY | Nachrichtenvariable | 20110224 | ||
7 | ![]() |
IV_MSGV3 | Value transfer | Type reference (TYPE) | ANY | Nachrichtenvariable | 20110224 | ||
8 | ![]() |
IV_MSGV4 | Value transfer | Type reference (TYPE) | ANY | Nachrichtenvariable | 20110224 |
Method MSGTAB_APPEND on class CL_WCM_TOOLS has no exception.
Method MSGTAB_CONVERT_FROM_SPI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_MSG | Value transfer | Type reference (TYPE) | BAL_T_MSG | Nachrichtentabelle | 20121223 | ||
2 | ![]() |
IT_SPI_MSG | Value transfer | Type reference (TYPE) | /PLMB/T_SPI_MSG | Nachrichtentabelle im SPI-Format | 20121223 | ||
3 | ![]() |
IV_ERROR_CONVERT | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | 1 = Konvertierung Fehler -> Warnung | 20121223 |
Method MSGTAB_CONVERT_FROM_SPI on class CL_WCM_TOOLS has no exception.
Method MSGTAB_CONVERT_TO_SPI Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CT_SPI_MSG | Value transfer | Type reference (TYPE) | /PLMB/T_SPI_MSG | Nachrichtentabelle im SPI-Format | 20121223 | ||
2 | ![]() |
IT_MSG | Value transfer | Type reference (TYPE) | BAL_T_MSG | Nachrichtentabelle | 20121223 | ||
3 | ![]() |
IV_DATA_INDEX | Value transfer | Type reference (TYPE) | /PLMB/SPI_MSG_INDEX | > 0 = Index für zugehörige Anwendungsdaten | 20121223 | ||
4 | ![]() |
IV_ERROR_CONVERT | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | 1 = Konvertierung Fehler -> Warnung | 20121223 |
Method MSGTAB_CONVERT_TO_SPI on class CL_WCM_TOOLS has no exception.
Method MSGVAR_CONVERT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATA | Value transfer | Type reference (TYPE) | ANY | Beliebige Variable | 20110224 | ||
2 | ![]() |
RV_CHAR | Value transfer | Type reference (TYPE) | SYMSGV | Nachrichtenvariable | 20110224 |
Method MSGVAR_CONVERT on class CL_WCM_TOOLS has no exception.
Method NEGATION Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_BOOLEAN | Value transfer | Type reference (TYPE) | WCEBOOLEAN | Boolesche Variable: wahr/falsch | 20100203 | ||
2 | ![]() |
RV_BOOLEAN | Value transfer | Type reference (TYPE) | WCEBOOLEAN | Boolesche Variable: wahr/falsch | 20100203 |
Method NEGATION on class CL_WCM_TOOLS has no exception.
Method OBJNR_EXTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IS_ANY | Value transfer | Type reference (TYPE) | ANY | Beliebige Struktur | 20131025 | ||
2 | ![]() |
IV_FIELD | Value transfer | Type reference (TYPE) | FIELDNAME | WCTPZ_FIELD-WCM-OBJNR | Feldname | 20131025 | |
3 | ![]() |
RV_OBJNR | Value transfer | Type reference (TYPE) | WCTP1_OBJNR_TYPE | Objektnummer | 20131025 |
Method OBJNR_EXTRACT on class CL_WCM_TOOLS has no exception.
Method OBJNR_IS_TMP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_OBJNR | Value transfer | Type reference (TYPE) | WCTP1_OBJNR_TYPE | Statusobjektnummer | 20130820 | ||
2 | ![]() |
RV_TMPFLG | Value transfer | Type reference (TYPE) | WCTP1_FLG_TYPE | Kennzeichen: Temporäre Statusobjektnummer | 20130820 |
Method OBJNR_IS_TMP on class CL_WCM_TOOLS has no exception.
Method OBJTAB_EXTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ANY | Value transfer | Type reference (TYPE) | ANY TABLE | Beliebige interne Tabelle | 20090928 | ||
2 | ![]() |
IV_CONDENSE | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | Boolesche Wert: Daten verdichten | 20091005 | |
3 | ![]() |
IV_FIELD | Value transfer | Type reference (TYPE) | FIELDNAME | WCTPZ_FIELD-WCM-OBJNR | Feldname | 20091004 | |
4 | ![]() |
IV_TMP_REMOVE | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | Boolescher Wert: Temporäre Objektnummern entfernen | 20130820 | |
5 | ![]() |
RT_OBJNR | Value transfer | Type reference (TYPE) | WCTP3_OBJTAB_TYPE | Tabelle der Objektnummern | 20090928 |
Method OBJTAB_EXTRACT on class CL_WCM_TOOLS has no exception.
Method OBJTAB_SPLIT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_PERMANENT | Value transfer | Type reference (TYPE) | WCTP3_OBJTAB_TYPE | Tabelle der (permanenten) Objektnummern | 20100624 | ||
2 | ![]() |
ET_TEMPORARY | Value transfer | Type reference (TYPE) | WCTP3_OBJTAB_TYPE | Tabelle der (temporären) Objektnummern | 20100624 | ||
3 | ![]() |
IT_OBJNR | Value transfer | Type reference (TYPE) | WCTP3_OBJTAB_TYPE | Tabelle der Objektnummern | 20100624 | ||
4 | ![]() |
IV_CONDENSE | Value transfer | Type reference (TYPE) | WCEBOOLEAN | WCTP1_FALSE | Boolesche Wert: Daten verdichten | 20100624 |
Method OBJTAB_SPLIT on class CL_WCM_TOOLS has no exception.
Method PERIOD_CHECK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DATE | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | SY-DATUM | Zu überprüfendes Datum | 20100202 | |
2 | ![]() |
IV_DATEFR | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Gültig ab (Datum) | 20100202 | ||
3 | ![]() |
IV_DATETO | Value transfer | Type reference (TYPE) | WCTP1_DATE_TYPE | Gültig bis (Datum) | 20100202 | ||
4 | ![]() |
IV_TIME | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | SY-UZEIT | Zu überprüfende Uhrzeit | 20100202 | |
5 | ![]() |
IV_TIMEFR | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Gültig ab (Uhrzeit) | 20100202 | ||
6 | ![]() |
IV_TIMETO | Value transfer | Type reference (TYPE) | WCTP1_TIME_TYPE | Gültig bis (Uhrzeit) | 20100202 | ||
7 | ![]() |
RV_VALID | Value transfer | Type reference (TYPE) | WCEVALID | Betrachte Zeitpunkt ist gültig =: 1 | 20100203 |
Method PERIOD_CHECK on class CL_WCM_TOOLS has no exception.
Method RANGE_STATUS_EXCLUSIVE_CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_STATUS | Value transfer | Type reference (TYPE) | WCTP3_STATTAB_TYPE | Mehrere Systemtatus (Tabelle) | 20101223 | ||
2 | ![]() |
IV_STATUS | Value transfer | Type reference (TYPE) | WCTP3_STATUS_TYPE | Systemstatus | 20100706 | ||
3 | ![]() |
RT_EXCL | Value transfer | Type reference (TYPE) | WCT_WCESTATEXCL | Status exklusiv (Selektionstabelle) | 20100706 |
Method RANGE_STATUS_EXCLUSIVE_CREATE on class CL_WCM_TOOLS has no exception.
Method RANGE_STATUS_INCLUSIVE_CREATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_STATUS | Value transfer | Type reference (TYPE) | WCTP3_STATTAB_TYPE | Systemstatus (Tabelle) | 20101223 | ||
2 | ![]() |
IV_STATUS | Value transfer | Type reference (TYPE) | WCTP3_STATUS_TYPE | Systemstatus | 20100706 | ||
3 | ![]() |
RT_INCL | Value transfer | Type reference (TYPE) | WCT_WCESTATINCL | Status inklusiv (Selektionstabelle) | 20100706 |
Method RANGE_STATUS_INCLUSIVE_CREATE on class CL_WCM_TOOLS has no exception.
Method TABLE_EXTRACT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_ANY | Value transfer | Type reference (TYPE) | ANY TABLE | Beliebige interne Tabelle | 20091201 | ||
2 | ![]() |
IV_FIELD | Value transfer | Type reference (TYPE) | FIELDNAME | Feldname z.B: Name der Ausgabestruktur | 20091201 | ||
3 | ![]() |
RR_TABLE | Value transfer | Object reference (TYPE REF TO) | DATA | Referenz auf extrahierte Standardtabelle | 20101221 |
Method TABLE_EXTRACT on class CL_WCM_TOOLS has no exception.
History
Last changed by/on | SAP | 20131127 |
SAP Release Created in | 605 |