06-17-2008 11:48 AM
I used to display quantity in the ALV grid.
it displays like this
Po no Quantity
10000 1
1002 1
10009 100
I need my output to be
10000 1
1002 1
10009 100
Will this be possible.
At present I used my code like this for retreiveing the quantity value
va_quan1 type P length 15 decimals 0.
va_quan1 = wa_item-quantity
wa_test-quantity = va_quan1..
Put your suggestions
06-17-2008 11:55 AM
Hi,
Could you please elaborate your query?
There is no difference between the actual and desired output.
Thanks,
Sriram Ponna.
06-17-2008 11:54 AM
06-17-2008 11:55 AM
Hi,
Could you please elaborate your query?
There is no difference between the actual and desired output.
Thanks,
Sriram Ponna.
06-17-2008 12:13 PM
Sriram / Susheel
I got the value from the function module
which will give the value 1,00
i want only 1 from this value
so i used two variables the first variable from the Fm and then i pass it to the final internal table
Now i want to align in the left of the column in the ALV grid.
HOpe u understand
06-17-2008 12:34 PM
Hi,
Divide the value by 100, will get u 1. And for left alignment.
gs_fieldcat-just = 'L'.
Thanks,
Sriram Ponna.
06-17-2008 12:41 PM
Hi,
Use UNIT field in your internal table which you are using to display. Which means that you can add one more field in that internal table. YOu can get the unit field from the same table when you click on Currency/Quantity fields tab. Then this values is not appearing in the output.
Rgds,
Bujji