08-14-2013 8:33 PM
Hello ,
I copied standard program RFFOUS_T to Z program to modify ACH/Wire Transaction file format through t-code F110
that is working fine when store in PC but giving error when i choose directory in SAP server which given by client , error is
"Function Module WS_Download error 97" , so please provide any solution to solve that if some body worked on that .
Thanks & Regards
Gaurav Sharma
08-15-2013 12:23 PM
Hello Gaurav sharma,
Can try to use the follwing mentioned class with the method insted of WS_DOWNLOAD.
DATA v_filename TYPE STRING.
DATA v_filetype TYPE C LENGTH 10.
v_filename = filename.
v_filetype = 'ASC'.
CALL METHOD
CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
EXPORTING
FILENAME = v_filena
FILETYPE = v_filety
CHANGING
data_tab = int_tab[
EXCEPTIONS
FILE_NOT_FOUND = 1
FILE_WRITE_ERROR = 2
FILESIZE_NOT_ALLOWED = 3
INVALID_TYPE = 5
NO_BATCH = 6
UNKNOWN_ERROR = 7
OTHERS = 8.
08-15-2013 12:31 PM
Function module WS_DOWNLOAD and a file location on the SAP server is a combination that will not work (even if you replace WS_DOWNLOAD is its class based version).
This is a common question, search the forum and you'll find plenty of explanations.
Regards,
Nick
08-15-2013 8:54 PM
Hello Gaurav,
As Nick mentioned, it is valid checking the following threads:
https://scn.sap.com/thread/1775565
https://scn.sap.com/thread/492700
I hope this helps,
Cris
08-15-2013 11:39 PM
Hi Gaurav,
First you have to create a payment medium format if you dont want to use an existing one: customizing: fin.accounting-acc.rec and accpayable-business transactions-outgoing payments-automatic outgoing payment-payment media-make settings for payment medium formats from payment medium workbench
2nd step: It is in the customizing, F110-environment - maintain config.
choose payment-method/country.In the box payment medium you can choose if a traditional program should create your DME or if your created DME should be taken.