Application Development and Automation 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: 
Read only

Table in smartforms

Former Member
0 Likes
768

Hi,

I am beginner in smartforms.

I am defining the internal table in form interface [table] and workarea and <tablename> in global definition [Global data].

I am selecting the required data in Program lines under Main window.

Then I am creating table having Line of width 16 cm which is equal to table width. In that I am specifying <internal table> into workarea in data tab.

Then I am using the <workarea-fieldname> in text element under this.

But which activating I am getting error message like <workarea-fieldname> has no defined value.

Any help in this is really appreciated.

Regards,

J.Jayanthi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
641

Hi Jayanthi,

Hum, it's difficult.

Did you define your workarea table ?

Anyway in order to help you if you are new, you can check these SAP example smartforms : SF_EXAMPLE_01, SF_EXAMPLE_02. They are very useful to begin.

Regards,

Erwan.

4 REPLIES 4
Read only

Former Member
0 Likes
641

Hi,

Are you getting a warning or an error message?

I normally get a warning message in this case, which I fix by inserting 'Program lines' and specyfing my workarea as the output parameter (there are no actual lines).

Thanks,

Wojtek

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
641

Hi wojtek,

That problem is solved by putting Text under table.But now I cannot see the output in print preview. It is displaying 'No table lines started.Output to cell not possible'.

How to make it display in print preview.

Regards,

J.Jayanthi

Read only

Former Member
0 Likes
642

Hi Jayanthi,

Hum, it's difficult.

Did you define your workarea table ?

Anyway in order to help you if you are new, you can check these SAP example smartforms : SF_EXAMPLE_01, SF_EXAMPLE_02. They are very useful to begin.

Regards,

Erwan.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
641

Hi ,

In the example sf_example_01, they are having 6 tabs [including general attributes].But in my program , I am not able to view this tab.

Any idea in this.

Problem is solved by selecting the Line type in Text element.

Rgds,

J.Jayanthi

Message was edited by: Jayanthi Jayaraman