Error with triggering a external program

I used the following codes to trigger an external program, it worked fine for microsoft word but netmeeting seems to have a problem. I used a button to trigger it.
try {
Runtime cpRunTime = Runtime.getRuntime();
Process cpProcess = cpRunTime.exec("C:\\Program Files\\NetMeeting\\conf.exe");
catch (Exception ex) {
     ex.printStackTrace();
The following are the error, can anyone tell me what is wrong or perhaps a solution. The netmeeting program did load but my applet crashed.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D06353E
Function=Java_sun_print_Win32PrintJob_printRawData+0x1ACA
Library=C:\j2sdk14\jre\bin\awt.dll
Current Java thread:
at sun.awt.windows.Win32OffScreenSurfaceData.initSurface(Native Method)
at sun.awt.windows.Win32OffScreenSurfaceData.createData(Win32OffScreenSu
rfaceData.java:114)
at sun.awt.windows.WVolatileImage.createHWData(WVolatileImage.java:87)
at sun.awt.windows.WVolatileImage.initAcceleratedBackground(WVolatileIma
ge.java:99)
at sun.awt.image.SunVolatileImage.validate(SunVolatileImage.java:264)
at javax.swing.JComponent.paintDoubleBuffered(JComponent.java:4681)
at javax.swing.JComponent.paint(JComponent.java:794)
at java.awt.GraphicsCallback$PaintCallback.run(GraphicsCallback.java:21)
at sun.awt.SunGraphicsCallback.runOneComponent(SunGraphicsCallback.java:
60)
at sun.awt.SunGraphicsCallback.runComponents(SunGraphicsCallback.java:97
at java.awt.Container.paint(Container.java:1268)
at sun.awt.RepaintArea.paint(RepaintArea.java:180)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
at java.awt.Component.dispatchEventImpl(Component.java:3586)
at java.awt.Container.dispatchEventImpl(Container.java:1582)
at java.awt.Window.dispatchEventImpl(Window.java:1581)
at java.awt.Component.dispatchEvent(Component.java:3367)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:191)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:144)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Dynamic libraries:
0x00400000 - 0x00406000 C:\j2sdk14\bin\java.exe
0x77F80000 - 0x77FFB000 C:\WINNT\System32\ntdll.dll
0x77DB0000 - 0x77E0D000 C:\WINNT\system32\ADVAPI32.dll
0x77E80000 - 0x77F36000 C:\WINNT\system32\KERNEL32.DLL
0x77D30000 - 0x77DA1000 C:\WINNT\system32\RPCRT4.DLL
0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll
0x6D330000 - 0x6D445000 C:\j2sdk14\jre\bin\client\jvm.dll
0x77E10000 - 0x77E75000 C:\WINNT\system32\USER32.dll
0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL
0x77570000 - 0x775A0000 C:\WINNT\System32\WINMM.dll
0x6D1D0000 - 0x6D1D7000 C:\j2sdk14\jre\bin\hpi.dll
0x6D300000 - 0x6D30D000 C:\j2sdk14\jre\bin\verify.dll
0x6D210000 - 0x6D228000 C:\j2sdk14\jre\bin\java.dll
0x6D320000 - 0x6D32D000 C:\j2sdk14\jre\bin\zip.dll
0x6D000000 - 0x6D0F6000 C:\j2sdk14\jre\bin\awt.dll
0x77800000 - 0x7781E000 C:\WINNT\System32\WINSPOOL.DRV
0x76620000 - 0x76630000 C:\WINNT\system32\MPR.DLL
0x75E60000 - 0x75E7A000 C:\WINNT\System32\IMM32.dll
0x77A50000 - 0x77B45000 C:\WINNT\system32\ole32.dll
0x6D180000 - 0x6D1D0000 C:\j2sdk14\jre\bin\fontmanager.dll
0x728A0000 - 0x728A6000 C:\WINNT\System32\DCIMAN32.dll
0x0CE20000 - 0x0CF98000 C:\WINNT\System32\nvoglnt.dll
0x51000000 - 0x5104B000 C:\WINNT\System32\ddraw.dll
0x77920000 - 0x77943000 C:\WINNT\system32\imagehlp.dll
0x72A00000 - 0x72A2D000 C:\WINNT\system32\DBGHELP.dll
0x690A0000 - 0x690AB000 C:\WINNT\System32\PSAPI.DLL
Local Time = Sun Sep 15 23:38:46 2002
Elapsed Time = 6
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.0_01-b03 mixed mode)
# An error report file has been saved as hs_err_pid1520.log.
# Please refer to the file for further information.
#

