04-12-2005 11:10 AM
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
04-12-2005 12:51 PM
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.
04-12-2005 11:32 AM
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
04-12-2005 12:51 PM
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
04-12-2005 12:51 PM
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.
04-12-2005 1:34 PM
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