‎2012 Jan 11 2:08 AM
Hi Experts,
I have added a new field LS_LINE-RATE and the data type is P(9) Dec(5) . In the debug mode, I can see that it is P(5) Dec(5). Have you encountered this before? I have checked the structure I still have P(9) Decimal (5).Is there any limitations?
Need your professional ideas.
Thanks in advance!
‎2012 Jan 11 2:38 AM
Paste your coding, especially the data type declaration of the structure LS_LINE. Also are you sure you are looking at the same structure variable. Perhaps you are looking at a local variable in a routine that has the same name as another local or global variable declared outside the routine?
The below declaration looks the same in debugger too
LS_LINE-RATE(9) TYPE P DECIMALS 5.
‎2012 Jan 11 6:28 AM
Hi,
if you are declaring with P (ls_line-rate(9) TYPE p DECIMALS 5), system will interpreat this as like below.
12(Before decimal) + 1(DOT) + 5 (After decimal) = 18(Total Length)
123456789222.22123
So i dont find any reason for the different display in the debugg mode.
Please check it once again and also can u pls paste your code ???
Regards
HM