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 NameDescriptionVisability
CHECK_CHAR_LITERALCheck whether the input is a valid type c literalPublic
CALL METHOD cl_abap_dyn_prg=>CHECK_CHAR_LITERAL...more details

CHECK_COLUMN_NAMECheck whether the input can be a column namePublic
CALL METHOD cl_abap_dyn_prg=>CHECK_COLUMN_NAME...more details

CHECK_INT_VALUECheck whether the input is a valid integer (optional sign)Public
CALL METHOD cl_abap_dyn_prg=>CHECK_INT_VALUE...more details

CHECK_STRING_LITERALCheck whether the input is a valid type string literalPublic
CALL METHOD cl_abap_dyn_prg=>CHECK_STRING_LITERAL...more details

CHECK_TABLE_NAME_STRCheck whether the input is a DB table name, check packagePublic
CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_NAME_STR...more details

CHECK_TABLE_NAME_TABCheck whether the input is a DB table name, check packagePublic
CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_NAME_TAB...more details

CHECK_TABLE_OR_VIEW_NAME_STRCheck whether input is DB table or view name, check packagePublic
CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_OR_VIEW_NAME_STR...more details

CHECK_TABLE_OR_VIEW_NAME_TABCheck whether input is DB table or view name, check packagePublic
CALL METHOD cl_abap_dyn_prg=>CHECK_TABLE_OR_VIEW_NAME_TAB...more details

CHECK_VARIABLE_NAMECheck whether the input can be a variable namePublic
CALL METHOD cl_abap_dyn_prg=>CHECK_VARIABLE_NAME...more details

CHECK_WHITELIST_STRCheck whether the input is in a whitelist (string version)Public
CALL METHOD cl_abap_dyn_prg=>CHECK_WHITELIST_STR...more details

CHECK_WHITELIST_TABCheck whether the input is in a whitelist (table version)Public
CALL METHOD cl_abap_dyn_prg=>CHECK_WHITELIST_TAB...more details

ESCAPE_QUOTESEscape single quotesPublic
CALL METHOD cl_abap_dyn_prg=>ESCAPE_QUOTES...more details

ESCAPE_QUOTES_STREscape backquotesPublic
CALL METHOD cl_abap_dyn_prg=>ESCAPE_QUOTES_STR...more details

ESCAPE_XSS_CSSEscape Cascading Style Sheets string for XSS safetyPublic
CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_CSS...more details

ESCAPE_XSS_JAVASCRIPTEscape Javascript string for XSS safetyPublic
CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_JAVASCRIPT...more details

ESCAPE_XSS_URLEscape URL string for XSS safetyPublic
CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_URL...more details

ESCAPE_XSS_XML_HTMLEscape XML/HTML string for XSS safetyPublic
CALL METHOD cl_abap_dyn_prg=>ESCAPE_XSS_XML_HTML...more details

MASS_CHECK_WHITELIST_STRCheck whether many input values are in a whitelistPublic
CALL METHOD cl_abap_dyn_prg=>MASS_CHECK_WHITELIST_STR...more details

MASS_CHECK_WHITELIST_TABCheck whether many input values are in a whitelistPublic
CALL METHOD cl_abap_dyn_prg=>MASS_CHECK_WHITELIST_TAB...more details

QUOTEPut single quotes around the value and escape single quotesPublic
CALL METHOD cl_abap_dyn_prg=>QUOTE...more details

QUOTE_STRPut backquotes around the value and escape backquotesPublic
CALL METHOD cl_abap_dyn_prg=>QUOTE_STR...more details

REFRESH_BUFFERSClear 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.

NameLevelDescriptionInitial ValueTypeVisability
CACHE_FOR_TABLESStatic AttributeLIKE
Private
CACHE_FOR_TABLES_AND_VIEWSStatic AttributeLIKE
Private
RESULT_NOT_A_TABLEConstant'1'LIKE
Private
RESULT_NOT_IN_PACKAGEConstant'2'LIKE
Private
RESULT_OKAYConstant'0'LIKE
Private




CL_ABAP_DYN_PRG types

T_TABLE_CACHE - Cache for check_table_name_tab

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



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!