‎2006 Jun 08 6:00 AM
Hi Experts,
I wanted to print the particular data in particular column in sap-script.
In brief my data is printed in other column. I wanted to print that data in specified column.
Anybody will tell me how to modify it so that data is printed in particular column.
Plz reply me as earliest as possible.
Regards
Salil
‎2006 Jun 08 6:06 AM
You should create a paragraph format and then define your tabs there according to your column positions.
Then use the tabs for writing your text in different
columns your text will be in right position always.
Like if you want to write a text in second tab.
,,,,text.
two commas for a tab.
,,column1 ,,column2 ,,column3
Regards,
Wasim Ahmed
‎2006 Jun 08 6:06 AM
You should create a paragraph format and then define your tabs there according to your column positions.
Then use the tabs for writing your text in different
columns your text will be in right position always.
Like if you want to write a text in second tab.
,,,,text.
two commas for a tab.
,,column1 ,,column2 ,,column3
Regards,
Wasim Ahmed
‎2006 Jun 08 6:10 AM
Hi,
You can create one paragraph formate in that you need to create Tab position by click the Tabs push button.
In you script you need to code like this
P1 ,,value1,,value2,,value3,,value4
Here P1 is your newly created paragraph.
Cheers,
Bujji
‎2006 Jun 08 6:11 AM
COMMAS FOR ONE TAB POSITION.
after 1st tab u get 1st colum and so on....
,,ITAB-DATA1,,ITAB-DATA2.......,,ITAB-DATA18
for ur clearence....
Tabs in Paragraph Formats
You can define as many tab positions as you require for each paragraph format. The text can be aligned in different ways:
· Left-aligned with LEFT
· Right-aligned with RIGHT
· Centered with CENTER
· At the sign with SIGN
· At the comma or decimal point with DECIMAL
You can control the tab feed in a paragraph with tab positions. The tab stops you define in the paragraph format replace the tab spacing you defined in the header data of the form. However, this depends on the extent to which you have defined tab stops in the paragraph format. If there are fewer tabs in the paragraph formats than in the header data, the tab stops of the header data are used for the rest of the line. The tab stops are represented as, , in the text editor.
You can use different units of measurement to define a tab position:
· CH Characters
· CM Centimeters
· MM Millimeters
· PT Points
· TW Twips (1/20 point)
The unit of measurement CH is converted to an absolute unit of measurement using the CPI value (characters per inch) from the header data of the form
‎2006 Jun 08 11:34 AM
Hi Experts,
i m tring for printing my data in particular column. In text element i gave the single tab position by ,,
Will u tell me how to make a field right aligned.
Just for example &itab-name1&
now i wanted to make above field right aligned.
tell me also 4 left, sign, center also.
Regards
Salil
‎2006 Jun 08 11:45 AM
hi Salil,
Its very simple.
Create paragraph format with tab positions for a Header. So now you can have a header in a particular position.
And now, create a new paragraph format with tab positions with alignment for the tab (left, right,...).
so, now you can see the particular columns in right aligned.
If you dont maintained two paragraph formats for header and item, then both wil be appeared same if you use alignements.
regards,
ram.
‎2006 Jun 08 11:46 AM
hi
in the paragraph format while setting the <b>tabs</b> there is an <b>alignment</b> option where u can specify right , centre , left & sign .
‎2006 Jun 08 1:10 PM
Hi Friends,
Tell me how to adjust the value in form. In my main window text element is there. Under this like &itab-kunnr&,,&itab-land1& r there.
Now plz tell me how to adjust the value in particular column which comes directly from data base table.
‎2006 Jun 08 1:13 PM
Fix the tab position for the text symbols and use that same tab position and the paragraph format for the values that you are getting from the print program in the next line.
‎2006 Jun 08 1:15 PM
Just in front of <b>&itab-kunnr&,,&itab-land1&</b>, you will have a paragraph format.( a 2 character field).
YOu hacve to come out of the text elements screen. and press the Paragraph Formats Push Button on the Application Toolbar.
Then chose your paragraph format name and set the settings for right-align or left align.
Number Tab position Alignment
1 1 CM LEFT
2 5 CM RIGHT
3 10 CM CENTER
Regards,
Ravi