cancel
Showing results for 
Search instead for 
Did you mean: 

tab position in sap script

Former Member
0 Kudos

Hi all,

i have following fields to print..

ZEILE, MATNR ,CHARG, KOSTL, LGORT, MENGE ,MEINS, maktx,

and format is like:

item matrial batch costcen. sto.

mat desc. qty Un

zeile matnr charg kostl lgort

maktx menge meins

and in this format I want to display menge and meins fields in right alingment ,

Plz help me...

I gave tab like

1 cm left

4 cm right

5 cm left

in paragraph p1.

Plz help me....

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You create paragraph format P

In TABS as you mentioned like below

No Position Unit Alignment

1 1,00 CM Left-Aligned

2 2,00 CM Left-Aligned

3 3,00 CM Left-Aligned

4 4,00 CM Left-Aligned

5 5,00 CM Left-Aligned

6 6,00 CM Right-Aligned

7 7,00 CM Right-Aligned

8 8,00 CM Left-Aligned

In smartform or sapscripts text editor you need to mentioned like below

,,matnr,,kunnr,,bukrs,,vbeln,,posnr,,menge,,mein,,quan

it will showing in output above showing position

i hope it will help ful you

regards

bhupal

Answers (2)

Answers (2)

Former Member
0 Kudos

HI,

ZEILE,, MATNR ,,CHARG,,KOSTL,,LGORT,,MENGE,,MEINS,,maktx,,

Tab is represented this way ,,.

You need to decalre the 8 tab position under P1 paragraph format for above example.

Former Member
0 Kudos

Hi,

you can write like

P1: item,,matrial,,batch,, costcen.,, sto.,, mat,, desc.,, qty,,Un.

P1: ZEILE,,MATNR,,CHARG,,KOSTL,,LGORT,,MENGE(R),,MEINS(R),,maktx.

for making right alighned you use (R) with the feld.

hope it will helps you.

regerds,

Lokesh

Edited by: Lokesh Tripathi on Jan 30, 2009 6:17 AM

Edited by: Lokesh Tripathi on Jan 30, 2009 6:18 AM