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 Name | Description | Visability |
| ASSERT | Asserts if the function is executed in the specified context | Public |
| CALL METHOD cl_cos_utilities=>ASSERT...more details | ||
| DISABLE | Disables the function in the specified context | Public |
| CALL METHOD cl_cos_utilities=>DISABLE...more details | ||
| DO_SERVER_STARTUP_ACTIONS | SAP-internal method called at application server start-up | Public |
| CALL METHOD cl_cos_utilities=>DO_SERVER_STARTUP_ACTIONS...more details | ||
| GET_CLIENT | Returns the current client | Public |
| CALL METHOD cl_cos_utilities=>GET_CLIENT...more details | ||
| INVALIDATE_CACHE | Clears cached data (execute this interactively if needed) | Public |
| CALL METHOD cl_cos_utilities=>INVALIDATE_CACHE...more details | ||
| IS | Checks if a function is executable in the specified context | Public |
| CALL METHOD cl_cos_utilities=>IS...more details | ||
|
| ||
| IS_ADMIN_CLIENT | Checks if the current client is the administrative client | Public |
| CALL METHOD cl_cos_utilities=>IS_ADMIN_CLIENT...more details | ||
| IS_APPLICATION_CLIENT | Checks if the current client is an application client | Public |
| CALL METHOD cl_cos_utilities=>IS_APPLICATION_CLIENT...more details | ||
| IS_BYD | Checks if the system is in SAP Business ByDesign mode | Public |
| CALL METHOD cl_cos_utilities=>IS_BYD...more details | ||
| IS_CLOUD | DEPRECATED, see long text | Public |
| CALL METHOD cl_cos_utilities=>IS_CLOUD...more details | ||
| IS_CLOUD_WEBGUI | DEPRECATED, see long text | Public |
| CALL METHOD cl_cos_utilities=>IS_CLOUD_WEBGUI...more details | ||
| IS_S4H | Checks if this is a S/4 HANA system | Public |
| CALL METHOD cl_cos_utilities=>IS_S4H...more details | ||
| IS_S4H_CLOUD | Checks if this is a S/4 HANA Public or Managed Cloud system | Public |
| CALL METHOD cl_cos_utilities=>IS_S4H_CLOUD...more details | ||
| IS_S4H_MANAGED_CLOUD | Checks if this is a S/4 HANA Managed Cloud system | Public |
| CALL METHOD cl_cos_utilities=>IS_S4H_MANAGED_CLOUD...more details | ||
| IS_S4H_ON_PREMISE | Checks if this is a S/4 HANA On Premise system | Public |
| CALL METHOD cl_cos_utilities=>IS_S4H_ON_PREMISE...more details | ||
| IS_S4H_PUBLIC_CLOUD | Checks if this is a S/4 HANA Public Cloud system | Public |
| CALL METHOD cl_cos_utilities=>IS_S4H_PUBLIC_CLOUD...more details | ||
| IS_SIMPLIFIED_SUITE | Deprecated, use the correct IS_S4H... method instead | Public |
| CALL METHOD cl_cos_utilities=>IS_SIMPLIFIED_SUITE...more details | ||
| IS_SUITE | Checks if the system is in Suite mode | Public |
| CALL METHOD cl_cos_utilities=>IS_SUITE...more details | ||
| IS_SYSTEM_CLIENT | Checks if the current client is a system client | Public |
| CALL METHOD cl_cos_utilities=>IS_SYSTEM_CLIENT...more details | ||
| LOG_EXCEPTION | Logs the error using log-points | Private |
| CALL METHOD cl_cos_utilities=>LOG_EXCEPTION...more details | ||
| SFW_IS_BFUNC_SWITCHED_ON | Local copy of FM SFW_IS_BFUNC_SWITCHED_ON | Private |
| CALL METHOD cl_cos_utilities=>SFW_IS_BFUNC_SWITCHED_ON...more details | ||
| VALIDATE_GV_S4H | Makes sure GV_S4H is valid, loads data if needed | Private |
| CALL METHOD cl_cos_utilities=>VALIDATE_GV_S4H...more details | ||
| VALIDATE_KERNEL_FLAGS | Makes sure that kernel flags are set correctly (local) | Public |
| CALL METHOD cl_cos_utilities=>VALIDATE_KERNEL_FLAGS...more details | ||
| _GET_KERNEL_FLAG | Get flag from kernel | Private |
| CALL METHOD cl_cos_utilities=>_GET_KERNEL_FLAG...more details | ||
| _IS_SAP_CLOUD_PLATFORM | Checks if this is an SAP CP system (via kernel method) | Private |
| CALL METHOD cl_cos_utilities=>_IS_SAP_CLOUD_PLATFORM...more details | ||
| _SET_KERNEL_FLAG | Set flag into kernel | Private |
| 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.
| Name | Level | Description | Initial Value | Type | Visability |
| CV_ID | Constant | 'VALIDATE_GV_S4H:1' | LIKE COS_SHARED_MEM-ID | Private | |
| GV_S4H | Static Attribute | Buffered data for IS_S4H* methods | LIKE | Private | |
| S4H_MANAGED_CLOUD | Constant | S4H Private Cloud Business Function | 'SIMPLIFY_MANAGED_CLOUD' | LIKE SFW_BFUNCTION | Private |
| S4H_ON_PREMISE | Constant | S4H On Premise Business Function | 'SIMPLIFY_ON_PREMISE' | LIKE SFW_BFUNCTION | Private |
| S4H_PUBLIC_CLOUD | Constant | S4H Public Cloud Business Function | 'SIMPLIFY_PUBLIC_CLOUD' | LIKE SFW_BFUNCTION | Private |
| _KERNEL_FLAG | Constant | Flags for methods _SET/_GET_KERNEL_FLAGS | LIKE | 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