SAP /SCMTMS/CL_COMMON_HELPER OO Class - Class for common helper methods









/SCMTMS/CL_COMMON_HELPER 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 /SCMTMS/CL_COMMON_HELPER 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 /SCMTMS/CL_COMMON_HELPER 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_ADDON_FOR_UNCRIT_PPFActivates PPF add-onPublic
CALL METHOD /scmtms/cl_common_helper=>ACTIVATE_ADDON_FOR_UNCRIT_PPF...more details

ADD_EXCEPTION2APPLOG_BOAdd exception texts into application logPublic
CALL METHOD /scmtms/cl_common_helper=>ADD_EXCEPTION2APPLOG_BO...more details

ADD_MSG2APPLOG_BOAdd a new message to an initialized Application Log BO inst.Public
CALL METHOD /scmtms/cl_common_helper=>ADD_MSG2APPLOG_BO...more details

ADD_SELOPT_WITH_LEADING_0Adds entries to Selopt table with leading 0Public
CALL METHOD /scmtms/cl_common_helper=>ADD_SELOPT_WITH_LEADING_0...more details

ALPHA_CHAR10_IDDo alpha conversion for CHAR10 IDPublic
CALL METHOD /scmtms/cl_common_helper=>ALPHA_CHAR10_ID...more details

ANALYZE_CHANGESAnalyze BOPF change objectPublic
CALL METHOD /scmtms/cl_common_helper=>ANALYZE_CHANGES...more details

ANALYZE_MESSAGESAnalyze BOPF message objectPublic
CALL METHOD /scmtms/cl_common_helper=>ANALYZE_MESSAGES...more details

CALCULATE_HASH_CHAR16Calculate hash value from string, result is CHAR16Public
CALL METHOD /scmtms/cl_common_helper=>CALCULATE_HASH_CHAR16...more details

CHANGING_TRANSACTIONAny changes within current transaction?Public
CALL METHOD /scmtms/cl_common_helper=>CHANGING_TRANSACTION...more details

CHECK_AGING_BEFORE_REOPENCheck if there are any aged referenced docs before reopenPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_AGING_BEFORE_REOPEN...more details

CHECK_DOC_AGING_STATUSCheck documents if aged or notPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_DOC_AGING_STATUS...more details

CHECK_DOC_ARCHIVE_STATUSCheck documents if archived or notPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_DOC_ARCHIVE_STATUS...more details

CHECK_EXT_DOCFLOW_AIS_EXISTSIs there an active AIS to read TM doc flows from archive?Public
CALL METHOD /scmtms/cl_common_helper=>CHECK_EXT_DOCFLOW_AIS_EXISTS...more details

CHECK_FAILED_MODIFICATIONSCheck for failed modifications after IO_MODIFY->DO_MODIFYPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_FAILED_MODIFICATIONS...more details

CHECK_INSERT_KEYcheck and insert keys into Key tablesPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_INSERT_KEY...more details

CHECK_INSERT_KEYScheck and insert several keys into Key tablesPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_INSERT_KEYS...more details

CHECK_TM_CLOUD_EXISTSCheck package CLOUD_TM existsPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_TM_CLOUD_EXISTS...more details

CHECK_USER_ASSIGNM_TO_ORGUNITCheck, if current is assigned to a certain orgunitPublic
CALL METHOD /scmtms/cl_common_helper=>CHECK_USER_ASSIGNM_TO_ORGUNIT...more details

CLEAR_LOCAL_BUFFERSClean local buffers e.g. after refresh or Buf variant cleanuPublic
CALL METHOD /scmtms/cl_common_helper=>CLEAR_LOCAL_BUFFERS...more details

CONCATENATE_FIELDSConcatenate field values for multi-value casePublic
CALL METHOD /scmtms/cl_common_helper=>CONCATENATE_FIELDS...more details

CONVERT_DATE_TO_DEFLT_TZONEDate defaulted to a Time ZonePublic
CALL METHOD /scmtms/cl_common_helper=>CONVERT_DATE_TO_DEFLT_TZONE...more details

CONVERT_GUID_2_OBJECT_IDConvert document GUID into OBJECT_ID for archiving logPublic
CALL METHOD /scmtms/cl_common_helper=>CONVERT_GUID_2_OBJECT_ID...more details

CONVERT_KEY_TAB_TO_KEY_TABConvert /bobf/t_frw_key2 to /bobf/t_frw_key2Public
CALL METHOD /scmtms/cl_common_helper=>CONVERT_KEY_TAB_TO_KEY_TAB...more details

