Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Template issue in smartform

Former Member
0 Kudos

Hi,

I am developing a smartform in which I have to display customer details in a window as

row1(having 1 colunm): Customer No : kna1-kuunr

row2(having 2 colunms):Customer Name(hard coded text element) | kna1-name1(from kna1 table)

.....

.

.

Here first row is working fine for which i have created one textelementt.But, nothing displaying in second for which i have created seperate textelement for text and kna1 table value.

How can i fix this?

Thanks:

KangArun

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

1. Check the text attributes,did you provided the Line & col position.

2. Check the template line height,make sure it should be atleast 1 LN height.

Regards,

Raghu.

7 REPLIES 7

former_member222709
Contributor
0 Kudos

Hi Arun,

1. Check for overlapping of windows in the layout.

2. In debug mode also verify for data in the variables in the Smartform.

Regards,

Pranav.

Former Member
0 Kudos

Hi

1. Check the text attributes,did you provided the Line & col position.

2. Check the template line height,make sure it should be atleast 1 LN height.

Regards,

Raghu.

0 Kudos

Hi Raghu,

1. Check the text attributes,did you provided the Line & col position.

Where i should provide line and col position ?

Thanks:

KangArun

0 Kudos

Hi

Have a look into my earlier post above, there I have mentioned

template - > text element -> output options -> output structure -> Line/column

row1 Customer No : kna1-kuunr row -1 col -1

row2 Customer Name Row-2 Col-1 | kna1-name1 Row-2 Col-2

Shiva

Former Member
0 Kudos

Hi

If the width and height of the template is less than the text and details, then also the details will not get printed.

Also check whether the Output Structure Line and Column details are maintained properly in Output Options tab of the text.

Also run the form in SMartforms transaction by pressing F8, if any errors are there the system will display them as exceptions of FM

Shiva

Former Member
0 Kudos

Hi

In template to display the value you may used the texts.

Select the text which is under template,goto Output Options tab, in this below u will have the output str block.

In this you need to provide the line & col in which u need to display the value.

Regards

Raghu.

0 Kudos

Thanks all. With ur help,the problem is solved.

Regards:

KangArun

Edited by: KangAruN on Sep 9, 2011 6:36 AM