cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Script - Printing text

Former Member
0 Kudos

Hi Experts,

In a classical ABAP report we make use of

write:/20 'Text'.

to print text from the 20th column. Can we do something similar in a SAP Script Page Window. I have a box and lines drawn. Now I want the text to start exactly after the vertical line(column). Is there a way to do in SAP Script.

Regards

Abdullah.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

You can do one thing. you can straight away write the field

&BSEG-SGTXT&

in two lines straight with offset.

in the first line T1 &BSEG-SGTXT+0(25)&

In second line T1 &BSEG-SGTXT+25(25)&

first write like this and see, is it printing or not.

Reward all helpfull answers

Regards

Pavan

Former Member
0 Kudos

Hi,

Pavan, it takes the characters from using the offset and displays it. I dont want to print a few characters of the fields. I want to position them on my form so that they are displayed in the correct places.

Regards

Abdullah

Former Member
0 Kudos

Hi

Create a NEW paragraph format(ZA) and for that deinfe TAB settings based on the places for your field like

20 char left

30 char left

40 char left

and write the fields using that paragraph in window

ZA ,,&itab-text&,,&itab-name1&

Reward points for useful Answers

Regards

Anji

Answers (0)