CONVERT_TSTMP2STRINGConvert timestamp into stringPublic
CALL METHOD /scmtms/cl_common_helper=>CONVERT_TSTMP2STRING...more details

CONVERT_UNITPublic
CALL METHOD /scmtms/cl_common_helper=>CONVERT_UNIT...more details

CONVERT_WARNING_MSG_TO_ERRORConvert warning messages into error messagesPublic
CALL METHOD /scmtms/cl_common_helper=>CONVERT_WARNING_MSG_TO_ERROR...more details

CONV_SEARCH_DATS_2_RANGEConvert query date/time selection to timestampPublic
CALL METHOD /scmtms/cl_common_helper=>CONV_SEARCH_DATS_2_RANGE...more details

COUNT_PERIODCount number of periodsPrivate
CALL METHOD /scmtms/cl_common_helper=>COUNT_PERIOD...more details

CURRENCY_CODE_ISO_TO_SAPTranslates an ISO code into the SAP internal currency keyPublic
CALL METHOD /scmtms/cl_common_helper=>CURRENCY_CODE_ISO_TO_SAP...more details

CURRENCY_CODE_SAP_TO_ISOTranslates an SAP internal currency key into the ISO codePublic
CALL METHOD /scmtms/cl_common_helper=>CURRENCY_CODE_SAP_TO_ISO...more details

CURRENCY_CONVERTConvert into another currencyPublic
CALL METHOD /scmtms/cl_common_helper=>CURRENCY_CONVERT...more details

CURRENCY_INT_TO_EXT_FORMATConverts internal currency to external currency formatPublic
CALL METHOD /scmtms/cl_common_helper=>CURRENCY_INT_TO_EXT_FORMAT...more details

DETERMINATION_TRIGGER_NODESGet determination trigger nodes at runtimePublic
CALL METHOD /scmtms/cl_common_helper=>DETERMINATION_TRIGGER_NODES...more details

DUR_TO_SECGet duration for secondsPublic
CALL METHOD /scmtms/cl_common_helper=>DUR_TO_SEC...more details

EXTRACT_FRWKEY_FROM_TABLESExtract the FRW Keys from a generic tablePublic
CALL METHOD /scmtms/cl_common_helper=>EXTRACT_FRWKEY_FROM_TABLES...more details

FILTER_LOCATIONS_4_DPPFilter blocked locations for Data Protection and PrivacyPublic
CALL METHOD /scmtms/cl_common_helper=>FILTER_LOCATIONS_4_DPP...more details

FILTER_MODIFICATIONFilter modification tablePublic
CALL METHOD /scmtms/cl_common_helper=>FILTER_MODIFICATION...more details

FINALIZE_CHAR10_IDDo alpha conversion for CHAR10 IDs before savingPublic
CALL METHOD /scmtms/cl_common_helper=>FINALIZE_CHAR10_ID...more details

GET_ARCHIVE_STATUSGet archive status text (Archived or initial)Public
CALL METHOD /scmtms/cl_common_helper=>GET_ARCHIVE_STATUS...more details

GET_ARCHIVING_DOC_CONTEXTGet document context for archiving of TM documentsPublic
CALL METHOD /scmtms/cl_common_helper=>GET_ARCHIVING_DOC_CONTEXT...more details

GET_ASSOC_STRUCGet association structure by bo and assoc keyPublic
CALL METHOD /scmtms/cl_common_helper=>GET_ASSOC_STRUC...more details

GET_BO_INST_DESCRGet BO instance descriptionPublic
CALL METHOD /scmtms/cl_common_helper=>GET_BO_INST_DESCR...more details

GET_BO_INST_DESCR_MASSGet BO instance descriptionsPublic
CALL METHOD /scmtms/cl_common_helper=>GET_BO_INST_DESCR_MASS...more details

GET_BO_NRIV_ATTRIBUTEGet name of Number Range Interval ID attribute of a BOPublic
CALL METHOD /scmtms/cl_common_helper=>GET_BO_NRIV_ATTRIBUTE...more details

GET_BO_ROOT_NODE_KEYGet BO ROOT node keyPublic
CALL METHOD /scmtms/cl_common_helper=>GET_BO_ROOT_NODE_KEY...more details

GET_BP_ID_FROM_KEYGet business partner ID from keyPublic
CALL METHOD /scmtms/cl_common_helper=>GET_BP_ID_FROM_KEY...more details

GET_CHANGED_INSTANCESCompare before and current images and return chagd instancesPublic
CALL METHOD /scmtms/cl_common_helper=>GET_CHANGED_INSTANCES...more details

