‎2009 Jun 17 8:47 PM
Hi ABAP gurus,
I am working on alv report and i came across situation where we don't want to display zeros in
some of the Cell based on some condition.
i don't want to do it on column level otherwise i can use no_zero. i like to do it on cell base.
Any help would be appericated ..
Thanks,
Jack
Edited by: jack troy on Jun 17, 2009 9:48 PM
‎2009 Jun 17 8:50 PM
u can do that while passing values to ur final table..
declare the field as string.
pass value to it only when u need (as per ur conditions). else leave it blank.. that can avoid ur zeros..
do u need a ref code??
Edited by: soumya prakash mishra on Jun 17, 2009 9:50 PM
‎2009 Jun 17 9:22 PM
Hi ,
Thanks for very quick reply . i tried your suggestion .
The only problem i find out is I have currecny value : 127,826.00
when i convert it to string it look like 127826.00 but i like to show it 127,826.00.
I mean it doesnot preserve the format .
Thanks,
Jack.
‎2009 Jun 17 9:26 PM
ofcoz its not... if its a price value..gets display as per USERID defaults..
try some FM (i am not infornt of SAP system now to search the FM for you).. which will convert amount field to string with formating..