Скрипт для пропуска проверки полномочий
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
*<SCRIPT:PERSISTENT> *<SCRIPT:HEADER> *<SCRIPTNAME>ZBYPASS</SCRIPTNAME> *<SCRIPT_CLASS>LCL_DEBUGGER_SCRIPT</SCRIPT_CLASS> *<SCRIPT_COMMENT>Debugger Skript: Default Template</SCRIPT_COMMENT> *<BP_REACHED>X</BP_REACHED> *</SCRIPT:HEADER> *<SCRIPT:PRESETTINGS> *<BP> *<FLAGACTIVE>X</FLAGACTIVE> *<KIND>1 </KIND> *<STATEMENTSTA>AUTHORITY-CHECK</STATEMENTSTA> *</BP> *</SCRIPT:PRESETTINGS> *<SCRIPT:SCRIPT_CLASS> *---------------------------------------------------------------------* * CLASS lcl_debugger_script DEFINITION *---------------------------------------------------------------------* * *---------------------------------------------------------------------* CLASS lcl_debugger_script DEFINITION INHERITING FROM cl_tpda_script_class_super . PUBLIC SECTION. METHODS: prologue REDEFINITION, init REDEFINITION, script REDEFINITION, end REDEFINITION. ENDCLASS. CLASS lcl_debugger_script IMPLEMENTATION. METHOD prologue. super->prologue( ). ENDMETHOD. METHOD init. ENDMETHOD. METHOD script. TRY. debugger_controller->debug_step( EXPORTING p_command = cl_tpda_script_debugger_ctrl=>debug_step_over ). CATCH cx_tpda_scr_rtctrl_status . CATCH cx_tpda_scr_rtctrl . ENDTRY. TRY. cl_tpda_script_data_descr=>change_value( EXPORTING p_new_value = '0' p_varname = 'sy-subrc' ). CATCH cx_tpda_varname . CATCH cx_tpda_scr_auth . ENDTRY. ENDMETHOD. METHOD end. ENDMETHOD. ENDCLASS. *</SCRIPT:SCRIPT_CLASS> *</SCRIPT:PERSISTENT> |