GET_COMPANY_ORG_CURRENCYGet currency code of parent company organizationPublic
CALL METHOD /scmtms/cl_common_helper=>GET_COMPANY_ORG_CURRENCY...more details

GET_DOCREL_LINKSGet list of dependent documentsPrivate
CALL METHOD /scmtms/cl_common_helper=>GET_DOCREL_LINKS...more details

GET_DOMAINVALUE_BY_TEXTGet domain value by text (by code text)Public
CALL METHOD /scmtms/cl_common_helper=>GET_DOMAINVALUE_BY_TEXT...more details

GET_DOMAINVALUE_TEXTGet text of domain value (by code value)Public
CALL METHOD /scmtms/cl_common_helper=>GET_DOMAINVALUE_TEXT...more details

GET_DOMAIN_VALUEGet Domain ValuePublic
CALL METHOD /scmtms/cl_common_helper=>GET_DOMAIN_VALUE...more details

GET_DO_ASSOC_KEY_BY_NAMEDetermine the runtime assoc key of a DO assoc by its namePublic
CALL METHOD /scmtms/cl_common_helper=>GET_DO_ASSOC_KEY_BY_NAME...more details

GET_DO_ENTITY_KEYDetermine the runtime BO entity key of a DOPublic
CALL METHOD /scmtms/cl_common_helper=>GET_DO_ENTITY_KEY...more details

GET_DO_KEYS_4_ACTIONDetermine the DO runtime BO entity keys for ActionPublic
CALL METHOD /scmtms/cl_common_helper=>GET_DO_KEYS_4_ACTION...more details

GET_DO_KEYS_4_RBADetermine the DO runtime BO entity keys for RbAssociationPublic
CALL METHOD /scmtms/cl_common_helper=>GET_DO_KEYS_4_RBA...more details

GET_DO_NODE_KEY_BY_NAMEDetermine the runtime node key of a DO node by its namePublic
CALL METHOD /scmtms/cl_common_helper=>GET_DO_NODE_KEY_BY_NAME...more details

GET_DTEL_TEXTGet text of data elementPublic
CALL METHOD /scmtms/cl_common_helper=>GET_DTEL_TEXT...more details

GET_DTEL_TEXT_LONGGet text of data element (long)Public
CALL METHOD /scmtms/cl_common_helper=>GET_DTEL_TEXT_LONG...more details

GET_DTEL_TEXT_MEDIUMGet text of data element (medium)Public
CALL METHOD /scmtms/cl_common_helper=>GET_DTEL_TEXT_MEDIUM...more details

GET_DTEL_TEXT_SHORTGet text of data element (short)Public
CALL METHOD /scmtms/cl_common_helper=>GET_DTEL_TEXT_SHORT...more details

GET_PERIOD_INFOGet period from periodicity, valid-from, valid-toPublic
CALL METHOD /scmtms/cl_common_helper=>GET_PERIOD_INFO...more details

GET_PLN_RELEVANT_ITEMSRetrieves all planning relevant itemsPublic
CALL METHOD /scmtms/cl_common_helper=>GET_PLN_RELEVANT_ITEMS...more details

GET_ROOT_ORGGet root organization (by internal org unit ID)Public
CALL METHOD /scmtms/cl_common_helper=>GET_ROOT_ORG...more details

GET_SOURCE_KEYS_FROM_LINK_TABGet source keys from link tablePublic
CALL METHOD /scmtms/cl_common_helper=>GET_SOURCE_KEYS_FROM_LINK_TAB...more details

GET_TARGET_KEYS_FROM_LINK_TABGet target keys from link tablePublic
CALL METHOD /scmtms/cl_common_helper=>GET_TARGET_KEYS_FROM_LINK_TAB...more details

GET_TIME_ZONE_SORGGet Time Zone of Sales OrgPublic
CALL METHOD /scmtms/cl_common_helper=>GET_TIME_ZONE_SORG...more details

HANDLE_FAILED_KEYSMerge failed keys and remove from key tablePublic
CALL METHOD /scmtms/cl_common_helper=>HANDLE_FAILED_KEYS...more details

INSERT_KEYcheck and insert keys into Key tablesPublic
CALL METHOD /scmtms/cl_common_helper=>INSERT_KEY...more details

INS_KEYObsolete: insert keys into returned key tablesPublic
CALL METHOD /scmtms/cl_common_helper=>INS_KEY...more details

IS_CLOUDOBSOLETE: Use CHECK_TM_CLOUD_EXISTS()Public
CALL METHOD /scmtms/cl_common_helper=>IS_CLOUD...more details

