SlideShare a Scribd company logo
1 of 12
SAPScript Overview
Dec-2008 SAPScript Overview |
Objective
• The participants will be able to :
– Define What SAPScript is
– Identify how SAPScript Works
– Create Report Vs. Form
– Identify components of SAPScript
Dec-2008 SAPScript Overview | 2
What is SAPScript ?
• SAPScript is used to print forms.
• SAPScript looks better than conventional
report.
• SAPScript form can have graphic elements and
it can be event-triggered.
Dec-2008 SAPScript Overview | 3
What is SAPScript ? (Contd.)
• SAPScript is used to print forms.
• SAPScript looks better than conventional
report.
• SAPScript form can have graphic elements and
it can be event-triggered.
Dec-2008 SAPScript Overview | 4
How SAPScript Works
Dec-2008 SAPScript Overview | 5
SAP
Document
Form
(Output)
Layout set
(Template)
Read Data Print
Define
 SAP documents are printed using forms.
 Forms are defined and formatted using layout sets.
 SAPScript is a tool that SAP provides for creating layout sets.
SAP Script
Sales order,
Billing document,
Purchase Order, etc
Order confirmation,
Invoice,
Purchase order,etc
Creating Report Vs. Form
Dec-2008 SAPScript Overview | 6
Output
Program
(ABAP)
Report
Output
Program
(ABAP)
Layout set Form
Creating Reports
Creating Forms
SAP
Document
SAP
Document
Components of SAPScript
Dec-2008 SAPScript Overview | 7
Output
Program
Layout set Form
Output determination configuration
(Optional)
Printer / Font Configuration
 Output program: Extracts data from SAP data dictionary
 Layout set: Formats the extracted data
 Printer / Font configuration: Configures impact / laser printer, bar code, logo
SAP
Document
Components of SAPScript (Contd.)
Dec-2008 SAPScript Overview | 8
Output
Program
Layout set Form
Output determination configuration
(Optional)
Printer / Font Configuration
SAP
Document
 Output program: Extracts data from SAP data dictionary
 Layout set: Formats the extracted data
 Printer / Font configuration: Configures impact / laser printer, bar code, logo
Demonstration
• Displaying a SAPScript Form in the SAP R/3
system by running transaction SE71.
Dec-2008 SAPScript Overview | 9
Practice
• Displaying a SAPScript Form in the SAP R/3
system by running transaction SE71.
Dec-2008 SAPScript Overview | 10
Summary
• SAPScript is used to print forms. It looks better
than conventional reports and can have graphic
elements as required.
• SAPScript is a tool for creating layout sets using
transaction SE71 in the SAP R/3 system.
• The output program (written in ABAP ) extracts
data to be placed in forms while the layout set
formats the extracted data to be placed in the
form.
• SAPScripts can be referred to as the combination
of the output program and the layout set.
Dec-2008 SAPScript Overview | 11
Questions
• What is a layout set ?
• What is an output program in reference to
SAPScripts ?
• What are the different modes of
communication between the output program
and the layout sets ?
Dec-2008 SAPScript Overview | 12

More Related Content

What's hot

Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reportsvbpc
 
Internal tables
Internal tables Internal tables
Internal tables Jibu Jose
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoclakshmi rajkumar
 
SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniquesJugul Crasta
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantAnkit Sharma
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerbsm fico
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questionsKranthi Kumar
 
ABAP Programming Overview
ABAP Programming OverviewABAP Programming Overview
ABAP Programming Overviewsapdocs. info
 
Functional specification doc stock aging report based on consumption
Functional specification doc  stock aging report based on consumptionFunctional specification doc  stock aging report based on consumption
Functional specification doc stock aging report based on consumptionLokesh Modem
 
Object oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPObject oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPNoman Mohamed Hanif
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exitsKranthi Kumar
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed NotesAkash Bhavsar
 
Sap Purchase Order Workflow
Sap Purchase Order WorkflowSap Purchase Order Workflow
Sap Purchase Order WorkflowArghadip Kar
 

What's hot (20)

Alv theory
Alv theoryAlv theory
Alv theory
 
Sap Abap Reports
Sap Abap ReportsSap Abap Reports
Sap Abap Reports
 
Sap abap
Sap abapSap abap
Sap abap
 
Internal tables
Internal tables Internal tables
Internal tables
 
Bapi step-by-step
Bapi step-by-stepBapi step-by-step
Bapi step-by-step
 
