Hi All,
I got the solution for this issue.
Passed the Byte Count as below.
This Byte Count we get from
* Generate Excel File
PERFORM generate_excel USING lv_title CHANGING lv_bytecount li_file_tab lk_xfile.
* Convert to binary
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = lv_filedata
IMPORTING
output_length = lv_bytecount
TABLES
binary_tab = ch_ftab.
Regards
Gopa