‎2010 Sep 21 5:30 PM
Hi guys,
I'm trying to sole a reference filed unknowm in smartform.
I'm using a user defined structure like below:
structure s1
t1 type s2
t2 type s2
structure s2
a type yy
b type yy
This structure is defined in dictionary. I passed this structure to smartform and try to output structure s1 variable like s1-t1-a but it says reference field unknown. Anybody know how to solve this problem ??
Thank you for your help
‎2010 Sep 21 5:41 PM
This structure is defined in dictionary.
Which one? Please provide more details.
I think the crucial is how you are passing the structure to smartform. If parameter is of generic type (i.e. ANY) you won't see its (structure) components. Create some dummy program and make sure the same definition allows you to address the components in the way you want. If syntax checker pass you, then the problem lies in how you pass the structure to smartform (as described above).
Regards
Marcin
‎2010 Sep 21 5:44 PM
The structure s1 and also the structure s2 are all defined in dictionary
Thank you
‎2010 Sep 21 6:00 PM
You still keep in secret how you are passing the structure, so it is difficult to find the reason.
Regards
Marcin
‎2010 Sep 21 9:32 PM
For an unknown reason when the field is declared as type CURR with decimals (reference table and ref field defined), i have an error of reference field unknown, but when i change the field to DEC with decimals then it works in smrtforms
hmmm...strange