Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Scripts

Former Member
0 Likes
647

How do use tab sets in layout sets

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
620

make the paragraph format and do the tab setting there.

use these tab position in sapscript layout.

Assume DP is ur paragraph format

DP ,,&itab-v1&,,&itab-v2&,, and so on

define tabs as follows

1 5.00 cm left

2 10.00 cm left

don't think that if u give right it is assigned to right like that

left means from left it move to the 5 cm position and then display at that position ,right means from right corner it will adjust the alignment

kishan negi

5 REPLIES 5
Read only

Former Member
0 Likes
621

make the paragraph format and do the tab setting there.

use these tab position in sapscript layout.

Assume DP is ur paragraph format

DP ,,&itab-v1&,,&itab-v2&,, and so on

define tabs as follows

1 5.00 cm left

2 10.00 cm left

don't think that if u give right it is assigned to right like that

left means from left it move to the 5 cm position and then display at that position ,right means from right corner it will adjust the alignment

kishan negi

Read only

Former Member
0 Likes
620

Hi Sarath ,

You first need to define the tabs for a paragraph format and the for each tab use ,,

e.g.

mara-matnr,makt-maktx

Regards

Arun

Read only

Former Member
0 Likes
620

Create paragraph format and within this click on the TABS push button wherein u can specify the tab settings.

This tab setting is been used in the sapscript layout for proper alignment.

Say, u have given 3 in Tabs of I2.

when U use as 1. , , text...in output it will print as

1. text

Read only

Former Member
0 Likes
620

Hi,

Tabs are used for alignment.

give your tab format in your command line & use ,to use the tab positions.

say you have a paragragh format P1 with tab positions as below

1) 1 CM LEFT

2) 2 CM LEFT

& you want to display var1 & var2

in script

P1 ,var1,var2

now var1 will be displayed 1 cm from left hand side of the window & var2 will be displayed 2 cm from left side

Regards,

Raghavendra

Read only

Former Member
0 Likes
620

hi sarath...

jus checkl out if the below works..

reward points if useful.

Based upon data display, you can define left aligned, right aligned tabs which helps to format output columns in layouts. The tab stops you define in the paragraph format replace the tab spacing you defined in the header data of the form.

For eg my first field is Sales order which is 10 characters long, second field is MATNR which is 18 character long and then MAKTX - 40 characters long.

In paragraph format i will use first tab at 11th position and second at 30th position. You need to consider field lengths while declaring tab positions.

For more details check this link -

http://help.sap.com/saphelp_46c/helpdata/en/d2/cb3d07455611d189710000e8322d00/frameset.htm