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: 

Table in smartforms

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

jayanthi_jayaraman
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

jayanthi_jayaraman
Active Contributor
0 Kudos

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