Register Login

How to debug standard SAPScript?

Updated May 18, 2018

Debug Standard SAPScript

Hello SAP Experts

Need to know 'How to debug standard SAPScript?'

If i am going through 'Utilities - Activate debugger ' then it asks for commands.


Comments

  • 24 Dec 2012 2:10 am Shalesh Singh Visen Helpful Answer
    Run report RSTXDBUG.
     
    When a Form is copied from one client to another .And If U try to display or change the form in the copied client .The possible error message cud be :
     
    1.Form not found
     
    Try coping again specifing the language .
     
    2.IF IT dispalys an error message saying That the text file is inconsistent .
     
    Then go to SE38 and Run “RSTXCHKO” .
     
    It will ask for the form name ,then check all the checkboxes and then run the program.
     
    Note : all Script related problems can be solved using Program ‘RSTX*’.
  • 27 Jul 2017 3:56 pm vaibhav gupta Helpful Answer

    You can debug an SAPScript by performing following steps: 

    • Navigate to Use Tools - Word Processing - Layout Set.
    • Enter the name of layout set and then Utilities - Activate Debugger.
    • It is of no consequence which layout set you enter when selecting the SAPscript debugger.

    (Menu path: Tools-Word-processing - Forms, Utilities - Activate Debugger) The next layout set called will invoke the debugger. This is quite handy when verifying which layoutset is being called (Verifying customizing settings)

  • 27 Jul 2017 4:01 pm Sushma Helpful Answer
    • First we need to put the Break point in Print program where ever you want to stop the execution. 
    • After in SE71 give your form name and go to Utilities-->Active De-bugger. 
    • Then go to your transaction like VF03(for Invoice or Credit Memo) etc to see the print preview or print the form execute it. 
    • When you execute it the form Debugging will get activated and you can see your Form execution step by step. 
       

×