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

Replacement for function module WS_HR_DOWNLOAD

Former Member
0 Likes
924

Does anyone know if SAP created a replacement FM voor WS_HR_DOWNLOAD?

Kr

Arthur

7 REPLIES 7
Read only

Former Member
0 Likes
891

Use GUI_DOWNLOAD or the DOWNLOAD Method of Class CL_GUI_FRONTEND_SERVICES.

Arya

Read only

Former Member
0 Likes
891

GUI_DOWNLOAD is not enough.

WS_HR_DOWNLOAD creates an DBF and a NAM file, plus some other actions. I could copy the version from a 4.6c system and create a Z* function module, but I'd prefer using something SAP standard.

kr,

Arthur

Read only

0 Likes
891

Hello Arthur,

as Aryani Earla already mentioned, the class CL_GUI_FRONTEND_SERVICES (method GUI_DOWNLOAD) is actually the suggested (by SAP) way of downloading files.

The few standard-FM's that I found using this class/method were designed for a specific task and not for general usage. In my opinion it would be faster to just write a Z-function module tailored for your needs instead of using and adapting one of these SAP function modules that cater for a different purpose.

Alternatively, have you tried searching the OSS / services market place for a replacement FM already?

kr

Walter

Read only

Former Member
0 Likes
891

I Think i will indeed create a Z version. I did look on the market place but didn't have any succes there.

Read only

Former Member
0 Likes
891

Decided to make a Z version copy from a 4.6C system.

Read only

0 Likes
891

Hi Arthur,

We have the same problem, but our release now is 604, so the old source code of the FM WS_HR_DOWNLOAD is unavailable. Could you copy-paste it here? Or send me by mail (miguel.nunez@ngahr.com). It's very urgent.

Thanks in advance,

Read only

0 Likes
891

Hi Miguel,

Unfortunately I'm no longer working for the company where I needed this for so I can't provide you with the code.

Sorry