SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software SAP ABAP Programming and HANA Database Tutorials
Development resources, articles, tutorials, samples, codes and tools for .Net, SQL Server, Windows, Windows Phone, SAP and ABAP, like SAP UI5, Screen Personas, etc.




Install SAP Free


Enable Remote Debugging in ABAP using RSRDEBUG

If ABAP developer enable remote debugging in ABAP using RSRDEBUG, programmer can debug another user's session. The ABAP programmer has to configure debugging settings to debug the target user and then has to enable remote debugging in ABAP by executing the rsrdebug program.

This ABAP tutorial shows how to enable remote debugging in ABAP for a selected SAP user.

Debugging Settings and Set External Breakpoints

Open ABAP report or program code, for example the SAP Web Dynpro method within SE80 ABAP Workbench.
Using top menu follow selections: Utilities > Settings...

debugging settings for ABAP developer

Switch to ABAP Editor tab. Then choose Debugging Settings tab.
Provide the user name which is the user that you want to debug his/her external requests from your session.

switch to new Debugger using Debugging Settings for ABAP programmer

Press Enter.
If everything is OK, you will probably be informed with a following info message:
Breakpoint set for external debugging (System-wide, user: KODYAZ, validity: 2 hours)
Message no. SHTTP087

Within the ABAP codes, add the external breakpoints to targeted code lines.


RSRDEBUG to Enable Remote Debugging in ABAP

Call SAP transaction SE38, Initial Screen of ABAP Editor.
In the Program textbox, type the program name RSRDEBUG which is the Remote ABAP Debugging
Then execute ABAP program RSRDEBUG Remote ABAP Debugging with Execute icon or F8 shortcut.

A list of current remote debugging sessions are listed on the initial screen.

activate remote debugging in ABAP

To start a new remote debugging session, press F8 or press on Activate Debugging button.
When below screen is displayed enter the user name you want to debug and press Enter.

activate remote ABAP debugging using rsrdebug

A confirmation message dialog screen will be displayed. Do not press any button (Yes or No) until you finish your ABAP debugging task. When you are finished with remote ABAP debugging, press the Yes button to end remote debugging.

end remote ABAP debugging


Now ABAP programmer is ready to debug activities in an other user's session.
Let the target user start the application you want to debug. The breakpoint will hit and the developer can continue step by step debugging analyzing the variable values, etc as usual.






SAP Tutorials

SAP Tutorial

SAP Forums

SAP Tools

SAP Transaction Codes Table






Related Articles and Tutorials(http://www.kodyaz.com/sap-abap/enable-remote-debugging-in-abap-using-rsrdebug.aspx)
Create Business Object in SAP
Complete List of SAP Modules
Free Adobe LiveCycle Designer Download
Convert Smartform to PDF in Print Preview Mode
How to Upload Data to SAP from Excel File using alsm_excel_to_internal_table Function Module
Upload Data from Excel File in ABAP using TEXT_CONVERT_XLS_TO_SAP
Email Spool Request using SAPOffice - Spool to PDF
How to Create SAPScript Text using SO10 Transaction Code
Delete All Data from SAP Database Table
How to Set Start Transaction in SAP GUI
How to Display SAP Graphics using SE78 Transaction Code
How to Debug SmartForms - Debugging SAP SmartForm in ABAP ?
SAP Tutorial - Convert Spool Request to PDF File using RSTXPDFT4 ABAP Report
ABAP Debugging using Log Point and Break Point
ABAP Runtime Error ST22 Transaction using Short Dump Analysis
ABAP Shared Memory Objects Tutorial with Sample ABAP Code
Add Web Dynpro Applications to SAP Favorites Menu
ABAP Authority-Check Object For User Other Than Current
Call Function Module using RFC Destination in ABAP
Change Fields for Selection in SE11 ABAP Data Browser
Compare Code in ABAP using SE39 SplitScreen Editor
Connect SAP from Eclipse using ABAP Project
Convert the table using the Database Utility (SE14)
Convert Sales Unit into Text using Function Module in Target Language
ABAP Code Inspector Check Variants for HANA Migration Optimization
Create SAP Dynamic Variant using Date Calculation
Create Scheduled Job using SAP SM36 Transaction
Create Search Help in ABAP for Web Dynpro Component
Create Transaction Code for Web Dynpro Application
Create SAP Transaction to Maintain ABAP Table using SM30
Create Transport Request for Text Translations using RS_LXE_RECORD_TORDER
List Locks in SAP system using SM12 Transaction Code
Prevent DYNPRO_SEND_IN_BACKGROUND Error in Background Process
Enable Remote Debugging in ABAP using RSRDEBUG
How to Execute SAP Program in Background Task
Export Graphics from SE78 SAP Form Graphics Administration using ABAP program
How to Export IDOC as Excel and Save as Local File from WE02 Transaction
Export SAP Spool Requests as PDF using SP01 Transaction
How to Find SAP Role Users Assigned for Transaction Code
Find Web Dynpro Class Name to Search in ABAP Code
Export SAP Data to Fixed Length Text File
How to Delete Standard Text using SO10 SAP Transaction
How to Find User Exits in ABAP Codes of SAP Transaction
Test Web Dynpro ABAP Component by Creating Web Dynpro Application
How to Transport SAP Graphics using SE78 Transaction
Import and Export SO10 Standard Text using RSTXSCRP ABAP Program
Main program for include RV61Bxxx not found
Business Document Service Error: Error when accessing graphic (BDS), RC = 5
Get SAP Document Flow using SD_DOCUMENT_FLOW_GET ABAP Function Module
SAP Purchase Order Tables, Transaction Codes and Output
Graphics White Background Displayed Grey on SAP Smartform Output
Export Table Contents into Text File and Download File
SE63 Smartform Translation and Export using SLXT Program
Search and Find SAP Transaction Code using SE93 or SEARCH_SAP_MENU
Unicode Character Problem in IFS File Interface
Web Dynpro Text Translation using Assistance Class
Transport Variants of an ABAP Program into Workbench Request
TVAP Item Category and SAP Table TVAPT for Text Translations
Unlock Objects Locked in Request or Task using Transport Organizer Tools
Update Database Table Data using ABAP SE16N_INTERFACE
VF31 SAP Transaction to Reprocess Billing Output Messages
Function module is not released for the Internet
Switch ABAP Variable Value with Translate using Mask
Switch ABAP Variable Value with Translate using Mask


Copyright © 2004 - 2019 Eralper YILMAZ. All rights reserved.
Community Server by Telligent Systems