on 10-05-2005 12:48 PM
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
Hi Bala,
I completely agree with Jayanthi Jayaraman.
Kindly check the declaration of teh variable. Only this thing is missing.
Regards,
Dilip
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
Hi Bala,
I think you need to apply OSS note 542542 in your system.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Did you declared the workarea as below in global definition-> global data
caufv type caufv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.