BOX command in SAPscript

You can draw box in your SAPscript form by applying this command.

Syntax

/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

Example

We will draw box begins x origin 1 cm, y origin 2 cm, width 3 cm, height 4 cm, frame 10 tw and shade 10 %

/: BOX XPOS 1 CM YPOS 2 CM WIDTH 3 CM HEIGHT 4 CM FRAME 10 TW INTENSITY 10
img41

Output
img42

We can draw the horizontal line by applying this command.

/: BOX XPOS 1 CM YPOS 1 CM WIDTH 10 CM HEIGHT 0 CM FRAME 10 TW
img43

Output
img44

We can draw the vertical line by applying this command.

/: BOX XPOS 1 CM YPOS 1 CM WIDTH 0 CM HEIGHT 5 CM FRAME 10 TW
img46

Output
img45

how to draw a dynamic boxes

how to draw a dynamic boxes in sap script.

Thank you for this

Thank you for this solution,but I have a another question after I read yours:How can I use it in a loop?For example,I use a loop to get the data,and then how can I add a horizontal line after every data in Script?Waiting yours answer,and at last,thank you very much.

add a horizontal line after every data in Script

how can I add a horizontal line after every data in Script just use the symbol &SYST-ULINE& the same as you would in regular ABAP

Adding a box to an existing form

I have had a quote to add an additional box to a form that we use for warranty. Could someone please let me know how much they would expect to pay or charge someone to add a box to a form. This box is not dynamic it is just a box. Many Thanks Rob

Post new comment

The content of this field is kept private and will not be shown publicly.