cancel
Showing results for 
Search instead for 
Did you mean: 

how to use TAB to specify column positions in SAP Script

Former Member
0 Kudos

Hi Everybody,

I have the problem with SAP Script, i need to display the columns like below :

-


Vendor Number Vendor Name Vendor City Vendor Country

-


1234567 Phillips Austin Astralia

i) Alignment should be right for both lables and values

ii) Gaps b/w columns is not fixed

iii) is it possible with paragraph formats and specifying TABS.

Normally we use two commas(,) to get a TAB space in between fields but

i dont want that much of space in b/w columns i need three to four spaces b/w columns.

Kindly explain the scenario breifly...

Thanks in Advance...........

Regards

Ram

Edited by: gajeramesh on Jun 1, 2009 6:05 PM

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Thanks........to All

Former Member
0 Kudos

Hi,

In the Paragraph formats, there is TAB button where you can specify Alignment and Space etc.

First Define Paragraph format say A1 with following characteristic:- Choose Tab->

Number Tab Position Alignment

1 4.00 CH Right

2 12.00 CH Right

3 20.00 CH Right

4 25.00 CH Right

Use above paragraph format and Tabs for printing Header information as follows:-

<A1>,Vendor Number,, Vendor Name,,, Vendor City,,,, Vendor Country

You can Print detail information by using above syntax.

Hope this works for you........

Thanks...........

Former Member
0 Kudos

Hi,

Define a Paragraph format with required no of tabs. If you want 3 spaces betn column headings, first u find the Character length of the column and add 3 more to that and give it as 1st tab length (eg: label VENDOR is of length 6, so if u want space betn 1st column Vendor & 2nd column Name with 3 spaces then define the paragraph format with 9 CHAR as 1st tab and so on...)

Eg: Paragraph Format P1

Tabs

9 char

while printing:

P1 Vendor,,Name

assign this Paragraph format to print the headings separated by tabs (2 commas ,,).

Rgds,

Pavan

Former Member
0 Kudos

Hi,

In the Paragraph formats, press the TAB button and maintain the 8 in the first tab, then come to your window and use ,, (2 commas) where you need this TAB, you need to use the same paragraph format

Thanks

Sudheer

Former Member
0 Kudos

Hi Sudheer,

If we want to use 4 spaces for some columns and 6 spaces for some columns we need to specify in TAB section as

4 LEFT

6 LEFT

what is the usage for 4 spaces and 6 spaces.

is it right

for 4 spaces should i use two commas and for 6 spaces four ,,,, is it right

Kindly explian the scenario

Thanks for reply...