‎2007 Aug 02 12:03 PM
hi,
in sapscript what is the use 3 tabs in character format? we can define the tab with 2 commas , it need only one tabs, then what is the extra 2 tabs?
and also what is the use left right, center in tabs,
pls explain
‎2007 Aug 02 12:09 PM
Hi,
Tab format is use to put the data at partucular place. e.g.: if you have defined 3 tabs. First tabs is for 1cm, 2nd tab at 5cm & 3rd tab is 8cm. Then when the output is being displayed then the first tab will start writing the data on page from left after leavin 1cm space. 2nd tab will write the data leaving the space 5cm from the left side of the page. & 3rd will write the data form 8cm form the left.
Reward points if helpful answer.
Ashvender
‎2007 Aug 02 12:09 PM
Hi,
Tab format is use to put the data at partucular place. e.g.: if you have defined 3 tabs. First tabs is for 1cm, 2nd tab at 5cm & 3rd tab is 8cm. Then when the output is being displayed then the first tab will start writing the data on page from left after leavin 1cm space. 2nd tab will write the data leaving the space 5cm from the left side of the page. & 3rd will write the data form 8cm form the left.
Reward points if helpful answer.
Ashvender
‎2007 Aug 02 12:10 PM
Hi
Character formats are like
C - Centered
L - Left alligned ( means the data starts from Left side begining)
R - Right alligned (from Right end side)
B - Bold
You can define the paragraph format(say ZA) and define tab settings in it to display the fields at proper positions
Tabs wills
10 CHAR LEFT
30 CHAR left
40 CHAR right
and the data of fields will be written as
ZA &itab-EBELN&,,&ITAB-EBELP&,,&ITAB-MATNR&
two commas indicate the TAB setting space between fields
<b>Reward points for useful Answers</b>
Regards
Anji
‎2007 Aug 02 12:25 PM
‎2007 Aug 02 12:30 PM
Hi,
Wen you output the different field in a line then you need to use the comma two times:
e.g:
,,itab-a ,, itab-b ,, itab-c
two times comma before itab-a represents the first tab.
two times comma before itab-b represents the 2nd tab.
two times comma before itab- represents the 3rd tab.
If you want to use two tabs together then you need to write like this:
,,,, itab-a
Reward points if helpful answer.
Ashvender
‎2007 Aug 02 12:39 PM
but if there are more thhan 3 fields, suppose threre are 5 fields , how to use that
‎2007 Aug 02 12:55 PM