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

The steps for including graphical elements in the layout set are as follows

  • The graphical element (like company logo) should be in valid graphic file format like .bmp or .jpg
     
  • Use appropriate software to convert the above file into a .TIFF file
     
  • Use report RSTXLDMC to upload this file as a text module in SAP
     
  • Execute the above program from the ABAP /4 editor
     
  • Enter the location of the .TIFF file on the PC
     
  • Specify BMON or BCOL as the raster image type
     
  • The SAP system suggests a name for the file ( like ZHEX-MARCO-* ). The * indicates the type of file. For e.g. if the file contains a logo then the name can be ZHEX-MACRO-LOGO
     
  • The ID should be ‘ST’ and give the logon language
     
  • Running the program will convert this .TIFF file into a text element
     
  • Incorporate this converted logo in the appropriate window under the appropriate text element by giving

INCLUDE ZHEX-MACRO-LOGO OBJECT TEXT ID ST in the first line

 
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.