cancel
Showing results for 
Search instead for 
Did you mean: 

SM69 - external command

Former Member
0 Kudos

Hi,

My developer is asking for a unix "mv" command to move files from one location to another (after successful processing of that file). The "mv" command will be coded in the ABAP.

I'm using SM69 to create a "ZMV" external command so that it can be called within ABAP.

Now, I would like to control the location of where the files are moved to.

Does anyone know how I can use the "Parameters for operating system command" & "Additional parameters" fields in SM69 to control the location?

Or is there another approach to tackle this issue?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

You can do that using transaction FILE

Just create a new "Logical file Path" and then maintein the "Assignment of Physical path to Logical path"

Regards

Juan

Former Member
0 Kudos

Hello Sisab,

It is simple. Keep parameters blank if you don't want any special parameters lie <i> etc. However addtional parameters is important.

Basically the syntax of move command would be

mv <original path> <new path>.

This part <original path> <new path> needs to be specified into addtional parameters.

However you to give complete path.

This would do the job for you.

With Regards.

Ruchit.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello Sisab,

Hope you have unix system. If yes then please try the below...

Issue the tcode "se38" then run the program "RSBDCOS0". It will give you the o/s command prompt. Please issue the command as per your need...Here I am giving an eg. for you.

mv <Source path>/File name <target path>/

Regards

Sovon Sengupta

manu_susankar
Active Contributor
0 Kudos