‎2006 Jul 03 3:50 PM
the ITAB is
DATA: BEGIN OF BESTAND OCCURS 100,
BWKEY LIKE MBEW-BWKEY,
WERKS LIKE MSEG-WERKS,
MATNR LIKE MSEG-MATNR,
CHARG LIKE MSEG-CHARG,
*(DEL) endmenge like mard-labst, "Bestand zu 'datum-high' XJD
ENDMENGE(09) TYPE P DECIMALS 3, "Bestand zu 'datum-high' XJD
*(DEL) anfmenge like mard-labst, "Bestand zu 'datum-low' XJD
ANFMENGE(09) TYPE P DECIMALS 3, "Bestand zu 'datum-low' XJD
MEINS LIKE MARA-MEINS, "Mengeneinheit
values at date-low and date-high "n497992
endwert(09) TYPE P DECIMALS 2, "n497992
anfwert(09) TYPE P DECIMALS 2, "n497992
*(DEL) soll like mseg-menge, "XJD
SOLL(09) TYPE P DECIMALS 3, "XJD
*(DEL) haben like mseg-menge, "XJD
HABEN(09) TYPE P DECIMALS 3, "XJD
SOLLWERT(09) TYPE P DECIMALS 2, "n497992
HABENWERT(09) TYPE P DECIMALS 2, "n497992
WAERS LIKE T001-WAERS, "Wהhrungsschlssel
END OF BESTAND.
in my ztable i declare insread of
(09) TYPE P DECIMALS
menge that is the reson i get 0.00
if yes?
what is the element needed for this
<b>(09) TYPE P DECIMALS</b>
‎2006 Jul 03 3:55 PM
Hi Liat,
Remove the suffixes after variables. This doesn't make sense with TYPE P declarations.
Replace all statements with out suffixes. Save and activate and Rerun the program.
Instead of this ENDMENGE(09) TYPE P DECIMALS 3
write as <b>ENDMENGE TYPE P DECIMALS 3</b>.
Thanks,
Vinay
‎2006 Jul 03 8:56 PM
‎2006 Jul 03 9:05 PM
Do you want to have decimals (0.00) instead of 0.
or 0 instead of 0.00, for data type P it is controlled from program attribute Fixed point arithmetic
You set the program attribute Fixed point arithmetic.
Regds
Manohar
‎2006 Jul 03 9:09 PM
‎2006 Jul 03 9:11 PM
‎2006 Jul 03 9:12 PM
‎2006 Jul 03 4:00 PM
‎2006 Jul 03 4:08 PM
‎2006 Jul 03 8:55 PM
rich i use this data element but i get 0.00 instead of numbers
bcs of that i asked.
‎2006 Jul 03 9:13 PM