01-17-2008 6:07 AM
i want to send the data of internal table to application server through selection screen and in selection screen it should show the path of application server and through that path it should go , if possible give the code
01-17-2008 6:12 AM
For points we give all our code, you wanted
>p_ufile (pa_uex1(200) LOWER CASE) << app server path
DATA : wa_file TYPE string,
lv_count TYPE i.
IF NOT p_ufile IS INITIAL.
OPEN DATASET p_ufile FOR OUTPUT IN TEXT MODE.
IF sy-subrc <> 0.
EXIT.
ENDIF.
LOOP AT p_output INTO wa_file. <<< loop at table of data...
TRANSFER wa_file TO p_ufile.
CLEAR wa_file.
ENDLOOP.
CLOSE DATASET p_ufile.
01-17-2008 6:47 AM
01-17-2008 6:52 AM
Hi ,
Use the FM F4_DXFILENAME_TOPRECURSION , this will give you a popup with the folders in the application server.
You can select the folder and secify the file name , then use the opendata set commands to create the file.
Regards
Arun
01-17-2008 7:06 AM
can u plz specify me the code how to use the FM F4_DXFILENAME_TOPRECURSION ,
and how to pass in open dataset