Edit idoc , reprocess and test idoc
Edit idoc , reprocess and test idocEdit idoc , reprocess and test idoc
Edit idoc , reprocess and test idoc
 
SAP Adobe forms
SAP Adobe formsSAP Adobe forms
SAP Adobe forms
 
SAP Modularization techniques
SAP Modularization techniquesSAP Modularization techniques
SAP Modularization techniques
 
Sap User Exit for Functional Consultant
Sap User Exit for Functional ConsultantSap User Exit for Functional Consultant
Sap User Exit for Functional Consultant
 
Using infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewerUsing infoset query ,sap query and quick viewer
Using infoset query ,sap query and quick viewer
 
Abap reports
Abap reportsAbap reports
Abap reports
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
 
ABAP Programming Overview
ABAP Programming OverviewABAP Programming Overview
ABAP Programming Overview
 
Sap abap
Sap abapSap abap
Sap abap
 
Reports
ReportsReports
Reports
 
Functional specification doc stock aging report based on consumption
Functional specification doc  stock aging report based on consumptionFunctional specification doc  stock aging report based on consumption
Functional specification doc stock aging report based on consumption
 
Object oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAPObject oriented approach to ALV Lists in ABAP
Object oriented approach to ALV Lists in ABAP
 
Chapter 01 user exits
Chapter 01 user exitsChapter 01 user exits
Chapter 01 user exits
 
SAP ABAP - Needed Notes
SAP   ABAP - Needed NotesSAP   ABAP - Needed Notes
SAP ABAP - Needed Notes
 
Sap Purchase Order Workflow
Sap Purchase Order WorkflowSap Purchase Order Workflow
Sap Purchase Order Workflow
 

Viewers also liked

Viewers also liked (18)

Sap script made easy
Sap script made easySap script made easy
Sap script made easy
 
Lecture15 abap on line
Lecture15 abap on lineLecture15 abap on line
Lecture15 abap on line
 
Corso ABAP OO 03
Corso ABAP OO  03Corso ABAP OO  03
Corso ABAP OO 03
 
Corso ABAP OO 04
Corso ABAP OO  04Corso ABAP OO  04
Corso ABAP OO 04
 
Corso ABAP OO 02
Corso ABAP OO   02Corso ABAP OO   02
Corso ABAP OO 02
 
Corso ABAP OO 01
Corso ABAP OO   01Corso ABAP OO   01
Corso ABAP OO 01
 
SAP WEBDYNPRO ABAP TRAINING
SAP WEBDYNPRO ABAP TRAININGSAP WEBDYNPRO ABAP TRAINING
SAP WEBDYNPRO ABAP TRAINING
 
SAP Landscape 2014
SAP Landscape 2014SAP Landscape 2014
SAP Landscape 2014
 
Workbench and customising request
Workbench and customising requestWorkbench and customising request
Workbench and customising request
 
Clients in sap
Clients in sapClients in sap
Clients in sap
 
Sap system landscape best practice
Sap system landscape best practiceSap system landscape best practice
Sap system landscape best practice
 
Sap abap ppt
Sap abap pptSap abap ppt
Sap abap ppt
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
 
SAP Smart forms
SAP Smart formsSAP Smart forms
SAP Smart forms
 
Scenario on business transaction events
Scenario on business transaction eventsScenario on business transaction events
Scenario on business transaction events
 
Exercise in alv
Exercise in alvExercise in alv
Exercise in alv
 
Sp rao abap
Sp rao abapSp rao abap
Sp rao abap
 
Ooabap notes with_programs
Ooabap notes with_programsOoabap notes with_programs
Ooabap notes with_programs
 

Similar to sap script overview

Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configurationKranthi Kumar
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewerotchmarz
 
5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdfssuser196b2d1
 
Top 140+ Advanced SAS Interview Questions and Answers.pdf
Top 140+ Advanced SAS Interview Questions and Answers.pdfTop 140+ Advanced SAS Interview Questions and Answers.pdf
Top 140+ Advanced SAS Interview Questions and Answers.pdfDatacademy.ai
 
APO Overview with SNP Basics.ppt
APO Overview with SNP Basics.pptAPO Overview with SNP Basics.ppt
APO Overview with SNP Basics.pptAnkur Singh
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script formsKranthi Kumar
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Rajeev Kumar
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...Kranthi Kumar
 
sap abap training in chennai
sap abap training in chennaisap abap training in chennai
sap abap training in chennaisanjai rsamy
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NWfernadabrum
 
SAP Overview and Architecture
SAP Overview and ArchitectureSAP Overview and Architecture
SAP Overview and Architecture Ankit Sharma
 
My Microsoft Business Intelligence Portfolio
My Microsoft Business Intelligence PortfolioMy Microsoft Business Intelligence Portfolio
My Microsoft Business Intelligence Portfoliomnkashama
 
How to find_information_on_sap_eam
How to find_information_on_sap_eamHow to find_information_on_sap_eam
How to find_information_on_sap_eamNguyen Hai
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsKranthi Kumar
 

Similar to sap script overview (20)

Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configuration
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewer
 
SAP-ABAP Resume.doc
SAP-ABAP Resume.docSAP-ABAP Resume.doc
SAP-ABAP Resume.doc
 
5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf
 
Top 140+ Advanced SAS Interview Questions and Answers.pdf
Top 140+ Advanced SAS Interview Questions and Answers.pdfTop 140+ Advanced SAS Interview Questions and Answers.pdf
Top 140+ Advanced SAS Interview Questions and Answers.pdf
 
APO Overview with SNP Basics.ppt
APO Overview with SNP Basics.pptAPO Overview with SNP Basics.ppt
APO Overview with SNP Basics.ppt
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script forms
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Fi enhancement technique how-to-guide on the usage of business transaction ...
Fi enhancement technique   how-to-guide on the usage of business transaction ...Fi enhancement technique   how-to-guide on the usage of business transaction ...
Fi enhancement technique how-to-guide on the usage of business transaction ...
 
Sap abap
Sap abapSap abap
Sap abap
 
sap abap training in chennai
sap abap training in chennaisap abap training in chennai
sap abap training in chennai
 
Sap- An Overview
Sap- An OverviewSap- An Overview
Sap- An Overview
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
 
SAP for Beginners
SAP for BeginnersSAP for Beginners
SAP for Beginners
 
SAP Overview and Architecture
SAP Overview and ArchitectureSAP Overview and Architecture
SAP Overview and Architecture
 
My Microsoft Business Intelligence Portfolio
My Microsoft Business Intelligence PortfolioMy Microsoft Business Intelligence Portfolio
My Microsoft Business Intelligence Portfolio
 
How to find_information_on_sap_eam
How to find_information_on_sap_eamHow to find_information_on_sap_eam
How to find_information_on_sap_eam
 
Rambabu_ABAP_Resume
Rambabu_ABAP_ResumeRambabu_ABAP_Resume
Rambabu_ABAP_Resume
 
Abap for sd consultatnt
Abap for sd consultatntAbap for sd consultatnt
Abap for sd consultatnt
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scripts
 

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
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output programKranthi 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
 

More from Kranthi Kumar (20)

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
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
 
Crm technical
Crm technicalCrm technical
Crm technical
 
control techniques
control techniquescontrol techniques
control techniques
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output program
 
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
 

sap script overview

  • 2. Objective • The participants will be able to : – Define What SAPScript is – Identify how SAPScript Works – Create Report Vs. Form – Identify components of SAPScript Dec-2008 SAPScript Overview | 2
  • 3. What is SAPScript ? • SAPScript is used to print forms. • SAPScript looks better than conventional report. • SAPScript form can have graphic elements and it can be event-triggered. Dec-2008 SAPScript Overview | 3
  • 4. What is SAPScript ? (Contd.) • SAPScript is used to print forms. • SAPScript looks better than conventional report. • SAPScript form can have graphic elements and it can be event-triggered. Dec-2008 SAPScript Overview | 4
  • 5. How SAPScript Works Dec-2008 SAPScript Overview | 5 SAP Document Form (Output) Layout set (Template) Read Data Print Define  SAP documents are printed using forms.  Forms are defined and formatted using layout sets.  SAPScript is a tool that SAP provides for creating layout sets. SAP Script Sales order, Billing document, Purchase Order, etc Order confirmation, Invoice, Purchase order,etc
  • 6. Creating Report Vs. Form Dec-2008 SAPScript Overview | 6 Output Program (ABAP) Report Output Program (ABAP) Layout set Form Creating Reports Creating Forms SAP Document SAP Document
  • 7. Components of SAPScript Dec-2008 SAPScript Overview | 7 Output Program Layout set Form Output determination configuration (Optional) Printer / Font Configuration  Output program: Extracts data from SAP data dictionary  Layout set: Formats the extracted data  Printer / Font configuration: Configures impact / laser printer, bar code, logo SAP Document
  • 8. Components of SAPScript (Contd.) Dec-2008 SAPScript Overview | 8 Output Program Layout set Form Output determination configuration (Optional) Printer / Font Configuration SAP Document  Output program: Extracts data from SAP data dictionary  Layout set: Formats the extracted data  Printer / Font configuration: Configures impact / laser printer, bar code, logo
  • 9. Demonstration • Displaying a SAPScript Form in the SAP R/3 system by running transaction SE71. Dec-2008 SAPScript Overview | 9
  • 10. Practice • Displaying a SAPScript Form in the SAP R/3 system by running transaction SE71. Dec-2008 SAPScript Overview | 10
  • 11. Summary • SAPScript is used to print forms. It looks better than conventional reports and can have graphic elements as required. • SAPScript is a tool for creating layout sets using transaction SE71 in the SAP R/3 system. • The output program (written in ABAP ) extracts data to be placed in forms while the layout set formats the extracted data to be placed in the form. • SAPScripts can be referred to as the combination of the output program and the layout set. Dec-2008 SAPScript Overview | 11
  • 12. Questions • What is a layout set ? • What is an output program in reference to SAPScripts ? • What are the different modes of communication between the output program and the layout sets ? Dec-2008 SAPScript Overview | 12

