Rfc error received

Hi Experts,
I would like to ask the root cause of the issue we are facing right in BW system? The error description we are getting is "RFC ERROR RECEIVED". I need your assistance in solving this issue.
You soonest response is highly appreciated.

Hi  Lebron James         
You error does not provide more details.  Therefore, it is very hard to dig into it.  But as other members suggested you can trouble shoot in SM59
I usually check the RFC connection from SMSY and check that  all the RFC Trusted, BACK, Read, TW (somthing for changereques)
Aalways check the system users that get created during the RFC creation does exists.  Which you can easily view and test in SM59
Or if you are trying to create the RFC, make sure you have enough authorization to create RFC and you also exists in Remote system as well to create RFC connection.  I would say when trying to creat rfc go with SolMan_admin user and make sure same user exists in remote system or compare your user profile with solman_admin
or if you just want to resolve, best suggestion is to clean up in SMSY instead of deleting them in SM59  ( you can check at http://help.sap.com/saphelp_NW70EHP1/helpdata/en/6f/7fed65ffa94a76966cd2ca6fbafeb6/frameset.htm )
Thanks and good luck
-Santosh
Edited by: Santosh Asuthkar on Sep 15, 2009 9:56 PM

Similar Messages

  • RFC Error Received while opening queries from BEx Analiser

    Hi Friends,
    We have recently upgraded BW 3.5 to BI 7.0 and installed SAP GUI 710.
    When we try to open queries using old 3.5 BEx Analyser, we are getting error ' RFC Error Received '.
    strange thing is, it is not happening with all the users. For some users it is working fine and for some users they are getting this error only on first instance when they login after upgrade and this error is not comming from second time onwards with out implementing any corrective actions. Some users are still getiing this error even on second time when they login after upgrade.
    We are prety much confident that the authorisation is not an issue here.  Not sure about the GUI.
    Pls help me to understand the possible resons for this error and how we can fix it.
    Thanks,
    Nanvakanth

    Morning Experts,
    I have the same problem while opening the Query Designer or the WebApplicationDesigner in 3.5 or 7.0 it doesn`t matter....
    If I open a query with BEX and go to customize mode of the query --> the querydesigner will be open correctly --> very strange!
    Could anybody have a solution for this issue?
    Kind regards
    mrpynk
    Edited by: mrpynk on May 4, 2009 11:22 AM

  • File- XI- RFC (Error: Received HTTP response code 500..)

    Hi,
    I am working on File->XI->RFC  scenario, getting Processed Successfully status in "SXI_MONITOR".
    But Data is not posted in SAP R/3. I check   <b>Runtime Workbench  </b> Getting following Error in one step.
    Can any one help me in analyzing the error.....??????
    2006-06-09 14:36:32 Success output 1149888992513 Channel WEBMETHOD_SENDER_SOAPFMTEST: Send binary file "/usr/sap/transx42/data/xi_input.xml". Size 175 with QoS EO
    2006-06-09 14:36:38 Success output 1149888998592 Application attempting to send an XI message asynchronously using connection AFW.
    2006-06-09 14:36:39 Success output 1149888999757 Trying to put the message into the send queue.
    2006-06-09 14:36:40 Success output 1149889000823 Message successfully put into the queue.
    2006-06-09 14:36:40 Success output 1149889000824 The application sent the message asynchronously using connection AFW. Returning to application.
    2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001577 The message was successfully retrieved from the send queue.
    2006-06-09 14:36:41 Success output 1149889001591 File "/usr/sap/transx42/data/xi_input.xml" deleted after processing
    2006-06-09 14:36:41 Success SAPEngine_System_Thread[impl:5]_12 1149889001745 The message status set to DLNG.
    <b>2006-06-09 14:37:47 Error SAPEngine_System_Thread[impl:5]_12 1149889067522 Transmitting the message to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 500..</b>
    2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067585 The asynchronous message was successfully scheduled to be delivered at Fri Jun 09 14:42:47 PDT 2006.
    2006-06-09 14:37:47 Success SAPEngine_System_Thread[impl:5]_12 1149889067695 The message status set to WAIT.
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 Retrying to send message. Retry: 1
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367587 The message was successfully retrieved from the send queue.
    2006-06-09 14:42:47 Success SAPEngine_System_Thread[impl:5]_9 1149889367643 The message status set to DLNG.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368435 The message was successfully transmitted to endpoint http://SAPR3001.bently.com:8042/sap/xi/engine?type=entry using connection AFW.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368471 The message status set to DLVD.
    2006-06-09 14:42:48 Success SAPEngine_System_Thread[impl:5]_9 1149889368472 The message was successfully delivered.
    Thanks & Regards

    Hi Umesh,
    I think, the reason is because of huge number messages ..
    Also just go to RFC adapter, activate the adapter,refresh the cache and try it..
    following guide will help you to solve problem~
    https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf
    Just refresh the cache-The following guide will help you on that~
    https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
    Refer these SAP notes- 807000,803145
    (some hints)
    Regards,
    Moorthy

  • RFC error in idoc to file scenario in PI 7.0

    Hi Experts,
       I am getting a RFC error message like this below
    :u201D  RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling Z_XI_SEND_MAIL in remote system (RfcClient[RFC_REJECTION_MAIL]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: An exception occurred that was not caught.u201D
    Here  Z_XI_SEND_MAIL is a customised function module which is calling some classes. This function module is responsible for sending emails to a group of people.  This function module is working fine in acceptance server and development server but throwing exception in production. Thus the users are unable to receive emails. There has been no code changes in the function module. Idocs are being triggrred from sap r/3 system into XI, then being processed by a BPM, finally RFC   (Z_XI_SEND_MAIL )   is being called to send email messages. SXMB_MONI  is showing that the email message is being send to the RFC properly but communication channel is showing the above mentioned error.
    Please suggest me what might be the reason of such errors?
    Regards
    Anupam

    Hello,
    Have you tested the production data in your acceptance system or development system for the interface?
    Is it working fine??
    It seems that the function module is generating exception, which could be due to data.
    -Rahul

  • RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'

    I am having this error pop up very frequently on some new SAP systems.  This will randomly happen and keep us from being able to release transports and import them in STMS.  I receive the following error:
    There was an attempt to start the transport control program tp using the local RFC interface.
    An error occurred here.
    Error code: 4
    RFC error text: timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'
    - When I check the Transport Tool (STMS: import queue> check> transport tool) I get the following information:
    timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456#Time
    out during connection setup (check that partner exists
    - When checking the TP System Log I receive the same error.  The RSTPTEST report does not give any additional information.  SM21 shows a warning and an error:
    Warning:
    Communication Error, CPIC return code 020, SAP Return code 456
    Dialog Process No. 000
    Problem cl: SAP web AS problem
    Package: STSK
    Further Details:
    Module Name: thxxhead
    Line: 7488
    Error Text: 020456
    Caller: ThRecei
    Error:
    Problem cl: transaction problem
    Package: STTO
    All of these errors are only pointing to a time out.  I cannot figure out why this is happening.  I checked the TMS RFC connection in SM59 and they are fine.  I have been able to work around this issue in 2 different ways.  First, I can delete the files in the "\trans\tmp" directory on the server.  Sometimes this resolves the error.  Else I have to restart the system.
    I need to understand where this issue is coming from and how to resolve it.  It is becoming more and more frequent.  Thank you for your help!

    Hi,
    i have had similar issues during this week. After looking for a solution everywhere i found out that i didn't set up the FQDN on this system.
    Symptoms were:
    se38 > RSTPTEST timed out sometimes(not always)
    sm59 > TCP/IP connections > CALLTP_WindowsNT > test connections timed out sometimes (again, not always)
    STMS Overview > Systems: I was not always able to distribute and activate configuration from the Domain controller via Extras > Distribute and Activate Configuration (it died on the mentioned system)
    Transports failed mostly with the same error.
    The error log was somewhere deep in ST11. It could not resolve our FQDN.
    The solution, for me, was to add our FQDN to the WINDIR\System32\drivers\etc\hosts file.
    We upgraded the kernel as well (from 7.20 patch 046 to most current) but this didn't help.
    The FQDN is a concatenation of computer name and dns suffix of the network (if you have none, you can add one via rightclick on the used network adapter>ipv4>properties>Advanced>DNS tab, so in the end the host file looked like
    127.0.0.1   localhost   computer-name.ourSuffix.com
    After this line has been added, the error stopped and the transports work again.
    I hope it helps. Good luck.

  • RFC Error when using SAPRFC against a Unicode System

    Hi Everybody,
    I try to use the PHP SAPRFC extension against a Unicode System. When I call the client.php which comes with the source package from http://saprfc.sourceforge.net/ where I added:
                   "CODEPAGE"=>"4103",                  // codepage Unicode
                   "UNICODE"=>"1",                      // Unicode
    to the $LOGIN array I get this error:
    Warning: RFC Error Info : Group : 103 Key : RFC_ERROR_LOGON_FAILURE Message : D
    in /var/www/saprfc/client.php on line 48
    RFC connection failed with error:RFC Error Info : Key : C
    Status : EXCEPTION SYSTEM_FAILURE RAISED Message : D Internal:
    there are two trace files after the call. One called dev_rfc.trc with this content:
    **** ERROR file opened at 20060605 050220 CEST, SAP-REL 640,0,119 RFC-VER 3 818129 MT-SL
    T:1079532480 Error in program 'apache2': ======> D
    T:1079532480 Error in program 'apache2':
    <* RfcReceive [1] : returns 3:RFC_SYS_EXCEPTION
    and a file called rfc27443_1079532480.trc:
    **** Trace file opened at 20060605 050500 CEST, SAP-REL 640,0,119 RFC-VER 3 818129 MT-SL
    <<< RfcOpenEx failed
    >TS> Mon Jun  5 05:05:06 2006
    resize I/O buffer to 16000 bytes
    >>>> [7] <unknown>    : EXT  <ac: 74> L sapserver.test.com >>> OPEN  
    UUID: ab_drvstate create uuid {44839DD5-9DCE-6B32-E200-12FDBA107532}
    >>>> [7] <unknown>    : EXT  <ac: 75> L sapserver.test.com >>> 45573492 (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    >>> RfcOpenEx ...
    Got following connect_param string:
       ASHOST=sapserver.test.com SYSNR=00 CLIENT=002 USER=developer PASSWD=*******
    LANG=EN CODEPAGE=4103 UNICODE=1 TRACE=1
    Send RFCHEADER: 01/LIT/IEEE/SPACE/4103
    Send UNICODE-RFCHEADER: cp:4103/ce:IGNORE/te:REJECT/cs:1/rc:0x00000023
    UUID: send_rfcuuid {44839DD5-9DCE-6B32-E200-12FDBA107532}
    >>> Logon check: calling RFCPING
    >>> RfcCall [7] ...
    *> RfcCall
      FUNCTION RFCPING
            handle = 7
            parameter   = <NULL>
            tables      = <NULL>
    UUID:  RfcCallNew send the uuid to the partner {44839DD5-9DCE-6B32-E200-12FDBA107532}
    >>>> [7] <unknown>    : EXT  <ac: 76> L sapserver.test.com >>> WRITE (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    000000 | D9C6C3F0 F0F0F0F0 F0F0F0E3 01010008 |................|
    000010 | 01010101 04010003 01010103 00040000 |................|
    000020 | 020B0103 0106000B 04010003 01000100 |................|
    000030 | 00002301 06000700 0F313237 2E302E30 |..#......127.0.0|
    000040 | 2E312020 20202020 00070011 00014500 |.1      ......E.|
    000050 | 11001200 04363430 20001200 13000436 |.....640 ......6|
    000060 | 34302000 13000800 20736172 67652D77 |40 ..... sarge-w|
    000070 | 77772020 20202020 20202020 20202020 |ww              |
    000080 | 20202020 20202020 20000800 0600803C |         ......<|
    000090 | 756E6B6E 6F776E3E 00000000 00000000 |unknown>........|
    0000a0 | 00000000 00000000 00000000 00000000 |................|
    0000b0 | 00000000 00000000 00000000 00000000 |................|
    0000c0 | 00000000 00000000 00000000 00000000 |................|
    0000d0 | 00000000 00000000 00000000 00000000 |................|
    0000e0 | 00000000 00000000 00000000 00000000 |................|
    0000f0 | 00000000 00000000 00000000 00000000 |................|
    000100 | 00000000 00000000 00000000 00000000 |................|
    000110 | 06051400 10D59D83 44CE9D32 6BE20012 |........D..2k...|
    000120 | FDBA1075 32051401 30000761 70616368 |...u2...0..apach|
    000130 | 65320130 01110009 44455645 4C4F5045 |e2.0....DEVELOPE|
    000140 | 52011101 17000D56 F94AFD31 E72211B4 |R......V.J.1."..|
    000150 | 1DCED7F3 01170114 00033030 32011401 |..........002...|
    000160 | 15000145 01150501 00010105 01050200 |...E............|
    000170 | 00050200 0B000336 3430000B 01020007 |.......640......|
    000180 | 52464350 494E4701 02051400 10D59D83 |RFCPING.........|
    000190 | 44CE9D32 6BE20012 FDBA1075 320514FF |D..2k......u2...|
    0001a0 | FF0000FF FF000000 00000000 00000000 |................|
    >>>> [7] <unknown>    : EXT  <ac: 77> L sapserver.test.com >>> FLUSH(WRITE) (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    <* RfcCall [7] : returns 0:RFC_OK
    >>>> [7] <unknown>    : EXT  <ac: 78> L sapserver.test.com >>> FLUSH(WRITE) (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    >>>> Listen/WaitForRequest (counter = 4)
    >>>> [7] <unknown>    : EXT  <ac: 79> L sapserver.test.com >>> LISTEN (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    000000 | 01010008 01010101 04010003 01010103 |................|
    000010 | 00040000 020B0103 0106000B 04010003 |................|
    000020 | 01000200 00002301 06001600 08310031 |......#......1.1|
    000030 | 00300030 00001600 07001E31 0030002E |.0.0.......1.0..|
    000040 | 00310032 0038002E 00330036 002E0031 |.1.2.8...3.6...1|
    000050 | 00350020 00200020 00000700 11000233 |.5. . . .......3|
    000060 | 00001100 12000836 00320030 00200000 |.......6.2.0. ..|
    000070 | 12001300 08360032 00300020 00001300 |.....6.2.0. ....|
    000080 | 08004064 00650063 00720030 0034005F |[email protected]._|
    000090 | 00430052 0034005F 00300030 00200020 |.C.R.4._.0.0. . |
    0000a0 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    0000b0 | 00200020 00200020 00200020 00200020 |. . . . . . . . |
    0000c0 | 00200000 08000601 003C756E 6B6E6F77 |. .......<unknow|
    0000d0 | 6E3E0000 00000000 00000000 00000000 |n>..............|
    0000e0 | 00000000 00000000 00000000 00000000 |................|
    0000f0 | 00000000 00000000 00000000 00000000 |................|
    000100 | 00000000 00000000 00000000 00000000 |................|
    000110 | 00000000 00000000 00000000 00000000 |................|
    000120 | 00000000 00000000 00000000 00000000 |................|
    000130 | 00000000 00000000 00000000 00000000 |................|
    000140 | 00000000 00000000 00000000 00000000 |................|
    000150 | 00000000 00000000 00000000 00000000 |................|
    000160 | 00000000 00000000 00000000 00000000 |................|
    000170 | 00000000 00000000 00000000 00000000 |................|
    000180 | 00000000 00000000 00000000 00000000 |................|
    000190 | 00000000 00000000 00000000 00000000 |................|
    0001a0 | 00000000 00000000 00000000 00000000 |................|
    0001b0 | 00000000 00000000 00000000 00000000 |................|
    0001c0 | 00000000 00000000 00000605 140010D5 |................|
    0001d0 | 9D8344CE 9D326BE2 0012FDBA 10753205 |..D..2k......u2.|
    0001e0 | 14050000 00050004 03002E43 0041004C |...........C.A.L|
    0001f0 | 004C005F 00460055 004E0043 00540049 |.L._.F.U.N.C.T.I|
    000200 | 004F004E 005F004E 004F0054 005F0046 |.O.N._.N.O.T._.F|
    000210 | 004F0055 004E0044 00040304 02004046 |.O.U.N.D......@F|
    000220 | 0075006E 00630074 0069006F 006E0020 |.u.n.c.t.i.o.n. |
    000230 | 006D006F 00640075 006C0065 00200022 |.m.o.d.u.l.e. ."|
    000240 | 00524643 50494E22 0020006E 006F0074 |.RFCPIN". .n.o.t|
    000250 | 00200066 006F0075 006E0064 002E0004 |. .f.o.u.n.d....|
    000260 | 02FFFF00 00FFFF00 00000000 00000000 |................|
    <* RfcListen [7] : returns 0:RFC_OK
    >>> RfcReceive [7] ...
    Received RFCHEADER [7]: 01/LIT/IEEE/SPACE/4103
    Received UNICODE-RFCHEADER [7]: cp:4103/ce:IGNORE/te:REJECT/cs:2/rc:0x00000023
    UUID: ab_rfccheck_uuid compare uuid's {44839DD5-9DCE-6B32-E200-12FDBA107532}
    Error in program 'apache2': ======> F
    >>>> [7] <unknown>    : EXT  <ac: 80> L sapserver.test.com >>> CLOSE abrfcrcv_mt.c 429 (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    *> RfcReceive
            handle = 7
            parameter   = <NULL>
            tables      = <NULL>
             Data conversion On
    Error in program 'apache2': <* RfcReceive [7] : returns 3:RFC_SYS_EXCEPTION
    >>>> [7] <unknown>    : EXT  <ac: 81> L sapserver.test.com >>> FREE abrfcio_mt.c 3517 (45573492)
      -{44839DD5-9DCE-6B32-E200-12FDBA107532}
    **** Trace file opened at 20060605 050506 CEST, SAP-REL 640,0,119 RFC-VER 3 818129 MT-SL
    <<< RfcOpenEx failed
    Our SAP Environment is:
    - SAP Web AS 6.20 Unicode Kernel Patchlevel 1602
    - Windows 2003 Server
    - Oracle
    On the PHP Side I use:
    - Debian GNU/Linux 3.1 (Sarge)
    - Apache 2 2.0.54-5
    - PHP4 4.3.10-16
    - SAPRFC 1.4.1
    - SAP RFC SDK non Unicode 6.20 and 6.40 (The problem occurs in both versions)
    Had anyone had sucess using SAPRFC against a Unicode System?
    Regards
    Gregor

    Hi Anton,
    I've just tried your suggestion. I've commented out the CODEPAGE and UNICODE values in my Array and placed:
    [code]saprfc_set_code_page($rfc, "4103");[/code]
    after the
    [code]$rfc = saprfc_open ($LOGIN);[/code]
    The error message I get now is:
    [code]Warning: RFC Error Info : Key : Status : EXCEPTION FU_NOT_FOUND RAISED Message :
    Internal: in /var/www/saprfc/client.php on line 58
    Discovering interface of function module RFC_READ_REPORT failed[/code]
    In the trace File I see:
    [code]>>>> [3] <unknown>    : EXT  <ac: 40> L sapserver.test.com >>> WRITE (80999721)
      -{44839E3E-9E3B-6B30-E200-0534B0CD3057}
    000000 | 05020000 0502000B 00063600 34003000 |..........6.4.0.|
    000010 | 000B0102 00385200 46004300 5F004700 |.....8R.F.C._.G.|
    000020 | 45005400 5F004600 55004E00 43005400 |E.T._.F.U.N.C.T.|
    000030 | 49004F00 4E005F00 49004E00 54004500 |I.O.N._.I.N.T.E.|
    000040 | 52004600 41004300 45005F00 50000102 |R.F.A.C.E._.P...|
    000050 | 05140010 3E9E8344 3B9E306B E2000534 |....>..D;.0k...4|
    000060 | B0CD3057 05140201 00104600 55004E00 |..0W......F.U.N.|
    000070 | 43004E00 41004D00 45000201 0203001E |C.N.A.M.E.......|
    000080 | 5246435F 52454144 5F524550 4F525420 |RFC_READ_REPORT |
    000090 | 20202020 20202020 20202020 20200203 |              ..|
    0000a0 | 03010010 50004100 52004100 4D005300 |....P.A.R.A.M.S.|
    0000b0 | 5F005000 03010330 00040000 00010330 |_.P....0.......0|
    0000c0 | 03020008 000000D8 00000000 0302FFFF |................|
    0000d0 | 0000FFFF 00000000 00000000 00000000 |................|
    >>>> [3] <unknown>    : EXT  <ac: 41> L sapserver.test.com >>> FLUSH(WRITE) (80999721)
      -{44839E3E-9E3B-6B30-E200-0534B0CD3057}
    <* RfcCall [3] : returns 0:RFC_OK
    >>> RfcReceive [3] ...
    >>>> [3] <unknown>    : EXT  <ac: 42> L sapserver.test.com >>> FLUSH(WRITE) (80999721)
      -{44839E3E-9E3B-6B30-E200-0534B0CD3057}
    >>>> [3] <unknown>    : EXT  <ac: 43> L sapserver.test.com >>> READ (80999721)
      -{44839E3E-9E3B-6B30-E200-0534B0CD3057}
    000000 | 05000000 05000415 00044600 4C000415 |..........F.L...|
    000010 | 04160002 45000416 04170006 30003400 |....E.......0.4.|
    000020 | 36000417 04010018 46005500 5F004E00 |6.......F.U._.N.|
    000030 | 4F005400 5F004600 4F005500 4E004400 |O.T._.F.O.U.N.D.|
    000040 | 0401FFFF 0000FFFF 00000000 00000000 |................|
    >>>> [3] <unknown>    : EXT  <ac: 44> L sapserver.test.com >>> FLUSH (READ) (80999721)
      -{44839E3E-9E3B-6B30-E200-0534B0CD3057}[/code]
    Regards
    Gregor

  • Soap Sender and RFC Adapter receiver getting APPLICATION_ERROR

    Hi, all,
    I have a webservice soap sender and RFC Adapter receiver scenario, it works fine with RFC "RFC_SYSTEM_INFO", When i tried the RFC "RFC_READ_TABLE", getting the following error message,  <SAP:Code area="RFC_ADAPTER">APPLICATION_ERROR</SAP:Code> in
    SXI_MONITOR, in webservice client, i am getting error message like this:
    <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <rfc:ZZTEST_RFC_READ_TABLE.Exception xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
                   <Name>TABLE_NOT_AVAILABLE</Name>
                   <Text>QUERY_TABLE not active in Dictionary</Text>
                </rfc:ZZTEST_RFC_READ_TABLE.Exception>
    Thanks a lot!

    Hi
    Its not compulsory but its good to wrap it as Z object.
    Well if you are facing problem with SOAP data. Then try to do one thing. Check with the data you received from SOAP message. If this works
    Then try to check in mapping is it passing the data correctly or not. With this check with the user authorization PIAPPLUSER. if its having less authorizations to execute this BAPI in ECC
    Thanks
    Gaurav

  • RFC error communication  exception

    Hi all,
    My scenario is Jdbc -- XI -- RFC(Z_BAPISALESORDER with two BAPI's 1.BAPI_SALESORDER_CREATEFROMDAT  2.BAPI_TRANSACTION COMMIT).
    I am using RFC reciever adapter.While configuring the RFC adapter I have two options.
    1.SAP system  2.External RFC server
             If i select SAP system , I did not get any errors.It is showing successful message in SXMB_MONI and also in RWB. But Sales order is not created.
    Message in RWB ...
    .>RFC adapter received an asynchronous message. Attempting to send tRFC for Z_SALESORDERCREATEFROMDAT_XI with TID XIWVaSqBlY4TccBW0GtFmRhW
    .>The message status set to DLVD.
    .>The message was successfully delivered to the application using connection AFW.
             But If i use External RFC system, I am getting excepion.In RWB it is showing following excetion.
    ...>Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CPIC-CALL: CMRCV LOCATION CPIC (TCP/IP) on host sapx
    ...>Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not get a client from JCO.Pool: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CPIC-CALL: CMRCV LOCATION CPIC (TCP/IP) on host sapx.
    which option is used for calling the BAPI to create the sales order?
    Could anybody help me out...?
    Thanks,
    sekhar.

    Try this code. This works perfectly for us:
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
    SALESDOCUMENTIN = SALESDOCUMENTIN
    ORDER_HEADER_IN = ORDER_HEADER_IN
    ORDER_HEADER_INX = ORDER_HEADER_INX
    SENDER = SENDER
    BINARY_RELATIONSHIPTYPE = BINARY_RELATIONSHIPTYPE
    INT_NUMBER_ASSIGNMENT = INT_NUMBER_ASSIGNMENT
    BEHAVE_WHEN_ERROR = BEHAVE_WHEN_ERROR
    LOGIC_SWITCH = LOGIC_SWITCH
    TESTRUN = TESTRUN
    CONVERT = CONVERT
    IMPORTING
    SALESDOCUMENT = SALESDOCUMENT
    TABLES
    RETURN = RETURN
    ORDER_ITEMS_IN = ORDER_ITEMS_IN
    ORDER_ITEMS_INX = ORDER_ITEMS_INX
    ORDER_PARTNERS = ORDER_PARTNERS
    ORDER_SCHEDULES_IN = ORDER_SCHEDULES_IN
    ORDER_SCHEDULES_INX = ORDER_SCHEDULES_INX
    ORDER_CONDITIONS_IN = ORDER_CONDITIONS_IN
    ORDER_CONDITIONS_INX = ORDER_CONDITIONS_INX
    ORDER_CFGS_REF = ORDER_CFGS_REF
    ORDER_CFGS_INST = ORDER_CFGS_INST
    ORDER_CFGS_PART_OF = ORDER_CFGS_PART_OF
    ORDER_CFGS_VALUE = ORDER_CFGS_VALUE
    ORDER_CFGS_BLOB = ORDER_CFGS_BLOB
    ORDER_CFGS_VK = ORDER_CFGS_VK
    ORDER_CFGS_REFINST = ORDER_CFGS_REFINST
    ORDER_CCARD = ORDER_CCARD
    ORDER_TEXT = ORDER_TEXT
    ORDER_KEYS = ORDER_KEYS
    EXTENSIONIN = EXTENSIONIN
    PARTNERADDRESSES = PARTNERADDRESSES
    **checking if the BAPI returned some errors*****
    LOOP AT return ASSIGNING <bapiret>.
    IF <bapiret>-type = 'E' OR <bapiret>-type = 'A'.
    success = space.
    EXIT.
    ENDIF.
    ENDLOOP.
    IF success = 'X'.
    ****in case of success commit the BAPI*********
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'
    IMPORTING
    return = wa_bapiret.
    ELSE.
    ROLLBACK WORK.
    ENDIF.
    Also you need to pass on the information for "inx" structures. What I mean is , if you are sending data to field REF_1 in header_in, then ref_1 in header_inx needs to be passed witha value of 'X'.
    The update flag in inx structure needs to be 'C' for create.
    If have items in your sales order, then you have to pass the values for item_in and item_inx. Additionally you need to pass values for schedule lines also.
    Hope this helps.
    Thanks,
    Bhaskar

  • UI Attributes - RFC error when displaying PCR with Adobe forms

    Hello All,
    I am receiving an UI Attributes/RFC error when I display a PCR that was created wth Life Cycle Designer. I copied it from a delivered SAP form. I am using the QISR1 Badi to process the form. I have three other forms that are working correctly.
    If anyone can provide some direction into resolving this, it would be greatly appreciated.
    Thanks,
    Mike

    Hello All,
    I was able to resolve this issue by setting a UI Attributes variable.
    Thanks

  • RFC adapter receive queue performance

    We currently using XI 3.0 on NetWeaver 6.40 with a lot of asynchronous interfaces from JDBC <-> RFC.
    After some load we experience that message received in RFC adapter queue are processed after a long time. The messages has status "To Be Delivered" and XI is processing other messages the same time.
    2010-01-07 15:25:28     Success     Message successfully received by messaging system. Profile: XI URL: http://mlrxiprod:50000/MessagingSystem/receive/AFW/XI Credential (User): XIISUSER
    2010-01-07 15:25:28     Success     Using connection RFC_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2010-01-07 15:25:28     Success     Message successfully put into the queue.
    after 1 1/2 hour  ...
    2010-01-07 17:01:10     Success     The message was successfully retrieved from the receive queue.
    2010-01-07 17:01:10     Success     The message status set to DLNG.
    2010-01-07 17:01:10     Success     Delivering to channel: NAV_FICANCEL_RFC_RECEIVER
    2010-01-07 17:01:10     Success     RFC adapter received an asynchronous message. Attempting to send tRFC for ZXI_FI_CANCEL_WRAP with TID XIps}UGFk94TwD}G0O}ZGR2m
    2010-01-07 17:02:32     Success     The message was successfully delivered to the application using connection RFC_http://sap.com/xi/XI/System.
    2010-01-07 17:02:32     Success     The message status set to DLVD.
    Can you explain why it takes so long the message to picked up and processed from the queue. All messages will be processed but the performance is unacceptable. No errors are found in SMQ2.

    Hi,
    It looks like msgs take very long time to be picked up from the queue(s) ! Is there enough threads allocated (according to SAP recommendations, which I can't remember) ?
    How many system & application threads have been allocated ?
    Rgds
    Chris

  • RFC Error while BEx connecting to SAP instance

    Hi
    When I initiate SAP connection via BEx, I receive the following RFC error.
    Name for errno number WSAEWOULDBLOCK
    ***LOG Q0I=> NiBufIConnect: connection pending after 10000ms: connect (10035: WSAEWOULDBLOCK: Resource temporarily unavaila
    ERROR => NiBufIConnect: non-buffered connect pending after 10000ms (hdl 2;72.3.244.83:sapgw30) [nibuf.cpp    4611]
    ERROR => GwIConnect: GwConnect to 72.3.244.83 / sapgw30 failed (rc=NIECONN_REFUSED) [gwxx.c       296]
    ***LOG S0T=> GwIConnect, GwConnect (-0010) [gwxx.c       297]
    ***LOG S0R=> GwIConnect, GwConnect () [gwxx.c       299]
    ***LOG S0S=> GwIConnect, GwConnect (sapgw30) [gwxx.c       301]
    ERROR => GwMonGetNoRegPrgm: no connect to gw (72.3.244.83/sapgw30) [gwxxmon.c    1581]
    I did test the following:
    - Able to connect via SAPGUI
    - Able to telnet <ip_address> 33XX
    - Able to telnet <ip_address> 32XX
    Kindly let me know the reason & solution. I could only observe OSS Note 180940 reasonable. But I have SAP version BI 7.0 on Win 2003 server X64... And my windows version is Vista..
    Thanks & Regards
    Madhu

    is this happening when calling BEx from a OS different than Vista?...
    Regards
    Juan

  • RFC error when trying to add transport request in queue in STMS..

    Hi,
    When I try to add a Transport request in queue in STMS transaction. I get RFC error saying some problem with tp program.
    But when I go and check the RFC connection through STMS in system overview -> Communication -> RFC setting, it says RFC connection Ok.
    What may be the issue  ? I really need some light on this..
    Regards,
    Rajesh.

    Hi Rajesh,
    At times when u try to add the TR to a queue there would be 2 reasons.
    1. If u have imported a TR into a system say QTY and it needs to be re imported, then we delete it fromthe STMS queue and add it again to re import it.
    2. If u have some transport from external sap system to be imported here we place the data and Co files in the trans directory and then add the TR to this queue.
    A TP failure happens if the data and co files does not exist in the TP directory or else, the TR target system is incorrectly mentioned.
    Hope it helps.
    Br,
    Sri
    Award points for helpful answers

  • RFC ERROR while running BI Process Chain

    I'm recieving the following error while running certain Process Chains in BI.
    RFC error: FAILED
    RFC Message: FAILED
    The system log in BI shows the following.
    Communication error, CPIC return code 017, SAP return code 672
    672 Logon to Netweaver failed
    Other process chains work correctly via CPS.
    Any Ideas?
    Thanks

    This looks like a BW problem. Do you get the same message when you submit it manually in SAP?

  • RFC error while publishing dialog transaction

    Dear All,
                  I had made an internet service in a dialog pool.But while publishing it i am getting RFC errors.Can you tell me what are the prerequisites for designing an internet servise as i want my module pool page to be displayed through internet browser.
                                                               Pratighya Jain

    Hi Pratighya,
    you got RFC-errors during the publishing of an internet service?
    I assume you are talking about the integrated ITS.
    Ok, that is what will happen if you publish an internet service:
    the templates are copied to the the table containing the published ones
    the MIME object are activated in order to be loadable by the icman - the
      Web server part of the WebAS
    The template caches on each application server of the system are invalidated.
    For doing the last part we need RFC connections between the application servers,
    since the order to refresh the cache is send using a function module via RFC. Is
    the system configuration clean? Are all of the servers reachable by RFC?
    You may check the state of the template caches using the transaction SITSPMON.
    hope this helps
    Tobias

  • Rfc error while importing TR

    Hi All,
             i have setup CHARM created a TR and task and assigned a correction to thes task, released the task and TR and while trying to import the the trequest to quality system (from solutionmanager) throwing an error"TMS Communication Error with [email protected]". opened the performance assisant of this error which displays "User SAPSYS has no RFC authorization for function
    group TMSC "
    rgds,
    Anand

    Dear Anand,
    Please go to Tcode:SM59,select the [email protected] rfc under ABAP Connections and check for the connection test.
    In the Log on tab(when you double click [email protected])check for the user which is mentioned there.
    If you get same RFC error when you do the connection test,the proper RFC authorization should be given to the user mentione in the log on tab in the satellite system.
    Revert for any clarifications,
    Thanks and Regards,
    Avinash.

Maybe you are looking for