Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

display without decimals

Former Member
0 Likes
590

i have a report where the fields are displayed with the decimal places. these fileds are common sap fields like LOT SIZE, STOCK QUANTITY, SALES QUANTITY, etc..

now, i need to display these fields without decimals. so, pls give me the steps how to change the internal table fields. also, pls mention whether we have to chnage these internal table fields just before writing the write statement (we write loop stmt first, then read stmt and then write stmt) or we have to change the fileds even before loop stmt.

pls give me example steps.

2 REPLIES 2
Read only

Former Member
0 Likes
496

If you have all these fields in an internal table. Then while writing do like this:

Loop at Itab.

write: itab-field decimals 0.

Endloop.

<b>satish polu - If resolved, close the thread.</b>

Thanks,

SKJ

Read only

Former Member
0 Likes
496

Hi ,

try this

<b>Loop at Itab.

write: itab-field no decimals .

Endloop.</b>

reward points if this helps u

ravi