cancel
Showing results for 
Search instead for 
Did you mean: 

scripts print program

Former Member
0 Kudos

hi all

how to dipaly the table fields in a format. i wnat to display the fieds in equal distance..

any clues?

regards,

pandu.

Accepted Solutions (1)

Accepted Solutions (1)

former_member196280
Active Contributor
0 Kudos

Define a paragraph formats and use tab spaces...

Ex. Tab space

1 CM LEFT

4 CM LEFT

8 CM LEFT

,, &var1& ,,&var2& ,, &var3& " note ,, means one tab space

So, output will be like this

starting from window after 1 cm var1 is displayed 4 CM var2 is displayed and after 8 CM var3 is displayed.

<b>If would look good if you close the thread if your question is answered, reward points to all useful answers.</b>

Regards,

Sairam

Former Member
0 Kudos

thank u.. very much..

Answers (2)

Answers (2)

Former Member
0 Kudos

just write the field names. as

&ITAB-KUNNR& &SPACE(14)& &ITAB-LAND1& &ITAB-NAME1& AND SO ON U CAN USE SPACE WHERE REQUIRED ......AND CAN ALIGN THE FILEDS IN THE DESIRED MANNER

REWARS IF HELPFUL

GURU

Former Member
0 Kudos

Hi

You have to create your own Paragraph formats in the script and to use them

In the paragraph formats you can define the TAB settings by giving the distance required between the fields and the FONTs required for the fields

define TAB setting as follows in the Paragraph (ZA)

10 CHAR LEFT

20 CHAR LEFT

30 CHAR LEFT

40 CHAR LEFT

now write the fields

ZA &ITAB-KUNNR&,,&ITAB-LIFNR&,,&ITAB-ADRNR&,,&ITAB_NAME&

the symbol ,,(double comma) indicates the space defined in the TAB setting between the fields

<b>Reward points for useful Answers</b>

Regards

Anji