on 03-02-2007 11:51 AM
Hi
we use a pair of commas (,,) to represent a TAB in sap script.
Could you please tell me what do we use for smartforms.??
My requirement is to print certain fields in a line separated by tabs.
i have created a paragraph format, ans have specified the starting positions for the different tabs.
At the time of writing a text element , how do i get is done..
eq:
Name First Second Address
data1 name1 name2 add
data2 name1 name2 add.
here, First is at 1st tab
Second is at 2nd tab
Address is at 3rd tab.
Any pointers on the same would be useful.
Thanks n Regards
Pankaj
Hi frens
thanks for ur valuable suggestions.
The issue has been solved, i have used conditions(ALTERNATIVE) to print the field values.
If the condition is true then the data is printed , else not.
this maintains the output allignment.
thanks again
pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After creating the table, in the table tab create line types for header and items where in you will declaring the width of each column you want in header and item. after declaring line type keep cursor in the header and right click say create table line here you declare the line type declared for header/main area
Now for each column add one text node and mention the column name. Do the same for line items.
Procedure to create line type:
1. Double click on table
2. Go to table tab --> details
3. Give the table width (width you want to display on the screen should be less than or equal to the window width).
4. Line type --> Divide this into no of column you want to have in header/item.
Note: total length of all columns should be equal to the table width.
5.save.
6. call this line type in the header /main area.
Br,
Laxmi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
i am using a table to print the dynamic data.
The table fields have to be printed with definite space between them, for this i have
defined a paragraph format as well with positions of TABS.
Now for each entry in the table , i tried to print the table fields using new line and new cell.
Since some of the fields are to be printed conditionally, therefore , there i require TABS to print the data fields.
Could you please suggest some approach.
Regards
pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use the same in smartforms also. But you in smartforms we two additional facilites:
1. Templates
2. Tables.
It will be easy and flexible to use one among the above. IF the table has constants Make use of Templates . If the table contains variable data then go for TABLES concept.
find the below link to know about templates and tables.
http://help.sap.com/saphelp_47x200/helpdata/EN/4b/83fb4edf8f11d3969700a0c930660b/frameset.htm
Br,
Laxmi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If data is static use Template else use Table node in the smartform window.
That will automatically take care of the alignments.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Within smartforms, you do not have to use tabs, because you can use TABLES, and CELLS within the tables. Make the cells to the right size and your problem is solved.
regards
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.