cancel
Showing results for 
Search instead for 
Did you mean: 

regarding text in boxes

Former Member
0 Kudos

hi i have small question.how to get data into boxes in sap scripts in respective places.can any body provide a sample code.

thanks in advance

Accepted Solutions (1)

Accepted Solutions (1)

venkata_ramisetti
Active Contributor
0 Kudos

Hi,

Box <xpos> <ypos> <width> <height> <frame> <intensity>

Position <xorigin> <yorigin> <window> <page>

Size <width> <height> <window> <page>

The BOX command draws a box as per the specifications. The x y co-ordinates are for the upper left corner relative to the values in the position command.

POSITION command is used to set the x y co-ordinates with respect to the start position of the window.

SIZE command is used to specify the size of the box that we need to draw.

Varying these parameters also helps to draw a line instead of a box.

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

Thanks

Ramakrishna

Former Member
0 Kudos

thanks rama krishna. my question is to get some variable data in to that boxes.that is i should get data at specied fied locations in the box.u gave reply reg hou to create box.waiting for ur reply

thanks in advance

venkata_ramisetti
Active Contributor
0 Kudos

Hi Siva,

I am sorry for that.

You need to define TABS either in the paragraph formats or in the character formats with the positions.

Once you define them, in the text elements, you have to you ',,' for each tab length space.

Check the below example for more details.

http://www.thespot4sap.com/Articles/SAPscript_example_layout%20set.asp

I am once again sorry for mistake

Thanks

Ramakrishna

Former Member
0 Kudos

thanks. rama krishna.i cleared my doubt

Answers (0)