SAP CL_ABAP_DYN_PRG OO Class - Support for dynamic programming
CL_ABAP_DYN_PRG 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_ABAP_DYN_PRG 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_ABAP_DYN_PRG 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 |
| CHECK_CHAR_LITERAL | Check whether the input is a valid type c literal | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_CHAR_LITERAL...more details | ||
| CHECK_COLUMN_NAME | Check whether the input can be a column name | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_COLUMN_NAME...more details | ||
| CHECK_INT_VALUE | Check whether the input is a valid integer (optional sign) | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_INT_VALUE...more details | ||
| CHECK_PROGRAM_NAME_STR | Check whether the input is a program name, check package | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_PROGRAM_NAME_STR...more details | ||
| CHECK_PROGRAM_NAME_TAB | Check whether the input is a program name, check package | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_PROGRAM_NAME_TAB...more details | ||
| CHECK_STRING_LITERAL | Check whether the input is a valid type string literal | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_STRING_LITERAL...more details | ||
|
| ||
| CHECK_TABLE_NAME_STR | Check whether the input is a DB table name, check package | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_NAME_STR...more details | ||
| CHECK_TABLE_NAME_TAB | Check whether the input is a DB table name, check package | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_NAME_TAB...more details | ||
| CHECK_TABLE_OR_VIEW_NAME_STR | Check whether input is DB table or view name, check package | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_OR_VIEW_NAME_STR...more details | ||
| CHECK_TABLE_OR_VIEW_NAME_TAB | Check whether input is DB table or view name, check package | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_OR_VIEW_NAME_TAB...more details | ||
| CHECK_VARIABLE_NAME | Check whether the input can be a variable name | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_VARIABLE_NAME...more details | ||
| CHECK_WHITELIST_STR | Check whether the input is in a whitelist (string version) | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_WHITELIST_STR...more details | ||
| CHECK_WHITELIST_TAB | Check whether the input is in a whitelist (table version) | Public |
| CALL METHOD cl_abap_dyn_prg=>CHECK_WHITELIST_TAB...more details | ||
| ESCAPE_QUOTES | Escape single quotes | Public |
| CALL METHOD cl_abap_dyn_prg=>ESCAPE_QUOTES...more details | ||
| ESCAPE_QUOTES_STR | Escape backquotes | Public |
| CALL METHOD cl_abap_dyn_prg=>ESCAPE_QUOTES_STR...more details | ||
| ESCAPE_XSS_CSS | Escape Cascading Style Sheets string for XSS safety | Public |
| CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_CSS...more details | ||
| ESCAPE_XSS_JAVASCRIPT | Escape Javascript string for XSS safety | Public |
| CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_JAVASCRIPT...more details | ||
| ESCAPE_XSS_URL | Escape URL string for XSS safety | Public |
| CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_URL...more details | ||
| ESCAPE_XSS_XML_HTML | Escape XML/HTML string for XSS safety | Public |
| CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_XML_HTML...more details | ||
| MASS_CHECK_WHITELIST_STR | Check whether many input values are in a whitelist | Public |
| CALL METHOD cl_abap_dyn_prg=>MASS_CHECK_WHITELIST_STR...more details | ||
| MASS_CHECK_WHITELIST_TAB | Check whether many input values are in a whitelist | Public |
| CALL METHOD cl_abap_dyn_prg=>MASS_CHECK_WHITELIST_TAB...more details | ||
| QUOTE | Put single quotes around the value and escape single quotes | Public |
| CALL METHOD cl_abap_dyn_prg=>QUOTE...more details | ||
| QUOTE_DBL | Put double quotes around the value and escape double quotes | Public |
| CALL METHOD cl_abap_dyn_prg=>QUOTE_DBL...more details | ||
| QUOTE_STR | Put backquotes around the value and escape backquotes | Public |
| CALL METHOD cl_abap_dyn_prg=>QUOTE_STR...more details | ||
| REFRESH_BUFFERS | Clear the caches of check_table_[or_view]_name_* | Public |
| CALL METHOD cl_abap_dyn_prg=>REFRESH_BUFFERS...more details | ||
CL_ABAP_DYN_PRG 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 |
| CACHE_FOR_PROGRAMS | Static Attribute | LIKE | Private | ||
| CACHE_FOR_TABLES | Static Attribute | LIKE | Private | ||
| CACHE_FOR_TABLES_AND_VIEWS | Static Attribute | LIKE | Private | ||
| COL_CHECK_CDS | Constant | Allow '~', ' ', '-' for columns in CDS entities | 'C' | LIKE TY_COL_CHECK | Public |
| COL_CHECK_NORMAL | Constant | Allow '~' for inclusion of table names | ' ' | LIKE TY_COL_CHECK | Public |
| COL_CHECK_STRICT | Constant | Forbid '~', just column names without table name | 'X' | LIKE TY_COL_CHECK | Public |
| DIALECT_NATIVE_SQL | Constant | Check for native SQL | 'N' | LIKE TY_DIALECT | Public |
| DIALECT_OPEN_SQL | Constant | Check for Open SQL | 'O' | LIKE TY_DIALECT | Public |
| RESULT_NOT_A_PROGRAM | Constant | '1' | LIKE | Private | |
| RESULT_NOT_A_TABLE | Constant | '1' | LIKE | Private | |
| RESULT_NOT_IN_PACKAGE | Constant | '2' | LIKE | Private | |
| RESULT_OKAY | Constant | '0' | LIKE | Private |
CL_ABAP_DYN_PRG types
TY_COL_CHECK - Column check typeTY_DIALECT - SQL dialect
T_PROGRAM_CACHE -
T_TABLE_CACHE - Cache for check_table_name_tab
T_TABLE_VIEW_CACHE -
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects