Application Development and Automation 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: 
Read only

where is this file getting generated

Former Member
0 Likes
711

DATA : w_csv(200) TYPE c. "CSV output file.

m_check_selscr_fnms c3 o.

OPEN DATASET w_srvr_nm_o_c3 FOR OUTPUT IN TEXT MODE.

IF sy-subrc NE 0.

MESSAGE e001 WITH 'File open error for output' w_srvr_nm_o_c3.

ENDIF.

WRITE: / c_output_file, 20 w_srvr_nm_o_c3.

Thanks in advance

BWer

DATA : w_csv(200) TYPE c. "CSV output file.

m_check_selscr_fnms c3 o.

OPEN DATASET w_srvr_nm_o_c3 FOR OUTPUT IN TEXT MODE.

IF sy-subrc NE 0.

MESSAGE e001 WITH 'File open error for output' w_srvr_nm_o_c3.

ENDIF.

WRITE: / c_output_file, 20 w_srvr_nm_o_c3.

Thanks in advance

BWer

4 REPLIES 4
Read only

Former Member
0 Likes
692

hi

put a breakpoint in open dataset statement and see the value for w_srvr_nm_o_c3

then go to application server and see in the specified path ( it will be included in varaible w_srvr_nm_o_c3 )

Thanks

Pavan

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
692

File will be generated in the path specified by the value of the field w_srvr_nm_o_c3

Regards,

Rich Heilman

Read only

Former Member
0 Likes
692

Hi..

what type of fiel u want to download?i think u want a csv fiel format.right??

if so u can use gui_download .

Regards,

kamal

Read only

Former Member
0 Likes
692

do you have idea about FILE Transaction,

See the FILE_GET_NAME Function module and probably they might be using this FM.

Goto FILE Transaction and look at Logical Path ,Physical path.

Reward Points if it is helpful

Thanks

Seshu