‎2007 Sep 18 1:01 PM
Does anyone know if SAP created a replacement FM voor WS_HR_DOWNLOAD?
Kr
Arthur
‎2007 Sep 18 1:07 PM
Use GUI_DOWNLOAD or the DOWNLOAD Method of Class CL_GUI_FRONTEND_SERVICES.
Arya
‎2007 Sep 18 1:31 PM
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
‎2007 Sep 18 2:50 PM
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
‎2007 Sep 18 3:59 PM
I Think i will indeed create a Z version. I did look on the market place but didn't have any succes there.
‎2007 Sep 18 4:39 PM
‎2013 Oct 17 11:13 AM
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,
‎2013 Oct 17 3:28 PM
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