Could anyone help me with this problem? Is there some additional codes to run the dll files?
Wong Kwai Wing

Similar Messages

  • SM69 error-Can't exec external program (Permission denied).with exit code 1

    Hi All,
    I am trying to execute UNIX script via creating commend line in SM69.
    But i am getting following error:
    "Can't exec external program (Permission denied)
    External program terminated with exit code 1"
    Can any one guide me what could be the cause of this error.
    Any Help will be appreciated.
    Thanks & Regards

    First use SU53, to see if you have all SAP-authoritys.
    But I think, you have no authority to execute UNIX-programs.
    or your UNIX-script is not executable?

  • Audio error with garageband and external usb audio interface

    I am using Garageband 2.0.3. under ios 8.0.2 on my iPad 3 and via camera adapter a USB audio interface Focusrite Scarlett 2i4 or a Presonus iTwo.
    When I start Garageband, it works well, the audio interfaces are recognized and I can record a track.
    As soon as I switch from instrumtent to track view, the audio path is completely disturbed and all I can hear is some noise from the speaker.
    Then I have to unplug the usb cable and plug it in again. Then audio works until I switch back to the instrument menu.
    When I use the headphone output only there is no problem with Garageband and everything works fine.
    Other applications audio applications don't show any error with each of the two audio interfaces.
    Any feedback is very much appreciated, thanks.
    Harald

    I have this exact issue.  However, I tried the Loopy app after after GB crashed and received an error message saying that core audio is not available.  Rebooting resolves but the problem repeats.  Any suggestions as to fixes?  Btw; I have no such problem with Ipad 2 and ios 7.

  • -10810 Finder error with FW 400 external drive

    I have an external drive with USB 2 and FW 400 connections. For years I've used it without any problems with the USB connection. Recently I've connected it using FW 400 and have repeatedly had the following problem:
    I am using files on an external drive (Mac OS Extended, Journaled) with a FW 400 connection when suddenly both the application I'm using and the Finder hang. I pick Force Quit from the Apple menu and in the list the app and the Finder both show up as not responding. I can force quit the app at that point but when I try to force relaunch the Finder it kills the finder rather than relaunching it. If I try to launch it from the Dock I get an error saying "The application Finder can't be opened -10810." After about 5 minutes I get an error message saying that I'd improperly disconnected my FW drive without ejecting it first (even though I neither ejected it nor disconnected it). At that point, the Finder relaunches and everything seems fine, though the FW drive (still plugged in and turned on) is now gone and doesn't appear in Disk Utility. If I unplug and turn off the FW drive and then plug it in again and turn it on again it will mount. Then the app that I was originally using relaunches on its own. At that point I can quit everything, eject everything, and restart without difficulty. Disk Utility finds nothing wrong with the external drive.
    Any idea what's going on and how to fix it?
    Obviously I could just go back to USB but I want to know what's going on.
    Thanks!
    Danny
    MacBook 4,1
    Mac OS X 10.6.8

    Firewire 800 is fully backwards compatible with Firewire 400. You need a "bilingual" firewire cable or adapter to plug the Firewire 400 drive in your Firewire 800 port.

  • RFC destination definition with non-unicode external program

    Hello All,
    we have one issue with our RFID system connecting to WM system (SWD). 
    For most functions, external RFID server/middleware makes RFC call to SAP system.  Means, from outside system to inside SAP.  This seems to be working fine.
    But in one case, SAP needs to print label to RFID printer.  In this case, SAP is calling external RFID server/middleware using RFC destination.  Means, from inside SAP to outside system.  This is failing.
    We think this has something to do with ECC60 being unicode system, and the RFC destination setup.  We define rfc destination "ZRFID_SSI" in SM59.  We define it same way as in as-is SSI 4.6B production system.  But in SWD ECC60 system, SM59 has more options.  We define as 'non-unicode' because target RFID server/middleware is non-unicode Windows server.  RFC destination is actually working ok.
    To send label to printer, SWD calls function ZFSSIRF202 with remote destination ZRFID_SSI.   Listener on RFID server/middleware will respond to function call.  This also seems to be working.  But then, RFID server/middleware cannot process the data from ZFSSIRF202, log says that data is "0".  (Actually, the first time SWD calls, log says 0 data, the 2nd time there is connection failure, the 3rd time it is 0 data, 4th time connection failure, etc, etc.)
    Compared with production environment, everything is the same, except that SAP is unicode system.  So, our suspicion is, that when ECC60 system sends data, it is encoded somewhat a little different than when SAP 46B system sends data.  I have similar experience with our other interface (XSI), also involving RFC desintion, but XML file exchange.  Here, ECC60 is encoding XML file with UTF-16, but SAP46B was encoding with UTF-8.
    Anyone know how to help ?

    Hi Jeongbae,
    as of NW 7.0 EhP2, it is possible to directly set the code page in SM59.
    In earlier releases, this is not possible.
    In general, SAP systems use the logon language (SY-LANGU)  to determine the code page, if this is available.
    Please check SAP note 788239.
    Please also have a look at SAP note 991572 for possible alternative settings, if SY-LANGU is not available.
    In addition I would recommend to have a look at SAP note 1021459.
    However in order to analyze the problem properly, you need to know the exact short dump text (via rfc trace).
    For XML processing, please read SAP note 1017101. UTF-16 should NOT be used in an XML file !
    Best regards,
    Nils Buerckel
    SAP AG

  • Errors with buttons and clearing program

    I have 3 errors in this program. How do I set up the text field for null (''')?
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    public class Calculator extends JFrame implements ActionListener {
       private JPanel panelAdder;
       private JLabel labela;
       private JLabel labelt;
       private JLabel labelr;
       private JTextField textFieldAmount;
       private JTextField textFieldTerm;
       private JTextField textFieldRate;
       private JTextField textFieldResult;
       private JTextField textFieldNull;
       private JButton buttonCalc;
       private JButton buttonClear;
       private JButton buttonExit;
    public void Calculator1() {
      initComponents();
      setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      setVisible(true);
      pack();
      // Add Listeners
      buttonCalc.addActionListener(this);
      buttonClear.addActionListener(this);
    public void actionPerformed(ActionEvent event) {
        Object source = event.getSource ();
         if (source == buttonCalc); {
            setResultValue();
         if (source == buttonClear); {
              newJTextFieldNull("");
    public void initComponents() {
    //Initialize Components
          panelAdder = new JPanel();
          labela = new JLabel("Amount");
          textFieldAmount = new JTextField();
          labelt = new JLabel("Term");
          textFieldTerm = new JTextField();
          labelr = new JLabel("Rate");
          textFieldRate = new JTextField();
          textFieldResult = new JTextField();
          buttonCalc = new JButton("Calculate");
          JTextField amountField = new JTextField("");
          buttonClear = new JButton("Clear");
          buttonExit =  new JButton("Exit");
    //Set Object Attributes
    textFieldResult.setEditable(false);
    textFieldResult.setColumns(8);
    textFieldAmount.setColumns(6);
    textFieldTerm.setColumns(2);
    textFieldRate.setColumns(2);
    Container contentPane = getContentPane();
    contentPane.setLayout(new FlowLayout());
    //Lets add the components to the panel
    panelAdder.add(labela);
    panelAdder.add(textFieldAmount);
    panelAdder.add(labelt);
    panelAdder.add(textFieldTerm);
    panelAdder.add(labelr);
    panelAdder.add(textFieldRate);
    panelAdder.add(buttonCalc);
    panelAdder.add(textFieldResult);
    panelAdder.add(buttonClear);
    panelAdder.add(buttonExit);
    contentPane.add(panelAdder);
    setVisible(true);
    private void setResultValue() {
       double amount = Double.parseDouble (textFieldAmount.getText());
       double rate = Double.parseDouble (textFieldRate.getText());
       double term = Integer.parseInt(textFieldTerm.getText());
       double result = amount * ( rate * Math.pow ( ( 1 + rate ), term ) ) / ( Math.pow( ( 1 + rate ), term ) - 1 );
       textFieldResult.setText(Double.toString(result));
    public static void main(String[] args) {
      Calculator frame = new Calculator();
    }The error is:
    line 38: cannot find symbol newJTextFieldNull(''');

    You're trying to call a method that doesn't exist.
    1) You either have to do something different or create the method.
    2) You need to learn to believe what the compiler is telling your. The answer is in the error message.
    3) Your class also doesn't have a constructor.

  • Error with small sap script program

    REPORT  ZFORM1                                  .
    TABLES : ZGTABLE.
    types:begin of warea,
          trackid type zgtable-trackid,
          artist type zgtable-artist,
          end of warea.
    data:itable like zgtable occurs 0 with header line.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    *   APPLICATION                       = 'TX'
    *   ARCHIVE_INDEX                     =
    *   ARCHIVE_PARAMS                    =
    *   DEVICE                            = 'PRINTER'
       DIALOG                            = 'X'
       FORM                              = 'ZFORM1'
       LANGUAGE                          = SY-LANGU
    *   OPTIONS                           =
    *   MAIL_SENDER                       =
    *   MAIL_RECIPIENT                    =
    *   MAIL_APPL_OBJECT                  =
    *   RAW_DATA_INTERFACE                = '*'
    * IMPORTING
    *   LANGUAGE                          =
    *   NEW_ARCHIVE_PARAMS                =
    *   RESULT                            =
    * EXCEPTIONS
    *   CANCELED                          = 1
    *   DEVICE                            = 2
    *   FORM                              = 3
    *   OPTIONS                           = 4
    *   UNCLOSED                          = 5
    *   MAIL_OPTIONS                      = 6
    *   ARCHIVE_ERROR                     = 7
    *   INVALID_FAX_NUMBER                = 8
    *   MORE_PARAMS_NEEDED_IN_BATCH       = 9
    *   SPOOL_ERROR                       = 10
    *   CODEPAGE                          = 11
    *   OTHERS                            = 12
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'MAIN'
    *   FUNCTION                       = 'SET'
    *   TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    * IMPORTING
    *   PENDING_LINES                  =
    * EXCEPTIONS
    *   ELEMENT                        = 1
    *   FUNCTION                       = 2
    *   TYPE                           = 3
    *   UNOPENED                       = 4
    *   UNSTARTED                      = 5
    *   WINDOW                         = 6
    *   BAD_PAGEFORMAT_FOR_PRINT       = 7
    *   SPOOL_ERROR                    = 8
    *   CODEPAGE                       = 9
    *   OTHERS                         = 10
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    * IMPORTING
    *   RESULT                         =
    *   RDI_RESULT                     =
    * TABLES
    *   OTFDATA                        =
    * EXCEPTIONS
    *   UNOPENED                       = 1
    *   BAD_PAGEFORMAT_FOR_PRINT       = 2
    *   SEND_ERROR                     = 3
    *   SPOOL_ERROR                    = 4
    *   CODEPAGE                       = 5
    *   OTHERS                         = 6
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Inside sapscript:
    /E MAIN
    P1 <B> Track id : </> &ITABLE-TRACKID&
    P1 <B> Artist   : </> &ITABLE-ARTIST&
    output:
    Trackid : 00000000000
    Artist  :
    Why the output is like that? I expect the output to be first record of the table.Please help me.

    Where is loop ( Internal table ),Just see the bold code
    REPORT  ZFORM1                                  .
    TABLES : ZGTABLE.
    <b>data : begin of itable occurs 0,
              trackid type zgtable-trackid,
              artist type zgtable-artist,
             end of itable .</b>
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
      APPLICATION                       = 'TX'
      ARCHIVE_INDEX                     =
      ARCHIVE_PARAMS                    =
      DEVICE                            = 'PRINTER'
       DIALOG                            = 'X'
       FORM                              = 'ZFORM1'
       LANGUAGE                          = SY-LANGU
      OPTIONS                           =
      MAIL_SENDER                       =
      MAIL_RECIPIENT                    =
      MAIL_APPL_OBJECT                  =
      RAW_DATA_INTERFACE                = '*'
    IMPORTING
      LANGUAGE                          =
      NEW_ARCHIVE_PARAMS                =
      RESULT                            =
    EXCEPTIONS
      CANCELED                          = 1
      DEVICE                            = 2
      FORM                              = 3
      OPTIONS                           = 4
      UNCLOSED                          = 5
      MAIL_OPTIONS                      = 6
      ARCHIVE_ERROR                     = 7
      INVALID_FAX_NUMBER                = 8
      MORE_PARAMS_NEEDED_IN_BATCH       = 9
      SPOOL_ERROR                       = 10
      CODEPAGE                          = 11
      OTHERS                            = 12
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    <b>select  track id artist from zgtable into table itable.
    if sy-subrc ne 0.
    *message
    endif.
    loop at itable .
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'MAIN'
      FUNCTION                       = 'SET'
      TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    clear itable.
    endif.</b>
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
      RESULT                         =
      RDI_RESULT                     =
    TABLES
      OTFDATA                        =
    EXCEPTIONS
      UNOPENED                       = 1
      BAD_PAGEFORMAT_FOR_PRINT       = 2
      SEND_ERROR                     = 3
      SPOOL_ERROR                    = 4
      CODEPAGE                       = 5
      OTHERS                         = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Thanks
    Seshu

  • SM69-Can't exec external program ( External program terminated with ecode1)

    Hi All,
    Client requirement is to Move File from Presentation Server to Application Server.
    I am executing UNIX script on AIX OS via SM69.
    But I am getting the  following error:
    Can't exec external program (No such file or directory)
    External program terminated with exit code 1
    Also getting same error with FM-SXPG_COMMAND_EXECUTE .
    Below is the code..
    data: l_exitcode type btcxpgexit,
            l_parms type btcxpgpar,
            l_status type btcxpgstat.
    data: lt_protocol type standard table of btcxpm,
            l_protocol type btcxpm.
    concatenate 'C:\Venkat1\PARBIND.BMP'
                          'D:\Venkat2\PARBIND.BMP'
                          into l_parms
                          separated by space.
    * External command:
    * - Unix - mv
    call function 'SXPG_COMMAND_EXECUTE'
      exporting
        commandname                   = 'Z_MV'
        additional_parameters         = l_parms
      importing
        status                        = l_status
        exitcode                      = l_exitcode
      tables
        exec_protocol                 = lt_protocol
      exceptions
        no_permission                 = 1
        command_not_found             = 2
        parameters_too_long           = 3
        security_risk                 = 4
        wrong_check_call_interface    = 5
        program_start_error           = 6
        program_termination_error     = 7
        x_error                       = 8
        parameter_expected            = 9
        too_many_parameters           = 10
        illegal_command               = 11
        wrong_asynchronous_parameters = 12
        cant_enq_tbtco_entry          = 13
        jobcount_generation_error     = 14
        others                        = 15.
    if sy-subrc ne 0
    endif.
    Can any one guide what is the cause of error....
    Any help will be appreciated.
    Regards
    Arbind

    Hi Paul,
    Thanks.
    But still Basis Consultants are telling it is correct from there side.
    Is there any other way to move files from Presentaion Server to Application Server in Background Processing.
    I have used CL_GUI_FRONTEND_SERVICES=>FILE_COPY
    It is working fine in Foreground but in Background Proceesing, it is not working.
    Can u provide any solution ?
    Thanks
    Arbind

  • SM69-Can't exec external program (Exec format error)

    Hi All,
    I am executing UNIX script on HP-UX system via SM69.
    But getting following error:
    u201CCan't exec external program (Exec format error)
    External program terminated with exit code 1u201D
    Also getting same error with FM-SXPG_COMMAND_EXECUTE & SXPG_COMMAND_EXECUTE
    Can any one guide what is the cause of error.
    Any help will be appreciated.
    Regards

    Check the Sample program. You can test or check the Unix commands using the below program.
    You can use the commands Like LS to list all the files.
    REPORT ZUNIX line-size 400
                    no standard page heading.
    data: unixcom like   rlgrap-filename.  
    "7 full perimission to read
    "7 full permission to change
    "7 full permission to delete
    unixcom = 'CHMOD 777 fillfullpath'.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].

  • Error in External programe

    Dear All,
    We are facing error in one of external programe; which is included in one of step of a job. the programe is 'sleep' which is resposible for inserting delay in job e.g. 300 sec. the value 300 is the parameter for the external programe.
    when we run the job this program doesnt stop. keep on giving delay in job. or else in other job it doesnt run .... can any budy suggest hte troubleshooting of the same.
    Thanks in advanse.
    <b>Regards,</b>
    Swapnil Lakhe

    Hello Swapnil,
    The most probable reason that I get from the description is that the counter is never passed back to the job control.
    What you can do as an alternative is write an simple ABAP to loop for 300 secs and then write an message Like "Completed or finished" and enter this ABAP program as an step instead of the External program.
    This should work 100 %.
    Regards
    Amit

  • BAPI_TRIP_CREATE_FROM_DATA works in SE37, but not from external program

    BAPI_TRIP_CREATE_FROM_DATA works in SE37, but gives error when calling from external program.
    The error is "Deserialisation failed". I have the WSDL generated by a Web Service wizard in SE 37,
    so there should not be any problem like element name or case(upper/lower) mismatch etc. I populate all mandatory fields.
    I am using the web service created by wizard in a InfoPath form.
    This is the exact error:
    The SOAP response indicates that an error occurred:
    Deserialisation failed

    Thanks for this pointer. I downloaded the code and looked at the same. It very useful as conceptual and coding guidance. However, there are many BAPis working in our product already, only a few return the same error "Deserialisation failed" The sample you pointed out uses BAPI_FLTRIP_CREATE but we have problem with the following BAPIs:
    BAPI_TRIP_CREATE_FROM_DATA
    BAPI_ADDRESSEMP_CREATE
    BAPI_FAMILY_CREATE
    All of them give error similar to following:
    Deserialisation failed
    <detail>
        <n0:SimpleTransformationFault xmlns:n0="http://www.sap.com/transformation-templates">
                    <MainName>/1BCDWB/WSS0071212021944898000</MainName>
                    <ProgName>/1BCDWB/WSS0071212021944898000</ProgName>
                    <Line>170 </Line>
                    <Valid>X</Valid>
                    <ReferenceFault>
                                    <DescriptionText>Error accessing the ref. node 'EMPLOYEENUMBER'</DescriptionText>
                                    <RefName>EMPLOYEENUMBER</RefName>
                    </ReferenceFault>
                    <Caller>
                                    <Class>CL_SRG_RFC_PROXY_CONTEXT</Class>
                                    <Method>IF_SXML_PART~DECODE</Method><Positions>1 </Positions>
                    </Caller>
       </n0:SimpleTransformationFault>
    </detail>
    Any more suggestions are most welcome and highly appreciated.

  • Error Message: External program terminated with exit code 2

    Hi ALL
    We are doing REORG tablespace in DB13 and i am getting below error message. Please help us to resolve the issue.
    20100430     113234     DB6PM     000     Reorg_Tbspc:Command DB6CLP failed on server
    20100430 103959 DB6PM 000 Reorg_Tbspc:Exitcode:Error
    20100430 103959 DB6PM 000 Reorg_Tbspc:ERRORMESSAGE: An SQL error occured. Will print output of the command
    20100430 103959 DB6PM 000 Reorg_Tbspc:External program terminated with exit code 2
    20100430 103959 DB6PM 000 REASON=C call failed
    Regards
    K.Gunasekar
    Edited by: KGUNASEKAR on Apr 30, 2010 6:55 AM

    Exitcode 2, if returned from the OS, means "No such file or directory". Note that as of SAP kernel release 7, you usually do not have DB6CLP any more. Can you check if the executable is available in the SAP exe directory ?
    If running SAÜ kernel 700 or higher, I suggest to apply a recent SP level.
    Malte

  • Returning Error Status back from Form to external program

    Question,
    I am trying to run a form essentially from the command line. I need to programatically catch any error codes that might have occured in the form by an external program. I can find nothing about returning errors back from the form or how to display it.
    Any assistance is appreciated.
    Andy Hendrickson
    null

    Hello Andreas,
    Ah, sorry, there was so much talk about user decisions that I assumed you were using a standard decision task.
    Still, I would be extra careful of changing the way workflow usually works because you have an unknown target audience that are based on the standard.
    The standard SAP philosophy is quite simple: cancel/F3 or do nothing and it stays reserved. If you do not want it reserved, you need to perform an action. This is based on a majority of processes: in most cases when you execute a work item you will also be the one who is going to completed it. Replacing it is the lesser used of the two alternatives, therefore it is the only one that requires an action on the part of the user.
    Again, this is intended as constructive input. Strange quirks and unusual behaviour tend to add a black mark to software if they do not make things easier to use. In many environments users are not even aware of the reserve/replace business, so there you would be adding an additional layer of complexity.
    Personally I would find an exit popup annoying as a regular workflow user - regular decisions can be approved with one click, or I can back out with a single click if I need to make a phone call or look up some info before approving - but with this new-fangled thing I've got an extra button to click and an extra thing to think about. This is especially the case in a payment approval scenario where you may have users in some departments who may approve hundreds of payments each week.
    My suggestion would be to leave it like that. By all means put an option into the user decision to put it back or to 'un-reserve' it (and loop round if the user chooses it). That way you are adding value and not clicks.
    Cheers,
    Mike

  • When I tgry to drop a video from the main screen to a time line with no secuence i receive an error with no number, just tell me the progran stop working and the program closes can you help me please

    please someone who help me please
    when I tgry to drop a video from the main screen to a time line with no secuence i receive an error with no number, just tell me the progran stop working and the program closes

    You need to help us first ...
    Computer specs:
    OS, CPU, RAM, GPU, vRAM ... and also disc layout & connections can be useful (as in, "2 internal hard-drives and an external on Thunderbolt connection for exports")
    Program specs:
    Specific build of Premier Pro from the bottom of the "About" splash screen off the "Help" menu is best.
    Footage file type: MXF, AVCHD, MOV, m2s, what?
    Even the camera it was shot on can be of interest at times.
    And did you use media browser to import, then project panel to drag & drop?
    Neil

  • FUNCTION SXPG_COMMAND_EXECUTE External program terminated with exit code 2

    HI,
    I am using the below Function Module
    gv_ap = '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox'
    CALL FUNCTION 'SXPG_COMMAND_EXECUTE'                 
          EXPORTING                                       
               commandname                   = 'Z_LS'     
               additional_parameters         = gv_ap      
          TABLES                                          
               exec_protocol                 = t_fich     
          EXCEPTIONS                                      
               no_permission                 = 1          
               command_not_found             = 2          
               parameters_too_long           = 3          
               security_risk                 = 4          
               wrong_check_call_interface    = 5          
               program_start_error           = 6          
               program_termination_error     = 7          
               x_error                       = 8          
               parameter_expected            = 9          
               too_many_parameters           = 10         
               illegal_command               = 11         
               wrong_asynchronous_parameters = 12         
               cant_enq_tbtco_entry          = 13         
               jobcount_generation_error     = 14         
               OTHERS                        = 15.        
    with this folder '/nfs/ficheiros/FicheiroExtraccaoSIF/outbox' return the error:
    /nfs/ficheiros/FicheiroExtraccaoSIF/outbox not found and
    External program terminated with exit code 2
    but if i map other directory the function return the files and folders that directory have.
    Anyone could help me.
    Thanks and Regards.
    Eduardo Paiva

    Hi,
    Yes i have read access to this directory and the command 'Z_LS' exists.
    Best Regards,
    Eduardo Paiva

Maybe you are looking for

  • Document Class {add image library + preloader}

    Hi there, I'm learning AS3 and want to use a document class to control my Flash movie (i.e. I want the time line to be completely empty). I've run into two problems. 1.) I have a large image in the Flash library which I setup with "Export for ActionS

  • Macbook Air Screen Scrolling

    Hi, I'm new to Macs but absolutely love my Macbook Air.  When I am browsing the web and atempt tp scroll down using the down arrow key, the key initially scrolls down but then jumps back up to the top of the page.  Am I doing something sill? Mike

  • Music did not burn to CD

    I made a movie with imovie and then burned it to a DVD using iDVD. When I did the preview the music did play with the movie but when I burned it the music did not stick. How can I fix that and why did that happen?

  • Open with command not working in yosemite properly

    I want to open images into adobe photoshop (either photoshop CC or Elements) using 'open with' command but i get an error message screen instead. This has only happened since i upgraded to Yosemite. ALSO If i try and 'open with' to Perfect Photo Suit

  • OWB Installation & Repository Configration

    Hi All, I have OWB installed on windows envirnment and my database (Oracle 10gR2) is on Solaris. I am tying to configure the repository in Oracle database. In order to do that, it prompts me a message asking to have OWB software with the compatible v