SAP C_UTILS OO Class - Useful Functions









C_UTILS is a standard SAP object class available within R/3 SAP systems depending on your version and release level. You can view/maintain the class details by entering its name into the relevant SAP transactions such as SE24, SE80 or even SE84. Below is the documentation available for class C_UTILS including details of:

  • Interface class implementations
  • Inheritance details
  • Methods defined within class ( including link to full details )
  • Attributes ( including initial values )
  • Class Events



Method list of C_UTILS SAP class


A method is a coding block that performs a certain procedure (i.e. ABAP functionality) on an object within the overall SAP class. In simple terms if the object is an SAP database table a method could be the procedure to add a record or to delete a record. If you are new to OO in many respects, the implementation of a method is similar to a function module and can be called in a very similar way using CALL METHOD. Instead of "CALL FUNCTION", Methods are referenced using the following syntax: CALL METHOD =>methodname EXPORTING/IMPORTING...


Method NameDescriptionVisability
ACTIVATE_TRACEActivate TracePublic
CALL METHOD c_utils=>ACTIVATE_TRACE...more details

ADD_TO_ITEM_MAP_TABLEPrivate
CALL METHOD c_utils=>ADD_TO_ITEM_MAP_TABLE...more details

APPEND_VARIABLESAdds VariablesPublic
CALL METHOD c_utils=>APPEND_VARIABLES...more details

AUTHORITY_CHECKAuthorization CheckPublic
CALL METHOD c_utils=>AUTHORITY_CHECK...more details

BTC_JOBNAMEPrivate
CALL METHOD c_utils=>BTC_JOBNAME...more details

BUILD_SCMA_PROFILECreate SchedMan NamesPublic
CALL METHOD c_utils=>BUILD_SCMA_PROFILE...more details

BUILD_TFC_PROFILEPrivate
CALL METHOD c_utils=>BUILD_TFC_PROFILE...more details

CALL_SA38Private
CALL METHOD c_utils=>CALL_SA38...more details

CALL_TRANSACTIONPrivate
CALL METHOD c_utils=>CALL_TRANSACTION...more details

CHANGEDOCUMENT_DISPLAYDisplay Change DocumentPublic
CALL METHOD c_utils=>CHANGEDOCUMENT_DISPLAY...more details

CHANGE_NOTE_LANGUAGEChange Language of Task NotePublic
CALL METHOD c_utils=>CHANGE_NOTE_LANGUAGE...more details

CHAR_TO_INTConvert Number into DigitPublic
CALL METHOD c_utils=>CHAR_TO_INT...more details

CHECK_CONSISTENCYCheck Consistency of TFC_INST_ITEM x SCMATREEDPublic
CALL METHOD c_utils=>CHECK_CONSISTENCY...more details

CHECK_DEPENDENCIESCheck Start ConditionPublic
CALL METHOD c_utils=>CHECK_DEPENDENCIES...more details

CHECK_NAME_RANGECheck Validity of Template Name:Public
CALL METHOD c_utils=>CHECK_NAME_RANGE...more details

CHECK_PREDECCESSOR_OFFSETPrivate
CALL METHOD c_utils=>CHECK_PREDECCESSOR_OFFSET...more details

CLASS_CONSTRUCTORCLASS_CONSTRUCTORPublic
CALL METHOD c_utils=>CLASS_CONSTRUCTOR...more details

CLEAR_M_ITEM_MAP_TABLEPrivate
CALL METHOD c_utils=>CLEAR_M_ITEM_MAP_TABLE...more details

CLEAR_SCMA_PROFILE_BUFFERPrivate
CALL METHOD c_utils=>CLEAR_SCMA_PROFILE_BUFFER...more details

COMPARE_STATUSPrivate
CALL METHOD c_utils=>COMPARE_STATUS...more details

CONVERT_OFFSET_LOC2SYSConverts Offset (Local -> System)Public
CALL METHOD c_utils=>CONVERT_OFFSET_LOC2SYS...more details

CONVERT_OFFSET_SYS2LOCConverts Offset (System -> Local)Public
CALL METHOD c_utils=>CONVERT_OFFSET_SYS2LOC...more details

CONVERT_STATUS_EHP6Time Conversion to System TimePublic
CALL METHOD c_utils=>CONVERT_STATUS_EHP6...more details

CONVERT_TIME_EHP6Time Conversion to System TimePublic
CALL METHOD c_utils=>CONVERT_TIME_EHP6...more details

CONVERT_TIME_STAMPConversion TimestampPublic
CALL METHOD c_utils=>CONVERT_TIME_STAMP...more details

COPY_NAMEPrivate
CALL METHOD c_utils=>COPY_NAME...more details

CREATE_INIT_SEL_VARInitialize a Selection VariablePublic
CALL METHOD c_utils=>CREATE_INIT_SEL_VAR...more details

CREATE_NEW_DEPENDENCYPrivate
CALL METHOD c_utils=>CREATE_NEW_DEPENDENCY...more details

DATE_TIME_TO_INTERNAL2Private
CALL METHOD c_utils=>DATE_TIME_TO_INTERNAL2...more details

DEACTIVATE_TRACEDeactivate TracePublic
CALL METHOD c_utils=>DEACTIVATE_TRACE...more details

DHM_TO_DTConvert day/time to days hours minutesPublic
CALL METHOD c_utils=>DHM_TO_DT...more details

DISPLAY_TRACEDisplay TracePublic
CALL METHOD c_utils=>DISPLAY_TRACE...more details

DT_TO_DHMConvert day/time to days hours minutesPublic
CALL METHOD c_utils=>DT_TO_DHM...more details

ENQUEUE_DEQUEUE_METHODSLock/Unlock MethodsPublic
CALL METHOD c_utils=>ENQUEUE_DEQUEUE_METHODS...more details

FIND_FREE_NAMEPrivate
CALL METHOD c_utils=>FIND_FREE_NAME...more details

FORMAT_DATE_TIMEConverts Offset and Date in TFC_OFFSET_TIMEPublic
CALL METHOD c_utils=>FORMAT_DATE_TIME...more details

FORMAT_OFFSET_TIMEConverts Offset and Date in TFC_OFFSET_TIMEPublic
CALL METHOD c_utils=>FORMAT_OFFSET_TIME...more details

FORMAT_PATHDetermine Path for ItemPublic
CALL METHOD c_utils=>FORMAT_PATH...more details

FORMAT_QUICKINFOPrivate
CALL METHOD c_utils=>FORMAT_QUICKINFO...more details

GENERATE_SCMA_PROFILE_NAMEGenerate a SchedMan NamePrivate
CALL METHOD c_utils=>GENERATE_SCMA_PROFILE_NAME...more details

GET_AUSPRAEG_TEXTSelect Language-Dependent Text for a ValuePublic
CALL METHOD c_utils=>GET_AUSPRAEG_TEXT...more details

GET_CLS_METHOD_TEXTGet Language-Dependent Text for Closing MethodPublic
CALL METHOD c_utils=>GET_CLS_METHOD_TEXT...more details

GET_CLS_METHOD_TEXT_PROFILEGet Language-Dependent Text for Closing MethodPublic
CALL METHOD c_utils=>GET_CLS_METHOD_TEXT_PROFILE...more details

GET_DISPLAYED_TIME_ZONEPrivate
CALL METHOD c_utils=>GET_DISPLAYED_TIME_ZONE...more details

GET_DISPLAYED_TIME_ZONE_TYPEPrivate
CALL METHOD c_utils=>GET_DISPLAYED_TIME_ZONE_TYPE...more details

GET_DURATIONDetermination of Start Time of a ReportPublic
CALL METHOD c_utils=>GET_DURATION...more details

GET_FIELDS_OF_STRUCTUREPrivate
CALL METHOD c_utils=>GET_FIELDS_OF_STRUCTURE...more details

GET_FIRST_LAST_DAY_OF_ITEMSPrivate
CALL METHOD c_utils=>GET_FIRST_LAST_DAY_OF_ITEMS...more details

GET_FISCAL_YEARHave User Profile EnteredPublic
CALL METHOD c_utils=>GET_FISCAL_YEAR...more details

GET_INSTANCESSelect Instances for TemplatePublic
CALL METHOD c_utils=>GET_INSTANCES...more details

GET_ITEM_NAMERead Item Text from DBPublic
CALL METHOD c_utils=>GET_ITEM_NAME...more details

GET_ITEM_STATUSDetermine Task StatusPublic
CALL METHOD c_utils=>GET_ITEM_STATUS...more details

GET_ITEM_VISIBILITYPrivate
CALL METHOD c_utils=>GET_ITEM_VISIBILITY...more details

GET_METHOD_FROM_USERHave User Org Structure Type EnteredPublic
CALL METHOD c_utils=>GET_METHOD_FROM_USER...more details

GET_NEXT_FREE_INSTANCEGet New Instance Number for a ProfilePublic
CALL METHOD c_utils=>GET_NEXT_FREE_INSTANCE...more details

