SlideShare a Scribd company logo
1 of 10
Debugging SAPScript
Dec-2008 Debugging SAPScript |
Objectives
• The Participant will be able to:
– Debug a SAPScript form
Dec-2008 Debugging SAPScript | 2
Activate Sapscript Debugger
3 Dec-2008Debugging SAPScript |
In the Form Printer
choose the form to be
debugged
Choose this
submenu
Status message
confirms that debugger
is activated
Debugging Sapscript Layout set using
Print Program
4 Dec-2008Debugging SAPScript |
Click on the OK
button
Run the Print program
Debugger is displayed
Features of SAPScript Layoutset
debugger
Dec-2008 Debugging SAPScript | 5
Features of SAPscript Layoutset
debugger (Contd.)
Dec-2008 Debugging SAPScript | 6
Demonstration
• Debugging a SAPScript Form.
Dec-2008 Debugging SAPScript | 7
Practice
• Debugging a SAPScript Form.
Dec-2008 Debugging SAPScript | 8
Summary
• SAPScripts can be debugged after activating the
SAPScript debugger and running the print program
online.
• Similar to the ABAP/4 debugger, the following options
are available in the debugger to control the processing:
– CONTINUE - continue to the next breakpoint
– EXECUTE - execute the current function module, stop at
the start of the next function module
– SINGLE STEP - execute processing within the current
function module in single steps
– EXIT DEBUGGER - deactivate the debugger and continue
with the normal layout set processing
Dec-2008 Debugging SAPScript | 9
Questions
• How is the SAPScript debugger activated ?
• What are the default break-points of the
SAPScript debugger ?
Dec-2008 Debugging SAPScript | 10

More Related Content

What's hot

Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.docKranthi Kumar
 
Sap Implementation Presentation
Sap Implementation PresentationSap Implementation Presentation
Sap Implementation Presentationlarrymcc
 
SAP PP Case study by Murali Krishna Nookella
SAP PP Case study by Murali Krishna NookellaSAP PP Case study by Murali Krishna Nookella
SAP PP Case study by Murali Krishna Nookellamuralikrishnanookella
 
SAP Activate Methodology for S/4HANA Implementation
SAP Activate Methodology for S/4HANA ImplementationSAP Activate Methodology for S/4HANA Implementation
SAP Activate Methodology for S/4HANA ImplementationKellton Tech Solutions Ltd
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infosapdocs. info
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Groupsapdocs. info
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringLinh Nguyen
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questionsKranthi Kumar
 
Sap fi-gl-step-by-step-material
Sap fi-gl-step-by-step-materialSap fi-gl-step-by-step-material
Sap fi-gl-step-by-step-materialkotakonda Murali
 
Controlling 2012 Global Rollouts.pptx
Controlling 2012 Global Rollouts.pptxControlling 2012 Global Rollouts.pptx
Controlling 2012 Global Rollouts.pptxJohn Jordan
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginnerssapdocs. info
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IIAshish Saxena
 

What's hot (20)

Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
 
Sap Implementation Presentation
Sap Implementation PresentationSap Implementation Presentation
Sap Implementation Presentation
 
Sap solution manager
Sap solution managerSap solution manager
Sap solution manager
 
Sap plant maintenance
Sap plant maintenanceSap plant maintenance
Sap plant maintenance
 
SAP PP Case study by Murali Krishna Nookella
SAP PP Case study by Murali Krishna NookellaSAP PP Case study by Murali Krishna Nookella
SAP PP Case study by Murali Krishna Nookella
 
SAP PS Intro
SAP PS IntroSAP PS Intro
SAP PS Intro
 
Sap overview
Sap overviewSap overview
Sap overview
 
SAP S/4HANA Cloud
SAP S/4HANA CloudSAP S/4HANA Cloud
SAP S/4HANA Cloud
 
sap script overview
sap script overviewsap script overview
sap script overview
 
SAP Activate Methodology for S/4HANA Implementation
SAP Activate Methodology for S/4HANA ImplementationSAP Activate Methodology for S/4HANA Implementation
SAP Activate Methodology for S/4HANA Implementation
 
Sap abap tutorials
Sap abap tutorialsSap abap tutorials
Sap abap tutorials
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
 
ABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type GroupABAP Message, Debugging, File Transfer and Type Group
ABAP Message, Debugging, File Transfer and Type Group
 
Mastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload MonitoringMastering SAP Monitoring - Workload Monitoring
Mastering SAP Monitoring - Workload Monitoring
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
 
