Get standard public static methods
Publié le 23 novembre 2023
In modern ABAP, it is preferred to use methods rather than function modules.
However, it is not always easy to find the right standard method to replace a function.
One can perform a search using the method name or the method description (which is case-sensitive!) or through the where-used list of a known function module that one wants to replace.
Once an initial list is obtained, we need to verify that the standard method is public (it can be called from our specific code) and preferably static (the call can be made in a single instruction without having to instantiate the class).
Here we offer you a tool that will provide you with a list of standard static methods that match your requirements.
Use the tool like a classical ABAP selection-screen. Press the Execution button to get the results.
Use a star * for a pattern search.
The search terms are case-insensitive.
Find standard public static methods
Your search results
Class name |
Method name |
Method description |
Returning parameter |
Numb. of exceptions |
CL_CIM_UTIL |
PARSE_CIM_DATETIME |
Converts a CIM DateTime string to a DateTime object |
DATETIME |
0 |
CL_DPR_MSP_UTILITY |
CONVERT_DATE_MSP2DPR |
Converts a string to date |
|
0 |
CL_EHFND_DATE_UTIL |
CONVERT_STRING_TO_DATE |
Converts a string into a date |
RV_DATE |
0 |
CL_ILM_STOR_DATE |
TO_DATE |
Converts a String into a Date |
RV_VALUE |
1 |
CL_RECA_DATE |
CONVERT_DATE_TO_STRING_X |
Converts Date to String (Weekday, Date) |
|
0 |
CL_RECA_TIMESTAMP |
CONVERT_TIMESTAMP_TO_STRING_XL |
Converts Time Stamp to String (Weekday, Date, Time) |
RD_XTIMESTAMP |
0 |
CL_RECA_TIMESTAMP |
CONVERT_TIMESTAMP_TO_STRING_XM |
Converts Time Stamp to String (Weekday, Date, Time) |
RD_XTIMESTAMP |
0 |
CL_SLD_UTIL |
TO_DT |
Converts string to date time |
RET |
1 |
CL_SLD_UTIL |
TO_DT_A |
Converts string rray to date time array |
RET |
1 |
CL_XSS_CAT_RFC_COMMAND_TOOLS |
DURATION_CONVERSION |
Convert Planned Hour and Break Duration, from String to Date |
RV_VALUE |
0 |