Skip to Content
author's profile photo Former Member
Former Member

Smart forms Error

Hi All,

I am working on a production order. I am having a structure defined in global data WA_CAUFV like CAUFV.

I am populating the work area using a loop from the internal table T_CAUFV.

I have declared the fields in a text node as below for output.

WA_CAUFV-plnbez WA_CAUFV-gamng

WA_CAUFV-igmng

i am executing the pring program. If i am not having the WA_CAUFV-gamng in the text node i am getting the output.

When i am haing the WA_CAUFV-gamng field I am getting an error that

<b>Reference field WA_CAUFV-GAMNG unknown in the form</b>

kindly let me know what is the mistake i have made. I tried with debuggin but i am not able to identify the solution. But the work area has the value for the field WA_CAUFV-gamng in the form.

regards,

Bala

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Oct 05, 2005 at 11:58 AM

    Hi,

    Did you declared the workarea as below in global definition-> global data

    caufv type caufv

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 05, 2005 at 12:09 PM

    Hi Bala,

    This is because the system cannot find the reference field for GAMNG. If you check CAUFV, it is MARA-MEINS.

    Try giving this as the reference field in the Global definitions-> Currency/Quant. Fields for WA_CAUFV-gamng.

    Cheers

    Vinod

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 12:13 PM

    Hi Bala,

    I think you need to apply OSS note 542542 in your system.

    Cheers

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2005 at 12:35 PM

    Hi Bala,

    I completely agree with Jayanthi Jayaraman.

    Kindly check the declaration of teh variable. Only this thing is missing.

    Regards,

    Dilip

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      This is what u have to do.

      1. in the global definitions, under the Currency/Quan fields define WA_CAUFV-GAMNG under field name, CAUFV-GMEIN, under reference field and QUAN under data type.

      2. In Global Data, define CAUFV type CAUFV

      Now you can use WA_CAUFV-GAMNG without getting any error.

      Any variable of data type QUAN, needs to have a reference field.

      Hope this helps

      Maninder

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.