SlideShare a Scribd company logo
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
Ad

More Related Content

What's hot (20)

Sap abap-data structures and internal tables
Sap abap-data structures and internal tablesSap abap-data structures and internal tables
Sap abap-data structures and internal tables
Mustafa Nadim
 
Sap abap
Sap abapSap abap
Sap abap
Jugul Crasta
 
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
Noman Mohamed Hanif
 
Call transaction method
Call transaction methodCall transaction method
Call transaction method
Kranthi Kumar
 
abap list viewer (alv)
abap list viewer (alv)abap list viewer (alv)
abap list viewer (alv)
Kranthi Kumar
 
Sap abap material
Sap abap materialSap abap material
Sap abap material
Kranthi Kumar
 
07 sap scripts
07 sap scripts07 sap scripts
07 sap scripts
Kranthi Kumar
 
Dialog programming ABAP
Dialog programming ABAPDialog programming ABAP
Dialog programming ABAP
Jefferson Mutuva
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
sapdocs. info
 
Ale idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdaryAle idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdary
ANILKUMARPULIPATI1
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
Garuda Trainings
 
Reports
ReportsReports
Reports
Jugul Crasta
 
SAP Smart forms
SAP Smart formsSAP Smart forms
SAP Smart forms
Jugul Crasta
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
Kranthi Kumar
 
SAP Adobe forms
SAP Adobe formsSAP Adobe forms
SAP Adobe forms
Jugul Crasta
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
sapdocs. info
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
Kranthi Kumar
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
sapdocs. info
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questions
techie_gautam
 
Modularization & Catch Statement
Modularization & Catch StatementModularization & Catch Statement
Modularization & Catch Statement
sapdocs. info
 
Sap abap-data structures and internal tables
Sap abap-data structures and internal tablesSap abap-data structures and internal tables
Sap abap-data structures and internal tables
Mustafa Nadim
 
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
Noman Mohamed Hanif
 
Call transaction method
Call transaction methodCall transaction method
Call transaction method
Kranthi Kumar
 
abap list viewer (alv)
abap list viewer (alv)abap list viewer (alv)
abap list viewer (alv)
Kranthi Kumar
 
List Processing in ABAP
List Processing in ABAPList Processing in ABAP
List Processing in ABAP
sapdocs. info
 
Ale idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdaryAle idoc training kit sap Anilkumar chowdary
Ale idoc training kit sap Anilkumar chowdary
ANILKUMARPULIPATI1
 
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda TrainingsSAP ABAP Latest Interview Questions with Answers by Garuda Trainings
SAP ABAP Latest Interview Questions with Answers by Garuda Trainings
Garuda Trainings
 
1000 solved questions
1000 solved questions1000 solved questions
1000 solved questions
Kranthi Kumar
 
Introduction to ABAP
Introduction to ABAPIntroduction to ABAP
Introduction to ABAP
sapdocs. info
 
BATCH DATA COMMUNICATION
BATCH DATA COMMUNICATIONBATCH DATA COMMUNICATION
BATCH DATA COMMUNICATION
Kranthi Kumar
 
ABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.infoABAP for Beginners - www.sapdocs.info
ABAP for Beginners - www.sapdocs.info
sapdocs. info
 
Sap abap real time questions
Sap abap real time questionsSap abap real time questions
Sap abap real time questions
techie_gautam
 
Modularization & Catch Statement
Modularization & Catch StatementModularization & Catch Statement
Modularization & Catch Statement
sapdocs. info
 

Viewers also liked (18)

Sap script made easy
Sap script made easySap script made easy
Sap script made easy
Kranthi Kumar
 
Lecture15 abap on line
Lecture15 abap on lineLecture15 abap on line
Lecture15 abap on line
Milind Patil
 
Corso ABAP OO 03
Corso ABAP OO  03Corso ABAP OO  03
Corso ABAP OO 03
Piergiorgio Bossù
 
Corso ABAP OO 04
Corso ABAP OO  04Corso ABAP OO  04
Corso ABAP OO 04
Piergiorgio Bossù
 
Corso ABAP OO 02
Corso ABAP OO   02Corso ABAP OO   02
Corso ABAP OO 02
Piergiorgio Bossù
 
Corso ABAP OO 01
Corso ABAP OO   01Corso ABAP OO   01
Corso ABAP OO 01
Piergiorgio Bossù
 
SAP WEBDYNPRO ABAP TRAINING
SAP WEBDYNPRO ABAP TRAININGSAP WEBDYNPRO ABAP TRAINING
SAP WEBDYNPRO ABAP TRAINING
Santhosh Sap
 
SAP Landscape 2014
SAP Landscape 2014SAP Landscape 2014
SAP Landscape 2014
Martin Hingley
 
Workbench and customising request
Workbench and customising requestWorkbench and customising request
Workbench and customising request
lakshmi rajkumar
 
Abap package concept
Abap package conceptAbap package concept
Abap package concept
Tobias Trapp
 
Clients in sap
Clients in sapClients in sap
Clients in sap
Pavan Kumar
 
Sap system landscape best practice
Sap system landscape best practiceSap system landscape best practice
Sap system landscape best practice
Abdulrahman Abdulrahim
 
Sap abap ppt
Sap abap pptSap abap ppt
Sap abap ppt
vonline
 
Introducing enhancement framework.doc
Introducing enhancement framework.docIntroducing enhancement framework.doc
Introducing enhancement framework.doc
Kranthi Kumar
 
Scenario on business transaction events
Scenario on business transaction eventsScenario on business transaction events
Scenario on business transaction events
Kranthi Kumar
 
Exercise in alv
Exercise in alvExercise in alv
Exercise in alv
Kranthi Kumar
 
Sp rao abap
Sp rao abapSp rao abap
Sp rao abap
Kranthi Kumar
 
Ooabap notes with_programs
Ooabap notes with_programsOoabap notes with_programs
Ooabap notes with_programs
Kranthi Kumar
 
Ad

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
Kranthi Kumar
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewer
otchmarz
 
SAP-ABAP Resume.doc
SAP-ABAP Resume.docSAP-ABAP Resume.doc
SAP-ABAP Resume.doc
Venkatesh Durga
 
5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf
ssuser196b2d1
 
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
Datacademy.ai
 
APO Overview with SNP Basics.ppt
APO Overview with SNP Basics.pptAPO Overview with SNP Basics.ppt
APO Overview with SNP Basics.ppt
Ankur Singh
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script forms
Kranthi 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
 
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
 
Sap abap
Sap abapSap abap
Sap abap
Sri Nivas
 
sap abap training in chennai
sap abap training in chennaisap abap training in chennai
sap abap training in chennai
sanjai rsamy
 
SAP Simple Introduction - Sales and distribution
SAP Simple Introduction - Sales and distributionSAP Simple Introduction - Sales and distribution
SAP Simple Introduction - Sales and distribution
msaidsahim
 
Sap- An Overview
Sap- An OverviewSap- An Overview
Sap- An Overview
Nikhil Singh
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
fernadabrum
 
SAP for Beginners
SAP for BeginnersSAP for Beginners
SAP for Beginners
Jainul Musani
 
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 Portfolio
mnkashama
 
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
Nguyen Hai
 
Rambabu_ABAP_Resume
Rambabu_ABAP_ResumeRambabu_ABAP_Resume
Rambabu_ABAP_Resume
Rambabu Botsa
 
Abap for sd consultatnt
Abap for sd consultatntAbap for sd consultatnt
Abap for sd consultatnt
Sukumar Manickam
 
Chapter 05 sap script - configuration
Chapter 05 sap script - configurationChapter 05 sap script - configuration
Chapter 05 sap script - configuration
Kranthi Kumar
 
SAP Quickviewer
SAP QuickviewerSAP Quickviewer
SAP Quickviewer
otchmarz
 
5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf5016_s_4hana_embedded_analytics.pdf
5016_s_4hana_embedded_analytics.pdf
ssuser196b2d1
 
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
Datacademy.ai
 
