cancel
Showing results for 
Search instead for 
Did you mean: 

text inside box

Former Member
0 Kudos

How to print text inside a box in sap script?

please let me know the process

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

If you wish to print the text in the box which is dependent on the page then:

Create a window.

Include the window on the page you wish to display text.

In the text elements create a box using all the parameters.

The different terms are shown below.

Then add text(hardcode/Variable). This all should be done under one text element. Now call this element and window from your Print Program.

The syntax for box creating statement can be seen from below link.

http://wiki.ittoolbox.com/index.php/Sap_script#6.19.09Boxes.2C_Lines.2C_Shading:_BOX.2C_POSITION.2C_...

Regards

Vijai

*Reward Points if useful

Former Member
0 Kudos

Hi

You willd efine the Box like

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

/: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]

/: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]

then after this write the Text field

/ &ITAB-TEXT&

if it is a std text then use the INCLUDE statement

/: INCLUDE <textid> ID <OBJECTName> OBJECT..LANG...Paragraph...

Reward points for useful Answers

Regards

Anji

Former Member
0 Kudos

redyy,

I followed the same way you can guided me ... but the text is appearing two times for reason. do you have any idea .. why it is displaying that way?