Rfc Library Call to SXMI_XMB_SYSLOG_READ : INVALID_DATE_TIME error

I have a distributed NetWeaver 2004S Environment: Main SAP Instance and Database are located in a CST Time Zone on the same machine. A dialog SAP instance, installed on an HP-UX Itanium Host, is located in a PST Time Zone, but, the system clock set for CST time - 2 hours behind the main SAP instance host system clock time.
My application is installed on the HP-UX Itanium Host and connects to the local (dialog) SAP instance, and makes RFC library calls to collect data. For Syslog data, the RfcCallReceive call is made to function SXMI_XMB_SYSLOG_READ with all the required input parameters. This call succeeds for the first time, but, fails all subsequent times if the call is repeated at 1 minute interval. Following error message is returned:
gid:105 key:INVALID_DATE_TIME
The date times on start and stop times are correct - they match very well with the system clock time.
Now, if I increase the repetition interval from 1 minute to 5 minute, the Rfc call to the function SXMI_XMB_SYSLOG_READ succeeds for the repeated calls.
Please note that the Rfc application was compiled on an HP PA-RISC development machine, and, uses ARIES emulator to run on HP Itanium Host.
There is another piece of information I can provide here if that helps: I am able to make 1 minute spaced repeated Rfc call to SXMI_XMB_SYSLOG_READ function with success on a PA-RISC dialog instance of another SAP deployment that has the main SAP instance plus database on one machine in a CST time zone, and, the dialog SAP instance hosting the application on PA-RISC host on a different machine, but, in the same CST time zone.

Hi Manoj,
The Application and the dialog instance are on the same machine - HP-UX IA64. This is what TZ has on this host
TZ=CST6CDT
How do I synchronize the application and the SAP dialog instance  - they are located on the same physical machine?
The main instance and the database are on another machine - SunOS5.10 sparc. This is what TZ has on that host
TZ=US/Central
The date on HP-UX IA64 (dialog instance) is
date
Fri Nov 21 13:13:35 CST 2008
The date on SunOS5.10 sparc (Main Instance + Database) is
date
Fri Nov 21 13:13:35 CST 2008
Please note that the dialog instance and the main instance are located geographically in PST and CST time zones - being 2 hours apart.
I appreciate very much your effort. Looking forward to the follow-up.
Thanks

