SAP CL_COS_UTILITIES OO Class - Utility routines for content separation/client separation









CL_COS_UTILITIES 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 CL_COS_UTILITIES 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 CL_COS_UTILITIES 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
ASSERTAsserts if the function is executed in the specified contextPublic
CALL METHOD cl_cos_utilities=>ASSERT...more details

DISABLEDisables the function in the specified contextPublic
CALL METHOD cl_cos_utilities=>DISABLE...more details

DO_SERVER_STARTUP_ACTIONSSAP-internal method called at application server start-upPublic
CALL METHOD cl_cos_utilities=>DO_SERVER_STARTUP_ACTIONS...more details

GET_CLIENTReturns the current clientPublic
CALL METHOD cl_cos_utilities=>GET_CLIENT...more details

INVALIDATE_CACHEClears cached data (execute this interactively if needed)Public
CALL METHOD cl_cos_utilities=>INVALIDATE_CACHE...more details

ISChecks if a function is executable in the specified contextPublic
CALL METHOD cl_cos_utilities=>IS...more details

IS_ADMIN_CLIENTChecks if the current client is the administrative clientPublic
CALL METHOD cl_cos_utilities=>IS_ADMIN_CLIENT...more details

IS_APPLICATION_CLIENTChecks if the current client is an application clientPublic
CALL METHOD cl_cos_utilities=>IS_APPLICATION_CLIENT...more details

IS_BYDChecks if the system is in SAP Business ByDesign modePublic
CALL METHOD cl_cos_utilities=>IS_BYD...more details

IS_CLOUDDEPRECATED, see long textPublic
CALL METHOD cl_cos_utilities=>IS_CLOUD...more details

IS_CLOUD_WEBGUIDEPRECATED, see long textPublic
CALL METHOD cl_cos_utilities=>IS_CLOUD_WEBGUI...more details

IS_S4HChecks if this is a S/4 HANA systemPublic
CALL METHOD cl_cos_utilities=>IS_S4H...more details

IS_S4H_CLOUDChecks if this is a S/4 HANA Public or Managed Cloud systemPublic
CALL METHOD cl_cos_utilities=>IS_S4H_CLOUD...more details

IS_S4H_MANAGED_CLOUDChecks if this is a S/4 HANA Managed Cloud systemPublic
CALL METHOD cl_cos_utilities=>IS_S4H_MANAGED_CLOUD...more details

IS_S4H_ON_PREMISEChecks if this is a S/4 HANA On Premise systemPublic
CALL METHOD cl_cos_utilities=>IS_S4H_ON_PREMISE...more details

IS_S4H_PUBLIC_CLOUDChecks if this is a S/4 HANA Public Cloud systemPublic
CALL METHOD cl_cos_utilities=>IS_S4H_PUBLIC_CLOUD...more details

IS_SIMPLIFIED_SUITEDeprecated, use the correct IS_S4H... method insteadPublic
CALL METHOD cl_cos_utilities=>IS_SIMPLIFIED_SUITE...more details

IS_SUITEChecks if the system is in Suite modePublic
CALL METHOD cl_cos_utilities=>IS_SUITE...more details

IS_SYSTEM_CLIENTChecks if the current client is a system clientPublic
CALL METHOD cl_cos_utilities=>IS_SYSTEM_CLIENT...more details

LOG_EXCEPTIONLogs the error using log-pointsPrivate
CALL METHOD cl_cos_utilities=>LOG_EXCEPTION...more details

SFW_IS_BFUNC_SWITCHED_ONLocal copy of FM SFW_IS_BFUNC_SWITCHED_ONPrivate
CALL METHOD cl_cos_utilities=>SFW_IS_BFUNC_SWITCHED_ON...more details

VALIDATE_GV_S4HMakes sure GV_S4H is valid, loads data if neededPrivate
CALL METHOD cl_cos_utilities=>VALIDATE_GV_S4H...more details

VALIDATE_KERNEL_FLAGSMakes sure that kernel flags are set correctly (local)Public
CALL METHOD cl_cos_utilities=>VALIDATE_KERNEL_FLAGS...more details

_GET_KERNEL_FLAGGet flag from kernelPrivate
CALL METHOD cl_cos_utilities=>_GET_KERNEL_FLAG...more details

_IS_SAP_CLOUD_PLATFORMChecks if this is an SAP CP system (via kernel method)Private
CALL METHOD cl_cos_utilities=>_IS_SAP_CLOUD_PLATFORM...more details

_SET_KERNEL_FLAGSet flag into kernelPrivate
CALL METHOD cl_cos_utilities=>_SET_KERNEL_FLAG...more details



CL_COS_UTILITIES 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
CV_IDConstant'VALIDATE_GV_S4H:1'LIKE
COS_SHARED_MEM-ID
Private
GV_S4HStatic AttributeBuffered data for IS_S4H* methodsLIKE
Private
S4H_MANAGED_CLOUDConstantS4H Private Cloud Business Function'SIMPLIFY_MANAGED_CLOUD'LIKE
SFW_BFUNCTION
Private
S4H_ON_PREMISEConstantS4H On Premise Business Function'SIMPLIFY_ON_PREMISE'LIKE
SFW_BFUNCTION
Private
S4H_PUBLIC_CLOUDConstantS4H Public Cloud Business Function'SIMPLIFY_PUBLIC_CLOUD'LIKE
SFW_BFUNCTION
Private
_KERNEL_FLAGConstantFlags for methods _SET/_GET_KERNEL_FLAGSLIKE
Private


Links to Related Class(s)

CL_COS_U...
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!