Instruction
stringclasses
1 value
Input
stringlengths
79
33k
Response
stringlengths
106
9.29k
__index_level_0__
int64
0
2.83k
Find vulnerabilities in this ABAP code snippet.
```abap IF execute_default_select = abap_true. SELECT * FROM (config-table_name) INTO TABLE @<initial_data> ORDER BY PRIMARY KEY. "TODO maintenance view ENDIF. ```
I found vulnerabilities in the line: ```abap SELECT * FROM (config-table_name) INTO TABLE @<initial_data> ORDER BY PRIMARY KEY. ``` Explanation: Potential dangerous statement Dynamic SQL.
2,382
Find vulnerabilities in this ABAP code snippet.
```abap METHOD commad_change_document. DATA batch_input TYPE TABLE OF bdcdata. APPEND VALUE #( program = 'RSSCD100' dynpro = '1000' dynbegin = 'X' fnam = 'BDC_CURSOR' fval = 'TABNAME' ) TO batch_input. APPEND VALUE #( fnam = 'OBJEKT' fval = '' ) TO batch_input. APPEND VALUE #( fnam = 'OBJEKTID' fval = con...
I found vulnerabilities in the line: ```abap CALL TRANSACTION 'RSSCD100' USING batch_input MODE 'E' UPDATE 'S'. ``` Explanation: Add an authority check to CALL TRANSACTION.
2,383
Find vulnerabilities in this ABAP code snippet.
```abap START-OF-SELECTION. "Check if it's correct table SELECT SINGLE tabclass FROM dd02l WHERE tabname = @p_tabnam INTO @DATA(tabclass). IF tabclass <> 'TRANSP'. MESSAGE TEXT-001 TYPE 'S' DISPLAY LIKE 'E'. LEAVE LIST-PROCESSING. ENDIF. "Get description DATA original_tcode TYPE tcode. ...
I found vulnerabilities in the line: ```abap CALL 'GET_PARAM_TCOD' ID 'PTCOD' FIELD original_tcode. ``` Explanation: Potential dangerous statement KERNEL CALL.
2,384
Find vulnerabilities in this ABAP code snippet.
```abap START-OF-SELECTION. "Check if it's correct table SELECT SINGLE tabclass FROM dd02l WHERE tabname = @p_tabnam INTO @DATA(tabclass). IF tabclass <> 'TRANSP'. MESSAGE s001(zabap_table_edit) DISPLAY LIKE 'E'. LEAVE LIST-PROCESSING. ENDIF. "Get description DATA original_tcode TYPE tcode...
I found vulnerabilities in the line: ```abap CALL 'GET_PARAM_TCOD' ID 'PTCOD' FIELD original_tcode. ``` Explanation: Potential dangerous statement KERNEL CALL.
2,395
Find vulnerabilities in this ABAP code snippet.
```abap METHOD get_text_elements_cache. assign_to_table_fs extended->* <extended>. "Build where clause DATA(where) = |{ ttable-field-lang } = @SY-LANGU|. LOOP AT ttable-key_mapping REFERENCE INTO DATA(key) WHERE NOT text = ttable-field-mandant. where = |{ where } AND { ttable-name }~{ key->text } = @<e...
I found vulnerabilities in the line: ```abap SELECT * FROM (ttable-name) ``` Explanation: Potential dangerous statement Dynamic SQL.
2,398
Find vulnerabilities in this ABAP code snippet.
```abap METHOD create_change_doc. DATA(cd) = ZCL_ZABAP_TABLE_EDIT_FACTORY=>get_change_doc( objectclass = CONV #( config-table_name ) objectid = CONV #( ttable-name ) ). cd->open( ). cd->change_multi( force_cd_on_all_fields = COND #( WHEN config-change_doc_type = 'F' THEN abap_true ELSE abap_false ) ...
I found vulnerabilities in the line: ```abap CALL 'GET_PARAM_TCOD' ID 'PTCOD' FIELD original_tcode. ``` Explanation: Potential dangerous statement KERNEL CALL.
2,399
Find vulnerabilities in this ABAP code snippet.
```abap START-OF-SELECTION. "Check if it's correct table SELECT SINGLE tabclass FROM dd02l WHERE tabname = @p_tabnam INTO @DATA(tabclass). IF tabclass <> 'TRANSP'. MESSAGE s001(zabap_table_edit) DISPLAY LIKE 'E'. LEAVE LIST-PROCESSING. ENDIF. "Get description DATA original_tcode TYPE tcode...
I found vulnerabilities in the line: ```abap CALL 'GET_PARAM_TCOD' ID 'PTCOD' FIELD original_tcode. ``` Explanation: Potential dangerous statement KERNEL CALL.
2,400
Find vulnerabilities in this ABAP code snippet.
```abap METHOD commad_change_document. DATA batch_input TYPE TABLE OF bdcdata. APPEND VALUE #( program = 'RSSCD100' dynpro = '1000' dynbegin = 'X' fnam = 'BDC_CURSOR' fval = 'TABNAME' ) TO batch_input. APPEND VALUE #( fnam = 'OBJEKT' fval = '' ) TO batch_input. APPEND VALUE #( fnam = 'OBJEKTID' fval = co...
I found vulnerabilities in the line: ```abap CALL TRANSACTION 'RSSCD100' USING batch_input MODE 'E' UPDATE 'S'. ``` Explanation: Add an authority check to CALL TRANSACTION.
2,402
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_textpool IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = program. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. sub_type = zcl_translation_globals=>c_subcomponent-textpool. ENDMETHOD. METHOD zif_translatable~rea...
I found vulnerabilities in the line: ```abap INSERT TEXTPOOL zif_translatable~object_name FROM textpool LANGUAGE sap_lang. ``` Explanation: Potential dangerous statement INSERT TEXTPOOL.
2,408
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_data_element IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = program. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. ENDMETHOD. METHOD zif_translatable~read_language. DATA(empty_as4vers) = VALUE as4vers( ). ...
I found vulnerabilities in the line: ```abap MODIFY dd04t FROM TABLE @dd04t_table. ``` Explanation: Modify only own DB tables.
2,409
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_lxe_log. DATA lxe_log_table TYPE STANDARD TABLE OF lxe_log WITH EMPTY KEY. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. APPEND VALUE #( custmnr = custmnr objname = zif_translatable~object_name objtype = c_lxe_type targlng = sap_lang uname = sy-uname uda...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM TABLE @lxe_log_table. ``` Explanation: Modify only own DB tables.
2,410
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_domain IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = domain. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. ENDMETHOD. METHOD zif_translatable~read_language. DATA(valpos_empty) = VALUE valpos( ). SELECT ...
I found vulnerabilities in the line: ```abap MODIFY dd01t FROM TABLE @dd01t_table. ``` Explanation: Modify only own DB tables. ```abap MODIFY dd07t FROM TABLE @dd07t_table. ``` Explanation: Modify only own DB tables.
2,411
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_lxe_log. DATA lxe_log_table TYPE STANDARD TABLE OF lxe_log WITH EMPTY KEY. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. IF descriptions = abap_true. APPEND VALUE #( custmnr = custmnr objname = zif_translatable~object_name objtype = c_lxe_type-descripti...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM TABLE @lxe_log_table. ``` Explanation: Modify only own DB tables.
2,412
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_menu_el IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = program. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. sub_type = zcl_translation_globals=>c_subcomponent-menu_texts. ENDMETHOD. METHOD zif_translatable~re...
I found vulnerabilities in the line: ```abap MODIFY rsmptexts FROM TABLE @rsmptexts_table. ``` Explanation: Modify only own DB tables.
2,413
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_messages IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = message_class. zif_translatable~object_type = zcl_translation_globals=>c_object_type-message_class. SELECT SINGLE masterlang FROM tadir WHERE object = @zif_translatable~object_type AND obj...
I found vulnerabilities in the line: ```abap MODIFY t100 FROM TABLE @t100_table. ``` Explanation: Modify only own DB tables.
2,414
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_last_changed. IF lines( base ) = 0. RETURN. ENDIF. SELECT * FROM t100u FOR ALL ENTRIES IN @base WHERE arbgb = @base-arbgb AND msgnr = @base-msgnr INTO TABLE @DATA(t100u_table). LOOP AT t100u_table REFERENCE INTO DATA(t100u_table_ref). t100u_table_ref->name = sy-u...
I found vulnerabilities in the line: ```abap MODIFY t100u FROM TABLE @t100u_table. ``` Explanation: Modify only own DB tables.
2,415
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_translation_log. DATA lxe_log_tab TYPE STANDARD TABLE OF lxe_log WITH EMPTY KEY. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. LOOP AT base REFERENCE INTO DATA(base_row). APPEND VALUE #( custmnr = custmnr targlng = base_row->sprsl objtype = c_lxe_type ...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM TABLE @lxe_log_tab. ``` Explanation: Modify only own DB tables.
2,416
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_screen_el IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = program. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. sub_type = zcl_translation_globals=>c_subcomponent-screen_texts. ENDMETHOD. METHOD zif_translatabl...
I found vulnerabilities in the line: ```abap MODIFY d020t FROM TABLE @d020t_table. ``` Explanation: Modify only own DB tables. ```abap MODIFY d021t FROM TABLE @d021t_table. ``` Explanation: Modify only own DB tables.
2,417
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_lxe_log. DATA lxe_log_table TYPE STANDARD TABLE OF lxe_log WITH EMPTY KEY. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. LOOP AT d020t_table REFERENCE INTO DATA(d020t). APPEND VALUE #( custmnr = custmnr objname = |{ zif_translatable~object_name WIDTH = ...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM TABLE @lxe_log_table. ``` Explanation: Modify only own DB tables.
2,418
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_table IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = program. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. ENDMETHOD. METHOD zif_translatable~read_language. DATA(empty_as4vers) = VALUE as4vers( ). SELECT ...
I found vulnerabilities in the line: ```abap MODIFY dd02t FROM TABLE @dd02t_table. ``` Explanation: Modify only own DB tables. ```abap MODIFY dd03t FROM TABLE @dd03t_table. ``` Explanation: Modify only own DB tables. ```abap MODIFY dd08t FROM TABLE @dd08t_table. ``` Explanation: Modify only own DB tables.
2,419
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_lxe_log. DATA lxe_log_table TYPE STANDARD TABLE OF lxe_log WITH EMPTY KEY. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. IF descriptions = abap_true. APPEND VALUE #( custmnr = custmnr objname = zif_translatable~object_name objtype = c_lxe_type-descripti...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM TABLE @lxe_log_table. ``` Explanation: Modify only own DB tables.
2,420
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_textpool IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = program. zif_translatable~object_type = zcl_translation_globals=>c_object_type-program. sub_type = zcl_translation_globals=>c_subcomponent-textpool. ENDMETHOD. METHOD zif_translatable~rea...
I found vulnerabilities in the line: ```abap INSERT TEXTPOOL zif_translatable~object_name FROM textpool LANGUAGE sap_lang. ``` Explanation: Potential dangerous statement INSERT TEXTPOOL.
2,421
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_translation_log. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. DATA(lxe_log_entry) = VALUE lxe_log( custmnr = custmnr objtype = c_lxe_type objname = zif_translatable~object_name targlng = sap_lang uname = sy-uname udate = sy-datum utime = sy-uzeit ). MO...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM @lxe_log_entry. ``` Explanation: Modify only own DB tables.
2,422
Find vulnerabilities in this ABAP code snippet.
```abap CLASS zcl_translatable_transaction IMPLEMENTATION. METHOD constructor. zif_translatable~object_name = transaction. zif_translatable~object_type = zcl_translation_globals=>c_object_type-transaction. ENDMETHOD. METHOD zif_translatable~read_language. SELECT SINGLE ttext FROM tstct WH...
I found vulnerabilities in the line: ```abap MODIFY tstct FROM TABLE @tstct_table. ``` Explanation: Modify only own DB tables.
2,423
Find vulnerabilities in this ABAP code snippet.
```abap METHOD update_lxe_log. DATA lxe_log_table TYPE STANDARD TABLE OF lxe_log WITH EMPTY KEY. SELECT SINGLE custmnr FROM lxe_custmnr INTO @DATA(custmnr). GET TIME. APPEND VALUE #( custmnr = custmnr objname = zif_translatable~object_name objtype = c_lxe_type targlng = sap_lang uname = sy-uname uda...
I found vulnerabilities in the line: ```abap MODIFY lxe_log FROM TABLE @lxe_log_table. ``` Explanation: Modify only own DB tables.
2,424
Find vulnerabilities in this ABAP code snippet.
```abap METHOD save_data_erased. FIELD-SYMBOLS <lt_view> TYPE STANDARD TABLE. FIELD-SYMBOLS <lt_view_texttable> TYPE STANDARD TABLE. DATA lo_view TYPE REF TO data. DATA lo_view_texttable TYPE REF TO data. CLEAR es_return. IF ct_datos_del IS INITIAL. EXIT. ENDIF. " Se crea una tabla exactament...
I found vulnerabilities in the line: ```abap DELETE (ms_view-tabname) FROM TABLE <lt_view>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,425
Find vulnerabilities in this ABAP code snippet.
```abap IF ms_view-texttable IS NOT INITIAL. DELETE (ms_view-texttable) FROM TABLE <lt_view_texttable>. IF sy-subrc NE 0. lv_borrado_ok = abap_false. ENDIF. ```
I found vulnerabilities in the line: ```abap DELETE (ms_view-texttable) FROM TABLE <lt_view_texttable>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,426
Find vulnerabilities in this ABAP code snippet.
```abap METHOD save_data_inup. FIELD-SYMBOLS <lt_view> TYPE STANDARD TABLE. FIELD-SYMBOLS <lt_view_texttable> TYPE STANDARD TABLE. DATA lo_view TYPE REF TO data. DATA lo_view_texttable TYPE REF TO data. CLEAR: es_return. " Se crea una tabla exactamente igual que las del diccionario para mover lo...
I found vulnerabilities in the line: ```abap MODIFY (ms_view-tabname) FROM TABLE <lt_view>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,427
Find vulnerabilities in this ABAP code snippet.
```abap IF ms_view-texttable IS NOT INITIAL. MODIFY (ms_view-texttable) FROM TABLE <lt_view_texttable>. IF sy-subrc NE 0. cv_save_error = abap_true. ENDIF. ```
I found vulnerabilities in the line: ```abap MODIFY (ms_view-texttable) FROM TABLE <lt_view_texttable>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,428
Find vulnerabilities in this ABAP code snippet.
```abap IF lf_dir IS NOT INITIAL. CALL 'SYSTEM' ID 'COMMAND' FIELD lf_command ID 'PATH' FIELD lf_dir ID 'TAB' FIELD l_lines. ELSE. ```
I found vulnerabilities in the line: ```abap IF lf_dir IS NOT INITIAL. CALL 'SYSTEM' ID 'COMMAND' FIELD lf_command * <-- There is a problem here ID 'PATH' FIELD lf_dir ``` Explanation: Potential dangerous statement KERNEL CALL.
2,429
Find vulnerabilities in this ABAP code snippet.
```abap method EXEC_SERVER. DATA: lf_command(255) TYPE c. DATA: l_lines TYPE TABLE OF char255. FIELD-SYMBOLS: <l_line> TYPE char255. CONCATENATE pf_command pf_parameter INTO lf_command SEPARATED BY space. DATA: lf_dir(255) TYPE c. lf_dir = pf_dir. IF lf_dir IS NOT INITIAL. CALL 'SYSTE...
I found vulnerabilities in the line: ```abap ELSE. CALL 'SYSTEM' ID 'COMMAND' FIELD lf_command * <-- There is a problem here ID 'TAB' FIELD l_lines. ``` Explanation: Potential dangerous statement KERNEL CALL.
2,430
Find vulnerabilities in this ABAP code snippet.
```abap IF lv_where_clause IS INITIAL. SELECT * FROM (lv_setting_tabname) INTO CORRESPONDING FIELDS OF TABLE <fs_setting_tab_t>. ELSE. ```
I found vulnerabilities in the line: ```abap SELECT * FROM (lv_setting_tabname) INTO CORRESPONDING FIELDS OF TABLE <fs_setting_tab_t>. ``` Explanation: Potential dangerous statement Dynamic SQL.
2,431
Find vulnerabilities in this ABAP code snippet.
```abap method _LOAD_SETTING_TABLE. DATA: ls_setting_map TYPE zcl_log_util_setting_table=>ty_setting_field_map , lv_setting_tabname TYPE tabname , lv_where_clause TYPE string , lv_where_operand T...
I found vulnerabilities in the line: ```abap SELECT * FROM (lv_setting_tabname) INTO CORRESPONDING FIELDS OF TABLE <fs_setting_tab_t> WHERE (lv_where_clause). ``` Explanation: Potential dangerous statement Dynamic SQL.
2,432
Find vulnerabilities in this ABAP code snippet.
```abap FORM search_structure. CONSTANTS lc_object TYPE tadir-object VALUE 'TABL'. DATA lv_join TYPE string. DATA lv_where TYPE string. SELECT dd03l~tabname, dd02t~ddtext, tadir~devclass, dd03l~position, dd03l~fieldname, dd03t~ddtext AS fieldname_ddtext, ...
I found vulnerabilities in the line: ```abap lv_where = to_upper( lv_where ). SELECT dd03l~tabname, * <-- There is a problem here dd02t~ddtext, tadir~devclass, ``` Explanation: Potential dangerous statement Dynamic SQL.
2,443
Find vulnerabilities in this ABAP code snippet.
```abap FORM search_table. CONSTANTS lc_object TYPE tadir-object VALUE 'TTYP'. DATA lv_join TYPE string. DATA lv_where TYPE string. SELECT dd40l~typename, dd40t~ddtext, dd40l~rowtype, tadir~devclass, dd03l~position, dd03l~fieldname, dd03t~ddtext ...
I found vulnerabilities in the line: ```abap lv_where = to_upper( lv_where ). SELECT dd40l~typename, * <-- There is a problem here dd40t~ddtext, dd40l~rowtype, ``` Explanation: Potential dangerous statement Dynamic SQL.
2,444
Find vulnerabilities in this ABAP code snippet.
```abap METHOD add_xstring. DATA: lv_string TYPE string. * lv_string = cl_http_utility=>encode_x_base64( xstring ) . ">= 7.02 "*--- <= 7.01 ---* DATA: c_last_error TYPE i. DATA: ihttp_scid_base64_escape_x TYPE i VALUE 86. SYSTEM-CALL ict DID ihttp_scid_base64_escape_x PARAMETE...
I found vulnerabilities in the line: ```abap DATA: ihttp_scid_base64_escape_x TYPE i VALUE 86. SYSTEM-CALL ict * <-- There is a problem here DID ihttp_scid_base64_escape_x ``` Explanation: Potential dangerous statement SYSTEM-CALL.
2,445
Find vulnerabilities in this ABAP code snippet.
```abap CASE data_descr->type_kind. WHEN data_descr->typekind_char "charlike OR data_descr->typekind_string OR data_descr->typekind_clike OR data_descr->typekind_csequence. lr_json_doc->get_json_large( IMPORTING json = tmp_s ). lv_len = data_descr->length /...
I found vulnerabilities in the line: ```abap DATA: ihttp_scid_base64_unescape_x TYPE i VALUE 87. SYSTEM-CALL ict * <-- There is a problem here DID ihttp_scid_base64_unescape_x ``` Explanation: Potential dangerous statement SYSTEM-CALL.
2,446
Find vulnerabilities in this ABAP code snippet.
```abap METHOD get_kernel_info. TYPES: BEGIN OF ts_kernel_version, key(21) TYPE c, data(69) TYPE c, END OF ts_kernel_version. DATA kernel_version TYPE STANDARD TABLE OF ts_kernel_version. FIELD-SYMBOLS <ls_kernel_version> TYPE ts_kernel_version. CALL 'SAPCORE' ID 'ID...
I found vulnerabilities in the line: ```abap CALL 'SAPCORE' ID 'ID' FIELD 'VERSION' ``` Explanation: Potential dangerous statement KERNEL CALL.
2,447
Find vulnerabilities in this ABAP code snippet.
```abap METHOD add_xstring. DATA: lv_string TYPE string. * lv_string = cl_http_utility=>encode_x_base64( xstring ) . ">= 7.02 "*--- <= 7.01 ---* DATA: c_last_error TYPE i. DATA: ihttp_scid_base64_escape_x TYPE i VALUE 86. SYSTEM-CALL ict DID ihttp_scid_base64_escape_x...
I found vulnerabilities in the line: ```abap DATA: ihttp_scid_base64_escape_x TYPE i VALUE 86. SYSTEM-CALL ict * <-- There is a problem here DID ihttp_scid_base64_escape_x ``` Explanation: Potential dangerous statement SYSTEM-CALL.
2,448
Find vulnerabilities in this ABAP code snippet.
```abap METHOD get_kernel_info. TYPES: BEGIN OF ts_kernel_version, key(21) TYPE c, data(69) TYPE c, END OF ts_kernel_version. DATA kernel_version TYPE STANDARD TABLE OF ts_kernel_version. FIELD-SYMBOLS <ls_kernel_version> TYPE ts_kernel_version. CALL 'S...
I found vulnerabilities in the line: ```abap CALL 'SAPCORE' ID 'ID' FIELD 'VERSION' ``` Explanation: Potential dangerous statement KERNEL CALL.
2,450
Find vulnerabilities in this ABAP code snippet.
```abap METHOD get_views_by_field_names. DATA(view_range) = _get_views_by_field_names2( view_rng ). IF view_range[] IS INITIAL. RAISE EXCEPTION TYPE zcx_generic_exc EXPORTING text = |No views found.|. ENDIF. DATA(where_parameters) = _get_where_parameters( ). DATA(view_typ...
I found vulnerabilities in the line: ```abap SELECT * <-- There is a problem here abapview~abapviewtype, ``` Explanation: Potential dangerous statement Dynamic SQL.
2,454
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. METHOD DELETE_BY_SQL_PARTS. DATA: lv_where TYPE string, ld_dynamic_struct_with_params TYPE REF TO data. FIELD-SYMBOLS: <ls_dynamic_struct_with_pars> TYPE any. lv_where = iv_where. _prepare_for_update_delete...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,455
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_where IS NOT INITIAL. DELETE FROM (iv_table_name) WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap DELETE FROM (iv_table_name) ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,456
Find vulnerabilities in this ABAP code snippet.
```abap method _EXECUTE_DELETE. IF iv_where IS NOT INITIAL. DELETE FROM (iv_table_name) WHERE (iv_where). ELSE. DELETE FROM (iv_table_name). ENDIF. endmethod. ```
I found vulnerabilities in the line: ```abap DELETE FROM (iv_table_name). ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,457
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN it_for_all_entries_table WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRI...
2,458
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN it_for_all_entries_table WHERE (iv_where). ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,459
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN it_for_all_entries_table WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap ENDIF. ELSE. IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN it_for_all_entries_table ``` E...
2,460
Find vulnerabilities in this ABAP code snippet.
```abap METHOD _EXECUTE_SELECT. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_ZOSQL_UTILS_740')=>('EXECUTE_SELECT_740') EXPORTING iv_select = iv_select iv_from = iv_from ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY (iv_order_by). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from...
2,461
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_whe...
2,462
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) ORDER BY (iv_order...
I found vulnerabilities in the line: ```abap ORDER BY (iv_order_by). ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,463
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap ORDER BY (iv_order_by). ENDIF. ELSE. IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) ``` Explanation: Potential...
2,464
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_where IS NOT INITIAL. UPDATE (iv_table_name) SET (iv_set_statement) WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_where IS NOT INITIAL. UPDATE (iv_table_name) * <-- There is a problem here SET (iv_set_statement) ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,465
Find vulnerabilities in this ABAP code snippet.
```abap method _EXECUTE_UPDATE. IF iv_where IS NOT INITIAL. UPDATE (iv_table_name) SET (iv_set_statement) WHERE (iv_where). ELSE. UPDATE (iv_table_name) SET (iv_set_statement). ENDIF. endmethod. ```
I found vulnerabilities in the line: ```abap ELSE. UPDATE (iv_table_name) * <-- There is a problem here SET (iv_set_statement). ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,466
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. method ZIF_ZOSQL_DB_LAYER~DELETE. DATA: lv_table_name TYPE string, lv_where TYPE ...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation> ACCEPTING DUPLICATE KEYS. ``` Explanation: Modify only o...
2,467
Find vulnerabilities in this ABAP code snippet.
```abap method _EXECUTE_DELETE. IF iv_where IS NOT INITIAL. DELETE FROM (iv_table_name) WHERE (iv_where). ELSE. DELETE FROM (iv_table_name). ENDIF. rv_subrc = sy-subrc. endmethod. ```
I found vulnerabilities in the line: ```abap DELETE FROM (iv_table_name). ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,469
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN it_for_all_entries_table WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) ``` Explanation: Potential dangerous statement Dynamic SQL.
2,470
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN it_for_all_entries_table WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) ``` Explanation: Potential dangerous statement Dynamic SQL.
2,472
Find vulnerabilities in this ABAP code snippet.
```abap TRY. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_ZOSQL_UTILS_740')=>('EXECUTE_SELECT_740') EXPORTING iv_select = iv_select iv_from = iv_from ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY PRIMARY KEY. ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) ...
2,473
Find vulnerabilities in this ABAP code snippet.
```abap IF lv_order_by_primary_key = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY PRIMARY KEY. ELSE. ```
I found vulnerabilities in the line: ```abap IF lv_order_by_primary_key = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,474
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. IF lv_order_by_primary_key = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING...
I found vulnerabilities in the line: ```abap ORDER BY PRIMARY KEY. ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,475
Find vulnerabilities in this ABAP code snippet.
```abap IF lv_order_by_primary_key = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY PRIMARY KEY. ELSE. ```
I found vulnerabilities in the line: ```abap ELSE. IF lv_order_by_primary_key = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,476
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. IF lv_order_by_primary_key = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where...
I found vulnerabilities in the line: ```abap ORDER BY PRIMARY KEY. ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,477
Find vulnerabilities in this ABAP code snippet.
```abap IF lv_order_by_primary_key = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY PRIMARY KEY. ELSE. ```
I found vulnerabilities in the line: ```abap IF lv_order_by_primary_key = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,478
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. IF lv_order_by_primary_key = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_havi...
I found vulnerabilities in the line: ```abap ORDER BY PRIMARY KEY. ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,479
Find vulnerabilities in this ABAP code snippet.
```abap IF lv_order_by_primary_key = abap_true. SELECT (iv_select) FROM (iv_from) INTO TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY PRIMARY KEY. ELSE. ```
I found vulnerabilities in the line: ```abap ELSE. IF lv_order_by_primary_key = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,480
Find vulnerabilities in this ABAP code snippet.
```abap method _EXECUTE_UPDATE. IF iv_where IS NOT INITIAL. UPDATE (iv_table_name) SET (iv_set_statement) WHERE (iv_where). ELSE. UPDATE (iv_table_name) SET (iv_set_statement). ENDIF. rv_subrc = sy-subrc. endmethod. ```
I found vulnerabilities in the line: ```abap ELSE. UPDATE (iv_table_name) * <-- There is a problem here SET (iv_set_statement). ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,482
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. method ZIF_ZOSQL_DB_LAYER~DELETE. DATA: lv_table_name TYPE string, lv_where TYPE ...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation> ACCEPTING DUPLICATE KEYS. ``` Explanation: Modify only o...
2,483
Find vulnerabilities in this ABAP code snippet.
```abap TRY. IF iv_where IS NOT INITIAL. UPDATE (iv_table_name) SET (iv_set_statement) WHERE (iv_where). ELSE. UPDATE (iv_table_name) SET (iv_set_statement). ENDIF. rv_subrc = sy-subrc. CATCH cx_root INTO lx_exception. zcl_zosql_utils=>raise_from_an...
I found vulnerabilities in the line: ```abap ELSE. UPDATE (iv_table_name) * <-- There is a problem here SET (iv_set_statement). ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,496
Find vulnerabilities in this ABAP code snippet.
```abap TRY. IF iv_where IS NOT INITIAL. DELETE FROM (iv_table_name) WHERE (iv_where). ELSE. DELETE FROM (iv_table_name). ENDIF. rv_subrc = sy-subrc. CATCH cx_root INTO lx_exception. zcl_zosql_utils=>raise_from_any_exception( lx_exception ). ENDTRY. ```
I found vulnerabilities in the line: ```abap DELETE FROM (iv_table_name). ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,499
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. method ZIF_ZOSQL_DB_LAYER~DELETE. DATA: lv_table_name TYPE string, lv_where TYPE ...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,513
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. METHOD DELETE_BY_SQL_PARTS. DATA: lv_where TYPE string, ld_dynamic_struct_with_params TYPE REF TO data. FIELD-SYMBOLS: <ls_dynamic_struct_with_pars> TYPE any. lv_where = iv_where. _prepare_for_update_delete...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,525
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. METHOD DELETE_BY_SQL_PARTS. DATA: lv_where TYPE string, ld_dynamic_struct_with_params TYPE REF TO data. FIELD-SYMBOLS: <ls_dynamic_struct_with_pars> TYPE any. lv_where = iv_where. _prepare_for_update_delete...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,549
Find vulnerabilities in this ABAP code snippet.
```abap TRY. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_ZOSQL_UTILS_740')=>('EXECUTE_SELECT_740') EXPORTING iv_select = iv_select iv_from = iv_from ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY PRIMARY KEY. ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) ...
2,567
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN @it_for_all_entries_table WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS FOR ALL ENT...
2,577
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN @it_for_all_entries_table WHERE (iv_where). ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE @et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,578
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN @it_for_all_entries_table WHERE (iv_where). ELSE. ```
I found vulnerabilities in the line: ```abap ENDIF. ELSE. IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS FOR ALL ENTRIES IN @it_for_all_entries_table ``...
2,579
Find vulnerabilities in this ABAP code snippet.
```abap METHOD EXECUTE_SELECT_740. IF it_for_all_entries_table IS NOT INITIAL. IF iv_order_by IS NOT INITIAL. MESSAGE e051 INTO zcl_zosql_utils=>dummy. zcl_zosql_utils=>raise_exception_from_sy_msg( ). ENDIF. IF iv_group_by IS NOT INITIAL. MESSAGE e052 INTO zcl_zosql_utils=>d...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE @et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY (iv_order_by). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_fro...
2,580
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_w...
2,581
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_havin...
I found vulnerabilities in the line: ```abap ORDER BY (iv_order_by). ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE @et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,582
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap ENDIF. ELSE. IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) ``` Explanation: Potential dan...
2,583
Find vulnerabilities in this ABAP code snippet.
```abap METHOD _execute_select. DATA: lv_order_by_primary_key TYPE abap_bool. IF zcl_zosql_utils=>to_upper_case( iv_order_by ) = 'PRIMARY KEY'. lv_order_by_primary_key = abap_true. ENDIF. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY PRIMARY KEY. ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) ...
2,590
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. method ZIF_ZOSQL_DB_LAYER~DELETE. DATA: lv_table_name TYPE string, lv_where TYPE ...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,600
Find vulnerabilities in this ABAP code snippet.
```abap METHOD _EXECUTE_SELECT. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_ZOSQL_UTILS_740')=>('EXECUTE_SELECT_740') EXPORTING iv_select = iv_select iv_from = iv_from ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY (iv_order_by). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from...
2,606
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_whe...
2,607
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having)...
I found vulnerabilities in the line: ```abap ORDER BY (iv_order_by). ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,608
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) HAVING (iv_having) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap ORDER BY (iv_order_by). ENDIF. ELSE. IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE et_result_table UP TO iv_number_of_rows_to_select ROWS WHERE (iv_where) ``` Explanation: Potential...
2,609
Find vulnerabilities in this ABAP code snippet.
```abap METHOD EXECUTE_SELECT_740. IF it_for_all_entries_table IS NOT INITIAL. IF iv_order_by IS NOT INITIAL. MESSAGE e051 INTO zcl_zosql_utils=>dummy. zcl_zosql_utils=>raise_exception_from_sy_msg( ). ENDIF. IF iv_group_by IS NOT INITIAL. MESSAGE e052 INTO zcl_zosql_utils=>d...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE @et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY (iv_order_by). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_fro...
2,615
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_w...
2,616
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_distinct = abap_true. IF iv_do_into_corresponding = abap_true. SELECT DISTINCT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) ORDER BY (iv_ord...
I found vulnerabilities in the line: ```abap ORDER BY (iv_order_by). ELSE. SELECT DISTINCT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE @et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,617
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_do_into_corresponding = abap_true. SELECT (iv_select) FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) GROUP BY (iv_group_by) ORDER BY (iv_order_by). ELSE. ```
I found vulnerabilities in the line: ```abap ENDIF. ELSE. IF iv_do_into_corresponding = abap_true. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO CORRESPONDING FIELDS OF TABLE @et_result_table UP TO @iv_number_of_rows_to_select ROWS WHERE (iv_where) ``` Explanation: Potential dan...
2,618
Find vulnerabilities in this ABAP code snippet.
```abap METHOD _execute_select. DATA: lv_order_by_primary_key TYPE abap_bool. lv_order_by_primary_key = _if_order_by_primary_key( iv_order_by ). IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_ZOSQL_UTILS_740')=>('EXECUTE_SELECT_74...
I found vulnerabilities in the line: ```abap ORDER BY PRIMARY KEY. ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL.
2,637
Find vulnerabilities in this ABAP code snippet.
```abap METHOD insert_test_data. DATA: lv_table_name TYPE tabname. lv_table_name = iv_table_name. IF lv_table_name IS INITIAL. lv_table_name = zcl_zosql_utils=>try_to_guess_tabname_by_data( it_table ). ENDIF. IF lv_table_name IS INITIAL. MESSAGE e053 INTO zcl_zosql_utils=>dummy. zcl_z...
I found vulnerabilities in the line: ```abap MODIFY (lv_table_name) FROM TABLE it_table. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,640
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. METHOD zif_zosql_db_layer~delete. ***********************************************************************...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap MODIFY (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,642
Find vulnerabilities in this ABAP code snippet.
```abap IF iv_accepting_duplicate_keys = abap_true. INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation> ACCEPTING DUPLICATE KEYS. ELSE. ```
I found vulnerabilities in the line: ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation> ACCEPTING DUPLICATE KEYS. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,643
Find vulnerabilities in this ABAP code snippet.
```abap TRY. INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. CATCH cx_root INTO lo_exception. zcl_zosql_utils=>raise_from_any_exception( lo_exception ). ENDTRY. ```
I found vulnerabilities in the line: ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL.
2,644
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. method ZIF_ZOSQL_DB_LAYER~DELETE. DATA: lv_table_name TYPE string, lv_where TYPE ...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap MODIFY (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,660
Find vulnerabilities in this ABAP code snippet.
```abap METHOD _EXECUTE_SELECT. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_ZOSQL_UTILS_740')=>('EXECUTE_SELECT_740') EXPORTING iv_select = iv_select iv_from = iv_from ...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY (iv_order_by). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from...
2,684
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. method ZIF_ZOSQL_DB_LAYER~COMMIT. IF iv_wait = abap_true. COMMIT WORK AND WAIT. ELSE. COMMIT WORK. ENDIF. endmethod. method ZIF_ZOSQL_DB_LAYER~DELETE. DATA: lv_table_name TYPE string, lv_where TYPE ...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation> ACCEPTING DUPLICATE KEYS. ``` Explanation: Modify only o...
2,702
Find vulnerabilities in this ABAP code snippet.
```abap CLASS ZCL_ZOSQL_DB_LAYER IMPLEMENTATION. METHOD DELETE_BY_SQL_PARTS. DATA: lv_where TYPE string, ld_dynamic_struct_with_params TYPE REF TO data. FIELD-SYMBOLS: <ls_dynamic_struct_with_pars> TYPE any. lv_where = iv_where. _prepare_for_update_delete...
I found vulnerabilities in the line: ```abap DELETE (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential dangerous statement Dynamic SQL. ```abap INSERT (lv_table_name) FROM TABLE <lt_itab_for_db_operation>. ``` Explanation: Modify only own DB tables | Potential ...
2,752
Find vulnerabilities in this ABAP code snippet.
```abap METHOD _EXECUTE_SELECT. IF iv_new_syntax = abap_true. " Dynamic call for backward compatibility with older versions CALL METHOD ('ZCL_TESTABLE_DB_LAYER_UTILS_74')=>('EXECUTE_SELECT_740') EXPORTING iv_select = iv_select iv_from =...
I found vulnerabilities in the line: ```abap WHERE (iv_where). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from) INTO TABLE et_result_table ``` Explanation: Potential dangerous statement Dynamic SQL. ```abap ORDER BY (iv_order_by). ELSE. SELECT (iv_select) * <-- There is a problem here FROM (iv_from...
2,758