Similar Messages

  • Itanium: Rfc call for SXMI_XMB_SYSLOG_READ fails Error INVALID_DATE_TIME

    I have a distributed NetWeaver 2004S Environment: Main SAP Instance and Database are located in a CST Time Zone on the same machine. A dialog SAP instance, installed on an HP-UX Itanium Host, is located in a PST Time Zone, but, the system clock set for CST time - 2 hours behind the main SAP instance host system clock time.
    My application is installed on the HP-UX Itanium Host and connects to the local (dialog) SAP instance, and makes RFC library calls to collect data. For Syslog data, the RfcCallReceive call is made to function SXMI_XMB_SYSLOG_READ with all the required input parameters.  This call succeeds for the first time, but, fails all subsequent times if the call is repeated at 1 minute interval. Following error message is returned:
    gid:105 key:INVALID_DATE_TIME
    The date times on start and stop times are correct - they match very well with the system clock time.
    Now, if I increase the repetition interval from 1 minute to 5 minute, the Rfc call to the function SXMI_XMB_SYSLOG_READ  succeeds for the repeated calls.
    Please note that the Rfc application was compiled on an HP PA-RISC development machine, and, uses ARIES emulator to run on HP Itanium Host.
    There is another piece of information I can provide here if that helps: I am able to make 1 minute spaced repeated Rfc call to  SXMI_XMB_SYSLOG_READ function with success on a PA-RISC dialog instance of another SAP deployment that has the main SAP instance plus database on one machine in a CST time zone, and, the dialog SAP instance hosting the application on PA-RISC host on a different machine, but, in the same CST time zone.

    Hi Manoj,
    The Application and the dialog instance are on the same machine - HP-UX IA64. This is what TZ has on this host
    TZ=CST6CDT
    How do I synchronize the application and the SAP dialog instance  - they are located on the same physical machine?
    The main instance and the database are on another machine - SunOS5.10 sparc. This is what TZ has on that host
    TZ=US/Central
    The date on HP-UX IA64 (dialog instance) is
    date
    Fri Nov 21 13:13:35 CST 2008
    The date on SunOS5.10 sparc (Main Instance + Database) is
    date
    Fri Nov 21 13:13:35 CST 2008
    Please note that the dialog instance and the main instance are located geographically in PST and CST time zones - being 2 hours apart.
    I appreciate very much your effort. Looking forward to the follow-up.
    Thanks

  • I am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    i am trying to generate purchase order and i create a BAPI also which is active.
    But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".

    Hi,
    Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
    This is my CODE-
    FUNCTION ZBAPIPOTV2.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(POHD) TYPE  ZPOHD OPTIONAL
    *"     VALUE(POITEM) TYPE  ZPOITEM OPTIONAL
    *"  TABLES
    *"      RETURN STRUCTURE  BAPIRET1 OPTIONAL
    data: ls_pohd type bapimepoheader,
             ls_pohdx TYPE bapimepoheaderx,
             lt_poit TYPE TABLE OF bapimepoitem,
             lt_poitx TYPE TABLE OF bapimepoitemx,
             ls_poit TYPE bapimepoitem,
             ls_poitx TYPE bapimepoitemx.
       MOVE-CORRESPONDING pohd to ls_pohd.
       MOVE-CORRESPONDING poitem to ls_poit.
       ls_pohdx-comp_code = 'x'.
       ls_pohdx-doc_type = 'x'.
       ls_pohdx-vendor = 'x'.
       ls_pohdx-purch_org = 'x'.
       ls_pohdx-pur_group = 'x'.
       ls_poit-po_item = '00010'.
       APPEND ls_poit to lt_poit.
       ls_poitx-po_item = '00010'.
       ls_poitx-po_itemx = 'x'.
       ls_poitx-material = 'x'.
       ls_poitx-plant = 'x'.
       ls_poitx-quantity = 'x'.
       APPEND ls_poitx to lt_poitx.
    CALL FUNCTION 'BAPI_PO_CREATE1'
       EXPORTING
         POHEADER                     = ls_pohd
        POHEADERX                    =  ls_pohdx
    *   POADDRVENDOR                 =
    *   TESTRUN                      =
    *   MEMORY_UNCOMPLETE            =
    *   MEMORY_COMPLETE              =
    *   POEXPIMPHEADER               =
    *   POEXPIMPHEADERX              =
    *   VERSIONS                     =
    *   NO_MESSAGING                 =
    *   NO_MESSAGE_REQ               =
    *   NO_AUTHORITY                 =
    *   NO_PRICE_FROM_PO             =
    *   PARK_COMPLETE                =
    *   PARK_UNCOMPLETE              =
    * IMPORTING
    *   EXPPURCHASEORDER             =
    *   EXPHEADER                    =
    *   EXPPOEXPIMPHEADER            =
      TABLES
        RETURN                       = return
        POITEM                       = lt_poit
        POITEMX                      = lt_poitx
    *   POADDRDELIVERY               =
    *   POSCHEDULE                   =
    *   POSCHEDULEX                  =
    *   POACCOUNT                    =
    *   POACCOUNTPROFITSEGMENT       =
    *   POACCOUNTX                   =
    *   POCONDHEADER                 =
    *   POCONDHEADERX                =
    *   POCOND                       =
    *   POCONDX                      =
    *   POLIMITS                     =
    *   POCONTRACTLIMITS             =
    *   POSERVICES                   =
    *   POSRVACCESSVALUES            =
    *   POSERVICESTEXT               =
    *   EXTENSIONIN                  =
    *   EXTENSIONOUT                 =
    *   POEXPIMPITEM                 =
    *   POEXPIMPITEMX                =
    *   POTEXTHEADER                 =
    *   POTEXTITEM                   =
    *   ALLVERSIONS                  =
    *   POPARTNER                    =
    *   POCOMPONENTS                 =
    *   POCOMPONENTSX                =
    *   POSHIPPING                   =
    *   POSHIPPINGX                  =
    *   POSHIPPINGEXP                =
    *   SERIALNUMBER                 =
    *   SERIALNUMBERX                =
    *   INVPLANHEADER                =
    *   INVPLANHEADERX               =
    *   INVPLANITEM                  =
    *   INVPLANITEMX                 =
    ENDFUNCTION.
    i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". 

  • Installation Error - SAP Unicode RFC Library Not Found

    Out of approxoimately two dozen successful client installations of the BObj Integration Kit for SAP Solutions (SP2), I have one user who gets this error:  "The SAP Unicode RFC Library could not be found.  This library is available as a part of the SAP Frontend, which is a pre-requisite for the installation of this software.  Please install 'Unicode RFC Libraries' feature in SAP GUI Installer 710 installer, then re-run this setup."
    The problem is that this user is running the exact same Integration Kit installation on top of the the exact same SAPGUI installation that has generated successful results for all other client installs on our team.  Why would this probelm be happening for one particular user?  (Problem is happening on a Windows XP client system, but as I've mentioned, all other installs on a Windows XP client have been fine.)
    I've reviewed OSS Note 1372466, but it indicates that the problem resides on the SAPGUI server side.  Regardless, I have only one client generating this error out of many what appeared to be identical clients that installed successfully.
    Any ideas would be much appreciated.
    Thanks,
    Josh

    Thanks, Ingo.  A missing librfc32u.dll file seemed to be the problem.  Interestingly, the problematic client had this dll in a couple of places, but not in the c:\WINDOWS\System32 directory.  Why that dll wasn't in the right place for one particular client is a question for a different forum.
    Thanks,
    Josh

  • 'Classic' RFC library - password limited for rfc calls ?

    Hi ,
    we are using the 'classic'  RFC library to connect  to SAP for calling RFC function modules. Due to the fact that there are often older SAP systems involed, we use only passwords with 8 digits. But now we have the requirement to use passwords for the rfc user with more than 8 digits.  According to my todays knowlede, the password is limited to 8 digits with the standard rfc lib.
    Can the newer SAP NW RFC lib handle a password with more than 8 digits ?
    But  am i right that the SAPNW RFC lib is unable to handle rfc calls with opening a SAPGUI ?
    thx
    Heike

    Hi,
    thank you for your answer!
    I have investigated something new yesterday:
    I thought at the beginning, that the problem just occurs, when the system work processes are reached. The system has for example set up 15 dialog processes and the external server is calling the function 20 times in parallel. Then we normally need 5 dialog processes more. The system is taking then all 15 dialog processes and the locks got stucked.
    That means, that I´ll maybe only get 4 or 5 uploads, which have really been updated the tables. All the others couldn´t get the table locked for their process.
    But if I now let the server call the function just about 13 times in parallel, nearly all uploads have been updated the table!
    From my point of view, the lock from SAP gets stucked, when the limit of dialog processes is reached. It´s not working in the right way anymore...
    The same is happening, when you set up in the system, that only 10 work proecesses can be used by RFC. If I have more than 10, it´s going to be critical with the locks....
    WEIRD!
    Can anybody help me out of trouble?
    Thank you!

  • RFC Problem:"I::001 Only available with the RFC library from 4.0C onwards."

    Hello,
    Ihave a VBA code that calls a BAPI via RFC to checkout a document. The Problem is that I get an error like in the subject. Here is my Code
    Private Declare Sub RfcAllowStartProgram Lib "librfc32.dll" (value As Any)
    Sub checkout_file()
    Dim oDocument As Object
    Dim oDocumentFile As Object
    Dim oDocumentFiles As Object
    Dim oReturn As Object
    Dim oBAPICtrl As Object
    'Creating BAPI object
    Set oBAPICtrl = CreateObject("SAP.BAPI.1")
    Set oConnection = oBAPICtrl.Connection
    If oConnection.Logon(0, False) = False Then
    MsgBox "No access to R/3 System"
    Exit Sub 'Programm beenden
    End If
    RfcAllowStartProgram ByVal 0&
    'Creating lokal instance of BO "Draw"
    Set oDocument = oBAPICtrl.GetSAPObject("DRAW", "PM2", "A5N00030059989", "D", "000")
    If Err.Number <> 0 Then
    MsgBox "No local BO 'Draw' created!"
    Exit Sub
    End If
    Set oDocumentFile = oBAPICtrl.DimAs(oDocument, "CheckOutView2", "DocumentFile")
    oDocumentFile("WSAPPLICATION") = "DOC"
    oDocument.CheckOutView2 OriginalPath:="D:\test\", _
    DocumentFile:=oDocumentFile, _
    DOCUMENTFILES:=oDocumentFiles, _
    DocumentStructure:=oDocumentStructure, Return:=oReturn
    MsgBox oDocumentFiles.RowCount
    MsgBox oReturn("MESSAGE")
    Set oConnection = Nothing
    Set oBAPICtrl = Nothing
    End Sub
    I have the newest librfc32.dll in my System32 folder (Version 7110.0.46.6208). Where is the problem? Can it be a problem on the application server or something?
    Thank you,
    Thomander

    Hi Thomander,
    Note 885058 indicates that the problem is resolved with the latest    
    RFC and ICU files. The RFC library is contained in the RFCSDK, please 
    ensure that you are using the latest SDK, it can be downloaded from the
    following location:                                                                               
    Support Packages and Patches                                          
        ==> Additional Components                                         
              ==> SAP NW RFC SDK                                          
                   ==> SAP NW RFC SDK 7.10                                
                        ==>Your OS                                                                               
    ICU libraries can be downloaded from service market place as part of  
    sap kernel. There are contained in the complete package sapexe.car    
    & in a seperate package UCLIB.sar                                     
    -> service.sap.com/patches                                           
    -> Entry by application group                                         
    -> additional component                                              
    -> SAP Kernel [ select the correct versions] & download the file                                                                               
    The naming convention of the library files varies depending on the    
    operating system, they may be called                                  
    "libicuuc.so.26", "libicuuc.sl.26", "libicuuc26.so" or "icuuc26.dll", 
    for example. You must therefore adjust the unpacking statements       
    accordingly.                                                                               
    Unpack the library to the temporary directory & then move it to the   
    kernel directory ("/usr/sap/<SID>/SYS/exe/run").                                                                               
    Caution: Make sure that the libicu* libraries do not overwrite any    
    existing files.                                                                               
    Once you are using the latest RFC and ICU files you should be ok.
    Maybe the information in the following link could also be useful for this kind of error:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/plm/i001Win32error+2
    Best regards,
    Christoph

  • I::001 Only available with the RFC library from 4.0C onwa

    Hello all!
    I'm using SAP .NET Connector for integration between .NET application and SAP System.
    When I try to work with standard document bapi methods like  BAPI_DOCUMENT_CHECKIN or BAPI_DOCUMENT_CHECKOUTVIEW, I get an error in out RETURN parameter - I::001 Only available with the RFC library from 4.0C onwa
    Please, help if you know how to solve this issue. Any help appreciated, and thanks in advance for the help.
    Best regards,
    Alex

    Hello,
    Is the function module remote enabled? Check the attributes of the function module, see
    [remote enabled function module|http://help.sap.com/saphelp_nw04/helpdata/EN/22/0425f2488911d189490000e829fbbd/frameset.htm]
    Next step to figure out this problem will be calling the function module remote and debugging it, see...
    [external breakpoints|http://help.sap.com/saphelp_nw70/helpdata/en/af/0cb5403fd63426e10000000a1550b0/frameset.htm]
    Regards,
    Marcel

  • Http-xi-RFC synchronous call - multiple records ?

    Hi Gurus,
    Can we have multiple records processing in RFC synchronous call ? for ex, BAPI_COMPANY_GET_DETAIL. I want to feed multiple company ids and get the responses in browser.
    I have changed cardinality in message mapping and interface mapping as <b>o to unbounded.</b> Tested the same which works fine.
    But, <b>when I activated the interface mapping, I get an error</b> which says I can not use multi mapping in synchronous RFC call.
    what is the alternative ? please help.

    HI,
    It is better to use the RFC lookup in mapping and get the multiple records , i men each one for one lookup , so that in your mapping use UDF for RFC lookup.
    see the below link
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Also read thru this to get more idea on lookups - http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    Regards
    Chilla

  • Call to Driver Package Error - Nine Possible Solutions that have Resolved this Issue!

    Hello everyone I've decided to write up this guide to discuss and troubleshoot the “Call to Driver Package Error”.
    What is it ? What causes it?
    This issue normally occurs when a specific driver, that is being called, cannot be called. Sometimes, a 1627 or 1603 error is referenced in the error.
         - If a 1603 error is referenced, this indicates that an ERROR_INSTALL_FAILURE has occurred, meaning a component of the installation failed. This is normally accompanied when another form of installation occurs.
         - If a 1627 error is referenced, this indicates that an ERROR_FUNCTION_FAILURE has occurred, meaning a function at a specific moment has failed, and the installation cannot continue.
    Typically, these numbers do not mean a whole lot. However, for an advanced user, these numbers might mean a little bit more.
    An example?
    "Call to driver package install returned the error 1603 for Pkg C:/ProgramFiles\HP\HP officejet pro 8600\driverstore\ng scan driver\HPWia_OJ8600.INF"
    This is the most recent error message I've witnessed. If you break it down, you will notice that “HPWia_OJ8600.INF” is the installation file (INF) that has failed. WIA (Windows Image Acquisition) is crucial for scanning, and the printer installs this file to enable scanning features.
    How can you troubleshoot this error?
    This is the main portion of the post. I am going to suggest a significant list of troubleshooting that you can attempt. There are nine solutions which have resolved the issue in different situations, all of which I personally worked with. I'm hoping that these solutions will work for you if you have to face this error.
    *Please note that some of this troubleshooting is a little complicated. If a mistake is made, you may have to reinstall the operating system. However, the final troubleshooting step will require you to do this. You should make sure all of your data is backed up before troubleshooting.
    Backing Up Your Files (Windows 8)
    Backing Up Your Files (Windows 7)
    How to Back Up Your Files (Windows Vista or XP)
    You should also backup the Registry. There are some Registry-editing steps in the troubleshooting I provide.
    Backing Up, Editing, and Restoring the Windows Registry (Windows 8)
    Backing Up, Editing, and Restoring the Windows Registry (Windows 7)
    Backing Up, Editing, and Restoring the Windows Registry (Windows 98, ME, and XP)
    *After each step is attempted, you can try installing the printer software. If it fails, please uninstall the software before proceeding. This HP document will explain how to do it:
    1. The first step is performing a Clean Boot. I've resolved this issue in the past by performing this simple step before installing the software. A Clean Boot will turn off third-party programs and services that could be blocking the software from working correctly. For more information on how to do this, please look at this Microsoft document:
    How to perform a clean boot in Windows
    2. Next, make sure the Windows Installer it turned on and started. If it not, the installation may not complete. To do this, hold down the “Windows” and “R” key on the keyboard, which will open the Run box. In that box, type “services.msc” (without the quotes) and hit Enter.
    Now scroll down to the Windows Installer. If it is checked stopped, or not started, right-click on it and select “Start”.
    3. Next, I would suggest completing all Windows Updates:
    a) Open "Windows Update" in Control Panel.
    b) Click "Settings", and then click "Install optional updates".
    c) Next, click "Check for updates".
    This will ensure that all updates are found and installed. Once they are installed, see whether or not the error returns.
    4. If the issue is not resolved at this point, I would like to check the system for obvious corruption with an SFC scan. SFC stands for System File Checker, and it scans and attempts to restore corrupted Windows files.
    To do this, open Command Prompt as Administrator. Type in this command and hit Enter afterward: sfc
    /scannow
    Write down the results and restart computer after this completes.
    5. Creating a new Administrator account is a workaround to the issue. If the error does not appear on other accounts, this proves that whatever is causing the error is account-exclusive. I'm going to suggest you unlock the computer's built-in Administrator account.
    To do this, open Command Prompt as Administrator, again. Then type in this command and hit Enter afterward: net user administrator /active:yes
    6. The next step involves editing permissions in the Registry. In the Registry, please review the instructions below to apply full permissions to the following key: HKEY_LOCAL_MACHINE
    a) Right-click on the key that you need to edit and/or delete (HKEY_LOCAL_MACHINE). Click on "permissions..."
    b) Click "Add" in that Window that appears.
    c) There will be an empty box under "Enter the object names to select". Type "Administrator" (without the quotes), then click on "Check Names".
    d) An Administrator name will appear, click "Ok" when it does.
    e) You should be able to select (click) the Administrator profile under "Group or user names". Once clicked, click on "Advanced".
    f) Click on the "Owner" tab.
    g) Click on the Administrator profile, then put the check-mark in "Replace owner on subcontainers and objects".
    h) Go back to the "Permissions" tab, and ensure the Administrator profile is selected.
    i) In the "Permissions" tab, put a check-mark in every box available. The boxes will likely be indicated by "Include inheritable permissions from this object's parent" and "Replace all child object permissions with inheritable permissions from this object".
    j) Next, click "Edit". Put a check-mark in "Full Control" under Allow. Click Ok. Now, click Apply (you may receive a Window security message, just click "Yes"), then Ok.
    k) Exit the Registry, then restart the computer, and launch the Administrator account.
    7. The next step is to re-register the Windows Installer, and other dynamic library links (.DLL). Doing this will reference certain components that are required to complete the installation. Open Command Prompt as Administrator, then type each command and hit Enter after each one:
    MSIEXEC /UNREGISTER
    MSIEXEC /REGSERVER
    REGSVR32 MSI.DLL
    REGSVR32 ATL.DLL
    REGSVR32 SOFTPUB.DLL
    REGSVR32 WINTRUST.DLL
    REGSVR32 INITPKI.DLL
    REGSVR32 DSSENH.DLL
    REGSVR32 RSAENH.DLL
    REGSVR32 GPKCSP.DLL
    REGSVR32 SCCBASE.DLL
    REGSVR32 SLBCSP.DLL
    REGSVR32 MSSIP32.DLL
    REGSVR32 CRYPTDLG.DLL
    8. There are certain DLL files that can interfere with the installation, and they should be deleted. Go to C:\Windows\System32
    Delete the following files:
    HPZipm12.dll
    HPZinw12.dll
    9. Before reinstalling the operating system, you can try restoring it. This will allow you to return the computer to a point where the printer was working.
    *You should only do this if the software worked in the recent past.
    What is System Restore? - For Windows 7 and Vista
    How to refresh, reset, or restore your PC - For Windows 8 and 8.1
    What if these nine solutions do not work?
    Finally, you will need to reinstall the operating system if the issue is not resolved by this point. However, I can promise that this will resolve the issue. Here is a generic document on reinstalling the operating system:
    Overview of Recovering the OS or Reinstalling the Operating System
    And that's everything. Thanks for reading! - Mario
    I worked on behalf of HP.

    No error messages are given. It will either freeze while saying "Accessing iTunes Store," or without saying anything at all.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Problem using RFC to call an adobe form to create pdf file........

    Hi,
       I have an RFC that calls an adobe form to display the pdf output back in a bsp page...the RFC fails at the call to the adobe form (next call after after getting the form name) ...while debugging it looks like within this call it is trying to call fpcomp_job_open and failing on the call check_job_open ...
    The code in my RFC looks like this....
    DATA:
        gs_outputparams  TYPE sfpoutputparams,
        fn_name           TYPE rs38l_fnam,
        fp_docparams      TYPE sfpdocparams,
        fp_formoutput     TYPE fpformoutput,
        frm_result        TYPE sfpjoboutput,
        lv_form           TYPE fpname.
    DATA: l_pdf_xstring  TYPE xstring,
           l_pdf_len      TYPE i.
    lv_form = 'ZHR_ASSESSMENT_FORM'.
    Start formrocessing - OPEN spool job to send to printer
      gs_outputparams-getpdf = 'X'.
      call function 'FP_JOB_OPEN'
        changing
          ie_outputparams = gs_outputparams
        exceptions
          others          = 1.
      IF sy-subrc <> 0.
    *//    RAISE FP Open Error.
          exit.
      ENDIF.
    Get name of the generated function module for the form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = lv_form
        IMPORTING
          e_funcname = fn_name.
      IF sy-subrc <> 0.
    *//    RAISE FP Get Form Module Name Error.
            exit.
      ENDIF.
    Call the Adobe Form
      CALL FUNCTION fn_name
      EXPORTING
          /1bcdwb/docparams  = fp_docparams
          gv_appraisal_id = gv_appraisal_id
      IMPORTING
         /1bcdwb/formoutput = fp_formoutput
        EXCEPTIONS
          usage_error        = 1
          system_error       = 2
          internal_error     = 3
          others             = 4.
      IF sy-subrc <> 0.
    *//    RAISE Call Form Module Error.
            perform f_build_message using 'E'
                                      'ZEXT'
                                      012
                                changing return.
           exit.
      ENDIF.
    End from processing - Close spool job
      CALL FUNCTION 'FP_JOB_CLOSE'
        IMPORTING
          e_result       = frm_result
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    *//    RAISE FP Close Error.
           exit.
      ENDIF.
      form = fp_formoutput-pdf.
    Thanks,
    Venkatesh

    what is the solution for this problem? I have the same problem. I get sy-subrc = 1 after CALL FUNCTION 'FPCOMP_JOB_OPEN'.
    If I look more in detail I see that "Perform check_job_open" is creating the problem:
    FORM check_job_open.
      IF fpstat-is_opened = c_true.  (--> exactly here is the problem. This condition is true so the program is terminated.)
        PERFORM reset_status.
        MESSAGE ID 'FPRUNX' TYPE 'E' NUMBER '101' RAISING usage_error.
      ENDIF.
      fpstat-is_opened  = c_true.
      fpstat-is_started = c_false.
    ENDFORM.       
    Does somebody know why my job is open and what is the solution to have the job closed at the beginning of my processing?
    Thanks in advance.

  • Can not call RFC contains "call transaction"  in webdynpro

    We use Webdynpro to develope a UI that can create service orders in CRM
    system. We create an RFC funciton "ZKLEE_CRM_ORDER_MODIFY" in CRM,which
    contain a statement of "CALL TRANSACTION 'CRMD_BUS2000120' USING T_BDC
    MODE 'N' MESSAGES INTO MESSTAB.".
    But as we exacute the RFC from WEB,we got 3 error messages in the
    output "MESSTAB":
    1.MESSAGE ID = "DC",MESSAGE NUMBER = "006", MESSAGE = "Control
    Framework: Fatal error - GUI cannot be reached".
    2.MESSAGE ID = "SY",MESSAGE NUMBER = "002", MESSAGE = "Exception
    condition CNTL_ERROR raised."
    3.MESSAGE ID = "00",MESSAGE NUMBER = "359",and it is a terminate
    message.
    The problem is that we can use webdynpro to call RFCs that do not
    contain "call transaction" freely. At first we suspect that it is our
    RFC function's fault, but we tried it in ABAP enviroment,and it works
    OK. We also tried to call this RFC in JSP through JCO,the same error
    occurs.
    Our system enviroment is CRM 4.0, J2EE 640, kernel 640 patch 109.

    HI,
    Thank you for your information.
    Maybe you are right that BAPI/RFC can not contain "call transaction" statement. But two weeks ago, one of my colleagues tried to use "call transaction" in RFC through JCO in our R/3 enviroment(not in CRM),and he successed.
    So I suspect the kernel release. The kernel of R/3 is 640,while CRM is 620(I said our CRM kernel release is 640 before,and it is a mistake.).I will confirm whether what my colleague said is right by myself, and will also told you the result.
    Message was edited by: Vincent zklee

  • UDPWrite in a loop. "A Windows Sockets function call returned an unexpected error."

    Hello together,
    i use UDP Support Library in NI CVI 9.0. When i wait for receiving a packet at the pc to send then a packet from the pc, the functions UDPRead and UDPWrite work fine. If i want to test the maximum throughput, i put the UDPWrite in a loop, but then an error occurs. It is "kUDP_UnexpectedWinsockError"
    Error Popup:
    "NON-FATAL RUN-TIME ERROR:   "main.c", line 53, col 22, thread id
    0x00000C18:   Library function error (return value == -6822
    [0xffffe55a]). A Windows Sockets function call returned an unexpected
    error."
    Line 53:
    status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
    the whole loop:
    while(1)
    status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
    counter++;
    if(counter>50)
    break;
    else{;}
    The error occurs after 3-16 packets have been sent. If i step through the programm, no error occurs. So i guess its because the UDPWrite command is invoked too fast. pOutputBuffer has static data. I could use a delay in the loop, but then i dont know how to configure for maximal throughput.
    Any ideas how to avoid this error?
    Regards Florian

    Hello and thank you for your answer. Sorry that i reply a month later.
    I dont know what you mean by "let 'er rip approach". Do you mean something like:
    status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
    if(status==0)
     counter++;
    else
      Delay(0.00005);
    I did not yet try to put the packet number in the payload, but there is just a 30 cm crossover cable between the two devices, no switch, no router. So the sequence should not be interruptet. And even if they arrive in chaos, i dont mind.
    I have contacted the NI support 2 weeks ago, but no response yet.
    I did some tests with a delay between the execution of UDPWrite(). The code:
    float time = 0.0;
     for(i = 1; i < 1000; i++)
      status = UDPWrite (channel, 60100, "192.168.1.10", pOutputBuffer, 1458);
      time = 1.0 / i;
      Delay(time);
    The results:
    For i between 1 and 1000: no error, the speed of the last ten packets was about 6.5 MBit/s
    For i between 1000 and 2000: error occured at i = 1585 (variable time in Delay was 0.0006313), the speed of the last ten packets was about 8 MBit/s
    Then i put some constant values in Delay and ran 100 UDPWrite iterations:
    Delay(0.0006): 7.48 MBit/s
    Delay(0.0001): 10.7 MBit/s
    Delay(0.00001): error occured at i=31, speed of 31 packets was 12.0 MBit/s
    Delay(0.00008): 100 of 100 packets, speed 10.9 MBit/s
    Delay(0.00005): error at i=41, speed of 41 packets 11.1 MBit/s

  • WebDynpro Exception: ADS call failed SOAP Framework error:

    Hi,
    Can help me with this error:
    WebDynpro Exception: ADS call failed SOAP Framework error: SOAP Runtime Exception: CSoapExceptionFault : SOAP fault found in SOAP document /Transaction system failure in method rpData./<ns1:com.sap.engine.services.ejb.exceptions.BaseEJBException xmlns:ns1="http://sap-j2ee-engine/client-runtime-error">Transaction(100.102).
    Thank you

    ADS Installation and configuration:
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm
    Troubleshooting for ADS configuration:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30ec0508-9438-2c10-f393-a41fb255698d?quicklink=index&overridelayout=true
    Landscape with ADS:
    http://csc-studentweb.lr.edu/swp/Berg/Conferences/SAP_NW2008_and_Admin_2008/BI/Track13/Track13_Session4.pdf
    ADS tests
    http://help.sap.com/saphelp_nwmobile71/helpdata/en/43/f31e3082221595e10000000a1553f7/content.htm
    Hope that helps, Otto

  • At each startup, Itune10.2.2 reimports my library and i have an error message on library.itl that is damagd.  A new one is created each startup.Any idea?

    at each startup, Itune10.2.2 reimports my library and i have an error message on library.itl that is damaged.  A new one is created each startup. I have tried uninstalling itunes, changed my antivirus but doesn't work

    The following line tells me that this is not a template file, but a document created from a template called index.dwt
    <html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/index.dwt" codeOutsideHTMLIsLocked="false" -->
    This means that you saved a child document as a template file at some stage.
    If you go to Modify->Templates->Detach from Template, you can remove the template structure from your document. All you then need to do is to re-save the document as a template.

  • "An internal error occured while calling 'answerPrompts' API.(Error: wis_30

    Hi Gurus
    Getting an error message while running a webi report from infoview link(server:8080/InfoViewApp/logon.jsp)
    as
    "An internal error occured while calling 'answerPrompts' API.(Error: ERR_WIS_30270)
    I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error.
    while running report from webirichclient(where we are developing reports) it is running without any error.
    Thanks in Advance
    Regards
    Ritu Raj

    It seems you are on SP3, and I assume the operating system of the BO server is Windows based.
    Please cross-check that the Excel version you have matches the ODBC driver in the supported platforms document for XI3.1 SP3 [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/4079f8f6-2b49-2d10-d790-bc596012dc25]
    Second thing, I would like to see screenshots of what you mean by
    "I found that while selecting refresh checkbox in one of the query which is using .xls file from the local system this is showing above error while running from above link.
    If it is unchecked it is running without any error."
    just to avoid misunderstandings from my side
    Thanks!
    Best regards,
    Simone