GET_SCHEDMAN_PROFILE_NAMEPrivate
CALL METHOD c_utils=>GET_SCHEDMAN_PROFILE_NAME...more details

GET_START_DATE_TIMEDetermination of Start Time of a ReportPublic
CALL METHOD c_utils=>GET_START_DATE_TIME...more details

GET_START_END_DATE_TIMEPrivate
CALL METHOD c_utils=>GET_START_END_DATE_TIME...more details

GET_START_POINT_FROM_USERPrivate
CALL METHOD c_utils=>GET_START_POINT_FROM_USER...more details

GET_STATUS_DESCRPrivate
CALL METHOD c_utils=>GET_STATUS_DESCR...more details

GET_TASK_FILTERPrivate
CALL METHOD c_utils=>GET_TASK_FILTER...more details

GET_VARIABLESReturns Generated Variables with ValuesPublic
CALL METHOD c_utils=>GET_VARIABLES...more details

GET_WD_ICON_WITH_PATHPrivate
CALL METHOD c_utils=>GET_WD_ICON_WITH_PATH...more details

GET_WORST_STATEDetermine Worst StatusesPublic
CALL METHOD c_utils=>GET_WORST_STATE...more details

HANDLE_FOLDERSPrivate
CALL METHOD c_utils=>HANDLE_FOLDERS...more details

HANDLE_METHODSPrivate
CALL METHOD c_utils=>HANDLE_METHODS...more details

HANDLE_PLANESPrivate
CALL METHOD c_utils=>HANDLE_PLANES...more details

HAS_NESTED_VARIANTPrivate
CALL METHOD c_utils=>HAS_NESTED_VARIANT...more details

INIT_TVARVCInitialize TVarvc VariablesPublic
CALL METHOD c_utils=>INIT_TVARVC...more details

INTERNAL_TO_DATE_TIMEPrivate
CALL METHOD c_utils=>INTERNAL_TO_DATE_TIME...more details

INT_TO_CHARConvert Number into DigitPublic
CALL METHOD c_utils=>INT_TO_CHAR...more details

IS_CLOCO_EHP3Check if New Closing Cockpit UI EhP3 is ActivePublic
CALL METHOD c_utils=>IS_CLOCO_EHP3...more details

IS_CUSTOMIZING_USRPrivate
CALL METHOD c_utils=>IS_CUSTOMIZING_USR...more details

IS_EHP6Private
CALL METHOD c_utils=>IS_EHP6...more details

IS_NEW_TIME_ACTIVENew time concept used?Public
CALL METHOD c_utils=>IS_NEW_TIME_ACTIVE...more details

IS_PROFILE_EXECUTEDHas Profile Already Been Executed?Public
CALL METHOD c_utils=>IS_PROFILE_EXECUTED...more details

IS_PROFILE_RELEASEDHas Profile Already Been Executed?Public
CALL METHOD c_utils=>IS_PROFILE_RELEASED...more details

IS_SLL_TEMPLATEDoes template belong to 'leading ledger switch'?Public
CALL METHOD c_utils=>IS_SLL_TEMPLATE...more details

IS_TCODE_ALLOWED_TASKLIST_MODIS_TCODE_ALLOWED_TASKLIST_MODPublic
CALL METHOD c_utils=>IS_TCODE_ALLOWED_TASKLIST_MOD...more details

JOBLOG_SHOWPrivate
CALL METHOD c_utils=>JOBLOG_SHOW...more details

METHODS_CAN_CHANGECheck whether Methods Can Be Changed (Lock ?)Public
CALL METHOD c_utils=>METHODS_CAN_CHANGE...more details

MIGRATE_DOCU_EHP6Document Migration from Releases < EHP6 to EHP6Public
CALL METHOD c_utils=>MIGRATE_DOCU_EHP6...more details

MIGRATE_INDX_EHP6Migration of Entries from INDX to TCC_INDXPublic
CALL METHOD c_utils=>MIGRATE_INDX_EHP6...more details

MONI_CLOSE_RECORDStart Any SuccessorsPublic
CALL METHOD c_utils=>MONI_CLOSE_RECORD...more details

MONI_SELECTED_LISTSelect Spool ListsPublic
CALL METHOD c_utils=>MONI_SELECTED_LIST...more details

M_TO_DTConvert day/time to days hours minutesPublic
CALL METHOD c_utils=>M_TO_DT...more details

POPUP_FOR_ADD_FIELDSPrivate
CALL METHOD c_utils=>POPUP_FOR_ADD_FIELDS...more details

POPUP_TO_CONFIRMCallup of FB POPUP_TO_CONFIRMPublic
CALL METHOD c_utils=>POPUP_TO_CONFIRM...more details

PROJECT_DATAPrivate
CALL METHOD c_utils=>PROJECT_DATA...more details

PR_CITEM_TO_SCMATREESPrivate
CALL METHOD c_utils=>PR_CITEM_TO_SCMATREES...more details

PR_CITEM_TO_TFC_PATH_ITEMPrivate
CALL METHOD c_utils=>PR_CITEM_TO_TFC_PATH_ITEM...more details

PR_CNODE_TO_TFC_PATH_ITEMPrivate
CALL METHOD c_utils=>PR_CNODE_TO_TFC_PATH_ITEM...more details

READ_TEXTSCalls Read Text PoolPublic
CALL METHOD c_utils=>READ_TEXTS...more details

REPLACE_SELVARPrivate
CALL METHOD c_utils=>REPLACE_SELVAR...more details

RETRIEVE_STRUC_FIELDSPrivate
CALL METHOD c_utils=>RETRIEVE_STRUC_FIELDS...more details

RETURN_BASIC_LIST_RESULTPrivate
CALL METHOD c_utils=>RETURN_BASIC_LIST_RESULT...more details

RETURN_DETAIL_LIST_RESULTPrivate
CALL METHOD c_utils=>RETURN_DETAIL_LIST_RESULT...more details

SET_CLOCO_EHP3Set Indicator 'New Closing Cockpit UI EhP3'Public
CALL METHOD c_utils=>SET_CLOCO_EHP3...more details

SET_DISPLAYED_TIME_ZONEPrivate
CALL METHOD c_utils=>SET_DISPLAYED_TIME_ZONE...more details

SET_DISPLAYED_TIME_ZONE_TYPEPrivate
CALL METHOD c_utils=>SET_DISPLAYED_TIME_ZONE_TYPE...more details

SET_TASK_FILTERPrivate
CALL METHOD c_utils=>SET_TASK_FILTER...more details

SHOW_BASIC_LISTDisplay Basic ListsPublic
CALL METHOD c_utils=>SHOW_BASIC_LIST...more details

SHOW_DETAIL_LISTDisplay Detail ListsPublic
CALL METHOD c_utils=>SHOW_DETAIL_LIST...more details

SHOW_JOBLOG_REMOTEDisplay Lists for a Remote TaskPublic
CALL METHOD c_utils=>SHOW_JOBLOG_REMOTE...more details

SHOW_MONITORShow MonitorPublic
CALL METHOD c_utils=>SHOW_MONITOR...more details

SHOW_SPOOLDisplay Spool ListsPublic
CALL METHOD c_utils=>SHOW_SPOOL...more details

SHOW_STATUS_HISTORYShow Status HistoryPublic
CALL METHOD c_utils=>SHOW_STATUS_HISTORY...more details

SORT_ITEMSPrivate
CALL METHOD c_utils=>SORT_ITEMS...more details

START_WORKFLOWStart WorkflowPublic
CALL METHOD c_utils=>START_WORKFLOW...more details

STEND_TO_OFFDURPrivate
CALL METHOD c_utils=>STEND_TO_OFFDUR...more details

STORE_TRACESave Trace to DatabasePublic
CALL METHOD c_utils=>STORE_TRACE...more details

SUBSTITUTE_VARIANTSubstitute VariantPublic
CALL METHOD c_utils=>SUBSTITUTE_VARIANT...more details

TASK_TYPE_TO_ICON2Private
CALL METHOD c_utils=>TASK_TYPE_TO_ICON2...more details

TRANSFER_TVARVPrivate
CALL METHOD c_utils=>TRANSFER_TVARV...more details

WRITE_TRACEAdd Entry to Trace TablePublic
CALL METHOD c_utils=>WRITE_TRACE...more details



C_UTILS attributes

List of attributes within class CL_ABAP_CHAR_UTILITIES. These can be referenced using the following syntax CL_ABAP_CHAR_UTILITIES=>. Although depending on where you are inserting the ABAP code you do need to check if the attribute is public or private.

