I want to execute a addon of R3 from VBA.

Dear all.
(sorry not good English)
I want to execute a addon of R3 from VBA.
The addon have 'commit' multiple times.
I am using "RFC_CALL_TRANSACTION_USING" from VBA.
but, addon is finished by one commitment processing.
I want to execute a addon continuously after having committed it.
like a "Cont.after commit" of Recoding parameters of SHDB.
Please give me advice other methods or other Function Module.
best regards.

Thank you for an answer.
SLIN understands it with a syntax check of the addon.
It is a program practice method from VBA to want to know me.
Would you give me any advice ?

Similar Messages

  • Executing a Operating System command from Stored Procedure ??

    I want to execute a Operating System command from a PL/SQL Stored Procedure, can anyone suggest me how can I do this ??
    I am on Sun-Solaris with Oracle 8.1.7 database.
    Please do email me at [email protected]
    Thanks in Advance,
    Ramesh L.

    Are you using a webserver? If so, you could make your operating system script into a CGI program, then execute it from pl/sql using utl_http.request.

  • I want to execute UNIX COMMAND in ABAP

    Hi All,
    I want to execute a UNIX XOMMAND sh <scriptname> <filename> to replace divsion codes.in ABAP.
    But, I came to know that we can't (2) or try the following program but unfortunately the command CALL SYSTEM is not supported by SAP. If you are on R/3 2.1 - 2.2x you can get some idea's from the program SAPMSOS0.
    REPORT ZUNIXCOM .
    DATA: U_COMMAND(200).
    Table for system messages
    DATA: BEGIN OF RT OCCURS 100 ,
    LINE(100) ,
    END OF RT .
    START-OF-SELECTION .
    MOVE 'unix command' to U_COMMAND .
    REFRESH RT.
    CALL 'SYSTEM' ID 'COMMAND' FIELD U_COMMAND
    ID 'TAB' FIELD RT-SYS .
    LOOP AT RT.
    WRITE : / RT-LINE .
    ENDLOOP. 
    So please can u help me how to call a unix command from ABAP. it is very urgent. I want complete details and all possible solutions
    <removed_by_moderator>
    Thanks,
    gyanaraj
    Edited by: Julius Bussche on Aug 26, 2008 11:29 AM

    Selvaraj Gyanaraj wrote:>
    > So please can u help me how to call a unix command from ABAP.
    I was about to help you.
    >it is very urgent.
    I changed my mind.
    >I want complete details and all possible solutions
    I'm glad I changed my mind.
    >Points are surely rewarded.
    Too late.

  • I want to execute my application in any computer

    Hi!I have a javafx application. I want to execute aplication from any computer.I suppose that I need have executable. How can I do that?thanks

    Just package it (with NetBeans or using javafxpackager) to generate a jar and a JNLP file. Then you distribute these two files. Any computer with Java 1.5+ should run the JNLP, get the JavaFX runtime if not in cache and run the application.

  • Through Java code I want to execute a exe file which is in aJar file

    I am having some classes and an exe file in a directory. I have made them in to a Jar file. In a class file which is in that jar file i want to execute a Exe file which is also resides in that jar file. Is it possible to exexute that EXE file?
    For Example....
    1. Im having a directory named CLIENT.
    2. In that directory I have 10 clss files and an EXE file.
    3. These class files and EXE files are ziped in to a Jar file.
    4. I have to give the Jar file to my client.
    5. He can put that Jar file where ever he installed my product may be C driver or D drive like that
    Now the problem is...
    I want to execute the Exe File from one of the class where both the exe file and class file resides in the Jar file
    This is my requirment
    Can anyone Help to me to solve this problem?
    Thanks in Advancd
    Ibram Shah.A.M
    ([email protected])

    The answer is to extract the EXE into a temp directory, execute it, and delete it when you're done. For example:
    //This is the path *inside* the JAR file!
    InputStream in = getClass().getResourceAsStream("/resources/myprog.exe");
    OutputStream out = new FileOutputStream("myprog.exe");
    File file = new File("myprog.exe");
    int data;
    while((data = in.read()) >= 0) out.write(data);
    in.close();
    out.close();
    //Execute the EXE here using java.lang.Runtime.exec()
    if(file.exists()) file.delete();
    ...

  • I am in report 1 i want to execute report2 in background .

    Hi,
    I am in report program 1 i want to execute the report program2 in backgound and iam passing some selection screen parameters .
    user should not know about the running of this program2.
    i tried using submiit but iam seeing the result of report 2 in report 1.I dont want any output from report2.
    thanks in advance.
    regards,
    Karthik.

    Hi Karthik
    Implement this code in Report1. To create a background Job to execute Report2.
    This is the Pseudocode:
    <b>call function 'JOB_OPEN' ...
    Submit Report2 Via background Job .........
    Call Function 'JOB_CLOSE' .
    </b>
    Sample code here:
    DATA: number           TYPE tbtcjob-jobcount,
          name             TYPE tbtcjob-jobname VALUE 'JOB_TEST',
          print_parameters TYPE pri_params.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        jobname          = name
      IMPORTING
        jobcount         = number
      EXCEPTIONS
        cant_create_job  = 1
        invalid_job_data = 2
        jobname_missing  = 3
        OTHERS           = 4.
    IF sy-subrc = 0.
      SUBMIT submitable TO SAP-SPOOL
                        SPOOL PARAMETERS print_parameters
                        WITHOUT SPOOL DYNPRO
                        VIA JOB name NUMBER number
                        AND RETURN.
      IF sy-subrc = 0.
        CALL FUNCTION 'JOB_CLOSE'
          EXPORTING
            jobcount             = number
            jobname              = name
            strtimmed            = 'X'
          EXCEPTIONS
            cant_start_immediate = 1
            invalid_startdate    = 2
            jobname_missing      = 3
            job_close_failed     = 4
            job_nosteps          = 5
            job_notex            = 6
            lock_failed          = 7
            OTHERS               = 8.
        IF sy-subrc <> 0.
        ENDIF.
      ENDIF.
    ENDIF.
    <b>Reward if Helpful</b>

  • Hi i want to execute bapi two times with different paramters....Possible

    Hi,
    i want to execute bapi twice times.Possible please explain where i put which code.Means i put bind code at doinit() method of conpopnent controller and execute bapi code in doinit() iof view. But for second time where i put bind and execute code. 
    Regards,
    Gurprit
    Edited by: GURPRIT BHATIA on Dec 17, 2007 1:24 PM

    Hi Gurprit,
    For executing the bapi second time, you can put the execute bapi code in the action of the button which is on your form. You need not write the bind code again.
    Bye
    Ankur

  • I want to execute selection screen by pressing enter button

    Hi,
    I have a requirement like after giveing values in selection screen I want to execute it by pressing enter button not by pressing execute button.
    Please give some sample code if u have any solution.
    Thanks & Regards
    Venkatrami Reddy B

    Hi,
    You can achive this.
    You just need to do all your coding under even AT SELECTION-SCREEN OUTPUT.
    But you have to put a check also say counter.
    Define a variable of type integer and then put the check on the mail block of code (whole program eccept selection screen) as mentioned below.
    IF lv_count > 1.
    program lines..
    ENDIF.
    lv_count = lv_count + 1.
    Regards,
    Raj Gupta

  • Hi i want to execute 3 reports  at one click without user interaction

    hi Friends,
    Hi i want to execute 3 reports with one click ie  by putting radio button when we click on this this wants to execute all 3 reports with out user interaction pls try to understand and provide the solution pls
    Thanks & Regards
    Mohan  Reddy

    Hello,
    To achieve this you can use the SUBMIT command after an user action.
    Example
    The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
    Program accessed
    REPORT report1.
    DATA text TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Regards.

  • Want to execute SQL Queries from Textfile

    I have a text file full of a bunch of sql queries, of the format:
    select something1, something2
    from someplace
    select something3, something4
    from someplace2
    select something5, something6
    from someplace3
    I want to execute these queries one at a time and then after each one executes, I will do something with the resultset. Question is, how do I pull each query from the text file one at a time and execute? I was doing this by using java.util.Scanner and java.lang.StringBuilder where I would scan one line at a time and then check to see if the line is empty, otherwise I append the line to the StringBuilder. If the line is empty, I process whatever is stored in the StringBuilder. The problem with doing this is that it does not preserve the newline from the text file, so I get queries that look like:
    "select something5, something6from someplace3"
    which of course are invalid. Does anyone know a better way to build SQL queries / statements from a text file? How do I get the newline or carriage return character?

    Just replace newline by space?

  • I want to execute the executable file(ex: Microsoft Word, SapGui, etc)....

    Dear...
    On EP screen I want to execute the executable file(ex: Microsoft Word, SapGui, etc) by clicking button.
    Is this possible?
    If I can execute the executable file by clicking button, please give me how to do this.
    thanks,
    sangyuun.

    Hi Sang Yuun,
    like I already said. It would make little sense to provide a button or the like on a portal page. That is because you do not know if the user that clicks the button actually has the application (in your case MS Word) installed on his computer.
    There are three ways of starting an application like Word:
    1. Start it on you local PC.
    2. Start it from a file server via the Network.
    3. Start it on a remote computer in a remote session.
    Where is the Word Application located/installed that you plan to start your way?
    I am not aware of other ways - i.e. via an Internet Server. Word is not behaving like a Java Applet that you can start via the Internet (clicking on a link or a button).
    The Portal is accessed by using a Browser. If at all available, you would need to run a web version of MS Word. It don't believe a Word Version like this is available - contrast this with Outlook. but for that you need a Mailserver Web Extension.
    I hesitate a guess - but I don't think it is possible what you are planning. Any other takers?
    Also think this way - If a user is accessing your Portal and opens a Web page containing a button that starts an application on his computer - that page would most likely be regarded as hostile. Most security features would possibly classify this as a remote attack on the computer ... I let you think about what would happen next.
    Hope this helps.
    Wolfgang

  • I Want to Execute Code When a session Expires

    hi friends,
    I want to execute some code when ever a user ends his session. I came to know this can be accomplished by using HttpListener. But if any body give a example it will be lot more clear.
    Thank Q
    Srinivas

    Or SessionListener. - MOD

  • Help needed in executing the java/jsp program from UCM .

    Hi ,
    I have a .jsp program running in my Jdeveloper which when executed pops a window to browse and select files and with few custom options .
    But i want to execute that Program from within UCM (create a new jsp page in UCM OR provide link ? i am not sure .... ) , could anyone help on how i can execute/run the program from UCM ?
    thanks in Advance
    Plaxman

    If your jsp makes use of jars you may want to look into using a WAR instead. You can check the WAR into content server and there is even a link on the administration page for JSP Web App Admin. Treating the JSP(s) and jar(s) as an entity may be a more successful path for you.
    You can find some jsp examples and ever a war example in this directory: <install root>\samples\JspServer
    And the briefest of help about that stuff here: [http://localhost/idc/help/wwhelp/wwhimpl/js/html/wwhelp.htm|http://localhost/idc/help/wwhelp/wwhimpl/js/html/wwhelp.htm]

  • How to call up an executable file (eg. MSPaint) from within my java program

    How to call up an executable file (eg. MSPaint) from within my java program

    Ummm... why would you want to get MSPaint anyway? Even in the absense of real software, Java's own graphics tools are way more sophisticated - with a little time and effort, you could write a simple paint package that beat MSPaint hands down.

  • Execute a Linux konsole command from Java

    Hy,I am having problems when trying to execute a command for konsole from java.
    This is a part of my code
    try {
         Runtime.getRuntime().exec("konsole");
    catch (IOException ex) {ex.printStackTrace();}this code opens the Linux konsole ; is the a method to append a command for Linux from java??
    Thanks

    OK
    this is what I am trying to do : by pressing a button
    in a JFrame I want to start Snort (the exact command
    is snort -c /etc/snort/snort.conf )
    What I want is the following: I press that button
    and the Konsole in Linux opens and that command to
    be executed I would just use the Process.getInputStream() method to retrieve what Snort said and display that in a JTextArea or something... why bother launching it in a terminal?
    I don't know if Snort is a daemon or what... if it's a daemon, you're not going to get much output from it... it'll fork itself into the background and exit.
    If it isn't a daemon, then you can either just redirect the output to a file, a la:
    konsole snort /etc/snort/snort.conf > /tmp/snort.outand do a "tail" sort of monitoring on the file. You could also just keep that process up in a different thread, and use a timer to periodically update the output into a JTextArea (this would also allow you to be notified when the process ended). Finally, you could wrap your command in a script and execute it that way.

Maybe you are looking for

  • How to restore a Library

    In maverick apple in there wisdom has made the user Library hidden. GREAT (@#$%). So now when in TimeMachine said folder is no longer viewable to restore.

  • Import Adress Book mobiles into Bento - Problem

    Hi I was trying to organize myself by importing some stuff to Bento.The problem I had was that some contacts have several phone numers (work home mobile) and Bento imported work and home. So i tried to create Mobile Phone as a field but the only thin

  • Updates prompts still show up after updates

    I updated twice. But it still shows up. Pay attention to the timestamps. Any idea?

  • [ID CS4 Mac] Extraer imágenes incrustadas de un archivo ID

    Pues la pregunta está hecha en el enunciado... ¿Como puedo Extraer imágenes incrustadas de un archivo ID?. Entiendo que Copiar > Pegar en un documento de photoshop puede resultar válido, pero... hay alguna función o script que lo haga?. Un saludo. Na

  • 10.5.2 Finder crashes every time

    Well, I updated 10.5.2 in hopes that it would fix many of my OS issues, but now I can't open a single file. When I click on any fonder my finder crashes. I have restarted many time, have tried to repair permissions to no avail...nothing is working. A