Maybe you are looking for

  • System Fan(90B) error...

    I bought an HP 630 Notebook PC one month ago. Now, when it's powerd on,  it's showing an error message like "System Fan is not working correctly System Fan(90B)". Though my laptop is currently working but I suspect, soon it will be in trouble due to

  • "no type with this name could be found at this location" error..

    Though my project has been successfully compiled. But when I open some specific class, it always comes out some error, says "ERROR: no type with this name could be found at this location". I am not quite clear, because the class underlined is absolut

  • Python and Ruby option is missing from XCode

    I just installed xcode 3.2 and noticed I don't have the python, ruby or Java option when I try to create a new project. This happened when I uninstalled 3.1 and installed 3.2 Any idea what happened? How do I get them back? I'm running Mac OS X 10.6.

  • PRINTER FILTER FAILED!!!

    I KEEP GETTING THE SAME RESPONE FROM MY PRINTER WHEN I TRY TO PRINT "PRINTER FILTER  FAILED"....THIS IS THE MESSAGE I GOT .. HELP ME!!! Process:         rastertoDPSE [1964] Path:            /Library/Printers/Primera/DPSE.bundle/Contents/MacOS/rastert

  • Auto-Activation

    So far I have had ZERO success with font auto-activation. I installed Leopard a 1ghz imac g4 with some older Adobe products on it and MS Office Mac-X. I removed other font management software. I checked Auto-Activate on. I saved files in Illustrator,