Documente Academic
Documente Profesional
Documente Cultură
SAPScript Forms
SAPScript Forms |
Dec-2008
Objectives
The participants will :
Recognize SAPScript Forms
Classify different components of a SAPScript form like Header, Paragraph Windows, Page Windows, Pages, Character formats etc. Apply the Graphical Form Painter. Employ the SAPScript Editor. formats,
SAPScript Forms |
Dec-2008
Language specific
Can be translated using the standard SAP translation tools Note: If the SAPScript form is not available in the client in which the document is being printed, then the SAPScript checks for the style or layout set in client 000.
Recommendation: Keep only one copy of the SAPScript form in client 000.
SAPScript Forms |
Dec-2008
Transaction SE71
Script form or to copy a standard SAP Script Form, transaction Form, SE71transaction is used. SE71 is used.
4 SAPScript Forms |
Dec-2008
Script form or to copy a standard SAP Script Form, transaction Form, SE71transaction is used. SE71 is used.
5 SAPScript Forms |
Dec-2008
SAPScript Forms |
Dec-2008
SAPScript Forms |
Dec-2008
Pages
This screen shows the details of all the pages in the form. The form will always have a first page and may have a next page. The Mode is for the page numbering mode of the form. This can be set to any one of INC,START,HOLD. The Numbering type determines the numbering style for the outline and page numbers.
SAPScript Forms |
Dec-2008
Windows
This screen displays all the windows that are used in the form. Each section of the SAPScript form is written in a window. Window types are MAIN,VAR,CONST,GRAPH.
All forms will have a MAIN window.If all the data does not fit into one page, printing will continue on the MAIN window of the next page.
SAPScript Forms |
Dec-2008
The first column in this screen displays the code for the paragraphs.
The second column displays the descriptions.
10
SAPScript Forms |
Dec-2008
11
SAPScript Forms |
Dec-2008
Paragraphs - Tabs
Clicking on the Tabs button at the bottom right of the page will bring this screen. The tabs section is very useful while outputting a table on the document. Specifying a list of tabs is the way to create columns for outputting line items of a document. Tabs can be entered as MM , CM , CH etc. and can also be LEFT , RIGHT , CENTER, DECIMAL, SIGN aligned.
12
SAPScript Forms |
Dec-2008
13
SAPScript Forms |
Dec-2008
14
SAPScript Forms |
Dec-2008
15
SAPScript Forms |
Dec-2008
Page Windows
List of all the windows for a particular page with coordinates. The coordinates are given by the upper left-hand corner and the width and length. A window which should appear on a page must first be defined under Windows and then be added to the page windows. To see the windows defined for the next page, select the appropriate page and click the Enter button.
16
SAPScript Forms |
Dec-2008
This will display a page of the form with the windows laid out.
When a particular window is selected, it becomes active in the graphical editor. Then it is possible to drag and drop the window or drag the window into the desired shape.
17
SAPScript Forms |
Dec-2008
18
SAPScript Forms |
Dec-2008
19
SAPScript Forms |
Dec-2008
20
SAPScript Forms |
Dec-2008
21
SAPScript Forms |
Dec-2008
Demonstration
Creating a SAPScript using transaction SE71 to print a form containing flight booking confirmation for a customer. Creating 4 windows the layout set in a single page:
MAIN Window ( Containing Flight Booking Details ) Address Window ( Containing address of the customer ) Header Window ( Containing the date and the logo of the concerned airline )
Testing the Form using the menu path Utilities -> Printing Test in transaction SE71.
22
SAPScript Forms |
Dec-2008
Practice
Creating a SAPScript using transaction SE71 to print a form containing flight booking confirmation for a customer. Creating 4 windows the layout set in a single page:
MAIN Window ( Containing Flight Booking Details ) Address Window ( Containing address of the customer ) Header Window ( Containing the date and the logo of the concerned airline )
Testing the Form using the menu path Utilities -> Printing Test in transaction SE71.
23
SAPScript Forms |
Dec-2008
Summary
SAPScripts are client-dependant, language specific and can be translated using the standard SAP translation tools. Custom SAPScripts can be created using transaction SE71. The name of the custom form starts with a Y or Z. A form can consist of multiple pages and a page can consist of multiple windows. There are four types of windows : MAIN, VAR, CONST and GRAPH. Paragraphs contain all necessary information needed to format a paragraph of text. This is where all the text styles are determined. Character formats contain all necessary information needed to format a string of characters within a paragraph. Page Windows contain a list of all the windows for a particular page with coordinates. Code can be added to the windows to display content dynamically in the form. Programs RSTXR3TR and RSTXSCRP are used to upload or download SAPScripts to or from the SAP system.
24
SAPScript Forms |
Dec-2008
Questions
Are SAPScripts client-dependent or client independent ?
What program is used to export/import a layout set without using a transport request ?
How can standard text created in the SAP R/3 system be assigned to a CTS ?
25
SAPScript Forms |
Dec-2008