‎2009 Oct 02 10:13 AM
Hi,
iam creating a ztable , with fields LENGTH,BREADTH, HEIGHT. Now my problem is,i have these 3 possibilities in my mind,jus cirrect me and tell me which is the right one..
1. i have created a custom Data Element,with data type NUMC for the above fields.
2.Create a custom Data Element,with data type INT2 for the above fields.
3. Use the standard Data element for these fields (LAENG,BREIT) for which the data type is QUAN, when i tried to use them and activate the table ,i get amessage .... ZPLTMTR-BREADTH (specify reference table AND reference field)...can anybody please explain me how to solve them.
thanks,
‎2009 Oct 02 10:39 AM
Hi,
The correct option is number 3. Your length, bredth and height are only meaningful if they are assigned a unit of measure, and type QUAN will enforce that (hence the error).
If I ask you to build a box 15 by 10 by 10, you could build 15cm by 10cm by 10cm, but if I meant the box in metres you would have built it too small.
Your table needs a field for unit of measure (or possibly 3, depending on whether the measurements are always in the same unit). Click on the 'Currency/Quantity fields' tab of your table and enter your unit field name for each QUAN value.
Regards,
Nick
‎2009 Oct 02 10:39 AM
Hi,
The correct option is number 3. Your length, bredth and height are only meaningful if they are assigned a unit of measure, and type QUAN will enforce that (hence the error).
If I ask you to build a box 15 by 10 by 10, you could build 15cm by 10cm by 10cm, but if I meant the box in metres you would have built it too small.
Your table needs a field for unit of measure (or possibly 3, depending on whether the measurements are always in the same unit). Click on the 'Currency/Quantity fields' tab of your table and enter your unit field name for each QUAN value.
Regards,
Nick
‎2009 Oct 02 12:31 PM
thanks Nick,for good explanation, but how do i get the reference field and table because i have tried using MARA_MAEBM and i get the error does not exist.
how shud i find wat is the reference table and field.for that?
‎2009 Oct 02 12:41 PM
Hi,
I would usualy suggest adding another field to your Z table to hold the unit of measure and using that. However if your Z table relates to the material master you could use MARA-MEINS.
Regards,
Nick
‎2009 Oct 02 1:18 PM
thanks nick .i got it,but i have one more doubt that is...im creating these fields length ,breadth for which i have used (LAENG,BRIET)but the data type QUAN is of length 13 characters, now im using theses fields in a screen and when i try to enter 3 digit value into these input fields i get the error ....Entry too long (enter in the format ~.__). and i replace it with 2 digit it will accept.
and one more.
each and every screen field value can be passed to the program only by PRAMAETER id statement or can u please suggest me the best possible way to pass the screen values to the program.
‎2009 Oct 02 1:23 PM
Hi,
I suggest you raise some new questions for this problems, as you've marked this question as answered there's only you and me reading it now
Regards,
Nick
‎2009 Oct 02 1:31 PM