ECC6Ehp5 abap call OLE have error

Dear All,
     Our system from ECC5 upgrade to ECC6 Ehp5,Now we have some abap program cann't used it,We checked it,They are all call OLE write data to word.The program source code:
program zchangeword.
INCLUDE ole2incl .
DATA gs_word TYPE ole2_object . "OLE object handle
DATA gs_documents TYPE ole2_object .
DATA gs_actdoc TYPE ole2_object .
DATA gs_application TYPE ole2_object .
DATA gs_selection TYPE ole2_object .
DATA gs_bookmark TYPE ole2_object.
DATA gs_count TYPE ole2_object.
DATA gs_actwindow TYPE ole2_object.
DATA gs_actpane TYPE ole2_object.
DATA gs_view TYPE ole2_object.
DATA gs_font TYPE ole2_object.
DATA docpath TYPE string.
DATA l_dokst TYPE tdws-dokst.
docpath = 'c:\temp\20111124121443_TCDEV0101.doc'.
CREATE OBJECT gs_word 'WORD.APPLICATION' .
IF sy-subrc NE 0 .
MESSAGE 'Error while creating OLE object!' TYPE 'I'.
LEAVE PROGRAM .
ENDIF .
SET PROPERTY OF gs_word 'Visible' = '1' .
GET PROPERTY OF gs_word 'Documents' = gs_documents .
CALL METHOD OF
gs_documents
'Open'
EXPORTING
#1 = docpath.
GET PROPERTY OF gs_word 'ActiveDocument' = gs_actdoc .
CALL METHOD OF
gs_actdoc
'Unprotect'.
GET PROPERTY OF gs_actdoc 'Bookmarks' = gs_bookmark.
GET PROPERTY OF gs_bookmark 'Count' = gs_count.
GET PROPERTY OF gs_actdoc 'Application' = gs_application .
GET PROPERTY OF gs_application 'Selection' = gs_selection .
PERFORM replace USING 'Y0_NAME' 'TEST'.
PERFORM replace USING 'Y0_DATE' '2011.11.24'.
***关闭WORD文件
CALL METHOD OF
gs_actdoc
'Close'
EXPORTING
#1 = '-1'.
CALL METHOD OF
gs_word
'Quit'.
FREE OBJECT: gs_word,gs_documents,gs_actdoc,gs_application,gs_selection.&----*& Form replace
&----* text
----* -->P_FINDTEXT text
-->P_REPLACETEXT text
----FORM replace USING p_findtext
p_replacetext.
CALL METHOD OF
gs_selection
'GoTo'
EXPORTING
#1 = '-1'
#2 = 0
#3 = 0
#4 = p_findtext.
CALL METHOD OF
gs_selection
'MoveEnd'
EXPORTING
#1 = '5'
#2 = '1'.
CALL METHOD OF
gs_selection
'Delete'.
CALL METHOD OF GS_FIND 'ClearFormatting'.
CALL METHOD OF GS_FIND 'Execute'.
CALL METHOD OF
gs_selection
'TypeText'
EXPORTING
#1 = p_replacetext.
ENDFORM. " REPLACE
The code line "GET PROPERTY OF gs_word 'Documents' = gs_documents ."
If the ERP system is ECC5.0,the variable gs_documents can return value,
But  system is ECC6 Ehp5 the variable gs_documents cann't return value,Then the program cann't change the word file,Who can help me?

Dear GTREN ,
   We use sole checked OLE application:
WORD.BASIC
WORD97
WORDPRO.APPLICATION
They are all same ECC5.0 system.

