Hi all,
Help me out pls.
i am displaying alv with correcy field and i need my own fieldlable instead dictionary fieldlable
wa_fieldcat-fieldname = 'PSWBT_BAL'. " itab fieldname wa_fieldcat-tabname = 'I_OUTPUT2'. " itab wa_fieldcat-ref_fieldname = 'PSWBT'. "ref field wa_fieldcat-ref_tabname = 'BSID'. "ref table wa_fieldcat-col_pos = 10. wa_fieldcat-do_sum = 'X'. wa_fieldcat-seltext_m = 'Balance'. "my own fildlable append wa_fieldcat to i_fieldcat. clear wa_fieldcat.
note:
1) if i dont specify ref_fieldname ref_tabname, I can not get grand total at the end of column\
2) if i specify ref_fieldname ref_tabname, I can not get my own fieldlable 'Balance'.
<b>Question</b>
i need both grand total as well as my own fieldname.