Skip to end of metadata
Go to start of metadata

Purpose

A wiki for myself and everybody who is interested in Sapscript

I know, my templates here is not something very "new" nowhere to find, but I want to have a quick and fast place to have everything in one place.

Additional to that I feel like SAPSCRIPT is getting old fashioned and so I think the knowledge about it is getting lost, that's why I want to have my own wiki(smile)

Overview

This site only contains templates which will help to fix small issues fast and easy without spamming any forums out there

Templates:

Box or line

/: POSITION XORIGIN '11' YORIGIN '5' MM
/: SIZE HEIGHT '1' MM WIDTH '78' MM
/: BOX  FRAME 10 TW INTENSITY 10

Include text

/: INCLUDE <Textname> OBJECT <object> ID <ID> LANGUAGE <language>

Replace all <Variables> with the given ones (Have a look in your text headerinformation)

Include graphic

/: BITMAP <name> OBJECT <obj> ID <id> TYPE <typ> XPOS <xpos> YPOS <ypos> DPI <dpi>

<name> = name from SE78

<obj> = normally GRAPHICS

<id> = usually BMAP

<typ> = BMON (Black/white) or BCOL (Colored)

<xpos>= optional

<ypos> = optional

<dpi> = optional (have a look at the F4-help, just a few are valid)

Include text

/: INCLUDE <name> OBJECT <o> ID <i> LANGUAGE <l> PARAGRAPH <p>

<name> = the name (usually to find in TA SO10)

<o> = usually TEXT

<i> = your id

<l> = optional LAnguage

<p> 0 optional paragraph

Include Print-Commands

5996 - How can SAPscript include printer commands

Concatenate different forms while processing

1. call function 'OPEN_FORM', without input-parameter 'FORM' 

2. call function 'START_FORM'

3. call function 'WRITE_FORM' (just like always)

4. call function 'END_FORM'

5. call function 'START_FORM' (again)

6. call function 'WRITE_FORM'

7. call function 'END_FORM'

8. call function 'CLOSE_FORM'

You can repeat step 2 to 4 / 5 to 7 as long as you need it.

Changes

  • Corrected the Graphic-Template
  • Added the Text-Template

 

  • No labels