Similar Messages

  • System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL,  Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo),

    Dear All,
    I am getting a below error while doing ehp6 installation on sybase (high availbility )
    can any one help me on this..?
    An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL,  Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
    Regards,
    Letz..

    Hello Mauricio.
    Thanks
    Two Thinks:
    1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
          A.- Execute sapinst
          B.- Installation option is chosen
                SAP NetWeaver CE Production Edition
                        Installation Options
                            High-Availability System
                                  Central Service  Instance (SCS)
           c.- System ID, Next and appear message error
    2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
    Thanks

  • I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

    I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

    I have an iphone 4s, and every time I call, I got error call.I tried putting the sim in another phone but it works well. What can I do?

  • Dear Sir, i have problem in my Iphone 5 that during receiving any calls always appeare message that error in application occurred please call support quoting error code 2907. I need to solve my problem

    Dear Sir, i have problem in my Iphone 5 that during receiving any calls always appeare message that error in application occurred please call support quoting error code 2907. I need to solve my problem.

    The problem this message always appeare when receiving the calls and requesting either accept or cancel.
    Can you advice me if i have wrong application or i need to remove some applications.

  • I have error in call report

    hi every body
    i need help in report9i
    after i was write all code
    to call report
    after call report this error comming
    'FRM-41213:Unable to connect to the report server rwservlet

    Hello Tareq,
    It appears that you have specifed the report server name to be used to run your report as 'rwservlet'. You need to specify the name of a Reports Server, not the reports servlet, to run your report from Forms.
    1. If you want to use a standalone server, you need to specify that report server's name in Forms.
    2. If you want to use the inprocess server started by rwservlet (initialzed on the first report run), you need to specify the reports server name as: rep_<machine_name>.
    Thanks,
    The Oracle Reports Team.

  • BAPI_ALM_ORDER_MAINTAIN error "BAPI call must have a SAVE or DIALOG method"

    I have this test code below that I have written to update the work duration on a work order to 5 hours using the BAPI BAPI_ALM_ORDER_MAINTAIN.  I however keep getting the error "BAPI call must have a SAVE or DIALOG method".  Can someone tell me what I am doing wrong
    data: begin of it_methods occurs 0.
            include structure bapi_alm_order_method.
    data: end of it_methods.
    data: begin of it_operation occurs 0.
            include structure bapi_alm_order_operation.
    data: end of it_operation.
    data: begin of it_operation_up occurs 0.
            include structure bapi_alm_order_operation_up.
    data: end of it_operation_up.
    data: begin of it_return occurs 0.
            include structure bapiret2.
    data: end of it_return.
    data: begin of it_et_numbers occurs 0.
            include structure bapi_alm_numbers.
    data: end of it_et_numbers.
    it_methods-refnumber = '0000040000020010'.
    it_methods-objecttype = 'OPERATION'.
    it_methods-method = 'CHANGE'.
    it_methods-objectkey = '0000040000020010'.
    append it_methods.
    it_operation-duration_normal =       '5'.
    append it_operation.
    it_operation_up-duration_normal =       'X'.
    append it_operation_up.
    call function 'BAPI_ALM_ORDER_MAINTAIN'
      tables
        it_methods              = it_methods
        it_operation            = it_operation
        it_operation_up         = it_operation_up
        return                  = it_return
        et_numbers              = it_et_numbers.
    call function 'BAPI_TRANSACTION_COMMIT'
         IMPORTING
           RETURN        = it_return.
    Edited by: Martin Kay on Mar 5, 2009 2:17 PM

    hello martin
    u have to use the save method for saving the contents
    in mehtod tabel u have to add method as save
    if ur  method internal table is it_method then
    it_method-method =  'save'.
    append it_method .
    and also in ur bapi code u have assigned wrong reference number
    reference number always should start from 1
    it_methods-refnumber  =  '0000001'
    not '0000000400123' which u have used for order number
    and after call of bapi u have to call
    bapi_transaction_commitn which u have used
    hope it solves ur problem

  • ABAP Web Dynpro iView error

    My ABAP Web Dynpro iView encouters errors:
    The URL http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo// was not called due to an error.
    Note
    The following error text was processed in the system SB2 : WebDynpro Exception: Error in UCF Template POPUP_PAGE ($).
    The error occurred on the application server sw06_SB2_04 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: RAISE of program CX_WD_GENERAL=================CP
    Method: RENDER_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_TEMPLATE of program CL_WDR_UCF====================CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP
    I was able to run the ABAP web dynpro application outside of portal by using the url: http://sp06:8004/sap/bc/webdynpro/sap/z_jgo_demo/. But with the extra / at the end, I get the same error.
    Can anyone point me to how to remove that extra / at the end?
    Thanks
    Ben

    Hi Gurus ,
    We have upgraded the SAP HR system from ECC6.3 to ECC6.4 and netweaver from 7.0 to 7.1 .
    Following are the list of error in EHP4 system ,
    1) Layout of ABAP Webdynpro Component are not displayed .
    2) Any ABAP WEBDYNPRO Application is not displayed by tesing in SAP-R3 and also in ESS .
    error are as follows while trying to view layout in abap webdynpro application :
    http://dv.hr.co.in:4567/sap/bc/wdvd/painting.html?_vdrespkey=4IS29CT7NDRIOI511AFI0R1E3&_vdframe=painting&sap-client=435
    If any one have information for this kindly let me know .
    Thanks :
    Vishwas

  • FTP to ABAP Proxy Scenario - getting error CO_TXT_CHANNEL_PASSWORD_ERROR

    We have transported PI and EP data from development server to respective production, every thing is running fine except the abap proxy scenarios i.e. PI reads file from ftp location and calls the abap proxy but we are getting following errors:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter
      -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">CO_TXT_CHANNEL_PASSWORD_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Unable to read user password from communication channel of type Error when accessing the secure store (access ID = FD768D4A8772DB50E1000000AC10041E) Error while reading from the secure store: ERROR_UNKNOWN: Cannot find entry in secure store (SECSTORE,023)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Any solution?
    Please note that I have searched and applied solutions given on SDN forums but didn't get any success. So I am looking for new suggestions.
    Regards,
    Jawed Ali

    Jawed ,
    Please test the HTTP destination of your receiver comm channel.
    Which is the RFC connection to your R3 system.
    Transaction SM59 and check the logon parameter for the connection you are using.
    Regards,

  • SSIS Package - An OLE DB error has occurred. Error code: 0x80040154.

    I am getting below error when i try to execute a package
    using batch file 
    Microsoft (R) SQL Server Execute Package Utility
    Version 9.00.1399.06 for 64-bit
    Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
    Started: 7:15:29 AM
    Progress: 2014-10-01 07:15:36.05
    Source: Data Flow Task 
    Validating: 0% complete
    End Progress
    Error: 2014-10-01 07:15:36.05
    Code: 0xC0202009
    Source: ADTM001_UPDATE_COSTS_TIU0560 Connection manager "Excel
    Connection Manager"
    Description: An OLE DB error has occurred. Error code: 0x80040154.
    An OLE DB record is available. Source: "Microsoft OLE DB
    Service Components" Hresult: 0x80040154 Description: "Class not registered".
    End Error
    Error: 2014-10-01 07:15:36.05
    Code: 0xC020801C
    Source: Data Flow Task Read Data From XLS [1]
    Description: The AcquireConnection method call to the connection
    manager "Excel Connection Manager" failed with error code 0xC0202009.
    End Error
    Error: 2014-10-01 07:15:36.05
    Code: 0xC0047017
    Source: Data Flow Task DTS.Pipeline
    Description: component "Read Data From XLS" (1) failed
    validation and returned error code 0xC020801C.
    I have tried to use 32 bit exe as well , But then i get below
    error , 
    Could not load package because of error 0xC0014062.
    Description: The LoadFromSQLServer method has encountered OLE
    DB error code 0x80004005 (An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections.). The SQL
    statement that was issued has failed.

    Hi Thanks for your reply, But the packages are already running under window authentication.
    Please suggest something.The url you have given as reference does not solve my issue
    I have tried to run 32 bit dtexec,  I get below error'
    Could
    not load package because of error 0xC0014062.
    Description:
    The LoadFromSQLServer method has encountered OLE DB error code 0x80004005 (An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server
    does not allow remote connections.). The SQL statement that was issued has failed.

  • After installation NetWeaver 7.01 ABAP Trial Version "Logon Error Message"

    Hello all,
    After a sucefull installation of NetWeaver 7.01 ABAP Trial Version and when i tried to acess sap through web browser i get the following error:
    Logon error message
    Service cannot be reached
    What has happened?
    URL http://localhost:8000/sap/bc/gui/sap/its/webgui call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system NSP with error code 403 and for the reason Forbidden.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:netweaver_NSP_00-v:0-s:403-r:Forbidden
    HTTP 403 - Forbidden
    With Sap Logon i can login correctly. Does anyone have an ideia how can i access through a web browser?
    Thanks
    Edited by: Pedro Bessa on Jul 7, 2009 12:17 AM

    thanks,
    thanks!
    I have done that:
    and activated: 'sap/bc/gui/sap/its/webgui right click on each relevant service and activate it'
    is it the only service to activate, because I have errors on the url : http://localhost:8000/sap/bc/gui/sap/its/webgui?sap-system-login-basic_auth=X&sap-client=000&sap-language=EN
    My Error:
    Note
    The following error text was processed in the system NSP : Template interpretation cancelled, syntax error.
    The error occurred on the application server shai1_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          SYSTEM-EXIT of program SAPLSMTR_NAVIGATION

  • The ABAP call stack was: SYSTEM-EXIT of program BBPGLOBAL

    Hi
    We are using SRM 5.0. We are facing a strange problem. We are able to see the initial screen of SRM EBP in the browser. But once the user name and password are provided the system goes for a dump with the following error:
    The following error text was processed in the system SS0 : System error
    The error occurred on the application server <Server Name> and in the work process 0 .
    The termination type was: ABORT_MESSAGE_STATE
    The ABAP call stack was: SYSTEM-EXIT of program BBPGLOBAL
    <b>SM21 Log:</b>
    Short Text
         Transaction Canceled &9&9&5 ( &a &b &c &d &e &f &g &h &i )
         The transaction has been terminated.  This may be caused by a
         termination message from the application (MESSAGE Axxx) or by an error
         detected by the SAP System due to which it makes no sense to proceed
         with the transaction.  The actual reason for the termination is
         indicated by the T100 message and the parameters.
    Transaction Canceled ITS_P 001 ( )
    Message Id: ITS_P
    Message No: 001
    I just checked these threads but did not help much,
    RABAX_STATE  error after loggin into BBPSTART service in SRM 4.
    ITS_TEMPLATE_NOT_FOUND error
    Besides I tried this note: 790727 as well, still I get the same error.
    Any help would be highly appreciated.
    Thanks in advance
    Kathirvel Balakrishnan

    Hi
    <u>Please do the following steps.</u>
    <b>When you are using the Internal ITS,you need not run the report W3_PUBLISH_SERVICES.(only SIAC_PUBLISH_ALL_INT )
    ALso pls check the foll:
    -->activate the services through SICF tcode.
    > Go to SICF transaction and activate the whole tree under the node Default host>sap>bc>gui>sap>its.
    >Also maintain the settings in SE80>utilities>settings>internet transaction server-->test service/Publish. (BBPSTART , BBPGLOBAL etc)
    Table TWPURLSVR should have entries for the / SRM server line as well as gui and web server.
    Could you please review again the following steps ?
    Did you check that ICM was working correctly (Transaction -  SMICM) ?
    1-Activate the necessary ICF services
    With transaction SICF and locate the
    services by path
    /sap/public/bc/its/mimes
    /sap/bc/gui/sap/its/webgui
    2- Publish the IAC Services
    With Transaction SE80 locate from
    the menu Utilities -> Settings ->
    Internet Transaction Server (Tab) ->
    Publish (Tab) and set “On Selected
    Site” = INTERNAL.
    3- Locate the Internet Services SYSTEM and WEBGUI.
    Publish these services with the Context
    Menu -> Publish -> Complete Service
    4- Browse to http://<server>:<icmport>/sap/bc/gui/
    sap/its/webgui/! and login to the
    webgui.</b>
    Hope this will help.
    Please reward suitable points.
    Regards
    - Atul

  • ABAP Objects, OLE & Cool:Gen

    Hello ABAP-ers,
    I have been messing around for a few hours now trying to get the right statements, but gettings desparate or better said angry, so Im posting this message in the hope to get some useful tips.
    For a customer I am developing an ABAP class which should make it possible to call a non SAP screen,  but a so-called Cool:Gen screen via OLE commands. In this screen some screenfields should be filled and a button should be pushed.
    The original coding from Cool:gen looks like this (which is programmed by a Cool:Gen programmer) :
    Create an instance of the application 'GINDA051'  and save a handle to the application in 'w_applicatie gui guiobject'
    SET w_applicatie gui guiobject TO CreateObject("GINDA051.Composer.Application")
    Determine the handle of the window in the application (there's only one) and save this in 'w_window gui guiobject'
    SET w_window gui guiobject TO w_applicatie gui guiobject.Windows().Item(1)
    Fill a number of fields with values
    w_window gui guiobject.Field("efiInterface").Value TO "Job1"
    w_window gui guiobject.Field("efiKey1").Value TO "PieceId"
    w_window gui guiobject.Field("efiValue1").Value TO "20070313000001"
    Trigger the Start button
    INVOKE w_window gui guiobject.Button("pbtStart").Click()
    My SAP coding so far looks like this:
    Including OLE types
      INCLUDE OLE2INCL.
    Tables and variables for later use
    DATA: APPLICATION TYPE OLE2_OBJECT.
    Create the object
    CREATE OBJECT APPLICATION 'GINDA051.Composer.application'.
    If I execute this code, the screen appears, but I cant get the screen fields filled, cause I dont know how to get a connection to the screen. I dont know how to translate the second statement to an ABAP statement and I dont know if I should a use the command to execute a method, of to fill a parameter.
    Filling one of the screen fields I guess would go via this statement, but it doesnt work.
    SET PROPERTY OF APPLICATION 'efiInterface' = 'taak1'.
    Well, I know that this is not an allday situation I am explaining and I can imagine that you thinks this is rather vague, but he Im trying anyway.
    Any tips would be greatly appreciated!
    Kind regards,
    Erik

    Hello,
    I found out which coding to use to get the functionality I needed, namely:
    - Calling a screen
    - Filling some fields in it
    - Executing a certain function (clicking a button)
    This is the code, maybe it will be of use for someone.
    Including OLE types
      INCLUDE OLE2INCL.
    Tables and variables for later use
      DATA: APPLICATION TYPE OLE2_OBJECT,
            WINDOW      TYPE OLE2_OBJECT,
            FIELD1      TYPE OLE2_OBJECT,
            FIELD2      TYPE OLE2_OBJECT,
            FIELD3      TYPE OLE2_OBJECT,
            BUTTON      TYPE OLE2_OBJECT.
    Stap 1
      CREATE OBJECT APPLICATION 'GINDA051.Composer.application'.
    Stap 2
    Handle naar scherm
      CALL METHOD OF APPLICATION 'CurrentWindow' = WINDOW.
    Veld 1
      CALL METHOD OF WINDOW 'Field' = FIELD1
        EXPORTING
        #1 = 'efiInterface'.
      SET PROPERTY OF FIELD1 'Value' = 'taak1'.
    Veld 2
      CALL METHOD OF WINDOW 'Field' = FIELD2
        EXPORTING
        #1 = 'efiKey1'.
      SET PROPERTY OF FIELD2 'Value' = 'depotstukId'.
    Veld 3
      CALL METHOD OF WINDOW 'Field' = FIELD3
        EXPORTING
        #1 = 'efiValue1'.
      SET PROPERTY OF FIELD3 'Value' = '20070313000001'.
    Handle naar button
      CALL METHOD OF WINDOW 'Button' = BUTTON
        EXPORTING
        #1 = 'pbtStart'.
      CALL METHOD OF BUTTON 'Click'.
      FREE OBJECT BUTTON.
      FREE OBJECT FIELD1.
      FREE OBJECT FIELD2.
      FREE OBJECT FIELD3.
      FREE OBJECT WINDOW.
      FREE OBJECT APPLICATION.

  • ABAP to Java - JCo error

    I followed all the instructions in Gregor's blog: /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    This is based on the Example5.java that comes bundled with JCo software. I was able to start the server, I was able to  successfully test my RFC destination, but when I actually run by ABAP program the return error is:
    JCO.Server could not find server function 'JCOSERVER01'
    I am running the java code on my local machine on eclipse. And in the console this is what I get after the call from the ABAP program:
    Server JCOSERVER01 changed state from [ STOPPED ] to [ STARTED ]
    Server JCOSERVER02 changed state from [ STOPPED ] to [ STARTED ]
    Server JCOSERVER02 changed state from [ STARTED ] to [ STARTED  LISTENING ]
    Server JCOSERVER01 changed state from [ STARTED ] to [ STARTED  LISTENING ]
    Server JCOSERVER01 changed state from [ STARTED  LISTENING ] to [ STARTED  LISTENING  BUSY ]
    Exception in server JCOSERVER01:
    com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not find server function 'JCOSERVER01'
    com.sap.mw.jco.JCO$Exception: (120) JCO_: JCO.Server could not find server function 'JCOSERVER01'
         at com.sap.mw.jco.rfc.MiddlewareRFC$Server.nativeListen(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Server.listen(MiddlewareRFC.java:1395)
         at com.sap.mw.jco.JCO$Server.listen(JCO.java:7067)
         at com.sap.mw.jco.JCO$Server.run(JCO.java:6996)
         at java.lang.Thread.run(Thread.java:534)
    Server JCOSERVER01 changed state from [ STARTED  LISTENING  BUSY ] to [ STARTED  LISTENING ]
    Server JCOSERVER01 changed state from [ STARTED  LISTENING ] to [ STARTED ]
    Server JCOSERVER01 changed state from [ STARTED ] to [ STOPPED ]
    Server JCOSERVER01 changed state from [ STOPPED ] to [ STARTED ]
    Server JCOSERVER01 changed state from [ STARTED ] to [ STARTED  LISTENING ]
    Server JCOSERVER01 changed state from [ STARTED  LISTENING ] to [ STARTED  LISTENING  BUSY ]
    Pls help!
    Thanks in adv
    gs

    Hi Prashil,
    I am getting the error when I am testing using the test program from the blog.
    Here it is:
    DATA: REQUTEXT LIKE SY-LISEL,
          RESPTEXT LIKE SY-LISEL,
          ECHOTEXT LIKE SY-LISEL.
    DATA: RFCDEST like rfcdes-rfcdest VALUE 'NONE'.
    DATA: RFC_MESS(128).
    REQUTEXT = 'HELLO WORLD'.
    RFCDEST = 'Z_TEST_ABAP_TO_JCO'. "corresponds to the destination name defined in the SM59
    CALL FUNCTION 'JCOSERVER01'
       DESTINATION RFCDEST
       EXPORTING
         REQUTEXT = REQUTEXT
       IMPORTING
         RESPTEXT = RESPTEXT
         ECHOTEXT = ECHOTEXT
       EXCEPTIONS
         SYSTEM_FAILURE        = 1 MESSAGE RFC_MESS
         COMMUNICATION_FAILURE = 2 MESSAGE RFC_MESS.
    IF SY-SUBRC NE 0.
        WRITE: / 'Call STFC_CONNECTION         SY-SUBRC = ', SY-SUBRC.
        WRITE: / RFC_MESS.
    ENDIF.
    Also I have created and successfully tested the RFC destination: "Z_TEST_ABAP_TO_JCO" with the program id: "JCOSERVER01".
    And "JCOSERVER01" is the name of one of the two servers started in the java program Example5.java.
    Thanks
    gs

  • FRF-00025  Unable to call function. Error message: Syntax error in program

    hi,
    when we try to import the export file,we are getting the following error in the 24th phase
    i.e., check DDIC Password.
    The Error is
    INFO       2007-10-29 15:53:20 [iaxxrfcimp.cpp:1017]
               CAbRfcImpl::callLibraryFunction
    Generating interface for remote function.
    TRACE      [iaxxrfcimp.cpp:1056]
               CAbRfcImpl::performFunctionCall
    Calling function module: INST_RFC_GET_INTERFACE
    WARNING[E] 2007-10-29 15:53:21 [iaxxrfcimp.cpp:1089]
               CAbRfcImpl::performFunctionCall
    FRF-00025  Unable to call function. Error message: Syntax error in program SAPLSUNI                                . .
    TRACE      [iaxxrfcimp.cpp:1090]
               CAbRfcImpl::performFunctionCall
    RFC failure or system exception raised
    TRACE      [iaxxrfcimp.cpp:1091]
               CAbRfcImpl::performFunctionCall
    Syntax error in program SAPLSUNI                                .
    TRACE      [iaxxbjsmod.cpp:657]
               CJSlibModule::showOkCancelBox_impl()
    <html>Test logon to SAP System I50 failed.<p>Make sure that the system is started, that the user DDIC exists and that the password of user DDIC is correct.</html>
    TRACE      [iaxxgenimp.cpp:1093]
               showDialog()
    waiting for an answer from gui
    What Could be the solution for this.
    waiting for ur reply
    SS

    Hi Friend,
    Please check whether or not there is view missing error recorded in dev_w0 trace file.
    if there is , you can try to follow this procedure in order to manually
    import the missing view definitions.
    All steps must be carried out with the <sid>adm user of the target
    system and from the install-directory:
    1. In the install-directory
    <sapinst_instdir>\...COPY\IMPORTT\SYSTEM\ABAP\ORA\UC\DB
    create a file SAPVIEW.cmd with the following content:
    tsk: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\SAPVIEW.TSK"
    icf: "
    <YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR"
    dcf: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL"
    dat: null
    dir: null
    ext: null
    Please make sure that all paths are written correctly (in one line) and
    the refered files are existant and readable. One exception:
    The SAPVIEW.TSK file is created with step 2.:
    2. Run from the command-line:
    R3load -ctf I
    <YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR <sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL SAPVIEW.TSK ORA -l SAPVIEW.log
    If there's a problem reading the 'SAPVIEW.STR' file, copy the
    file to the install directory and adapt the path accordingly.
    3. Run the view import by:
    R3load.exe -i SAPVIEW.cmd -dbcodepage <YOUR_CODE_PAGE> -l SAPVIEW.log
    -stop_on_error
    4. Check both the SAPVIEW.log and the SAPVIEW.TSK file whether all views
    have been created successfully.
    If 4. is okay, restart the central instance and check whether you are
    able to log on now. If yes, continue 'sapinst' by the option 'retry' or
    'continue old installation'.
    I Hope It can be helpful.
    With Best Regards
    Julia

  • The AcquireConnection method call failed with error code 0xC0202009.

    I've seen the previous threads on this (although maybe not all of them). However, i don't think I'm getting the error for the same reason. The full error I'm getting is:
    - Pre-execute (Error)
    Messages
    Error 0xc0202009: {F1B3B35C-FAE3-48F6-A169-4E4D8D99F9B6}: An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft JET Database Engine"  Hresult: 0x80004005  Description: "Unspecified error".
     (SQL Server Import and Export Wizard)
    Error 0xc020801c: Data Flow Task: The AcquireConnection method call to the connection manager "DestinationConnectionExcel" failed with error code 0xC0202009.
     (SQL Server Import and Export Wizard)
    Error 0xc004701a: Data Flow Task: component "Destination 64 - production_effectivities" (7042) failed the pre-execute phase and returned error code 0xC020801C.
     (SQL Server Import and Export Wizard)
    The entire package is running on one machine. The data source is SQL Server 2005 and the destination (this happens with both of them) is Excel or Access. Either way I cannot get the package which the wizard generated to run at all. This error occurs after the first table is exported. I'm running on WinXP SP2 with 2005 Developer and ALL components installed except analysis services.
    Anyone else have this problem or know the solution?
    Jeff

    I am getting the same error. My Destination and source both are on SQL Server 2005 on the same box.
    I am using SQL- Code for Source and and table as destination. When the package runnes under Transaction- TransactionOption-Supported then the packages excuted fine but it fails when i change the Transaction- TransactionOption to Required.
    It fails with following error code.
    [OLE DB Destination [22]] Error: The AcquireConnection method call to the connection manager "FMFCLSQADB01.DWH_Rakesh" failed with error code 0xC0202009.
    [DTS.Pipeline] Error: component "OLE DB Destination" (22) failed the pre-execute phase and returned error code 0xC020801C.
    [Connection manager "FMFCLSQADB01.DWH_Rakesh"] Error: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction.".
    [Connection manager "FMFCLSQADB01.DWH_Rakesh"] Error: An OLE DB error has occurred. Error code: 0x8004D00A.
    When i change the source SQL query to Table or View then it works fine.
    Thanks for any suggestion.
    Regards
    Rakesh
    Now, my issues related to “SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D00A "Unable to enlist in the transaction."…..”. are fixed.
    This is one of the very common errors that comes up in SSIS (SQL Server Integration service) 
    I have faced this issue for at-least two occasions. Both of them have one common setting: “TransactionOption” was set to “Required”.
    In first case, I had multiple dataflow tasks but there were no sequence given. There were no error if I ran the package with TransactionOption=Supported. But when I ran the package in TransactionOption= Required, it got failed.
    To fix the issue I have changed my package and put the entire dataflow task one after another (connected thru Constraint).  
    In another case, where I was doing data transfer from one server to another, I had to configure the MSDTC.

Maybe you are looking for