cancel
Showing results for 
Search instead for 
Did you mean: 

Save file in windows NT server Through WD ABAP

0 Kudos

Dear Friends,

Kindly Suggest me solution for my requirement(it is urgent), I want save a txt file from WD application to  Wndows NT server.

If i run my application from Windows NT server, it saving succesfully in specified Path, But if i run this from different

servers it is not saving the file. here is the code  which i have used in my program

   CONCATENATE '\\10.1.002.100\SMS\Details-'  lv_phno  '.txt'  INTO PO_FILE.

  OPEN DATASET PO_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT
  WITH NATIVE LINEFEED.
  IF SY-SUBRC NE 0.
    MESSAGE E000(0K) WITH ' File cannot be opened'(011).
    EXIT.
  ENDIF.

  TRANSFER LS_TEXT TO PO_FILE.
  clear LS_TEXT.
  CLOSE DATASET PO_FILE.

Kindly suggest pls.

Thanks In Advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raju,

Their is File Download UI in WDA i hope with this u can do and u can check with WDR_TEST_EVENTS

webdynpro component.

Hope this help's u.

Regard's

Madhukiran M.