Bugging in Sap SD
Bugging in Sap SD
Saptutorials.in
Elevate your SAP skills with our comprehensive SAP tutorials
Home
Blog
Tutorials
YouTube Channel
About Us:-
What is debugging?
Definition: Debugging is the way to find the root cause of SAP
transaction behavior (e.g, finding a reason why a certain value in a field was
updated or determining why users receive an error, warning, or abnormal
transaction termination message during transaction processing).
1. Classic debugger
2. New debugger
The Classic ABAP Debugger runs in the same role area as the application
being analyzed. The Classic ABAP Debugger is a one-process debugger, where
the debugger and debugged run in the same internal session.
Control Area
Tool
System fields
Process Info
The new debugger has 3 custom desktops, 7 standard desktops
1. Standard
2. Structures
3. Tables
4. Objects
5. Detail Display
6. Data explorer
7. Breakpoint/Watchpoint
In the new debugger, we can scroll vertically and horizontally through source
code. New Debugger screen main parts
Debuggers
Break point
The breakpoint is the indication to the ABAP runtime processor to stop the
program processing at a certain specified statement and to start the ABAP
debugger.
Types of breakpoints
Static breakpoint
Dynamic breakpoint
Static breakpoint: Static breakpoint is useful during the development phase.
We can set the breakpoint using the keyword BREAK-POINT. Due to this hard
coding, the program is interrupted regardless of the user who executes it.
BREAK user_name Using this command, the program is interrupted only when
the specified user runs the program. We can find the static break point in the
program using an extended program
check or transaction code SLIN. Chose Program -> Check -> Extended
Program Check or TCode SLIN
sap abap debugging for functional consultants
Dynamic breakpoint
sap debugging
Watch point
Watch points are user-specific dynamic breakpoints. We can define watch
points in the debugger screen to monitor the content of specified fields. We
can set a watchpoint to interrupt program execution when the content of a
field or structure is changed
Watch point
Select a local or global option as per the requirements. Mention the program
for which we want to set watchpoint; the current program name will default in
the program field. If we just enter the field name and select continue, the
breakpoint will be created in such a way that every time the content of the
field changes program execution will be interrupted.
We can insert new records to the internal table using the context menu of the
table. Right-clicking on the internal table record and choosing Insert Row from
the available options A pop-up appears asking you to use a template while
creating a new record. If we choose to use a template, a new record will be
inserted at the selected position. In the new debugger, we can scroll through
the internal table vertically or horizontally.
We can search for a specific field value in the internal table. For example, Go to
the context menu of the internal table and choose “search.”
debugging
Conclusion
These are some fundamental facts that functional consultants may find
beneficial. As we become more involved in debugging, we will be able to
investigate many more aspects. Those abilities can only be acquired over time
through real-world practice. I hope this was useful.
Share on Facebook
Tweet
Follow us
Share this:
Loading...
Related
The Magic of SAP ABAP: A Beginner’s Journey into the World of Business Application Programming
In "Blog"
...
Search Google
Search for:
Categories
Blog
career
fiori app library
MDM
News
RPA
SAP ABAP
SAP APO
SAP CRM
SAP FI
sap industry solutions
SAP MM
SAP PM
SAP PP
SAP SD
shortcuts and tricks
Software development
Tech Trends
Tutorials
Uncategorized
Recent Posts
Mastering the Dunning Process for Effective B2B Debt Collection in SAP
Understanding the Significance and Creation of Chart of Accounts in
SAP FICO
Different Roles of an SAP Consultant
Understanding SAP System Landscape Architecture
Product Costing in SAP: Understanding the Process
Subscribe to Blog via Email
Enter your email address to subscribe to this blog and receive notifications of
new posts by email.
Email Address
Subscribe
Join 153 other subscribers
Select
LanguageAfrikaansAlbanianAmharicArabicArmenianAssameseAymaraAzerbaijaniBambaraBasqueBelarusianBengaliBh
ojpuriBosnianBulgarianCatalanCebuanoChichewaChinese (Simplified)Chinese
(Traditional)CorsicanCroatianCzechDanishDhivehiDogriDutchEsperantoEstonianEweFilipinoFinnishFrenchFrisianGalici
anGeorgianGermanGreekGuaraniGujaratiHaitian
CreoleHausaHawaiianHebrewHindiHmongHungarianIcelandicIgboIlocanoIndonesianIrish
GaelicItalianJapaneseJavaneseKannadaKazakhKhmerKinyarwandaKonkaniKoreanKrioKurdish (Kurmanji)Kurdish
(Sorani)KyrgyzLaoLatinLatvianLingalaLithuanianLugandaLuxembourgishMacedonianMaithiliMalagasyMalayMalayalam
MalteseMaoriMarathiMeiteilon (Manipuri)MizoMongolianMyanmar (Burmese)NepaliNorwegianOdia
(Oriya)OromoPashtoPersianPolishPortuguesePunjabiQuechuaRomanianRussianSamoanSanskritScots
GaelicSepediSerbianSesothoShonaSindhiSinhalaSlovakSlovenianSomaliSpanishSundaneseSwahiliSwedishTajikTamil
TatarTeluguThaiTigrinyaTsongaTurkishTurkmenTwiUkrainianUrduUyghurUzbekVietnameseWelshXhosaYiddishYoruba
Zulu
Powered by Translate
Archives
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
Please follow & like us :)
Privacy Policy
Disclaimer
Contact us
Sitemap