RFC Error in SM58 Commit fault com.sap.aii.af.rfc.afcommunication

Have a RFC interface between Sap R/3 and XI. Submit RFC request: call function 'Z_PGM'
        in background task
        destination 'XID'
        tables
          it_zmsfi_labels = t_table.
Getting error in SM58 in R/3 : Commit fault com.sap.aii.af.rfc.afcommunication.Rf cAFWException: alternat
Message no. SR053
Any ideas? If I do test connection on in SM59 on TCP connection it's Ok.

call function 'Z_PGM'
in background task
  destination 'XID'
tables
it_zmsfi_labels = t_table.
<b>COMMIT WORK.</b>
This should solve your problem.
regards
SKM

Similar Messages

  • RFC Error : Commit fault: com.sap.aii.af.rfc.afcommunication

    Hi ,
    I am having a problem in a RFC to File scenario. My Sender RFC is working fine and is showing the status green in the CC Monitoring in AdapterEngine under Component Monitoring. But we are trying to trigger the data to the RFC we are getting the following error "Commit fault: com.sap.aii.af.rfc.afcommunication.R
    fcAFWException: alterna "
    The RFC connection when tested it is ok .. the connection is established.
    Please suggest.
    Regards,
    Hemanthika

    Hi,
    1. Refer to the following notes
    SAP Note 730870
    SAP Note 775765
    Also check
    RFC Error in SM58 Commit fault
    RFC Error in SM58 Commit fault com.sap.aii.af.rfc.afcommunication
    2. have a look to R/3 transaction SM58 to find your message
    Thanks
    swarup

  • Commit fault: com.sap.aii.adapter.rfc.afcommunication.RFCAFWExpection: lo

    Hi,
    we are doing a RFC to file scenario. it works fine in DEV and QA. but in production sporadically it shows commit fault: com.sap.aii.adapter.rfc.afcommunication.RFCAFWExpection: lo error in SM58.
    I have refreshed the cache and all the necessary componets like Sender C.C, receiver C.C, Receiver determination, interface determination, sender agreement and receiver agreement is present.
    how to solve this issue. its production issue. pls help ASAP

    Hi,
    The ECC's business system has Technical System,Client number and Logical System Name.
    Also the same is reflected in BS of Integration Builder. it has the logical system, R/3 system and client number in Adapter specific identifiers.
    Can you also let me know how to check the complete error message in Tcode SM58. when i double-click on the error it just shows "Commit fault: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException:lo". how can i view the full message

  • RFC Error in SM58 Commit fault

    My scenario is RFC to XI to FILE.
    I made RFC destination in SM59
    and configure xi according to
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    The connection test in SM59 is succeeded.
    I would like to execute BAPI, so wrote following..
      CALL FUNCTION 'BAPI_CUSTOMER_GETLIST'
           IN BACKGROUND TASK
           DESTINATION 'BAPI_XI_001'
       <<< parameters >>>
       COMMIT WORK.
    BUT in SM58, I got error
    'Commit fault: com.sap.aii.af.rfc.afcommunication.
    RfcAFWException: alterna '.
    Any ideas?
    Best regards.

    Thank you very much for your information.
    I checked Q&A19 of SAP NOTE 730870
    and configured XI again.
    Then I got a different error...
    ' program BAPI_CUSTOMER_GETLIST not registered / CPI
      C-CALL: 'ThSAPECMINIT'#  '
    I have already checked the spelling of BAPI's name.
    Have you saw this error??

  • RFC Data not sending to Destination ( com.sap.aii.af.rfc.afcommunication.Rf

    Hi Experts,
             i have created a TCP/IP connection in sm59 as ID4 with R/3 details. now i am calling a function module like this.
      call function 'Z_CBT_RFC_SALESPERSON'
           exporting
                p_sdate       = p_sdate
                p_edate       = p_edate
           tables
                isalesperson  = i_salesperson
           exceptions
                no_data_found = 1
                others        = 2.
      if sy-subrc <> 0.
        message e111(zi) with text-101.
      endif.
      if not i_salesperson[] is initial.
        call function 'Z_CBT_RFC_SALESPERSON' in background task destination
                                                 'ID4'
             exporting
                  p_sdate      = p_sdate
                  p_edate      = p_edate
             tables
                  isalesperson = i_salesperson.
        write: text-103.
      else.
        message e111(zi) with text-101.
        exit.
      endif.
      commit work .
              i am getting a problem that some times the data is exported to XI system but some times not.
            and in sm58 i am getting an error message for this execution as
    KOMMP2       Z_CBT_RFC_SALESPERSON         ID4           05/28/2007 02:30:10 <b>Commit fault: com.sap.aii.af.rfc.afcommunication.R</b> 95B7F6ADB04C465A8502002E brcpfd04 SE38 ZSIOPSP                                 105  0000
    Commit fault:
    com.sap.aii.af.rfc.afcommunication.RfcChannelMismatchExcept
             For all execution iam getting this error. Anyone call tell me how to resolve this issue.
              Please suggest me, do i need any modification in the program and in connection settings.please do the needful as soon as possible.points will be awarded for all answers.
    Thanks in advance.
    Thanks & Regards,
    Poorna

    Hi Sergio,
             Actually we are using the same connections for all the interfaces the we are developing in development system, and XI guys are using the same Program-ID in all their interfaces to configure.
             So when we are triggering the interface, some times the messages are going to XI, but sometimes no data is going.
             and let me know, if any more settings are required in sm59.
    Thanks & Regards,
    Poorna.

  • SAP R/3 - XI:  Commit fault com.sap.aii.af.mp.module.ModuleException

    Hi -
    We have an integration setup between SAP R/3 4.7C and SAP XI -
    It uses background queues - and in our development environment, on the call to XI, we are receiving the error message:
    Commit fault com.sap.aii.af.mp.module.ModuleException: call to messaging
    The queue then goes into SYSFAIL status.
    This is occurring on all of our integrations between R/3 and XI - which has been previously working -
    I have been working w/ our Basis guy & he said that all his checks to both systems look ok.
    Do you have any pointers on what to look at or check out?
    Your help is very appreciated!
    Thanks,
    Michelle

    Hi Michelle,
    Please check if the background Xi database to which your transactions are committed is full. In case it is, you would need Basis help to archive them, before you proceed. Please check your dump for the same.
    cheers,
    Prashanth
    P.S Please mark helpful answers.

  • Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWExc

    Hello All,
    Does anyone know what this message means? All our programs using RFC to send data to another system is encountering error below. Please help.
    Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/'ZBS_R3BACKEND2'/'CC_MQ_Rfc_Outbound', lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'QAS#100' returned party/service of ''/'ZBS_R3BACKEND')
    Regards,
    Alfred

    Hi
    have u configured the Bussiness System with correct client which u r trying to connect?
    check if u have imported RFC from right client.
    rgds
    srini

  • When i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    when i send a test message throw the RWB for Http receiver adapter it is giving the error "Error in processing caused by: com.sap.aii.adapter.http.api.HttpAdapterException: ERROR_SOCKET_TIMEOUT, Read timed out"

    Hi, Michal
    I have read your Weblog. It makes sense to me. Thanks a lot for your help! However, I still have some questions and listed them as following. Could you please help to answer them?
    <b>Q1:</b> I am new to SAP-XI. So I have no idea about TCODE-SXMB_ADM. Could you introduce more details about it?
    <b>Q2:</b> The XI system I am using is running on SAP-ICC's machine. The tools I can use are:
    <b>1.</b>Builder for Integration Repository
    <b>2.</b>Builder for Integration Configuration
    <b>3.</b>System Landscape Directory
    <b>4.</b>Runtime Workbench
    <b>5.</b>Administration System (for Repository, Directory, Runtime)
    Please note that I do not have a complete control on this SAP-XI. Do you think whether or not I can set the timeout parameter by following the instructions provided in your Weblog?
    For more details about my SAP-XI, please access the following Web page:
    http://iccxi.sap.com:58000/rep/support/admin/index.html
    <b>Q3:</b> The following messages are extracted from the SAP-XI. Wish they are hepful to solving my problem.
    2006-06-19 05:12:16 Success The message was successfully received by the messaging system. Profile: XI URL: http://iccxi.sap.com:58000/MessagingSystem/receive/AFW/XI
    2006-06-19 05:12:16 Success Using connection AFW. Trying to put the message into the request queue.
    2006-06-19 05:12:16 Success Message successfully put into the queue.
    2006-06-19 05:12:16 Success The message was successfully retrieved from the request queue.
    2006-06-19 05:12:16 Success The message status set to DLNG.
    2006-06-19 05:12:16 Success Delivering to channel: ValidationRequestHandlerServiceChannel
    2006-06-19 05:12:16 Success SOAP: request message entering the adapter
    2006-06-19 05:12:37 Success SOAP: call failed
    2006-06-19 05:12:37 Error SOAP: error occured: java.net.ConnectException: Connection timed out: connect
    2006-06-19 05:12:37 Error Exception caught by adapter framework: Connection timed out: connect
    Thanks
    Menghua Li

  • Error in the following service com.sap.aii.af.ra.ms.impl.core.archiving.exe

    Does anyone know what this error might be?
    Details for 'Is the Adapter Engine running?'
    ==== Events on Server 19010950 ====
    Adapter Engine, message: Fatal RecoverJob (Default Recover Job) failed.
    (Details: Code: MS.JOB.RECOVER, Location: com.sap.aii.af.ra.ms.impl.core.archiving.executor.RecoverExecutor, Reason: java.lang.Exception: Failed to restart message ddc46f41-bdad-7cf1-b918-001b7832810c(INBOUND) remotely on cluster node 19011150. Reason: Could not execute cluster event, due to: Service"com.sap.aii.af.ms.svc"on cluster element 19,011,150 thrown an exception in receiveWait(), invoked by a request by cluster element 19,010,950., Time: 07.12.2008 10:00:00)
    ==== Events on Server 15965050 ====
    Adapter Engine, message: Fatal Message listener localejbs/CIDXMessageListener could not be created for connection CIDXAdapter after 60 attempts.
    (Details: Code: MS.APP.LISTENER.NOTFOUND, Location: com.sap.aii.af.ra.ms.runtime.ListenerFinder, Reason: Unknown, Time: 07.12.2008 08:34:49)
    Adapter Engine, message: Fatal Message listener localejbs/RNIFMessageListener could not be created for connection RNIFAdapter after 60 attempts.
    (Details: Code: MS.APP.LISTENER.NOTFOUND, Location: com.sap.aii.af.ra.ms.runtime.ListenerFinder, Reason: Unknown, Time: 07.12.2008 08:34:49)
    Adapter Engine, message: Fatal Message listener localejbs/RNIF11MessageListener could not be created for connection RNIF11Adapter after 60 attempts.
    (Details: Code: MS.APP.LISTENER.NOTFOUND, Location: com.sap.aii.af.ra.ms.runtime.ListenerFinder, Reason: Unknown, Time: 07.12.2008 08:34:49)
    Reset event protocol:http://nytsappip.nyhq.nytint.com:50100/MessagingSystem/performance?resetSystemMatrixInCluster

    Resolved in thread: com.sap.aii.af.ra.ms.api.ConfigException: ConfigException in XI protocol ha

  • File to RFC - error while processing message to remote system:com.sap.aii.

    Hi
    i m working on File to RFC scenario. the records are getting displayed in sender CC and receiver CC. But in receiver CC i m also getting the following error:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.    
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling ZRFC in remote system (RfcClient[CC_RIS_STC_PIMASTER_RECEIVER]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE:      Screen output without connection to user.   
    It was working fine few hours earlier but showing this error now. i was giving a SUBMIT program , but stopped that now.
    But still facing the same problem. and in SXMB_MONI its showing recorded for Outbound processing.
    could anyone help.

    Hi
    I am Facing  Following Error When I am trying to call SAP Screen through JCO.jar
    com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Screen output without connection to user
    Please Guide Whethere it is possible to call SAP screen Through JCO.jar  ot NOT
    Please HELP if it is possible to Call SAP screen through JCO.jar with step and Code
    Thanks
    Vivek

  • HTTP to RFC Mapping error:com.sap.aii.utilxi.misc.api.BaseRuntimeException:

    hi all,
              I am doin a http to rfc scenario.In moni it is showing a mapping error in the request mapping and showing this error.In IR my mapping is working fine but in payload runtime i found the error is because it is showing <?xml version="1.0" encoding="UTF-8" ?> twice.Below is the payload message
    <i><?xml version="1.0" encoding="UTF-8" ?>
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:Lspm_Request_SampledueGrid_MT xmlns:ns0="http://satyam.com/xi/LSPM">
      <KUNNR>100000</KUNNR>
      <FROM_DATE>15.11.2006</FROM_DATE>
      <TO_DATE>10.12.2006</TO_DATE>
    - <EQUIPMENTID>
    - <item>
      <EQUIPID>wb</EQUIPID>
      </item>
      </EQUIPMENTID>
    + <LOCATIONID>
    - <item>
      <LOCID>1</LOCID>
      </item>
      </LOCATIONID>
    - <OILID>
    - <item>
      <OILID>BP260</OILID>
      </item>
      BP260
      </OILID>
      </ns0:Lspm_Request_SampledueGrid_MT></i>
    I tested using view source code and removing the extra ]<?xml version="1.0" encoding="UTF-8" ?> in IR and it is working fine.
    Now my problem is how to rectify this error can anyone help me out please??
    thanks,
    Nisheeta

    hi,
         I tried to post the XML in the http page without the header and now it it showing a new error
    Result:
    <SAP:Error><SAP:Category>XIAdapterFramework</SAP:Category><SAP:Code>MESSAGE.GENERAL</SAP:Code><SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: 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: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)</SAP:AdditionalText></SAP:Error>
    http://cgnsap27:8000/sap/xi/adapter_plain?namespace=http%3A//satyam.com/xi/LSPM&interface=Lspm_SampledueGrid_Syn_MI&service=SATYAM_LSPM_BS&party=&agency=&scheme=&QOS=BE&sap-user=shailesh&sap-password=shailesh&sap-client=100&sap-language=EN
    wat does this mean??
    nisheeta

  • Error message "com.sap.aii.af.ra.ms.api.DeliveryException: "

    Hi Team,
    Created a simple file2file scenarion successfully. Unable to pick the file from Sender directory to Receiver Directory.
    Checked from monitoring the Communication Channel.
    Error message shown for sender communication channel as below:
      Communication Channel  Status   Short Log                                Control Data   Party  Service           Adapter Type  Direction 
      sen_cc                 Red ball Processing Errors In the Last 30 Seconds  Manually             kanchuf2f_sen_bs   File         Sender                                                                               
    Line 1 / 1
    By selecting the sender communication channel "sen_cc", below is the node details given.
    Processing Details for Cluster Node Server 0 1_54295
    Type 
    Time Stamp         Message ID                           Explanation 
    12/3/08 8:20:01 AM 45f841be-a421-43bd-235a-c7ad19b0aec8 Retry interval started. Length: 60.0 seconds
    12/3/08 8:20:01 AM 45f841be-a421-43bd-235a-c7ad19b0aec8 Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:
    By clicking on the first Message ID, The message says successful upto some point  and give error says JCO COMMUNICATION FAILURE and RFC issue.
    Below is the information provided in detail.
      Audit Log for Message: 45f841be-a421-43bd-235a-c7ad19b0aec8
    Time Stamp          Status  Description
    03.12.2008 08:20:00 Success Channel sen_cc: Send binary file  "f:\xi_file\sender\f2fmap.xml". Size 210 with QoS BE
    03.12.2008 08:20:00 Success Application attempting to send an XI message synchronously using connection AFW.
    03.12.2008 08:20:00 Success Trying to put the message into the call queue.
    03.12.2008 08:20:00 Success Message successfully put into the queue.
    03.12.2008 08:20:00 Success The message was successfully retrieved from the call queue.
    03.12.2008 08:20:00 Success The message status set to DLNG.
    03.12.2008 08:20:01 Error Returning synchronous error notification to calling application: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:.
    03.12.2008 08:20:01 Error Transmitting the message using connection http://sitaserv33:8001/sap/xi/engine?type=entry failed, due to: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:.
    03.12.2008 08:20:01 Error The message status set to FAIL.
    03.12.2008 08:20:01 Error Returning to application. Exception: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:JCO_COMMUNICATION_FAILURE:                                                                               
    Page 1 / 2
    I think this could be the problem with some basis related settings, I am not sure what exactly the issue with.
    Any idea what exactly the error is talking about please do help me in finding the solution to thresolve this error message.
    Regards,
    Venkat Ramana K

    Hi Carlos,
    Thank you for the quick information.
    Followed all the steps and also basis person from onsite restarted the XI server.
    Now, I am able to log onto XI with the login Id but, when I give Tr Code: SXMB_IFR, unable to open the browser that shows Integration Builder.
    Getting the error message.
    *500   Internal Server Error*
                                                                                    *SAP J2EE Engine/7.00*
    **Exception**
    *An internal error occurred. Contact you XI administrator*
    *Unable to read configuration data (ExchangeProfile/aii.properties)*
    Error Details, Error History, Build Info, Generic Application Info
    Regards,
    Venkat Ramana K

  • Error message com.sap.aii.af.ra.ms.api.DeliveryException: error while proce

    hello experts
    I am sending a message WS2RFC and recieve an error message that return from the RFC.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: error while processing the request to rfc-client: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: could not convert request from XML to RFC:com.sap.mw.jco.JCO$ConversionException: (122) JCO_ERROR_CONVERSION: Date '03042008' has a wrong format at field DATUM: Unparseable date: "03042008"</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    any ideas what it is and how to solve it?

    Hi,
    Looks like you have passed data in wrong format to RFC input parameter.
    Your format: DDMMYYYY (03042008)
    Expected: YYYYMMDD
    I would use a graphical mapping function "DataTrans" to convert date format from DDMMYYYY to YYYYMMDD.
    Regards,
    Jakub

  • Idoc stuck in Sm58 Commit fault: ASJ.ejb.005043 (Failed in component:

    Hi All,
    We have an IDoc to File scenario and IDoc is stuck in tRFC with the error :Commit fault: ASJ.ejb.005043 (Failed in component:sap.com/com.sap.aii.ad
    This is the new PI box and IDoc is triggered for the first time.
    RFC destination is created for PI Java Stack as we are using ICO.
    PI Version: 7.31
    Regards,
    Mani

    Hello,
    If you still receive the error after the above recommendations please go to the NWA logs and traces in PI and provide the corresponding error message from the developer trace.
    Also check the configuration as per the following link has been done:
    Configuring PI 7.30 Java IDoc Adapter
    Kind regards,
    Sarah

  • Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException:

    Good day,
    I did a FILE-RFC-FILE scenario and my file sender adapter returns the error "Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId".
    I got hold of blog with the similar error(JDBC - Sender adapter Weird Issue), with a suggestion to deactivate the comm. channels, do a full  cache refresh and restart the comm. channels. I did all that but still getting the same error.
    Your assistance will be higly appreciated.
    Regards,
    Charmaine

    Hi,
    Not very sure but this could be due to wrong configuration of CC or adapter may got locked.
    Check for the same in Visual Admin under
    Cluster Tab -
    > Locking Adapter
    If it has got locked then you can reset it here.
    Regards,
    Sarvesh

Maybe you are looking for

  • JDev 10g and EJB 2.0 on non-OC4J server

    It looks like JDev 10g only supports EJB 2.0 for OC4J out-of-the-box. Is this correct? If we wanted to generate EJB 2.0 CMP entity beans etc to deploy to a non-OC4J app server (e.g. JBoss) using JDev 10g, what would we need to do? Are there any tutor

  • Newbie seeking advice

    OK guys - I'm a "new convert" to the Apple life. I am a professor in an advanced nursing program, so just wanted to know what "can't do without" programs you can recommend. I have already purchased and installed Adobe Acrobat (every assignment must b

  • Can't update N85 from 11.047 to 20.175

    Hi, For about a week ago, my phone (a Nokia N85 (RM-333)) told me that there were an update available for my phone. I said Yes to downloading it and installing it. So it downloaded about 5.6mb over my 3G connection and afterwards told me that the pho

  • Flash Player stopping from using Articulate

    I have windows explorer 11 supposedly with Flash player installed. when I try to open articulate the message reads flashplayer 10 or higher for internet explorer is needed to run articulate storyline.  so I go to adobe website which states "Flash Pla

  • Use ANE to tie AS3 UI to Objective-C++ engine?

    I'm a long time Flash user, (since Future Splash Animator) and though I've got some familiarity with other languages, my main development strength is with using Flash Pro and Flash Builder together to create AS3 websites or AIR apps (iOS or desktop).