Application Development 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: 

problem to send the data in application server

Former Member
0 Kudos

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

4 REPLIES 4

former_member156446
Active Contributor
0 Kudos

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.

0 Kudos

its not working i need with the help of selection screen

0 Kudos

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

0 Kudos

can u plz specify me the code how to use the FM F4_DXFILENAME_TOPRECURSION ,

and how to pass in open dataset