on 02-25-2006 4:22 PM
Hi all,
I am able to create a template and in that i have created two line types. But i am unable to use it it.How line types are used in the form an I am unable to understand how its useful in the form. Can any one help me in this.
Regards,
Lisa
Hi Lisa,
In case if you defined a table :
Line type are used in Table defininition.
Example :
Contains Line types : Header , ITeM, Footer
Once you have assigned line type(Example : Header) then system will provide you all the columns in the lone types. Then please create a text elements and add the variables.
In case if you defined a template:
If you define lines in template then you have to assign text elements by column/row.
Examples : If templete defined as
Row1 Col1 Col2
Then define text element with variable and at out put options define Row as 1 and column as 1.
Please check the link
<a href="http://www.sapgenie.com/abap/smartforms_detail.htm">Displaying a static table</a>
Hope this may help you.
Lanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lisa,
Please do the following :
First define the table layout.Then system create three default line type to it Like HEADER/ITEM/FOOTER.
Then define/Change the Column widths as per ur requirement at the table graphical editor. .
Then select Header:
Then at <u>header</u>--> <u>Options</u> -->assign line type. Then system will create default columns in th Header line under header.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Need more help please let me know.
Regards,
Lanka
Hi Lisa,
Please understand Template is totally different to Table.
Template : is a static --Fixed no. of rows
Table : is dynamic.
IF you defined <u>table</u> :
As I have mentioned in my earlier post.
Check the Options tab at Header and select line type.
If you defined the template--Then there is no need to define table lines.
Step1 : Create Template.
Step2 : Create no. of O/P line in template in Graphical editor.
Exaple : Width of template 70MM
Row Height Column 1 column2
Line1 1 1 1LN 40MM 30 MM
Line1 2 2 1LN 40MM 30 MM
Then Define Text elements under Template by just clicking Right click and assign Text under template.
At Text elements --> Options
To print at First roW1 and Column1
Text element--Options --Row 1 and Column1
Define variable at Text elment
To print at First roW1 and Column2
Text element--Options --Row 1 and Column2
Define variable at Text elment
To print at First roW2 and Column1
Text element--Options --Row 2 and Column1
Define variable at Text elment
To print at First roW2 and Column2
Text element--Options --Row 2 and Column2
Define variable at Text elment
Please check this link:
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/30/4fbac42e5f11d5b694006094192fe3/content.htm">Template</a>
Regards,
Lanka
Hi Lisa,
I understand that earlier you have not defined Linetypes in Graphical editor.
You have to define line types in table graphical editor and you can define differnt columns for each line type and borders /shading by selecting patterns.
Once you have define them in the graphical editor then these line types were avialable for assigning to your table lines Header / Item/Footer.
When you assigned your line type to your table Header/Item/Footer then system will create automatically all the columns defined in the table line type.
Then you have to just assign text lines to them and assign variables.
Hope this may help you.
Regards,
Lanka
Hi lanka,
I have created the lines in the graphical editor the there after i created two text nodes and then you are explaining to assign and all.Can you please help me how can i do that.
And you are explaining the line types to assign to the header how can i do that.
And alo you said there is option where is it.
Regards,
Lisa
Message was edited by: Lisa Roy
Message was edited by: Lisa Roy
Hi Lisa,
Select the table and selct HEADER --Right Click and create a table lne as header_text
--Select Header_text > in the output options of Header_text> you can specify the OUTPUT table LINE TYPE as you defined in the graphical editor. There is a pull down menu to select line type.
Then system will create columns under Header_text.
Then define text elements under each column and assign variables to them.
Regards,
Lanka
Hi lanka,
I have created a template not table then there no option line header.I dont know whether i am going wrong are you are going wrong.Some one has to realize the mistake other wise this problem will not be solved.
In your previous post you said, no need to define lines if i define a template then what i have to do.
Know i understood u r always explaining table by keepin mind.
At the scratch of my post itself i have defined that i have created template.Please find out.
Regards,
Lisa
Regards,
Lisa
Message was edited by: Lisa Roy
Hi Lisa,
Ok. You have created Template. No more confusion.
You have finished the steps 1 and 2 and please proceed from Step3.
Step1 : Create Template.
Step2 : Create no. of O/P line in template in Graphical editor.
Exaple : Width of template 70MM
Row Height Column 1 column2
Line1 1 1 1LN 40MM 30 MM
Line1 2 2 1LN 40MM 30 MM
<u>Step 3:</u>
Then Define Text elements under Template by just clicking Right click and assign Text under template.
At Text elements --> Options
To print at First row1(Line1) and Column1
Text element--Options --Row1(Line1) and Column1
Define variable at Text elment
To print at First roW1(Line1) and Column2
Text element--Options --Row1(Line1) and Column2
Define variable at Text elment
To print at First roW2(Line2) and Column1
Text element--Options --Row2(Line2) and Column1
Define variable at Text elment
To print at First roW2(Line2) and Column2
Text element--Options --Row2(Line2) and Column2
Define variable at Text elment
Regards,
Lanka
Message was edited by: Lanka Murthy
Hi Lisa,
When you press Output tab of Text element at the bottom you will find Row and column.
Please be sure you have to create Text element under Template not out side of Template.
May be you have created out side the template. Please check that.
I think you have defined Only one column and one row and you are getting O/P. If you have more rows and columns in a template then you have to define rows/columns at Output.
Lanka
Hi Lisa,
Line types can be used to handle to lines in the window,mainly the main window.Like your heading should be of one line type,& the details of one line type.
For example...
Header is nothing but text headings which is character types.But your item details might contain data of text type,or currency type,date type etc etc..so when you want the data in a tabled manner,the character writes from the left side & currency writes from the right side ,so now now you need to write that currency field not at the same location as the heading,you need to move little left while writing.thats where you use the line type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.