Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RH_START_EXCEL_WITH_DATA

Former Member
0 Likes
728

Hi,

i have a problem with the FM "RH_START_EXCEL_WITH_DATA". After the release of our SAP-system changed to ERP2005 the FM doesn't work. After calling the FM with an filled internal table Excel starts but the spreadsheet is empty.

What can i do?

CALL FUNCTION 'RH_START_EXCEL_WITH_DATA'

EXPORTING

data_name = hf_datei

data_path_flag = 'W'

wait = ' '

data_table = iexcel[]

EXCEPTIONS

OTHERS = 1.

IF sy-subrc <> 0.

MESSAGE e020 WITH hf_datei sy-subrc.

ENDIF.

Regards

Jutta

2 REPLIES 2
Read only

Former Member
0 Likes
456

Hello,

Try this FM: WS_EXCEL instead.

Good luck.

Gilad.

Read only

0 Likes
456

Hi Gilad,

the problem was, that the exporting parameter for the filename changed from data_name to data_filename. After changing the parameters name the FM worked correctly.

Many thanks,

Jutta