Problem with synchronous calls

Hello XI friends,
I'm having a problem with a synchronous message sending through a RFC.
This is the scenario I'm having. I call the RFC, the message is delivered to XI, and XI delivers de message to the Legacy System, this system responds to XI and XI delivers the message back to the SAP system.
But after doing some successful tests with the RFC, for somehow the whole message is delivered to the Legacy System, and XI shows that has delivered back the message to the SAP system, but the RFC stays Idle, as if it was waiting for a response, after a while, the RFC gets a Dump with the following error:
"call to messaging system failed:
In order to get it working again, I'm doing a Restart of the J2EE instance, but after another series of tests with the same RFC, the problem comes up again.
Does anyone knows what could be happening? 
Thank you,
Felipe
Message was edited by: Felipe Andres Contreras

Hi Felipe,
Are you using a standard SAP RFC or a customized RFC interface???
I would also suggest to check the System dumps in the SAP system where the RFC is hanging.
Thanks
Prasad

Similar Messages

  • Problems with synchronizing

    Hello,
    I am fairly new to using Dreamweaver CS5, but suddenly am having problems with synchronizing my projects. It was working fine until a few days ago, but I'll just list the steps of what happens now to try to make it clear.
    I refresh and click the sync button.
    I choose 'selected local files only' and 'put newer files to remote,' then 'preview.
    Then, Dreamweaver says it's connecting to my server, retreiving folder information, then complete.
    After that, it says that it's putting file temp2342.htm on my server.
    Then it says no synchronization is necessary...even though I do have newer files which haven't been put on my server.
    I've tried 'putting' individual files on the server, but it says 'file activity incomplete. 1 or more files not completed.'
    Up until a few days ago, the synchronization would work just fine and put the newer files on my server. I'm not sure what kind of setting I might have changed between now and then, but any ideas on how to fix this problem would be much appreciated!

    Call our customer care, they'll sort this out. You can find the details from "contact us" link on top of this page.

  • Problems with a call transaction

    Hi, I'm having some problems with a call transaction and I cannot understand why. I put A in the mode, and I am seeing the dynpros and I am pressing enter it works perfectly but when I use mode N it tells me that there is not information for one of the dynpros and it doesn't work. Does anybody know the problem and how to solve it??
    Thanks in advance

    Hi,
    First of all thank you very much for your time.
    I am using FB05 and the problem is in dynpro SAPLKACB 0002, and it says that batch input data doesn't exist. Here is the code, maybe you can see what is happening
    LOOP AT t_resumen WHERE belnr = t_batch-belnr AND
                                ( contador = 3 OR contador = 4 or CONTADOR = 5 ).
          READ TABLE t_clave WITH KEY belnr = t_resumen-belnr.
          d_clave = t_clave-bschl.
          i = i + 1.
          CASE i.
            WHEN 1.
              PERFORM bdc_dynpro  USING 'SAPMF05A'    '0700'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
              PERFORM bdc_field   USING 'RF05A-NEWBS' t_resumen-bschl.
              PERFORM bdc_field   USING 'RF05A-NEWKO' t_resumen-hkont.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
              PERFORM bdc_dynpro  USING 'SAPMF05A'    '0300'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
              j_wrbtr = t_resumen-wrbtr.
              REPLACE '.' WITH ',' INTO j_wrbtr.
              PERFORM bdc_field   USING 'BSEG-WRBTR' j_wrbtr.
              PERFORM bdc_dynpro  USING 'SAPLKACB'    '0002'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
            WHEN t.
              PERFORM bdc_dynpro  USING 'SAPMF05A'    '0300'.
              PERFORM bdc_field   USING 'RF05A-NEWBS'  t_resumen-bschl.
              PERFORM bdc_field   USING 'RF05A-NEWKO'  t_resumen-hkont.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
              j_hkont = t_resumen-hkont.
              j_clave = t_resumen-bschl.
              PERFORM bdc_dynpro  USING 'SAPMF05A'    '0300'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '=BU'.
              j_wrbtr = t_resumen-wrbtr.
              REPLACE '.' WITH ',' INTO j_wrbtr.
              PERFORM bdc_field   USING 'BSEG-WRBTR' j_wrbtr.
              PERFORM bdc_dynpro  USING 'SAPLKACB'    '0002'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
            WHEN OTHERS.
              PERFORM bdc_dynpro  USING 'SAPMF05A'    '0300'.
              PERFORM bdc_field   USING 'RF05A-NEWBS'  t_resumen-bschl.
              PERFORM bdc_field   USING 'RF05A-NEWKO'  t_resumen-hkont.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
              j_hkont = t_resumen-hkont.
              j_clave = t_resumen-bschl.
              PERFORM bdc_dynpro  USING 'SAPMF05A'    '0300'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
              j_wrbtr = t_resumen-wrbtr.
              REPLACE '.' WITH ',' INTO j_wrbtr.
              PERFORM bdc_field   USING 'BSEG-WRBTR' j_wrbtr.
              PERFORM bdc_dynpro  USING 'SAPLKACB'    '0002'.
              PERFORM bdc_field   USING 'BDC_OKCODE'  '/00'.
          ENDCASE.
            READ TABLE t_porcentajes WITH KEY gjahr = t_resumen-zzbad
                                           zzbtd = t_resumen-zzbtd.
            IF j_hkont = t_porcentajes-cfacpr.
              PERFORM bdc_field   USING 'COBL-PRCTR' t_porcentajes-prctrfac.
              PERFORM bdc_field   USING 'COBL-ZZBTD' t_resumen-zzbtd.
              PERFORM bdc_field   USING 'COBL-ZZBAD' t_resumen-zzbad.
            ELSEIF t_resumen-hkont = t_porcentajes-cadmin.
             PERFORM bdc_field   USING 'COBL-KOSTL' '20801'.
            ELSEIF t_resumen-hkont = t_porcentajes-creca.
             PERFORM bdc_field   USING 'COBL-KOSTL' '20401'.
            ELSE.
              IF d_clave = 01 OR d_clave = 04 OR d_clave = 40 OR d_clave = 09.
                IF j_hkont >= 424001 AND j_hkont <= 424005.
                  PERFORM bdc_field   USING 'COBL-PRCTR' 'DUMMY'.
                ELSEIF j_hkont >= 424601 AND j_hkont <= 424605.
                  IF j_clave = 40.
                    PERFORM bdc_field   USING 'COBL-PRCTR' 'DUMMY'.
                  ENDIF.
                ENDIF.
              ELSEIF d_clave = 11 OR d_clave = 12 OR d_clave = 14 OR d_clave = 50.
                IF j_hkont >= 424001 AND j_hkont <= 424005.
                  PERFORM bdc_field   USING 'COBL-PRCTR' 'DUMMY'.
                ELSEIF j_hkont >= 424601 AND j_hkont <= 424605.
                  IF j_clave = 50.
                    PERFORM bdc_field   USING 'COBL-PRCTR' 'DUMMY'.
                  ENDIF.
                ENDIF.
              ENDIF.
    *Fin modificacion marzo 2007.----
              PERFORM bdc_field   USING 'COBL-ZZBTD' t_resumen-zzbtd.
              PERFORM bdc_field   USING 'COBL-ZZBAD' t_resumen-zzbad.
              PERFORM bdc_field   USING 'COBL-ZZBTT' t_resumen-zzbtt.
              PERFORM bdc_field   USING 'COBL-ZZBTU' t_resumen-zzbtu.
              PERFORM bdc_field   USING 'COBL-ZZBTS' t_resumen-zzbts.
              PERFORM bdc_field   USING 'COBL-ZZBAG' t_resumen-zzbag.
              PERFORM bdc_field   USING 'COBL-ZZBRE' t_resumen-zzbre.
              PERFORM bdc_field   USING 'COBL-ZZBC8' t_resumen-zzbc8.
              PERFORM bdc_field   USING 'COBL-ZZBC9' t_resumen-zzbc9.
            ENDIF.
        ENDLOOP.

  • Problems with synchronizing iCal with iCloud accounts on my Mac Pro

    I have problems with synchronizing iCal with iCloud calender accounts on my Mac Pro runnning OS 10.6.8
    (error message "HTTP/1.1 403 Forbidden" på handlingen CalDAVAccountRefreshQueueableOperation.)
    It works fine on iOS devices.

    Due to lacking hardware driver compatibility i our graphic production environment we can't upgrade to Lion.
    Does that mean that it after the closing of MobileMe is impossible to synchronize calenders to Mac's running OS 10.6.8 ??

  • I have problems with outgoing call no audio, only works with speaker. I bought my iphone on december 2011.

    I have problems with outgoing call no audio, only works with speaker. I bought my iphone on december 2011.

    Had the same problem, no audio on incoming or outgoing calls and only could hear the conversation of the call if I put on speaker. It seemed to start after I did a recent IOS update this past month. I tried restart, reset and restore of my iPhone but nothing changed. It appears not to be a software issue but a hardware problem. I got my phone this past summer so it was still under warranty and got it replaced.

  • Problem with 5800, call processing is too slow.

    i have a problem with rejecting calls and recieving as well as dialling. it takes to much time to process. when a caller calls me they hear the dial tone for about 5 seconds then i get the call on my phone.. when i use third party software for automatic rejecting calls, the caller hears the dialtone for like 10 seconds or more then it gets rejected which is really annoying. please help me. is there a solution for this? this is not the network problem coz my sim n rejecting calls on other phones work fine. AND ALSO wen someone calls me i get the call alert like after 10 seconds, its very slow!!

    Make sure you have upgraded to 1.1.1 which fixes volume problems.
    Note that it will NEVER be as loud as standard cell phones but it should improve the volume so you have no problem hearing it in the car.

  • Setting always changes by itself in my iPhone 5s, also every few calls I have to face a problem with a call without sound

    Setting always changes by itself in my iPhone 5s, also every few calls I have to face a problem with a call without sound, battery becomes empty quickly

    User troubleshooting steps as outlined in the manual are reset, restore, restore as new. Have you tried any of these?

  • Problems with synchronous message in XI

    Hi
       I have the following scenario involving XI 3.0 ( SP 12 )
    XI has exposed a webservice ( WS provider ) and this webservice is being called from a web application. On receiving the webservice call, XI synchronously calls a RFC on the SAP backend and the response is mapped back as a webservice soap response to the calling web application.
    Now, I see sometimes ( not always ) - the incoming message from the web application has a status in SXMB_MONI -
    <b>Message scheduled (commit follows)</b>
    with a green flag and this message is never processed - i.e The message comes into XI from the webservice call - but beyond this - there is no call to the RFC receiver adapter ( the receiver adapter- comm channel  is ok as seen in the adapter monitoring )
    Since synchronous messaging does not involve any queues ( I hope my understanding is right ), I am not sure why this occurs and what to do to push the message forward in this synchronous messaging scenario ??
    Thank you in advance for your time .

    Hm we have a slightly different version of that problem.
    The message is wirtten into a queue, gets the green flag and the message is processed.
    But the flag as well as the status stay...
    Has anyone soem background information about how the queuing and scheduling and execution planning is done?
    I have quite an idea about queue filters and how to set-up queues. But I have no idea how the synchronous stuff fits in and what this "Message scheduled (commit follows)" exactly means.
    Cheers,
    helge

  • Problem with showing caller information on E90

    I recently purchased an E90 and it appears to have a problem with showing the information of the caller (name) for those numbers that have been synchronized with Outlook 2003 or using Bluetooth from a Sony-Ericsson. The presentation of the caller information for the numbers that I have punched in manually works just fine.
    Does anybody have the same problem and if so what is the solution if it is a configuration issue as it sure sounds like a software bug..
    Regards,
    -mats-

    unfortunately the quick office solution bundled with the E90 is very much inferior to the ones found in the older communicators. you Must PAY to upgrade to a better version w/c to my mind is still inferior to the basic version found in the 9X00/i series communicators
    9110,9210,i,9500,9300,i,E90 I still miss my 9300i , E71, E72 But......

  • Firefox 6.0.2 keeps on crashing, problems with ajax calls

    Hi,
    I am using the jquery form plugin to make ajax calls on my sites, when i invoke the plugin and have Firebug open I get this message:
    Could not convert JavaScript argument arg 0 [nsISupports.QueryInterface]
    [Break On This Error] callback.data = aElem....getComputedStyle(callback.data, '');
    rfhelper32.js
    Firebug also tells me that it's limit has been reached 1571 entries shown.
    Can someone tell me why this is happening; is there a problem with Firefox that will be fixed. It's not happening in IE9
    Here is the information from a recent crash report (which may or not be related to the above problem!)
    AdapterDeviceID: 0a66
    AdapterVendorID: 10de
    Add-ons: [email protected]:3.0.4,{6AC85730-7D0F-4de0-B3FA-21142DD85326}:2.5.5,{8f8fe09b-0bd3-4470-bc1b-8cad42b8203a}:0.17,{e968fc70-8f95-4ab9-9e79-304de2a71ee1}:0.7.3,{f36c6cd1-da73-491d-b290-8fc9115bfa55}:2.2.0,{BBDA0591-3099-440a-AA10-41764D9DB4DB}:3.1,[email protected]:1.8.2,{2D3F3651-74B9-4795-BDEC-6DA2F431CB62}:2011.7.1.3,{972ce4c6-7e08-4474-a285-3208198ce6fd}:6.0.2
    AvailableVirtualMemory: 174600192
    BuildID: 20110902133214
    CrashTime: 1316093326
    EMCheckCompatibility: true
    Email: [email protected]
    FramePoisonBase: 00000000f0de0000
    FramePoisonSize: 65536
    InstallTime: 1315406279
    Notes: AdapterVendorID: 10de, AdapterDeviceID: 0a66, AdapterDriverVersion: 8.16.11.9104
    D3D10 Layers? D3D10 Layers-
    D3D9 Layers? D3D9 Layers-
    WebGL? WebGL-
    ProductName: Firefox
    ReleaseChannel: release
    SecondsSinceLastCrash: 160793
    StartupTime: 1316067225
    SystemMemoryUsePercentage: 86
    Theme: classic/1.0
    Throttleable: 1
    TotalVirtualMemory: 2147352576
    URL: https://s-static.ak.fbcdn.net/connect/xd_proxy.php?version=3#cb=f1ae6be54ac01b4&origin=https%3A%2F%2Fwww.paypal-business.co.uk%2Ffd558408b2cb6c&relation=parent.parent&transport=postmessage&type=resize&height=20&ackData[id]=1&width=250
    Vendor: Mozilla
    Version: 6.0.2
    Winsock_LSP: MSAFD Tcpip [TCP/IP] : 2 : 1 :
    MSAFD Tcpip [UDP/IP] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [RAW/IP] : 2 : 3 :
    MSAFD Tcpip [TCP/IPv6] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    MSAFD Tcpip [UDP/IPv6] : 2 : 2 :
    MSAFD Tcpip [RAW/IPv6] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
    RSVP TCPv6 Service Provider : 2 : 1 :
    RSVP TCP Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
    RSVP UDPv6 Service Provider : 2 : 2 :
    RSVP UDP Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{91C733AA-510D-41D3-B67A-4441103BAE50}] SEQPACKET 1 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{91C733AA-510D-41D3-B67A-4441103BAE50}] DATAGRAM 1 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{4A8E4D1C-24D8-40C3-BC41-D04B5D505F39}] SEQPACKET 5 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{4A8E4D1C-24D8-40C3-BC41-D04B5D505F39}] DATAGRAM 5 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{C8F77A1D-B3A2-4DE2-AE72-C377BBD10D9A}] SEQPACKET 7 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip_{C8F77A1D-B3A2-4DE2-AE72-C377BBD10D9A}] DATAGRAM 7 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{C8F77A1D-B3A2-4DE2-AE72-C377BBD10D9A}] SEQPACKET 8 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{C8F77A1D-B3A2-4DE2-AE72-C377BBD10D9A}] DATAGRAM 8 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{4A8E4D1C-24D8-40C3-BC41-D04B5D505F39}] SEQPACKET 6 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{4A8E4D1C-24D8-40C3-BC41-D04B5D505F39}] DATAGRAM 6 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{3D95D40E-1835-44C6-A621-968094D90452}] SEQPACKET 10 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{3D95D40E-1835-44C6-A621-968094D90452}] DATAGRAM 10 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{D6AD3B6C-2F8E-49B4-BDCD-DB35518116E7}] SEQPACKET 9 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{D6AD3B6C-2F8E-49B4-BDCD-DB35518116E7}] DATAGRAM 9 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{18908ACF-76C1-4139-8C1C-89DF049156C5}] SEQPACKET 4 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{18908ACF-76C1-4139-8C1C-89DF049156C5}] DATAGRAM 4 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{4112C824-372C-4014-87AE-1BC13EA6E4CD}] SEQPACKET 3 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{4112C824-372C-4014-87AE-1BC13EA6E4CD}] DATAGRAM 3 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{2E408326-9611-4C41-B766-C4CB82734986}] SEQPACKET 0 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{2E408326-9611-4C41-B766-C4CB82734986}] DATAGRAM 0 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{91C733AA-510D-41D3-B67A-4441103BAE50}] SEQPACKET 2 : 2 : 5 :
    MSAFD NetBIOS [\Device\NetBT_Tcpip6_{91C733AA-510D-41D3-B67A-4441103BAE50}] DATAGRAM 2 : 2 : 2 : %SystemRoot%\system32\mswsock.dll
    VMCI sockets DGRAM : 0 : 2 :
    VMCI sockets STREAM : 0 : 1 : C:\Program Files\VMware\VMware Workstation\vsocklib.dll
    This report also contains technical information about the state of the application when it crashed.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes

  • Problems with dropped calls and no reception on Samsung Continuum

    My mother and I both purchased a Samsung Continuum in late March 2011, and have experienced the same problems with the phone.  The device drops at least 2-3 calls per day, often on the same conversation; we have not found that location or time of day makes a difference.  The phone freezes up frequently, even if no apps are running in the background.  We lose our 3G network reception frequently, and cannot access our texts, emails, or the internet.  The screen saver kicks in even when we are actively dialing a number, or typing in a text message.  The overall performance of the phone is also poor, and it is quite slow much of the time.
    We have raised this issue several times with a representative at one of the Verizon stores, but he states that he can find no problem with the phone, and that these issues may not be covered under our insurance plan.  None of my friends with non-Samsung phones are having the same problems with phone reception and performance.  I am aggravated enough with these issues that I am considering reactivating my old Blackberry, which worked like a charm.
    I am not upset that my phone has not been updated to Android 2.2.  I just want the phone to perform as stated, and not fail at its primary function:  making and receiving phone calls.  I am not certain if these problems originate with the phone, Verizon, or Samsung, nor do I care.  I just want to resolve these issues as soon as possible, or I will have to look at other alternatives.
    Thank you.

    If this doesn't work...now what??? I have a useless $400 plus piece of unreliable junk. My Motorola Razor was ions more reliable than this phone...very, very sad but true.
    What carrier were you using with the Razor? AT&T? Same area?
    Dave M.
    MacOSG Founder/Ambassador  An Apple User Group  iTunes: MacOSG Podcast
    Creator of 'Mac611 - Mobile Mac Support' (designed exclusively for an iPhone/iPod touch)

  • Problems with conference calls(adding and merging calls) after upgrade to ios 8.1.2 on iphone 5s

    I am having weird problem intermittently with adding calls or merging them or swapping them. The issue happens 8 out of 10 times whenever I try to do a conference call. This issue came up after I upgraded to 8,1.2. Never experienced this in 8.1.1 or previous version.
    Some of the scenarios that I have experienced is:
    1. While on the call, when I try to add a new contact, it just doesn't dial the second number.
    2. Sometimes the second number gets dialed, cannot merge the calls.
    3. After talking to the second person, cannot go back to the first call.
    I am very sure that this is not a carrier issue as it worked flawlessly before upgrade.
    Anyone experienced this before? Any suggestions?

    Thanks for the above infromation. I did a complete restore of my iphone through iTunes connecting it to my computer via cable. iOS8.1.3 was re-installed. I then added back my settings and data which were backed up prior to restoring the phone. I still have the same issue with conferencing and adding a third caller. When I hit the [+] box, the existing caller is not put on hold. The phone appears to be making a call but it is not dialing to the 3rd party. Shortly thereafter, the Merge icon appears but there is no active call to merge with. I have tried this several times using my wife's iPhone and our home phone to set up a 3-way call. I know it is not working because the 3rd phone (our home phone) does not ring. Is this a hardware problem? My wife's iPhone 6 works with no problem and was purchased the same time I purchased my iPhone 6. Probably time for a visit to the Apple Store unless there is another solution.
    iPhone 6; iOS 8.1.3; Carrier: Verizon

  • Problem with multiple calls to hr_infotype_operation in a loop

    Hi,
    Im using infotyp 2003 with the following situation. For a date, e.g. 2011/07/20 and a person_nr I have several time entries, like 08:00-09:00, 10:00-12:00, 15:00-17:00. Now I read the entries with  HR_READ_INFOTYPE and store them back unmodified with hr_infotype_operation in a loop in the same report.
    data: i_p2003 type standard table of p2003.
    CALL FUNCTION 'HR_READ_INFOTYPE'
             EXPORTING
    *          TCLAS                 = 'A'
               pernr                 = person_nr
               infty                 = '2003'
             BEGDA                 = '20110720'
              ENDDA                 = '20110720'
    *          BYPASS_BUFFER         = ' '
    *          LEGACY_MODE           = ' '
    *        IMPORTING
    *          SUBRC                 =
             tables
               infty_tab             =  i_p2003
            EXCEPTIONS
              INFTY_NOT_FOUND       = 1
              OTHERS                = 2.
    loop at i_p2003 assigning <p>.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
            EXPORTING
              infty         = '2003'
              number       = person_nr
              validityend   = '20110720'
              validitybegin = '20110720'
              record        = <p>
              operation     = 'MOD'
              dialog_mode   = '0'
            IMPORTING
              return        = return_struct
              key           = personaldatakey
            EXCEPTIONS
              OTHERS        = 0.
    endloop.
    the first call to hr_infotype_operation succeeds but the following operations fail because of collision. This example is stupid, I know, but it shows the core of a problem I have in a more complex report.
    I face the problem that several calls to HR_INFOTYPE_OPERATION cause a collision error even if there cannot be a collision because the data are unchanged.
    Any hints on this.
    Regards,
    JOP

    Hi, you must execute a 'BAPI_EMPLOYEE_ENQUEUE' before 'HR_INFOTYPE_OPERATION' and a 'HR_EMPLOYEE_DEQUEUE' after.
    See next example:
    Bloqueo del empleado
    CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
      EXPORTING
        NUMBER = PERNR.
    IF SY-SUBRC IS INITIAL.
    Si se pudo bloquear el empleado intenta
    insertar el infotipo
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        INFTY         = '2001'
        NUMBER        = P0001-PERNR
        SUBTYPE       = i_p2001-subty
        VALIDITYEND   = acdate
        VALIDITYBEGIN = acdate
        RECORD        = i_p2001
        RECORDNUMBER  = '000'
        OPERATION     = 'INS'
        TCLAS         = 'A'
        DIALOG_MODE   = '0'
        NOCOMMIT      = ' '
      IMPORTING
        RETURN        = I_RETURN
        KEY           = I_KEY.
    IF SY-SUBRC IS INITIAL.
      VARGT = 'Y'.
    ELSE.
      VARGT = 'N'.
    ENDIF.
    No se hace COMMIT debido que el estandar lo realiza
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Desbloqueo del empleado
    CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
    EXPORTING
    NUMBER = PERNR.
    Regards,
    Diego.

  • Problem with OCI call  and  how to install and use 'DEBUG_EXTPROC' on Linux

    Hi,
    Can any one let me know how I can install and use this debug_extproc package. I have installed oracle XE server on Linux machine(32-bit).
    When I use : DEBUG_EXTPROC.STARTUP_EXTPROC_AGENT' ... i get an error saying that : it is not declared.
    I tried looking in all the directories but did not find the dbgextp.sql(which is required in order to install that package).And tried searching on google but could not get any relevant information.
    Also I am newbie to OCI call interface and also to C programming too: I have coded a external procedure or custom user aggregate in C. But since I was using C++ : 'set' STL. I have compiled my program using g++ instead of gcc and I have correspondingly modified the make file in public/demo directory.
    So, is it fine to do it that way: using OCI (instead of OCCI(C++)) but again compiling the pgm as a regular C++ using g++ instead of gcc.(But rest of the pgm including printf statements : everything is in C).
    Also I have created the library from my : custagg.so library:
    SQL> create or replace library custagg is '$ORACLE_HOME/lib/custagg.so'
    But my aggregate function implemented as external C function using OCI is either not recognised or else : if recognized then there is some error because of which i am getting the following errors : ORA-06522
    SQL> select MinDistance(TT) from egg1;
    select MinDistance(TT) from egg1
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib/custagg.so:
    cannot dynamically load executable
    Please kindly answers my queries and trying to resolve this for almost 4 days now and could not find any clue on how to get this done.
    Thanks,
    -NN

    #/bin/make
    # Make file for OCI,OCCI and ODBC demos
    # Usage :
    # For compiling & linking the cdemo81.c file
    # make -f demo_xe.mk buildoci CDEMOEXE=cdemo81 CDEMOOBJS=cdemo81.o
    .SUFFIXES: .o .c .cpp
    ICINCHOME=$(ORACLE_HOME)/rdbms/public/
    ICLIBHOME=$(ORACLE_HOME)/lib
    ICLIBPATH=-L$(ICLIBHOME)
    THREADLIBS=-lthread
    CCLIB=$(ICLIBPATH) -lclntsh $(THREADLIBS)
    OCCILIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
    CCINCLUDES = -I$(ICINCHOME)
    CCFLAGS=$(CCINCLUDES) -D_REENTRANT -g -xs
    LDFLAGS=
    SO_EXT=.so
    EXTLDFLAGS=$(LDFLAGS) -shared
    REMOVE=rm -rf
    MKLINK=ln
    MAKE=make
    MAKEFILE=demo_xe.mk
    CDEMOEXE=custagg.so
    CDEMOOBJS=custagg.o
    OCCIDEMO=occidml
    OCCIOBJDEMO=occiobj
    OTT=$(ORACLE_HOME)/bin/ott
    OCCIOTTUSR=hr
    OCCIOTTPWD=hr
    ODBCDEMOEXE=odbcdemo
    ODBCDEMOOBJS=odbcdemo.o
    AQDEMOEXE=ociaqdemo00
    AQDEMOOBJS=ociaqdemo00.o
    EXTDEMO=extdemo2.so
    CC=/usr/bin/g++
    echo "LIBCLNT value is :" $(LIBCLNT)
    echo "CC value is :" $(CC)
    .c.o:
    g++ -c -I$(ICINCHOME) $(CCFLAGS) $<
    all: clean buildoci
    echo "LIBCLNT value is :" $(LIBCLNT)
    buildoci: $(LIBCLNT) $(CDEMOOBJS)
    g++ -o $(CDEMOEXE) $(LDFLAGS) $(CDEMOOBJS) $(CCLIB)
    echo "CC value is :" $(CC)
    echo "LIBCLNT value is :" $(LIBCLNT)
    clean:
    $(REMOVE) $(CDEMOOBJS) $(CDEMOEXE)
    # This port-specific file is currently empty on Solaris. Product
    # lines may use this file to override compiler definitions and
    # flags used in occi.mk.
    # Linux compiler definitions
    CC=/usr/bin/gcc
    cc=/usr/bin/gcc
    CCFLAGS=$(CCINCLUDES) -DLINUX -D_GNU_SOURCE -D_REENTRANT -g
    LDFLAGS=-g
    # This macro CCINCLUDES has to be redefined on Linux because of
    # the existence of the 'new' directory in t_work. The name new
    # clashes with a system header file.
    CCINCLUDES = -idirafter .
    THREADLIBS=-lpthread
    ifdef BUILD_CCC296
    CC=/usr/bin/g++296
    endif
    And I am executing the make file using the command :
    make -f demo12.mk buildoci CDEMOEXE=custagg.so CDEMOOBJS=custagg.o
    I am not getting any error while running this make file.
    Can you please tell me whether PLSQL/Oracle is able to locate the file or not. Incase, if it is locating the file but due to some error in the custagg.so it is throwing that error. If this is the case, is there any way that i can debug the C program .....how can i install the debug_extproc package.. I am really new to C & OCI ... if the custagg.so is being located then there might be some problem with the way I am dynamically allocating memory to some variables.
    Please kindly reply to this Post/response.
    Please let me know if you also want to see my program code.
    Thanks & Regards,
    -NN

  • SPA 112 PROBLEM WITH SIMULTANEOUS CALLS

    HELLO,I HAVE A PROBLEM IN THE ATA SPA 112 ABOUT SIMLUTANEOUS CALLS. The ata has 2 lines,when a call falls in  line 1, the call on line 2 falls at the same time...and when I'm on line 1 and I recevive a call on line 2 the call in line 1 becomes mute and then drops.I didn' have these problems with the old pap2t .
    Can  you please help me to solve this problem ? Do I have to change something in the configuration ? Thanks,Mario

    Hi,
    thanks for responding.
    I had found out about the timing problem in the meantime, but did not find a way to mark this thread as solved.
    There are two timing values: one is the PSTN answer delay, and the other one the PSTN ring timeout.
    It seems that ring timeout should be longer than ring time + ring pause. As long as this conndition is not met. the dial plan is not even considered

Maybe you are looking for

  • PO has no items error

    Hi I have created a PO xxxxxxxxx and when i am doing the MIGO getting an eror message "PO has no items" help me out Regards Pavan

  • Add and remove option in DataGrid in flex

    Dear Friends,                 I have a datagrid which we can add a row and remove the row.In this DataGrid when i clicked to add new row im getting check Box at first,which i dont want to need at first.Pls help me regarding this.Please find the scree

  • [SOLVED] Network interface enp2s0 no longer detected

    Hello, Yesterday after rebooting, right after Grub, systemd-fsck does its stuff (clearing blocks, etc...) then nothing. After a quick research I've found that removing "quiet" from the Grub command line would allow more messages to be displayed, whic

  • Import files into Password Keeper

    I am a newbie to Blackberry and still discovering things, but is there a way to import a file (text, csv, other) into the Passwork Keeper application? (and export)?  I've tried searching this board and Google, with no luck. Thanks in advance.

  • ITunes 7.1.1 only partially fixes multimedia keys

    Well... after all the hassle we had before; http://discussions.apple.com/thread.jspa?threadID=881133 It appears that iTunes developers have adressed part of the problem with the multimedia keys in 7.1.1. Now the play/pause, stop, forward, and reverse