Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

Unable to write the file into application server "Open dataset....."

$
0
0

Hi All,

i am trying to write the file into application server like below test example. Need to give the file name like below with the special charaters "*" in the file name.

GV_OUT_FILE = '\\hoehae05\ixosEUB\adk\DOLPHIN\tmp\081951000613292014_00001_00001.*'.

Capture77.PNG

DATA mess TYPE string.
DATA :gv_out_file(255) TYPE c "Output File Path and Name


  GV_OUT_FILE = '\\hoehae05\ixosEUB\adk\DOLPHIN\tmp\081951000613292014_00001_00001.*'.


OPEN DATASET gv_out_file FOR OUTPUT IN BINARY MODE MESSAGE mess.
  IF sy-subrc NE 0.   " Here the sy-subrc becomes '8' Failed because of the "*" contains in the filename.
    EXIT.
  ENDIF.
CLOSE DATASET gv_out_file.

 

please help me how to write the file into application server which the file name contains special charaters like "*" in the file name.?

Thanks in Advance.


Viewing all articles
Browse latest Browse all 3184

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>