Showing results for 
Search instead for 
Did you mean: 

Creating a directory & subdirectory on Application Server

Former Member
0 Kudos

I want to create a directory on Application Server which may contain many subdirectories where in i will upload my files from my ABAP Program.

I need to know if dynamic creation of a directory on Application Server is possible though ABAP.

I donot want to create it manually but dynamically depending on the type of file to be put in the directory.

Accepted Solutions (0)

Answers (1)

Answers (1)

Developer Advocate
Developer Advocate
0 Kudos

If you use the complete path, this actually works. I have tested it in my system. It may not work in background though. I'm on an AS400, so the path is a little different

call function 'GUI_CREATE_DIRECTORY'
dirname = '//<ip_address>/qfilesvr400/<host>/usr/sap/TST/SYS/Folder1'
          failed  = 1
          others  = 2.


Rich Heilman