APO Overview with SNP Basics.ppt
APO Overview with SNP Basics.pptAPO Overview with SNP Basics.ppt
APO Overview with SNP Basics.ppt
Ankur Singh
 
Chapter 06 printing sap script forms
Chapter 06 printing sap script formsChapter 06 printing sap script forms
Chapter 06 printing sap script forms
Kranthi 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
 
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
 
sap abap training in chennai
sap abap training in chennaisap abap training in chennai
sap abap training in chennai
sanjai rsamy
 
SAP Simple Introduction - Sales and distribution
SAP Simple Introduction - Sales and distributionSAP Simple Introduction - Sales and distribution
SAP Simple Introduction - Sales and distribution
msaidsahim
 
Whats new BPC 10.1 NW
Whats new BPC 10.1 NWWhats new BPC 10.1 NW
Whats new BPC 10.1 NW
fernadabrum
 
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 Portfolio
mnkashama
 
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
Nguyen Hai
 
Ad

More from Kranthi Kumar (20)

Dynamic binding
Dynamic bindingDynamic binding
Dynamic binding
Kranthi Kumar
 
Data binding
Data bindingData binding
Data binding
Kranthi Kumar
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple comp
Kranthi Kumar
 
Creating messages
Creating messagesCreating messages
Creating messages
Kranthi Kumar
 
Creating a comp
Creating a compCreating a comp
Creating a comp
Kranthi Kumar
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programming
Kranthi Kumar
 
Context at design
Context at designContext at design
Context at design
Kranthi Kumar
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exercise
Kranthi Kumar
 
Alv for web
Alv for webAlv for web
Alv for web
Kranthi Kumar
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)
Kranthi Kumar
 
Abap faq
Abap faqAbap faq
Abap faq
Kranthi Kumar
 
Crm technical
Crm technicalCrm technical
Crm technical
Kranthi Kumar
 
control techniques
control techniquescontrol techniques
control techniques
Kranthi Kumar
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scripts
Kranthi Kumar
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output program
Kranthi Kumar
 
Batch input session
Batch input sessionBatch input session
Batch input session
Kranthi Kumar
 
Using folder options for page protection
Using folder options for page protectionUsing folder options for page protection
Using folder options for page protection
Kranthi Kumar
 
Business workflow
Business workflowBusiness workflow
Business workflow
Kranthi Kumar
 
Version it satya_dev
Version it satya_devVersion it satya_dev
Version it satya_dev
Kranthi Kumar
 
Webdynpro by vijayender_reddy
Webdynpro by vijayender_reddyWebdynpro by vijayender_reddy
Webdynpro by vijayender_reddy
Kranthi Kumar
 
Creating simple comp
Creating simple compCreating simple comp
Creating simple comp
Kranthi Kumar
 
Controllers and context programming
Controllers and context programmingControllers and context programming
Controllers and context programming
Kranthi Kumar
 
Binding,context mapping,navigation exercise
Binding,context mapping,navigation exerciseBinding,context mapping,navigation exercise
Binding,context mapping,navigation exercise
Kranthi Kumar
 
Web(abap introduction)
Web(abap introduction)Web(abap introduction)
Web(abap introduction)
Kranthi Kumar
 
Chapter 07 debugging sap scripts
Chapter 07 debugging sap scriptsChapter 07 debugging sap scripts
Chapter 07 debugging sap scripts
Kranthi Kumar
 
Chapter 04 sap script - output program
Chapter 04 sap script - output programChapter 04 sap script - output program
Chapter 04 sap script - output program
Kranthi Kumar
 
Using folder options for page protection
Using folder options for page protectionUsing folder options for page protection
Using folder options for page protection
Kranthi Kumar
 
Version it satya_dev
Version it satya_devVersion it satya_dev
Version it satya_dev
Kranthi Kumar
 
Webdynpro by vijayender_reddy
Webdynpro by vijayender_reddyWebdynpro by vijayender_reddy
Webdynpro by vijayender_reddy
Kranthi Kumar
 

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

  • #4: 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.
  • #5: 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
  • #6: 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.
  • #7: 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.
  • #8: 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.
  • #9: 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.
  翻译: