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

how to invoke command from unix server.

i have such a command as following under unix environment.that can be execute successful directly.

. /etc/ && $BACK/bin/doWith -U<b>username</b> -P<b>password</b> -Drecord -id <b>11</b>

the function is to update a record which id is qual to 11.

i don't know how to invoke such a command in my web dynpro+java project.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2006 at 05:46 AM


    If you are trying to call this command on you R/3 applications server from wendynpro then it is possible using RFC. You need to do external command configuration in SAP which will allow you to execute the unix commands.

    If you just want to update a file on unix server then create and RFC enabled function that can do this task then use that as model in your webdynpro.



    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,Chintamani R Chitnis

      can u tell it more clearly;

      in fact:

      in my unix server,some codes is already finished u only to invoke it with some parameters(e.g.:id).that would be do some counting and update DB.

      so the "command" i refer to is a executable file(no java code file) in unix sever

      now my requirement is:

      <b> i have a button in my view.i click it.then invoke the unix server code and passed parameter(id) to them.</b>

      but how to do it?

      expecting u reply!

      thanks in advance.

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.