‎2007 Apr 04 9:36 AM
Hi all
I am using FM
RH_START_EXCEL_WITH_DATA.
I am able to get data properly into excel except for one set of data in selection screen.
My selection involves fiscal year and when i choose year 2000, excel launches but displays error "Cannot open Protected File"
There is data in internal table i_scrpt. The FM works fine for all other years as input.
CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'
EXPORTING
data_name = 'SCRAP_RSN.XLS'
data_type = 'DAT'
force_start = c_x
wait = c_x
TABLES
data_tab = i_scrpt
EXCEPTIONS
no_batch = 1
excel_not_installed = 2
wrong_version = 3
internal_error = 4
invalid_type = 5
cancelled = 6
download_error = 7
OTHERS = 8. sy-subrc also is 0 after this FM call.
‎2007 Apr 04 10:14 AM