alv currency for Japan
I want to show the ouput put order value in Alv report in Japan currency 'Yen' i.e. no decimal value.
But for Europe the same order value has to be shown in decimal.
What field catalog values I need to pass.
Here GIT_REPORT is the internal table which will be used in display ALV.
I can't pass C as datatype since I want summation of column .
GIT_REPORT-NETWR has datatype as VBAK-NETWR.
decimals_out as '0' but doesn't work.
PERFORM build_fieldcatalog USING :
1 'NETWR' 'P' 'GIT_REPORT' 'X' ' ' 'R'.
FORM build_fieldcatalog USING value(p_count) TYPE i
value(p_length) TYPE i
DATA ls_fieldcat TYPE slis_fieldcat_alv.
Append to the Catalog
ls_fieldcat-col_pos = p_count.
ls_fieldcat-fieldname = p_fieldname.
ls_fieldcat-inttype = p_inttype.
ls_fieldcat-tabname = p_tablename.
ls_fieldcat-outputlen = p_length.
ls_fieldcat-reptext_ddic = p_text.
ls_fieldcat-do_sum = p_sum.
ls_fieldcat-hotspot = p_hotspot.
ls_fieldcat-just = p_just.
APPEND ls_fieldcat TO gt_fieldcat.
Please let me know your inputs on this