Editor's Notes

  1. SAPScript is used to print forms. It has many advantages over conventional reports. In a report program , the programmer has less control over the formatting of the output . By using SAPScript , the programmer has more control to format the output so that the output form looks better. The programmer has more control mechanisms to format fonts, paragraphs, etc in SAPScript forms. In addition to that, SAPScript forms can have graphic elements(e.g. company logo, bar code etc.) attached to it. Forms can be event-triggered (e.g. Generating output as soon as the document is saved) using message control.
  2. Example of standard SAPScript forms: SD- Quotation Order Confirmation Delivery Note Invoice FI- Customer Statement Checks PP- Purchase Req. Purchase Order Contract IM- Goods Issue Goods Receipt WM- Picking List Packing List Labels
  3. SAP documents (e.g. sales order, billing document) are printed using forms. Forms are defined and formatted using layout sets. Layout set is a template that defines how the form will look when it actually gets printed. SAPScript is a tool that SAP provides for creating layout sets.
  4. At a very high level, the only difference between creating a report and a form is the one additional step of formatting the data using the layout set. The output program(written in ABAP) will still extract the needed data. The manual formatting logic is taken from the ABAP program. The layout set defines the format in which the extracted data gets printed. There has to be some mechanism for the output program and the layout set to communicate. The communication is achieved through: Function calls Communication structures Configuration A SAPScript program is made up of two parts : The SAPScript form and the ABAP output program that calls the SAPScript form. The easiest way to create a SAPScript program is to use a standard SAP form for the functionality that you want and then modify it so that it results in a customized output. To find out which form is to be modified it is required to find out the configuration in the system.
  5. Most people commonly refer to SAPScript as the combination of the output program and the corresponding layout set. However, for SAPScript forms to work, all of its components (including the configuration elements) must be created and configured properly. Output program is written in ABAP. It prepares the data to be displayed in the form. If message control technique is used then, it collects the key data in the document through communication structure and fetches other information from relevant tables based on this key values,otherwise all required data is selected from database based on business logic and feeds it to the layout set via function calls (OPEN_FORM, WRITE_FORM, CLOSE_FORM etc.). Layout set formats the passed data. Output determination configuration (optional) determines the appropriate output program / layout set combination. It defines which event triggers the printing of the forms, and also defines the timing (batch, on-line) and destination (which printer) of the output. This block is optional as it is used only with message control.
  6. Printer configuration specifies the print control of the output device (e.g. impact, laser printer). Font configuration can be used to specify logos and barcodes, paragraphs and character formats. Note: The standard SAPScript forms are mainly triggered using the message control technique where Output determination configuration is required to find the appropriate output program / layout set combination, time, mode and device. This scenario is mainly used with transactional data. But in a custom scenario, if message control technique is not required then the output program ( also called print program or driver program) directly calls the specific layout set without the help of Output determination configuration. Also in that case information regarding the SAP document is not passed to the output program using communication structure. Whatever data is required to be displayed in the form is fetched from the relevant tables according to the business logic.