Skip to Content
Former Member
Oct 10, 2014 at 03:18 PM

Regarding ALV output export to Excel


Hi All,

Am displaying few fields in ALV using REUSE_ALV_GRID_DISPLAY FM. Till ALV Output we are able to achieve the user requirement. But while exporting the output to excel using LIST-->EXPORT-->LOCAL FILE-->SPREDSHEET the header of two fields are coming up with 3 extra spaces. Fields are of character type and we have cheked it in fieldcatalog also. inside Filecatalog the text dont have any extra spaces.

Could anyone please suggest some ideas to remove those trailing spaces from the header. Kindly note that the system is ECC4.6.

Thanks In Advance