SAPscript
Content
Introduction to
Main elements
Including Graphical Images
Layout Set Commands
SAPscript Commands
SAPscript example - invoice
Example Layout Set
Example Code
  SAPscript
-SAPscript Commands-
 
Page 5 Of 8

The commands that are commonly used in a sap script are as follows -:

Command Use
New-page <page name> Prints the text following this command on a new page (when a page name is specified then that page is taken as the next page)
Protect ….. Endprotect This acts like a conditional page break. Putting the text within this command prevents the breaking of the text across multiple pages. If there is not enough space for the entire paragraph to be printed in the space remaining on the page, then the entire paragraph is printed on the next page
Box <xpos> <ypos> <width> <height> <frame> <intensity>

Position <xorigin> <yorigin> <window> <page>

Size <width> <height> <window> <page>

The BOX command draws a box as per the specifications. The x y co-ordinates are for the upper left corner relative to the values in the position command.

POSITION command is used to set the x y co-ordinates with respect to the start position of the window.

SIZE command is used to specify the size of the box that we need to draw.

Varying these parameters also helps to draw a line instead of a box.

IF ….. END IF This allows the conditional printing of the text on the output document. The various conditional operators that can be used are as follows

= EQ Equal to

< LT Less than

> GT Greater than

<= LE Less than or equal to

>= GE greater than or equal to

<> NE not equal to

The logical operators that can be used are as follows

NOT, AND, OR

 

 
Stats Box
Vendor Listings (9)
Jobs (3)
Resumes (3)
Tutorials (18)
Articles (22)
Code Snippets (1)
CBTs (17)
Books (4)
Online Training (15)
Latest 5 Tutorial
SAPscript
SAP Mobile Engine
Integrating XML into SAP Business Connector
Lotus Notes Integration
SAP Data Archiving
 
Copyright © 2007 SapDox.com. All rights Reserved.