Sap fi-gl-step-by-step-material
Sap fi-gl-step-by-step-materialSap fi-gl-step-by-step-material
Sap fi-gl-step-by-step-material
 
Controlling 2012 Global Rollouts.pptx
Controlling 2012 Global Rollouts.pptxControlling 2012 Global Rollouts.pptx
Controlling 2012 Global Rollouts.pptx
 
SAP PP MRP Guide for Beginners
SAP PP MRP Guide for BeginnersSAP PP MRP Guide for Beginners
SAP PP MRP Guide for Beginners
 
Technical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part IITechnical Overview of CDS View - SAP HANA Part II
Technical Overview of CDS View - SAP HANA Part II
 
Sap implementation
Sap implementationSap implementation
Sap implementation
 

Viewers also liked

Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script formsKranthi Kumar
 
SAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best BitsSAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best BitsAliter Consulting
 
Abap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksAbap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksMilind Patil
 
Abap slides user defined data types and data
Abap slides user defined data types and dataAbap slides user defined data types and data
Abap slides user defined data types and dataMilind Patil
 
0106 debugging
0106 debugging0106 debugging
0106 debuggingvkyecc1
 
Batach management from sd side
Batach management from sd sideBatach management from sd side
Batach management from sd sideGopi Ponnala
 
Batch search strategy
Batch search strategyBatch search strategy
Batch search strategyJaya Kapoor
 
SAP Global Batch Traceability - What is it and what can it do for you?
SAP Global Batch Traceability - What is it and what can it do for you?SAP Global Batch Traceability - What is it and what can it do for you?
SAP Global Batch Traceability - What is it and what can it do for you?Q Data USA
 
Sap script made easy
Sap script made easySap script made easy
Sap script made easyKranthi Kumar
 
Pp batch management-presentation
Pp batch management-presentationPp batch management-presentation
Pp batch management-presentationskumar_sap
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP PerformancePeterHBrown
 
Sport Obermeyer Case Study
Sport Obermeyer Case StudySport Obermeyer Case Study
Sport Obermeyer Case StudyGourav Anvekar
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answersUttam Agrawal
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDIAmit Khari
 

Viewers also liked (20)

Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script forms
 
Abap reports
Abap reportsAbap reports
Abap reports
 
SAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best BitsSAP Web Dispatcher - Best Bits
SAP Web Dispatcher - Best Bits
 
Abap slide class3
Abap slide class3Abap slide class3
Abap slide class3
 
Abap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checksAbap slide lock Enqueue data clusters auth checks
Abap slide lock Enqueue data clusters auth checks
 
Abap slides set1
Abap slides set1Abap slides set1
Abap slides set1
 
Abap slides user defined data types and data
Abap slides user defined data types and dataAbap slides user defined data types and data
Abap slides user defined data types and data
 
0106 debugging
0106 debugging0106 debugging
0106 debugging
 
Batach management from sd side
Batach management from sd sideBatach management from sd side
Batach management from sd side
 
Batch search strategy
Batch search strategyBatch search strategy
Batch search strategy
 
SAP Global Batch Traceability - What is it and what can it do for you?
SAP Global Batch Traceability - What is it and what can it do for you?SAP Global Batch Traceability - What is it and what can it do for you?
SAP Global Batch Traceability - What is it and what can it do for you?
 
Sap script made easy
Sap script made easySap script made easy
Sap script made easy
 
Pp batch management-presentation
Pp batch management-presentationPp batch management-presentation
Pp batch management-presentation
 
Dialog programming ABAP
Dialog programming ABAPDialog programming ABAP
Dialog programming ABAP
 
Maximizing SAP ABAP Performance
Maximizing SAP ABAP PerformanceMaximizing SAP ABAP Performance
Maximizing SAP ABAP Performance
 
SAP ALE Idoc
SAP ALE IdocSAP ALE Idoc
SAP ALE Idoc
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
Sport Obermeyer Case Study
Sport Obermeyer Case StudySport Obermeyer Case Study
Sport Obermeyer Case Study
 
Smartforms interview questions with answers
Smartforms interview questions with answersSmartforms interview questions with answers
Smartforms interview questions with answers
 
IDOC , ALE ,EDI
IDOC , ALE ,EDIIDOC , ALE ,EDI
IDOC , ALE ,EDI
 

Similar to Chapter 07 debugging sap scripts

Let start with GUIXT
Let start with GUIXTLet start with GUIXT
Let start with GUIXTKang YAyan
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NWfernadabrum
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Srinivas Dukka
 
Automate user creation using sap gui scripting
Automate user creation using sap gui scriptingAutomate user creation using sap gui scripting
Automate user creation using sap gui scriptingsparten369
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configurationKranthi Kumar
 
JMeter JMX Script Creation via BlazeMeter
JMeter JMX Script Creation via BlazeMeterJMeter JMX Script Creation via BlazeMeter
JMeter JMX Script Creation via BlazeMeterRapidValue
 
Troubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage AnalyzerTroubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage Analyzerzahack
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exitsKranthi Kumar
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output programKranthi Kumar
 
Master guide-ehp6for erp6.0-ehp3fornw7.0
Master guide-ehp6for erp6.0-ehp3fornw7.0Master guide-ehp6for erp6.0-ehp3fornw7.0
Master guide-ehp6for erp6.0-ehp3fornw7.0Adnan Khalid
 
Abap fundamentals-training-course-document
Abap fundamentals-training-course-documentAbap fundamentals-training-course-document
Abap fundamentals-training-course-documentjohnbryan26
 
Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Solution Manager 7.2 SAP Monitoring - Part 2 - ConfigurationSolution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Solution Manager 7.2 SAP Monitoring - Part 2 - ConfigurationLinh Nguyen
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bishabari76
 

Similar to Chapter 07 debugging sap scripts (20)

Let start with GUIXT
Let start with GUIXTLet start with GUIXT
Let start with GUIXT
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
 
Sap scripts
Sap scriptsSap scripts
Sap scripts
 
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)Backup%20 domain%20controller%20(bdc)%20step by-step(1)
Backup%20 domain%20controller%20(bdc)%20step by-step(1)
 
SAP INTRODUCTION.pptx
SAP INTRODUCTION.pptxSAP INTRODUCTION.pptx
SAP INTRODUCTION.pptx
 
Test managementsetupguide
Test managementsetupguideTest managementsetupguide
Test managementsetupguide
 
Automate user creation using sap gui scripting
Automate user creation using sap gui scriptingAutomate user creation using sap gui scripting
Automate user creation using sap gui scripting
 
Chapter 03 sap navigation
Chapter 03 sap navigationChapter 03 sap navigation
Chapter 03 sap navigation
 
Abap sample
Abap sampleAbap sample
Abap sample
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configuration
 
JMeter JMX Script Creation via BlazeMeter
JMeter JMX Script Creation via BlazeMeterJMeter JMX Script Creation via BlazeMeter
JMeter JMX Script Creation via BlazeMeter
 
Troubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage AnalyzerTroubleshooting Your ABAP Programs Using Coverage Analyzer
Troubleshooting Your ABAP Programs Using Coverage Analyzer
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output program
 
Master guide-ehp6for erp6.0-ehp3fornw7.0
Master guide-ehp6for erp6.0-ehp3fornw7.0Master guide-ehp6for erp6.0-ehp3fornw7.0
Master guide-ehp6for erp6.0-ehp3fornw7.0
 
Abap fundamentals-training-course-document
Abap fundamentals-training-course-documentAbap fundamentals-training-course-document
Abap fundamentals-training-course-document
 
sap
sap sap
sap
 
Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Solution Manager 7.2 SAP Monitoring - Part 2 - ConfigurationSolution Manager 7.2 SAP Monitoring - Part 2 - Configuration
Solution Manager 7.2 SAP Monitoring - Part 2 - Configuration
 
Variables in sap bi
Variables in sap biVariables in sap bi
Variables in sap bi
 
Pragma Toolkit User Manual
Pragma Toolkit User ManualPragma Toolkit User Manual
Pragma Toolkit User Manual
 

More from Kranthi Kumar

Creating simple comp
Creating simple compCreating simple comp
Creating simple compKranthi Kumar
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programmingKranthi Kumar
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseKranthi Kumar
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)Kranthi Kumar
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONKranthi Kumar
 
Call transaction method
Call transaction methodCall transaction method
Call transaction methodKranthi Kumar
 
Using folder options for page protection
Using folder options for page protectionUsing folder options for page protection
Using folder options for page protectionKranthi Kumar
 
Version it satya_dev
Version it satya_devVersion it satya_dev
Version it satya_devKranthi Kumar
 

More from Kranthi Kumar (20)

Exercise in alv
Exercise in alvExercise in alv
Exercise in alv
 
Dynamic binding
Dynamic bindingDynamic binding
Dynamic binding
 
