Skip to Content

smartform import parameter

Hello all, I've created a new smartform with a new import parameter called TOTAL_DATA, which contains several fields. TOTAL_DATA is defined in the smartform global settings>form interface tab as an import parameter. I thought this would make this parameter data available within all smartform nodes. TOTAL_DATA is not a table but a structure.

I've inserted some TOTAL_DATA field references, e.g. &TOTAL_DATA-1_6&, into text nodes within a template node. The smartform compiles correctly but when I test the smartform I get error 'Reference field TOTAL_DATA-1_1 unknown in form'. I inserted the field using the smartform field list window click and drag.

Is there something I need to do to make the import paramter data available in the text node.

Any help much appreciated.

Thanks, Inde

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2005 at 10:14 AM

    Is the reference field TOTAL_DATA-1_1 a currency / quantity field ? If yes, does it have a reference to CUKY / UNIT field ?

    If your import structure TOTAL_DATA is not a DDIC structure, then you need to create a Z structure of type TOTAL_DATA and for all currency/unit make sure there is a refernce to CUKY/UNIT.

    Regards,

    Subramanian V.

    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks Subramanian, that's solved my problem. My import parameter was referencing a DD structure with currency fields. The DD reference currency field was not passed to the smartform...hence the error.

      I've defined the DD reference currency field as a global parameter for the smartform which fixed my problem. I could pass this in as another import parameter which would also fix my problem.

      Many thanks for your help, Inde

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.