Skip to content

Instantly share code, notes, and snippets.

@hugo-dc
Created September 28, 2012 22:55
Show Gist options
  • Select an option

  • Save hugo-dc/3802498 to your computer and use it in GitHub Desktop.

Select an option

Save hugo-dc/3802498 to your computer and use it in GitHub Desktop.
Write File in a remote server
DATA:
file(1023) VALUE '\\192.168.1.42\folder\'.
CONDENSE file.
CONCATENATE file sy-datum '_' sy-uzeit '.txt' INTO file.
OPEN DATASET file IN TEXT MODE FOR OUTPUT ENCODING DEFAULT.
TRANSFER 'Hello World3' TO file.
TRANSFER 'Hello world' TO file.
CLOSE DATASET file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment