2007 Dec 26 6:06 AM
Can any body give logic, how to use function module SAP_CONVERT_TO_XLS_FORMAT to download internal table data to Excel sheet.
Regards,
Naseer.
2007 Dec 26 6:12 AM
hi Nasser,
This is kiran kumar.G.If we use the above function module we get the below function module.I can explain what are the neccesity parameters we have to use check it once.
FUNCTION MODULE OUTPUT:
CALL FUNCTION 'SAP_CONVERT_TO_XLS_FORMAT'
EXPORTING
I_FIELD_SEPERATOR =
I_LINE_HEADER =
i_filename =
I_APPL_KEEP = ' '
tables
i_tab_sap_data =
CHANGING
I_TAB_CONVERTED_DATA =
EXCEPTIONS
CONVERSION_FAILED = 1
OTHERS = 2
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PARAMETERS:
I_FIELD_SEPERATOR = 'X'.
i_filename ='FILE PATH'
i_tab_sap_data = 'UR INTERNAL TABLE NAME'
Award points if helpful.
kiran kumar.G
Have a Nice Day...