How To Set Breakpoint SDN Format
How To Set Breakpoint SDN Format
How To Set Breakpoint SDN Format
Applies to:
SAP NetWeaver BW 7.0
Summary
Topic: How to set a session breakpoint in an SAP BW 7.0 generated transformation program.
Use: Very useful for debugging individual ABAP transformation rules.
Created on: 16 October 2007
Author Bio
Author: Brad Dixon
Company: MassMutual Financial Group
Title: BW Systems Consultant
SAP Experience:
2000 – 2003 SAP HR & Payroll Configuration
2004 – 2005 SAP HR Lead Designer & Architect
2006 SAP BW Developer
2007 SAP BW Lead Designer
Table of Contents
Scenario ........................................................................................................................................................ 3
Step by step procedure ................................................................................................................................. 4
Disclaimer and Liability Notice ...................................................................................................................... 9
Scenario
You have coded individual transformation rules, and would like to confirm that the code is working as
expected. One possible solution is to code a hard breakpoint. This however becomes a nuisance when
you are processing many records, and you want to have the ability to continue beyond the breakpoint
after you confirm the first few records.
This document outlines an alternative approach; whereby, you set a session breakpoint in the generated
transformation program, which can optionally be deleted during the debug session. Also, this eliminates
the need to go back and update the code, to remove the hard breakpoint.
2) Go to SE16, browse table RSTRAN, paste in the Transformation ID, and fill in ‘A’ for object
version
3) Capture the Program ID (PROG ID) from the selected table row
4) Go to SE38, type in ‘GP’, and then paste the Program ID in after the ‘GP’
5) Display the program, search for the line you want to set the breakpoint on, put the cursor on the
line, and click the Stop Sign (w/ monitor) icon
NOTE:
Refresh RSA1 after setting the session breakpoint, as this will refresh the cache, and will ensure that the
breakpoint will be active when running the DTP in debug mode.