cancel
Showing results for 
Search instead for 
Did you mean: 

Columns in table of Smartform

Former Member
0 Kudos

HI,

It's rather a simple question for most of you but as I am new to Smartforms I am little confused ...

I had created a table in the main window with two columns and had also created two text elements and assigned to the table but my problem is the text elements are displaying the values in two different rows rather then in two columns...In templates we have the option of assigning the columna dn row in the output options of a text element but I do not find in tables..Am I missing something .Please help me out..

I had assigned the same default line type created with two columns to both the text elements.

Regards

Pavan

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

The issue here is that the second text element has been also defined as to be displayed as 'New Paragraph'.

Hence, please make the second text element as 'Append Directly' and the check box 'New Cell' checked in the output options tab.

Regards,

Ram

Former Member
0 Kudos

Hi,

Click on the table node and goto the table tab and define the line type with two columns and save.

then click on the table header / main area and create the row then it will ask the line type then you have to give the line type what u created. then click on the newly created row this will split the cells. then select the each cell and create the text element and write whatever text you want to display in that column/cell.

Regards,

jagadeesh T.

Former Member
0 Kudos

HI

Can you please elaborate on how to create text box in each cell ..probably I am missing this ..then I will assign the text element ...I do not see any option to create a text box inside a cell..

Regards

Pavan

Former Member
0 Kudos

Hi,

Just right click on each cell and Create-> Text.

In General attributes tab you have a insert Field button with a PLUS symbol write the text element Inside this.

You can go through the Wiki section in SDN you have so many examples on smartforms.

[Wiki Smartforms|https://wiki.sdn.sap.com/wiki/display/ABAP/FormPrinting-SAPscript%2CSmartForms%2CPDF-Based+Forms]

Regards

Sarves

Edited by: Sarves Sombhatla on Jul 13, 2009 6:40 PM

Former Member
0 Kudos

Hi,

1. In the Table Main area you have the assign the Line Type which will give you the Rows of the Table.

[Table Layout|http://help.sap.com/saphelp_nw70/helpdata/EN/fa/0c1444d30111d3b568006094192fe3/content.htm]

2. For every row inside it there are Cells which are columns that you have defined in the table. (In your case the cells will be two if you have designed the table with 2 columns)

[How to draw columns in Tables|http://help.sap.com/saphelp_nw70/helpdata/EN/12/d4c6d62e9811d5b694006094192fe3/content.htm]

3. Now in each cell you need to define the text window and give the text element over there.

This is how we need to assign the text elements to the columns

Regards

Sarves