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

The best way to explain the various steps in designing a SAP script is to visualize the creation of a document. The entire process is explained as a series of steps.

Let us assume that we need to design the document Invoice.doc for the ABC Company Limited.

  1. Understand the structure of the document that needs to be generated page by page.
     
  2. Find out the different pages that form the document.
     
  3. Decide the FIRST page of the document and the pages that are going to follow.
     
  4. Find out the various fonts and styles (bold, italics, etc) that are used in the document.
     
  5. Also try to group the data printed on the document into logical parts.
     
  6. Create all the character strings that have been used in the document
     
  7. Create all the paragraphs that have been used in the document
     
  8. Create all CONSTANT the windows that have been uniquely identified in the document
     
  9. Identify the MAIN window of the every page of the document
     
  10. Define the pages that form the parts of the document
     
  11. Assign the windows to each page
     
  12. Define the text elements within each window
     
  13. Use function module OPEN_FORM to open the layout set.
     
  14. Use function module WRITE_FORM to write the text elements in various windows
     
  15. Use function module CLOSE_FORM to close the layout set

Always remember to check and activate the layout set when any change is done to it, otherwise the change will not appear on the output document that is printed!!!

 
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.