How System Command can replace a file in Application Server
A new system Command is created. When that system command is executed, the client wants to take a file from one directory in application server and put that file into another directory on the application server itself. How this can be achieved?
What I know is we can create a function module and place that function module in the system command. But in that function module, I have to change the fielname and put that into another directory. I don't know how to do it.
Note: I shouldn't read the data from the file using Open Dataset statements..
Please let me the solution if any one has encountered such a scenario.