Skip to Content
0
Former Member
Mar 18, 2009 at 08:50 PM

Smart Form Table Built off of Deep Structure Component

170 Views

Hello All,

I'd like to start by explaining I have just started looking at Smartforms today, so there may be common knowledge that I am missing out on.

Back Ground

In DDIC I have declared the following types

ZLT_NS_SFORM (Structure)

ZLT_NT_SFORM (Table of ZLT_NS_SFORM)

ZLT_S_SFORM (Structure - one component (itDetails) is type ZLT_NT_SFORM)

The import parameter is"

waData TYPE ZLT_S_SFORM

I have declared a global work area as:

DATA waDetail TYPE ZLT_NS_SFORM .

My problem arises when I try to define the Data for the Table I am adding to the MAIN Window.

I declared the table name under the Data tab as:

waData-itDetails INTO waDetail

When the Smart Form is checked, I receive the following error.

"waData-itDetails" is neither specified under "Tables" nor defined as an internal table.

I have looked for a solution to this for a while, however, I have not found anything that is directly this problem. (Any documentation found would be helpful).

I do have an idea on how to work around this:

Remove the internal table itDetails from ZLT_S_SFORM. Pass in the details table seperately as a Tables Parameter and have more code in Data Retrieval application to manage which records are being passed for itDetails. I am willing to try this, but would like to see if I can keep all data in one structure to pass in first.

What do you think?

Thank you in advance.

Steven C Coolbaugh