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 WCTP1 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 WCTP2 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
3 WCTP3 Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
4 WCTPM Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
5 WCTPZ 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 GC_EXIT_NAME Constant Private See coding Names of Conversion Exits 20110224
2 GC_TIME Constant Private See coding Clock Times 20100907
Methods
# Method Level Visibility Method type Description Created on
1 DATETIME_ADD Static method Public Method Adds Duration in Seconds to Date/Time 20100716
2 DATETIME_CONVERT_INTERNAL Static method Private Method Internal Conversion Date/Time 20100907
3 DURATION_GET Static method Public Method Determines Duration in Seconds Relative to Date/Time 20100819
4 GUI_PROGRESS_INDICATOR Static method Public Method Display Timer 20111229
5 KEYNR_EXTRACT Static method Public Method Extracts the Object Key 20131025
6 KEYTAB_EXTRACT Static method Public Method Extracts the Valid Keys 20110126
7 LIST_TABLE_EXTRACT Static method Public Method Extracts a Standard Table (List Processing) 20091203
8 MSGTAB_APPEND Static method Public Method Appends Message to a Message Table 20110224
9 MSGTAB_CONVERT_FROM_SPI Static method Public Method Converts Messages from an SPI Message Table 20121223
10 MSGTAB_CONVERT_TO_SPI Static method Public Method Converts Messages to an SPI Message Table 20121223
11 MSGVAR_CONVERT Static method Public Method Converts Any Variable to a Message Variable 20110224
12 NEGATION Static method Public Method Determines the Boolean Negation 20100203
13 OBJNR_EXTRACT Static method Public Method Extracts the Status Object Number 20131025
14 OBJNR_IS_TMP Static method Public Method Check Object Number: Temporary or Permanent? 20130820
15 OBJTAB_EXTRACT Static method Public Method Extracts the Valid Object Numbers 20090928
16 OBJTAB_SPLIT Static method Public Method Division into Permanent/Temporary Object Numbers 20100624
17 PERIOD_CHECK Static method Public Method Checks the Validity for the Chosen Time 20100202
18 RANGE_STATUS_EXCLUSIVE_CREATE Static method Public Method Creates a Selection Table for Status Exclusive 20100706
19 RANGE_STATUS_INCLUSIVE_CREATE Static method Public Method Creates a Selection Table for Status Inclusive 20100706
20 TABLE_EXTRACT 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 Exporting EV_DATE Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Endwert (Datum) 20100716
2 Exporting EV_TIME Value transfer Type reference (TYPE) WCTP1_TIME_TYPE Endwert (Uhrzeit) 20100716
3 Importing IV_DATE Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Startwert (Datum) 20100716
4 Importing IV_SECS Value transfer Type reference (TYPE) NUMERIC Dauer (Sekunden) 20100716
5 Importing 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 Exporting EV_DATE Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Konvertierter Wert (Datum) 20100907
2 Exporting EV_TIME Value transfer Type reference (TYPE) WCTP1_TIME_TYPE Konvertierter Wert (Uhrzeit) 20100907
3 Importing IV_DATE Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Unkonvertierter Wert (Datum) 20100907
4 Importing 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 Importing IV_DATEFR Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Startwert (Datum) 20100819
2 Importing IV_DATETO Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Endwert (Datum) 20100819
3 Importing IV_TIMEFR Value transfer Type reference (TYPE) WCTP1_TIME_TYPE Startwert (Uhrzeit) 20100819
4 Importing IV_TIMETO Value transfer Type reference (TYPE) WCTP1_TIME_TYPE Endwert (Uhrzeit) 20100819
5 Returning 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 Importing IV_INDEX Value transfer Type reference (TYPE) WCTP1_CNT_TYPE Aktueller Primärindex 20111229
2 Importing IV_SUBINDEX Value transfer Type reference (TYPE) WCTP1_CNT_TYPE WCTP1_NUMBER-ZERO Aktueller Sekundärindex 20111229
3 Importing IV_TEXT Value transfer Type reference (TYPE) WCEBOOLEAN WCTP1_FALSE IV_TEXT = 1 :<=> Text anzeigen 20111229
4 Importing 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 Importing IS_ANY Value transfer Type reference (TYPE) ANY Beliebige Struktur 20131025
2 Importing IV_OBJART Value transfer Type reference (TYPE) WCTP1_OBJART_TYPE Objektart 20131025
3 Returning 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 Importing IT_ANY Value transfer Type reference (TYPE) ANY TABLE Beliebige interne Tabelle 20110126
2 Importing IV_CONDENSE Value transfer Type reference (TYPE) WCEBOOLEAN WCTP1_FALSE Boolesche Wert: Daten verdichten 20110126
3 Importing IV_OBJART Value transfer Type reference (TYPE) WCTP1_OBJART_TYPE Objektart 20131025
4 Returning 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 Importing IT_ANY Value transfer Type reference (TYPE) STANDARD TABLE Beliebige interne Standardtabelle 20091203
2 Importing IV_FIELD Value transfer Type reference (TYPE) FIELDNAME Feldname z.B: Name der Ausgabestruktur 20091203
3 Importing IV_SELECTED Value transfer Type reference (TYPE) WCEBOOLEAN WCTP1_FALSE Nur ausgewählte Einträge = 1 20091203
4 Returning 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 Changing CT_MSG Value transfer Type reference (TYPE) BAL_T_MSG Nachrichtentabelle 20110224
2 Importing IV_MSGID Value transfer Type reference (TYPE) SYMSGID WCTPM_MSGID-I4 Nachrichtenklasse 20110224
3 Importing IV_MSGNO Value transfer Type reference (TYPE) SYMSGNO Nachrichtennummer 20110224
4 Importing IV_MSGTYP Value transfer Type reference (TYPE) SYMSGTY Nachrichtentyp 20110224
5 Importing IV_MSGV1 Value transfer Type reference (TYPE) ANY Nachrichtenvariable 20110224
6 Importing IV_MSGV2 Value transfer Type reference (TYPE) ANY Nachrichtenvariable 20110224
7 Importing IV_MSGV3 Value transfer Type reference (TYPE) ANY Nachrichtenvariable 20110224
8 Importing 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 Changing CT_MSG Value transfer Type reference (TYPE) BAL_T_MSG Nachrichtentabelle 20121223
2 Importing IT_SPI_MSG Value transfer Type reference (TYPE) /PLMB/T_SPI_MSG Nachrichtentabelle im SPI-Format 20121223
3 Importing 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 Changing CT_SPI_MSG Value transfer Type reference (TYPE) /PLMB/T_SPI_MSG Nachrichtentabelle im SPI-Format 20121223
2 Importing IT_MSG Value transfer Type reference (TYPE) BAL_T_MSG Nachrichtentabelle 20121223
3 Importing IV_DATA_INDEX Value transfer Type reference (TYPE) /PLMB/SPI_MSG_INDEX > 0 = Index für zugehörige Anwendungsdaten 20121223
4 Importing 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 Importing IV_DATA Value transfer Type reference (TYPE) ANY Beliebige Variable 20110224
2 Returning 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 Importing IV_BOOLEAN Value transfer Type reference (TYPE) WCEBOOLEAN Boolesche Variable: wahr/falsch 20100203
2 Returning 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 Importing IS_ANY Value transfer Type reference (TYPE) ANY Beliebige Struktur 20131025
2 Importing IV_FIELD Value transfer Type reference (TYPE) FIELDNAME WCTPZ_FIELD-WCM-OBJNR Feldname 20131025
3 Returning 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 Importing IV_OBJNR Value transfer Type reference (TYPE) WCTP1_OBJNR_TYPE Statusobjektnummer 20130820
2 Returning 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 Importing IT_ANY Value transfer Type reference (TYPE) ANY TABLE Beliebige interne Tabelle 20090928
2 Importing IV_CONDENSE Value transfer Type reference (TYPE) WCEBOOLEAN WCTP1_FALSE Boolesche Wert: Daten verdichten 20091005
3 Importing IV_FIELD Value transfer Type reference (TYPE) FIELDNAME WCTPZ_FIELD-WCM-OBJNR Feldname 20091004
4 Importing IV_TMP_REMOVE Value transfer Type reference (TYPE) WCEBOOLEAN WCTP1_FALSE Boolescher Wert: Temporäre Objektnummern entfernen 20130820
5 Returning 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 Exporting ET_PERMANENT Value transfer Type reference (TYPE) WCTP3_OBJTAB_TYPE Tabelle der (permanenten) Objektnummern 20100624
2 Exporting ET_TEMPORARY Value transfer Type reference (TYPE) WCTP3_OBJTAB_TYPE Tabelle der (temporären) Objektnummern 20100624
3 Importing IT_OBJNR Value transfer Type reference (TYPE) WCTP3_OBJTAB_TYPE Tabelle der Objektnummern 20100624
4 Importing 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 Importing IV_DATE Value transfer Type reference (TYPE) WCTP1_DATE_TYPE SY-DATUM Zu überprüfendes Datum 20100202
2 Importing IV_DATEFR Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Gültig ab (Datum) 20100202
3 Importing IV_DATETO Value transfer Type reference (TYPE) WCTP1_DATE_TYPE Gültig bis (Datum) 20100202
4 Importing IV_TIME Value transfer Type reference (TYPE) WCTP1_TIME_TYPE SY-UZEIT Zu überprüfende Uhrzeit 20100202
5 Importing IV_TIMEFR Value transfer Type reference (TYPE) WCTP1_TIME_TYPE Gültig ab (Uhrzeit) 20100202
6 Importing IV_TIMETO Value transfer Type reference (TYPE) WCTP1_TIME_TYPE Gültig bis (Uhrzeit) 20100202
7 Returning 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 Importing IT_STATUS Value transfer Type reference (TYPE) WCTP3_STATTAB_TYPE Mehrere Systemtatus (Tabelle) 20101223
2 Importing IV_STATUS Value transfer Type reference (TYPE) WCTP3_STATUS_TYPE Systemstatus 20100706
3 Returning 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 Importing IT_STATUS Value transfer Type reference (TYPE) WCTP3_STATTAB_TYPE Systemstatus (Tabelle) 20101223
2 Importing IV_STATUS Value transfer Type reference (TYPE) WCTP3_STATUS_TYPE Systemstatus 20100706
3 Returning 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 Importing IT_ANY Value transfer Type reference (TYPE) ANY TABLE Beliebige interne Tabelle 20091201
2 Importing IV_FIELD Value transfer Type reference (TYPE) FIELDNAME Feldname z.B: Name der Ausgabestruktur 20091201
3 Returning 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