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

Similar Messages

  • 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

  • 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

  • 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 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.

  • 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

  • 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

  • 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

  • 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

  • Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableExcep

    Hi,
      I am generating IDoc for infotype 2006 through creating Change pointers using the Function Module 'CHANGE_POINTERS_CREATE_DIRECT'.
    The problem is the Idoc is not reaching the receiver system. It is showing the below error message when i checked it in RWB Communication Channel Monitoring,
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'XXXXX' (structure 'callperson'): com.microsoft.sqlserver.jdbc.SQLServerException: Warning: Fatal error 7987 occurred at Dec 17 2009  1:43PM( $ . Note the error and time, and contact your system administrator.
    The scenario is Sender: Idoc and Receiver : JDBC adapters.
    Please let me know how to solve this issue.
    Thanks,
    Sri

    Hi,
    From the error message: "Error processing request in sax parser: Error when executing statement for table/stored proc. 'XXXXX' (structure 'callperson'): ". I think:
    (a) If there is any data type mismatch like a character field from PI is trying to post into a date or numeric field in the stored procedure. You need to check if the data type of the fields in PI and the stored procedure are same?
    (b) If there is any structure mismatch when the XML is created by BADI like any mandatory fields are missing.
    Thanks,
    Manohar Dubbaka

  • Error when attempting to get processing resources: com.sap.aii.af.service.

    Dear All,
    i am getting below error in RWB in receiver Channel
    Error
    "Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when attempting to get processing resources: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: DriverManagerException: Cannot establish connection to URL 'CONNECTION STRING: NoClassDefFoundError: sun.awt.X11GraphicsEnvironment (initialization failure)"
    Note: outbound has processed succesfully in both ABAP and Java Stack.

    Hi,
    Can you please let us know, which receiver adapter are you using??
    I guess it is JDBC: IF it is ...can you check the Driver and Connection details maintained on the channel.
    JDBC Driver:com.microsoft.sqlserver.jdbc.SQLServerDriver
    CONNECTION:jdbc:sqlserver://IP ADDRESS:PORT;Database=HOST NAME;
    -Rahul

  • Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550

    Hi Experts,
    We have many File to EDI scenarios wherein XI System pick up the XML and sent to customers via EDI. Recently we faced a problem so created a Back-up System (Production copy) and tested successfully. After sometime the messages were routed to this back-up system and when we notice it and then stopped the back-up system. All the messages that were routed to back-up system, we try to send the same messages from the actually Production system to our customers. Now the problem is XI system (Production system) is unable to pick these files and I check the communication monitoring and encountered the below error message.
    Could not process due to error: com.sap.aii.adapter.file.ftp.FTPEx: 550.550
    Can anyone let me know how to fix the issue or what needs to be done?
    Your help is highly appreciated.
    Regards
    Faisal

    Hi,
    It seems to be problem with permission of files. Please ask your basis to do following:
    1. Set the permissions to FTP User you are using as 777 rights(full access to read , write and delete)
    2.If you have access to PI server, try to telnet /connect to ftp using command prompt (open ftp .....) the FTP server form there, you should see the same error there , inform this to your network guys.
    3.Clear all the files places already in the ftp (take backup) and test afresh after permissions are set by basis team.
    Regards
    Aashish Sinha

  • 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error

    Hello ,
    I am facing an error in communication channel while trying to post the file to the FTP server,
    The error is " Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: An error occurred while connecting to the FTP server '10.100.5.00:20'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 501 Unknown error'. For details, contact your FTP server vendor"
    Please could you advice what need to be done to resolve this.
    Thanks ,
    Siva

    Hi ,
    FTP 501 Error is: "Syntax error in parameters or arguments"
    Also, i see that the ftp address and port mentioned in your case is:
    10.100.5.00:20
    Hence, i see three probable issues here.
    1. FTP Port :
    Just check if the FTP server's port number '20' mentioned in your case is open as this is the data connection port. Moreover, the default port mentioned while creating a file channel is 21. Just check about the port number '20' with the FTP server administrator if this port number is opened and functioning.
    2. FTP server address:
    Also, try giving your FTP Server's address as 10.100.5.0
    3. Also, check if the FTP server is reachable from the PI Server by using a simple ping command.

Maybe you are looking for