Skip to Content
author's profile photo Former Member
Former Member

Command Line in the Processing Parameters

If I wanted to archive to different folders (out on an FTP Server) would I be able to write an ABAP program to do this and put the ABAP program name in this Commmand Line field in the Processing Parameters. Someone mentuioned writing shell script to which I am not familiar with. Has anybody done anything like this they can share with me?

Thank-You.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 09:05 PM

    Tom,

    If you want to do only archiving the file then you have an option in File Sender communication channel where you should keep the File Processing Mode in Archive option. There you will specify the folder name. So you dont need to write any program for it.

    Hope this helps...

    ---Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 10, 2007 at 10:05 PM

    by default, archiving option in file sender adapter configuration will move the file into one archive directory. But in the command line option you can execute simple bacth file(for windows) or shell script(unix) to copy the same file to multiple folders.

    Tom -- It should be simple script like

    copy file to dir1

    copy file to dir2 etc

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 10, 2007 at 10:08 PM

    Hi,.

    If you want to arhive in FTP Server, then you need to have either batch Job to do this or using Shell Script , which can be executed from the commandline from File communication channel.

    For shells cript, u need to just write unix commands. I don't think so, it is much difficult to do.

    It is not possible to execute the ABAP program from communication channel OS command properties.

    Rgds,

    Moorthy

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.