Pages

Saturday, May 10, 2008

Sapscript

Sometimes user have a requirement to create form. Using normal Abap Code this is not possible. Instead SAP provides an object called SAPSCRIPT to generate such kind of documents which can contain logos, tables and other objects and which can look like pre-printed documents.


A layout set is a template designed in SAP to place the stream of data coming from a SAP program on different parts of a physical page. The designer needs to lay out the various elements that need to be printed on the page and store it as an object in the SAP system. An ABAP program will subsequently call this object to generate an instance of the template – thus generating an output document from the program.

  • Standard Attributes in Sapscript
  1. Description - Brief description or title of the layout set
  2. Default paragraph - The base paragraph that is globally applicable to the document. This can be overridden at lower level of the layout set by using other paragraphs
  3. Tab Stop - The base tab-stop that is globally applicable to the document. These can be overridden at lower level of the layout set by using other tab stops
  4. First Page - The start page of the layout set
  5. Page Format
  6. Orientation - The direction of printing the data on a page – P for portrait (vertical) and L for landscape (horizontal)
  7. Lines per inch
  8. Characters/inch

No comments: