2009 Oct 02 1:34 PM
Dear all
i have a doubt that is...im creating 3 fields LENGTH,BREADTH,THICKNESS 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 05 12:06 PM
Hai,
Screen values may not be passed explicitly.The variable names in your program should be equal to (same) the names of the screen variables.The data is transfered automatically.
Regards,
Venkat
Dear all
i have a doubt that is...im creating 3 fields LENGTH,BREADTH,THICKNESS 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:50 PM
For a QUAN field (or a CURR) the number of available decimal places is related to the UNIT (rel CUCY) associated to the field (call customizing transaction CUNI)
As you defined a table or structure the reference will come from DDIC, look at [Dictionary Attributes|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801c47454211d189710000e8322d00/content.htm] in [Screen Painter|http://help.sap.com/saphelp_nw70/helpdata/en/d1/801b50454211d189710000e8322d00/frameset.htm]
First read the material master data (MARA) to get the unit and move the MEINS value to the reference field.
Regards,
Raymond
2009 Oct 02 2:37 PM
Dear all
My question is...im creating a Ztable in which 3 fields LENGTH,BREADTH,THICKNESS for which i have used (LAENG,BRIET) as Data element 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 03 6:24 AM
2009 Oct 03 6:46 AM
Hi Naren
If you have to consider the commas and dots also in output lenght which is 17
10 digits
3 digits after decimal point
= 13 "Length
1 decimal point
3 commas
= 4
13 + 4 = 17 "Output Lengthif you enter 1,234,567,890.123 OR 1234567890 it will except
But if you will enter 12345678901 it will not because ... it will not accept 11 digits... less then 11 digits it will except...
also if you pass the 10 digits then decimal point and then upto 3 digits afrter the decimal point then also it will accept...
Try to Debug the code and check the value of the parameter ID you are passing in screen...
Check for the above validation...
also check out the data type must match...
post your code as well here so we can give better suggestion on it...
Also there is no parameter ID for the Dataelement LAENG
For passing values to other report have a look on below thread..
Also Search on SCN using SUBMIT and also have a look on ABAP help for SUBMIT statmetn for better idea...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya
2009 Oct 05 12:06 PM
Hai,
Screen values may not be passed explicitly.The variable names in your program should be equal to (same) the names of the screen variables.The data is transfered automatically.
Regards,
Venkat