on 01-10-2007 10:37 AM
hi all,
i need to upload a file from the application server which hold the sales order number, fetch certain details on it and download it to the presentation server.
Presentation server will be the file on our desktop..
explain me about the application server and the usage of it..
i also need to validate the file paths of both the servers..
thanx in advance
regards,
Priya
Hi,
for the application Server use:
Use the filename as you want!!
OPEN DATASET '/transfer/sap/text.test' FOR INPUT IN TEXT MODE.
IF SY-SUBRC NE 0.
MESSAGE E001.
EXIT.
ENDIF.
*
DO.
*
READ DATASET P_FILEUN INTO ITAB.
*
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
*
APPEND ITAB.
*
ENDDO.
*
CLOSE DATASET P_FILEUN.
*
IF SY-SUBRC NE 0.
MESSAGE E001.
ENDIF.
download it via CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD
to C:\Dokumente und Einstellungen\All Users\Desktop\filename
Regards, Dieter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.