NameLevelDescriptionInitial ValueTypeVisability
GC_ADD_DATA_INSTInstance AttributeLIKE
Private
GC_ADD_DATA_TEMPLInstance AttributeLIKE
Private
GC_INDX_DOCU_MIGRConstantMigration of Documents for EhP6'CLOCO_NEW_DOC'LIKE
INDX_SRTFD
Public
GC_INDX_STATUS_CONVConstantConversion of Statuses for EHP6'CLOCO_STATUS_CONV'LIKE
INDX_SRTFD
Public
GC_INDX_SYST_TIMEConstantMigration of Time in System Time'CLOCO_SYST_TIME'LIKE
INDX_SRTFD
Public
GC_STATUS_CHECKEDConstantSingle-Character Indicator'1'LIKE
CHAR1
Public
GC_STATUS_FINISHEDConstantSingle-Character Indicator'0'LIKE
CHAR1
Public
GC_STATUS_FIN_WITH_ERRORSConstantSingle-Character Indicator'4'LIKE
CHAR1
Public
GC_STATUS_FIN_WITH_WARNINGSConstantSingle-Character Indicator'2'LIKE
CHAR1
Public
GC_STATUS_IN_PROCESSConstantSingle-Character Indicator'R'LIKE
CHAR1
Public
GC_STATUS_NOT_STARTEDConstantSingle-Character Indicator''LIKE
CHAR1
Public
GC_STATUS_PROCESSING_CANCELLEDConstantSingle-Character Indicator'A'LIKE
CHAR1
Public
GC_STATUS_SCHEDULEDConstantSingle-Character Indicator'N'LIKE
CHAR1
Public
GC_STATUS_UNKNOWNConstantSingle-Character Indicator'U'LIKE
CHAR1
Public
GC_TASK_FILTER_VALUE_ALL_TASKSInstance AttributeLIKE
Private
GC_TASK_FILTER_VALUE_MY_TASKSConstant'MY_TASKS''MY_TASKS'LIKE
STRING
Public
GC_TOP_NODEConstantTop Node'MANDT'LIKE
STRING
Public
GC_URL_PREFIXConstantURL Prefix'CLOCOC_URL'LIKE
STRING
Public
GC_URL_PREFIX_PATTERNConstantURL Pattern Prefix'CLOCOC_URL*'LIKE
STRING
Public
GC_USR_CLOCO_TASKLISTConstantUser Parameter: CLOCO_TASKLIST'CLOCO_TASKLIST'LIKE
CHAR20
Public
GV_CLOCO_EHP3Static AttributeIndicator: Web Dynpro UISPACELIKE
CHAR1
Private
GV_TASK_FILTER_VALUEInstance AttributeLIKE
Private
MD_INSTANCEStatic AttributeCounterLIKE
TFC_NUM
Private
MD_PROFILEStatic AttributeFast Close: Task ListLIKE
TFC_PROFILE
Private
MD_SCMA_PROFStatic AttributeSchedule Manager: Task ListLIKE
PEPPROFILE
Private
MR_BADIInstance AttributeLIKE
Private
MR_BADI_NOT_USEDStatic AttributeData Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')LIKE
BOOLE_D
Private
MS_MESSAGEStatic AttributeStructure of a MessageLIKE
TFC_S_MESSAGE
Private
M_DISPLAYED_TIME_ZONEStatic AttributeTime ZoneLIKE
TZNZONE
Private
M_DISPLAYED_TIME_ZONE_TYPEStatic AttributeTime Zone CategoryLIKE
CHAR1
Private
M_IF_GET_PARENT_ORGStatic AttributeBAdI Interface IF_EX_TFC_GET_PARENT_ORGLIKE
IF_EX_TFC_GET_PARENT_ORG
Private
M_ITEM_MAPStatic AttributeCITEMX Folder for 'cut_copy_end' MethodLIKE
TFC_T_MAP_ITEM
Private
M_SYST_TIMEStatic AttributeIs the new time concept used?LIKE
CHAR1
Private
RESULTStatic AttributeReturn Value from ABAP Statements0LIKE
SY-SUBRC
Private
SMT_TRACEStatic AttributeTrace EntryLIKE
TFC_T_TRACE
Private
SMT_TVARVStatic AttributeVariables with ValuesLIKE
TVARVC_T
Private
SM_METHODS_ARE_LOCKEDStatic AttributeSingle-Character IndicatorLIKE
CHAR1
Private
SM_POPUPStatic AttributeResult from Dialog BoxLIKE
CHAR1
Public
SM_STATUS_SEVERITYStatic AttributeDetermination of Error GravityLIKE
TFC_T_STATUS_ITEM
Private
SM_TRACE_ACTIVEStatic AttributeSingle-Character Indicator''LIKE
CHAR1
Private


Links to Related Class(s)

C_UTILS...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!