Data binding
Data bindingData binding
Data binding
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple comp
 
Creating messages
Creating messagesCreating messages
Creating messages
 
Creating a comp
Creating a compCreating a comp
Creating a comp
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programming
 
Context at design
Context at designContext at design
Context at design
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exercise
 
Alv for web
Alv for webAlv for web
Alv for web
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)
 
Abap faq
Abap faqAbap faq
Abap faq
 
Crm technical
Crm technicalCrm technical
Crm technical
 
control techniques
control techniquescontrol techniques
control techniques
 
Batch input session
Batch input sessionBatch input session
Batch input session
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
 
Call transaction method
Call transaction methodCall transaction method
Call transaction method
 
Using folder options for page protection
Using folder options for page protectionUsing folder options for page protection
Using folder options for page protection
 
Business workflow
Business workflowBusiness workflow
Business workflow
 
Version it satya_dev
Version it satya_devVersion it satya_dev
Version it satya_dev
 

Chapter 07 debugging sap scripts

  • 2. Objectives • The Participant will be able to: – Debug a SAPScript form Dec-2008 Debugging SAPScript | 2
  • 3. Activate Sapscript Debugger 3 Dec-2008Debugging SAPScript | In the Form Printer choose the form to be debugged Choose this submenu Status message confirms that debugger is activated
  • 4. Debugging Sapscript Layout set using Print Program 4 Dec-2008Debugging SAPScript | Click on the OK button Run the Print program Debugger is displayed
  • 5. Features of SAPScript Layoutset debugger Dec-2008 Debugging SAPScript | 5
  • 6. Features of SAPscript Layoutset debugger (Contd.) Dec-2008 Debugging SAPScript | 6
  • 7. Demonstration • Debugging a SAPScript Form. Dec-2008 Debugging SAPScript | 7
  • 8. Practice • Debugging a SAPScript Form. Dec-2008 Debugging SAPScript | 8
  • 9. Summary • SAPScripts can be debugged after activating the SAPScript debugger and running the print program online. • Similar to the ABAP/4 debugger, the following options are available in the debugger to control the processing: – CONTINUE - continue to the next breakpoint – EXECUTE - execute the current function module, stop at the start of the next function module – SINGLE STEP - execute processing within the current function module in single steps – EXIT DEBUGGER - deactivate the debugger and continue with the normal layout set processing Dec-2008 Debugging SAPScript | 9
  • 10. Questions • How is the SAPScript debugger activated ? • What are the default break-points of the SAPScript debugger ? Dec-2008 Debugging SAPScript | 10

Editor's Notes

  1. Activate Sapscript Debugger: Go to Transaction SE71, enter the sapscript form to be debugged in FORM field, then go to Utilities menu and choose the submenu Activate Debugger. Message in the status bar confirms that the debugger is activated. Alternately we can execute the report RSTXDBUG to activate the sapscript debugger.
  2. Debugging the SAPscript form: Run the print program online with valid values, a dialog box is displayed first in which you can set the breakpoints of the debugger. Default breakpoints of the debugger are : Warning messages within the layout set processing INCLUDE commands All SAPscript function modules After setting the breakpoint (which is optional) click on the OK button. Now the layout set debugger is displayed.
  3. Features of SAPscript Layout set debugger: The layout set debugger can be used to narrow down problems with SAPscript print programs and layout sets when printing in the applications. It allows to interactively go through a print program and provides information on The called SAP script function modules (OPEN_FORM, START_FORM, WRITE_FORM, CONTROL_FORM, END_FORM, CLOSE_FORM, etc.) EXCEPTIONS, that is, error situations when you call the SAPscript function modules The current symbol values (that is, variables) in SAPscript Warning messages that occur during the processing INCLUDE texts that are possibly not found The layout set debugger can only be used online, but not when printing in the background or during the update.
  4. Several information is displayed within the interactive debugger, for example, The current layout set The current layout set language The event: for example, the name of the called SAPscript function module The name of the current layout set page The name of the current layout set window Similar to the ABAP/4 debugger, the following options are available in the debugger to control the processing: CONTINUE - continue to the next breakpoint EXECUTE - execute the current function module, stop at the start of the next function module SINGLE STEP - execute processing within the current function module in single steps EXIT DEBUGGER - deactivate the debugger and continue with the normal layout set processing You can display symbol values (that is, variables) in SAPscript by entering the symbol name in an input line on the debugger screen. Example: To display the current value of symbol &SY-UNAME&, you have to enter SY- UNAME there.