cancel
Showing results for 
Search instead for 
Did you mean: 

Box in SAPscript-Help Needed.

Former Member
0 Kudos

Hi ,

I want to make a box in script which it shud not hav any columns or rows. The box shud hav 4 lines of contents withan font of 10. Also i want to split the box in the centre. Kindly give some piece of code for it. It shud be helpful to me.

Also is ther any way to assign the SAPscript windows only on last page or windows only on first page option (i.e) option like in smartforms.

Thanks and regards,

Karthik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is very easy to create any BOX in script, Below is the command for same,

Create Boxes in the SAPscript using the BOX command specifying 
the x,y co-ordinates and the width and the height

/: BOX XPOS '0' CM YPOS '0.5' CM WIDTH '9.2' CM HEIGHT '3.5' CM FRAME 8 TW

Try with this I know handle a BOX is difficult.

2. You can create a Static Window and can call it on Last Page.. I will work..

Edited by: Lokesh Tarey on Jul 30, 2010 8:23 AM

Answers (1)

Answers (1)

Former Member
0 Kudos

1. you can not split a box in its middle or somewhere else, you need two boxes then.

Try F1-help for BOX-statement, it is really a good one and contains all info you need.

2. try to work with text elements (those /E thingies). If you have a static window with something to print in it, which is not referenced to a text element, it will get printed no matter what.

To be able to decide IF and WHEN to print it, use a textelement which you can then call in your driver program.