LOC_KEY_GET_TIMEZONEGet the time zone for a locationPublic
CALL METHOD /scmtms/cl_common_helper=>LOC_KEY_GET_TIMEZONE...more details

MAP_ORG_EXT2INTMap external Org Unit ID to internal Org Unit IDPublic
CALL METHOD /scmtms/cl_common_helper=>MAP_ORG_EXT2INT...more details

MAP_ORG_INT2EXTMap internal Org Unit ID to external Org Unit IDPublic
CALL METHOD /scmtms/cl_common_helper=>MAP_ORG_INT2EXT...more details

MERGE_LINK_TABLESMerge link tables to get the complete chainPublic
CALL METHOD /scmtms/cl_common_helper=>MERGE_LINK_TABLES...more details

MERGE_LINK_TABLES_CHANGINGMerge link tables to get the complete chainPublic
CALL METHOD /scmtms/cl_common_helper=>MERGE_LINK_TABLES_CHANGING...more details

MERGE_LINK_TABLES_JOININGMerge link tables to get the complete chainPublic
CALL METHOD /scmtms/cl_common_helper=>MERGE_LINK_TABLES_JOINING...more details

MERGE_LINK_TABLES_KEEPINGMerge link tables to get the complete chainPublic
CALL METHOD /scmtms/cl_common_helper=>MERGE_LINK_TABLES_KEEPING...more details

MSG_CONVERT_BAPIRET2_2_BOPFConvert BAPIRET2 messages into BOPF messagesPublic
CALL METHOD /scmtms/cl_common_helper=>MSG_CONVERT_BAPIRET2_2_BOPF...more details

MSG_CONVERT_BOPF_2_BAPIRET2Convert BOPF messages into BAPIRET2 formatPublic
CALL METHOD /scmtms/cl_common_helper=>MSG_CONVERT_BOPF_2_BAPIRET2...more details

MSG_HELPER_ADD_MOBOBF Message handling helper: Add new message objectPublic
CALL METHOD /scmtms/cl_common_helper=>MSG_HELPER_ADD_MO...more details

MSG_HELPER_ADD_SYMSGBOBF Message handling helper: Add Sy-messagePublic
CALL METHOD /scmtms/cl_common_helper=>MSG_HELPER_ADD_SYMSG...more details

NORMALIZE_QTY_IN_DIMENSIONTABNormalize quantities in dimension tablePublic
CALL METHOD /scmtms/cl_common_helper=>NORMALIZE_QTY_IN_DIMENSIONTAB...more details

NO_READ_FROM_ARCHIVEControl archive access in GET_ARCHIVING_DOC_CONTEXTPrivate
CALL METHOD /scmtms/cl_common_helper=>NO_READ_FROM_ARCHIVE...more details

QTY_ADJUSTMENTAdjust quantitiesPublic
CALL METHOD /scmtms/cl_common_helper=>QTY_ADJUSTMENT...more details

ROUND_TIMESTAMP_TO_DAYRound a time stamp to the full dayPublic
CALL METHOD /scmtms/cl_common_helper=>ROUND_TIMESTAMP_TO_DAY...more details

SEC_TO_DURGet seconds for durationPublic
CALL METHOD /scmtms/cl_common_helper=>SEC_TO_DUR...more details

SEND_MAILSend EmailPublic
CALL METHOD /scmtms/cl_common_helper=>SEND_MAIL...more details

SET_FIELD_PROPERTIESSet properties for node attributesPublic
CALL METHOD /scmtms/cl_common_helper=>SET_FIELD_PROPERTIES...more details

SORT_CREATE_MODIFICATIONSSort create modifications before calling ~modifyPublic
CALL METHOD /scmtms/cl_common_helper=>SORT_CREATE_MODIFICATIONS...more details

SORT_UPD_DEL_MODIFICATIONSSort update/delete modifications before calling ~modifyPublic
CALL METHOD /scmtms/cl_common_helper=>SORT_UPD_DEL_MODIFICATIONS...more details

STRUC_GET_FIELDNAMESDetermine list of components of a DDIC structurePublic
CALL METHOD /scmtms/cl_common_helper=>STRUC_GET_FIELDNAMES...more details

SYNC_POINT_CREATEObsolete: Create BOPF Sync PointPublic
CALL METHOD /scmtms/cl_common_helper=>SYNC_POINT_CREATE...more details

SYNC_POINT_DELETEObsolete: Delete Sync Point to release memoryPublic
CALL METHOD /scmtms/cl_common_helper=>SYNC_POINT_DELETE...more details

SYNC_POINT_ROLLBACK_TOObsolete: Rollback to Sync PointPublic
CALL METHOD /scmtms/cl_common_helper=>SYNC_POINT_ROLLBACK_TO...more details



/SCMTMS/CL_COMMON_HELPER 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
MO_CONFStatic AttributeInterface for ConfigurationLIKE
/BOBF/IF_FRW_CONFIGURATION
Private
MO_STRUCT_DESCRStatic AttributeLIKE
CL_ABAP_STRUCTDESCR
Private
MT_AGED_ROOT_KEYStatic AttributeRoot Keys of Aged DocsLIKE
/BOBF/T_FRW_KEY
Private
MT_DOMTEXTSStatic AttributeDomain text bufferLIKE
TT_DOMTEXTS
Private
MT_DOM_VALUESStatic AttributeLIKE
TT_DOM_VALUES
Private
MT_NOT_AGED_ROOT_KEYStatic AttributeRoot Keys of Not Aged DocsLIKE
/BOBF/T_FRW_KEY
Private
MT_ORGUNIT_ASSINGMStatic AttributeOrganizational UnitLIKE
/SCMB/T_ORGUNIT
Protected
MT_ROOT_SYNC_POINTStatic AttributeSync Point AdministrationLIKE
/SCMTMS/T_SYNC_POINT_ADMIN
Private
MT_SYNC_POINT_REGISTRYStatic AttributeSync Point AdministrationLIKE
/SCMTMS/T_SYNC_POINT_ADMIN
Private
MT_WHITELISTStatic AttributeQuantity of Strings (Unique)LIKE
STRING_HASHED_TABLE
Private
MV_APPLOG_ACTIVEStatic AttributeApplictaion Log active / inactiveABAP_FALSELIKE
BOOLE_D
Protected
MV_AUNIT_IS_CLOUD_SETStatic AttributeMV_IS_CLOUD was set in unit testLIKE
ABAP_BOOL
Private
MV_CURRENT_SYNC_POINTStatic AttributeNatural numberLIKE
INT4
Private
MV_IS_CLOUDStatic AttributeBuffered value of method //CL_COMMON_HELPER=>IS_CLOUD()LIKE
ABAP_BOOL
Private
MV_IS_CLOUD_DBStatic AttributeMV_IS_CLOUD value before overwritten in unit testLIKE
ABAP_BOOL
Private
MV_LAST_BO_KEYStatic AttributeLast BO KeyLIKE
/BOBF/CONF_KEY
Private
MV_NUM_SYNC_POINTSStatic AttributeNatural numberLIKE
INT4
Private
SC_AL_ORIGINATOR_FUBUILDERConstantApplication Log Message Originator'FUB'LIKE
STRING
Public
SC_AL_ORIGINATOR_OPTIMIZERConstantApplication Log Message Originator'OPTIMIZER'LIKE
STRING
Public
SC_AL_PROBCLASS_IMPORTANTConstantApplication log: Important problem class/SCMTMS/CL_APPLOG_HELPER=>SC_AL_PROBCLASS_IMPORTANTLIKE
BALPROBCL
Public
SC_AL_SOBJ_BFConstantApplication Log: Basic Functions/SCMTMS/CL_APPLOG_HELPER=>SC_AL_SOBJ_BFLIKE
BALSUBOBJ
Public
SC_AL_SOBJ_PLNConstantApplication Log: Planning/SCMTMS/CL_APPLOG_HELPER=>SC_AL_SOBJ_PLNLIKE
BALSUBOBJ
Public
SC_IEQ_TYPEConstantLIKE
Public




/SCMTMS/CL_COMMON_HELPER types

TS_DOC_CONTEXT - [#################ƒ########################################]
TT_DOC_CONTEXT - [#################ƒ########################################]
TT_DOMTEXTS - Domain text buffer type
TT_DOM_VALUES -
TT_MAIL_ADRESS -
TT_NODE_KEYS - [##########################################################]
TT_PERIOD_INFO - [#########ƒ################################################]
TT_TXC - [##########################################################]
TT_USER_NAME -
TY_ATF_KEY_MAPPING - [############ƒ#############################################]
TY_DOM_VALUES -
TY_NODE_KEYS - [##########################################################]
TY_PERIOD_INFO - [#########ƒ################################################]
TY_TM_CLOUD_ACTIVE -
TY_TXC - [##########################################################]
TY_TXC_KEY_MAPPING - [##########################################################]

Links to Related Class(s)

/SCMTMS/...
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!