+ All Categories
Home > Documents > Chapter 02_SAPScript Forms.ppt

Chapter 02_SAPScript Forms.ppt

Date post: 03-Jun-2018
Category:
Upload: raul-thomas
View: 217 times
Download: 0 times
Share this document with a friend

of 28

Transcript
  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    1/28

    IBM Global Services

    2005 IBM CorporationSAPScript Forms | 9.02 March-2005

    SAPScript Forms

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    2/28

    IBM Global Services

    2005 IBM Corporation2 March-2005SAPScript Forms | 9.02

    Objectives

    The participants will :

    Recognize SAPScript Forms

    Classify different components of a SAPScript form like Header, Paragraph formats,

    Windows, Page Windows, Pages, Character formats etc.

    Apply the Graphical Form Painter.

    Employ the SAPScript Editor.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    3/28

    IBM Global Services

    2005 IBM Corporation3 March-2005SAPScript Forms | 9.02

    Some facts about SAPScript Forms

    Client specific (client-dependent)

    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.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    4/28

    IBM Global Services

    2005 IBM Corporation4 March-2005SAPScript Forms | 9.02

    Transaction SE71

    To create a new SAP Script form or

    change/display an existing SAP

    Script form or to copy a standard

    SAP Script Form, transaction

    SE71is used.

    To create a new SAPScript Form or to

    change/display an existing SAPScript

    Form or to copy a standard SAPScript

    Form, transaction SE71 is used.

    Copy from client

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    5/28

    IBM Global Services

    2005 IBM Corporation5 March-2005SAPScript Forms | 9.02

    Transaction SE71 (Contd.)

    To create a new SAP Script form or

    change/display an existing SAP

    Script form or to copy a standard

    SAP Script Form, transaction

    SE71is used.

    To create a new SAPScript Form or to

    change/display an existing SAPScript

    Form or to copy a standard SAPScript

    Form, transaction SE71 is used.

    Copy from client

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    6/28

    IBM Global Services

    2005 IBM Corporation6 March-2005SAPScript Forms | 9.02

    Header Screen-Administrative Data

    Administrative data:

    Under Administrative data,

    Administration information and

    language attributes are

    displayed. Under

    Administration information,

    form name, description, formstatus (Active/ Inactive),

    Package name, client no,

    creation date, created by, last

    change date, last changed by

    etc are displayed.

    Under Language attributes,

    login language , original

    language and language

    translation options are

    displayed.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    7/28

    IBM Global Services

    2005 IBM Corporation7 March-2005SAPScript Forms | 9.02

    Header Screen - Basic settings

    Basic settings:

    Under Setup page options,

    page format(A4 etc.),

    Orientation, (Line/inch,

    Characters/inch) and First

    Page are displayed. The

    Lines/inch & Character/inchproperties are not usually

    altered. Under Default values

    for Text formatting options

    default paragraph ,default

    tab size, default font family,

    default font size, etc aredisplayed.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    8/28

    IBM Global Services

    2005 IBM Corporation8 March-2005SAPScript Forms | 9.02

    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 pagenumbers.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    9/28

    IBM Global Services

    2005 IBM Corporation9 March-2005SAPScript Forms | 9.02

    Pages (Contd.)

    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 pagenumbers.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    10/28

    IBM Global Services

    2005 IBM Corporation10 March-2005SAPScript Forms | 9.02

    Pages (Contd.)

    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 pagenumbers.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    11/28

    IBM Global Services

    2005 IBM Corporation11 March-2005SAPScript Forms | 9.02

    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.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    12/28

    IBM Global Services

    2005 IBM Corporation12 March-2005SAPScript Forms | 9.02

    Paragraphs - Standard Attributes

    Contains all necessary

    information needed to format a

    paragraph of text.

    The first column in this screen

    displays the code for the

    paragraphs.

    The second column displaysthe descriptions.

    The third column displays the

    alignments.

    The fourth and fifth column

    displays the Left and Rightmargin.

    Details can be changed at the

    bottom of the screen.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    13/28

    IBM Global Services

    2005 IBM Corporation13 March-2005SAPScript Forms | 9.02

    Paragraphs - Standard Attributes (Contd.)

    Contains all necessary

    information needed to format a

    paragraph of text.

    The first column in this screen

    displays the code for the

    paragraphs.

    The second column displaysthe descriptions.

    The third column displays the

    alignments.

    The fourth and fifth column

    displays the Left and Rightmargin.

    Details can be changed at the

    bottom of the screen.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    14/28

    IBM Global Services

    2005 IBM Corporation14 March-2005SAPScript Forms | 9.02

    Paragraphs - Font Attributes

    Clicking on the Font button

    at the bottom right of the page

    will bring this screen.

    The Font Attributes part

    enables one to choose the

    font and size of the

    paragraph. One can also make the font

    bold, italic or underlined.

    If no font is specified , then

    the default font from the

    layout set header will beused.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    15/28

    IBM Global Services

    2005 IBM Corporation15 March-2005SAPScript Forms | 9.02

    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 theway to create columns for

    outputting line items of a

    document.

    Tabs can be entered as MM ,

    CM , CH etc. and can also beLEFT , RIGHT , CENTER,

    DECIMAL, SIGN aligned.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    16/28

    IBM Global Services

    2005 IBM Corporation16 March-2005SAPScript Forms | 9.02

    Paragraphs - Online Attributes

    Clicking on the Outline

    button at the bottom right of

    the page will bring this

    screen.

    The Outline field is used to

    determine the hierarchy of the

    paragraph format. In the Outline level field,

    enter the level of the

    hierarchy that you want the

    paragraph format to be of.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    17/28

    IBM Global Services

    2005 IBM Corporation17 March-2005SAPScript Forms | 9.02

    Character Formats - Standard Attributes

    A default character style is

    specified at the paragraph

    level.

    Can be used within

    paragraph to override the

    default settings for a few

    words within the paragraph.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    18/28

    IBM Global Services

    2005 IBM Corporation18 March-2005SAPScript Forms | 9.02

    Character Formats - Font Attributes

    Clicking on the Font button

    will bring this screen.

    Here one can enter the Font

    Family, Font Size, and

    characteristics such as bold,

    underlined etc.

    If the Family and Font sizefields are left blank then the

    character format takes the

    characteristic of the

    paragraph font that the

    text/code is written in.

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    19/28

    IBM Global Services

    2005 IBM Corporation19 March-2005SAPScript Forms | 9.02

    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 appearon 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 theappropriate page and click the

    Enter button.

    IBM Gl b l S i

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    20/28

    IBM Global Services

    2005 IBM Corporation20 March-2005SAPScript Forms | 9.02

    Graphical Form Painter

    Use the menu path Settings -

    > Form painter to get the

    graphical form painter.

    This will display a page of the

    form with the windows laid

    out.

    When a particular window isselected, 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.

    IBM Gl b l S i

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    21/28

    IBM Global Services

    2005 IBM Corporation21 March-2005SAPScript Forms | 9.02

    Adding code to the windows

    To add code to a window

    double click on the window in

    the page window section.Then

    click on the Text Elements

    button or click F9.

    There are two editors. Use the

    menu path Goto -> Changeeditor to change between

    them. The second editor is

    shown here.

    A window can contain hard-

    coded texts and the variables

    to be printed in the window.

    IBM Gl b l S i

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    22/28

    IBM Global Services

    2005 IBM Corporation22 March-2005SAPScript Forms | 9.02

    Adding code to the windows (Contd.)

    Tag column: Specifies format

    of the text

    Text line column: Contains the

    actual content of the window.

    Standard Tags

    * Default paragraph

    /: Command line

    /* Comment line

    /E Text element

    IBM Gl b l S i

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    23/28

    IBM Global Services

    2005 IBM Corporation23 March-2005SAPScript Forms | 9.02

    SAP Script Utilities - Upload/Download

    SAP Scripts are client-dependent objects. Hence, they may often require to bedownloaded from or uploaded to SAP system. Following programs can be used to

    download from or upload to the SAP System

    RSTXR3TRTo EXPORT/IMPORT a layout set (FORM) using a Transport Request

    (CTS)

    RSTXSCRPTo EXPORT/IMPORT a layout set (FORM), Style, Standard Text or

    Device Type without using a Transport Request

    IBM Global Services

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    24/28

    IBM Global Services

    2005 IBM Corporation24 March-2005SAPScript Forms | 9.02

    SAP Script Utilities - Assignment of Standard text to CTS

    Creation of a SAP Script Standard Text does not require a CTS Standard Text can be assigned to a CTS using program RSTXTRAN

    IBM Global Services

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    25/28

    IBM Global Services

    2005 IBM Corporation25 March-2005SAPScript Forms | 9.02

    Demonstration

    Creating a SAPScript using transaction SE71 to print a form containing flightbooking 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 )

    Signature Window ( Containing the name of the flight booking officer )

    Testing the Form using the menu path Utilities -> Printing Test in transaction

    SE71.

    IBM Global Services

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    26/28

    IBM Global Services

    2005 IBM Corporation26 March-2005SAPScript Forms | 9.02

    Practice

    Creating a SAPScript using transaction SE71 to print a form containing flightbooking 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 )

    Signature Window ( Containing the name of the flight booking officer )

    Testing the Form using the menu path Utilities -> Printing Test in transaction

    SE71.

    IBM Global Services

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    27/28

    IBM Global Services

    2005 IBM Corporation27 March-2005SAPScript Forms | 9.02

    Summary

    SAPScripts are client-dependant, language specific and can be translated usingthe standard SAP translation tools.

    Custom SAPScripts can be created using transaction SE71. The name of thecustom 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 oftext. This is where all the text styles are determined.

    Character formats contain all necessary information needed to format a string ofcharacters 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 downloadSAPScripts to or from the SAP system.

    IBM Global Services

  • 8/12/2019 Chapter 02_SAPScript Forms.ppt

    28/28

    IBM Global Services

    2005 IBM Corporation28 March 2005SAPScript Forms | 9 02

    Questions

    Are SAPScripts client-dependent or client independent ? What are the different window types in a layout set ?

    Where are text styles determined in a form ?

    What is the menu path to start the graphical form painter ?

    What program is used to export/import a layout set using a transport request ?

    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 ?


Recommended