RFC - XI  Commit Fault error

Hi All
I have created an RFC (from R/3) that I am using to trigger a BPM in XI (3.0). 
<b>RFC Destination - SM59</b>
I have set up the RFC Destination in R/3 as follows:
Connection Type = T
Activation Type = Registration
Program ID = zabfcxi
GatewayHost = Trx SMGW -> HostName = R/3 system (i.e. NOT the XI server)
GatewayService = sapgw00
<b>XI Sender Communication Channel - CC_RFC_SENDER</b>
In XI I have configured a RFC Sender communication channel as follows:
<i>RFC Server Parameter</i>
Application Server = Trx SMGW -> HostName = R/3 system (i.e. NOT the XI server)
Application Server Service = sapgw00
Program ID = zabfcxi
<i>RFC Metadata Repository Parameter</i>
Application Server = Trx SMGW -> HostName = R/3 system (i.e. NOT the XI server)
System Number = 00
Logon User/Password = myUser and myPassword
Logon Language = EN
Logon Client = 041
<b>Sender Agreement</b>
I have also set up a sender agreement:
Service = R3_DEV_030
Interface = Z_RFC_GET_SO_REQUESTS2 (name of RFC imported to XI)
Sender Comm channel = RFC Sender adapter defned above
When I run the test connection in SM59 it works without any problems.
I have written a small ABAP that calls the RFC:
CALL FUNCTION 'Z_RFC_GET_SO_REQUESTS'
  IN BACKGROUND TASK
  DESTINATION 'Z_ABFC_XI'
  EXPORTING
    REQUEST_SALES_ORDERS = export.
COMMIT WORK.
When I run this it completes with no errors.  However, nothing appears to be getting through to XI.  I have checked the log in SM58 and find that it is failing with this error:
Commit fault: com.sap.aii.af.rfc.afcommunication.RfcAFWException: lookup
I have followed the SAP note "FAQ XI 3.0 RFC Adapter" qu.19 which states this is caused by incorrect Sender agreement but it all looks OK to me - hence why I have posted the details of it. I have also performed a full refresh of the cache but this has not fixed it either.
Is anybody able to help...?
Thanks
Andy

Hi Andrew,
Hope these threads will help you.
Error: Commit fault com.sap.aii.af.rfc.afcommunication.RfcAFWException: alt
RFC error Commit fault com.sap.aii.af.rfc.afcommunication
"maximum size of requests for one LUW has been reached"
getting error in RFC sender adapter
Error in RFC communication
Reward points if helpfull.....

Similar Messages

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

  • IDOC_AAE sender channel shows Commit fault: ASJ:ejb 005043 [Failed in component error]

    Hello All.
    We have a scenario IDOC to JDBC [ async-sync] scenario. And we have used Async/sync bridge using request response bean module.
    Now the issue is that when IDOC is triggered from ECC it shows Commit fault:ASJ:ejb 005043[failed in component] error in SM58.
    And if we click on "execute LUW" option the IDOC message reaches PI and gets processed successfully.
    Could you please let me know how to fix this.
    Thanks,
    Jane 

    Hi Avinash,
    NWA logs shows the following error :
    [JRA]Couldn't start ResourceAdapter Servers with properties {jco.server.gwhost=essdev03, jco.server.progid=SAPRDB670POALEFEDEX, jco.server.gwserv=sapxxxx}, cause: JCo server is currently running. Current server state is ALIVE
    Global [startApp] operation of application [sap.com/ClonedRA_xi~idoc~RA_~MCK_RDA_D~IDOC_Out_CLMLeadData] failed with errors on server process [2664350].
    Thanks,
    Jane

  • Sap R/3 and XI -- Commit fault ModuleException. Please help

    Hi All,
    I have a RFC interface between Sap R/3 and XI.
    I am getting error in SM58 in R/3 :
    Commit fault com.sap.aii.af.mp.module.ModuleException: call to messaging.
    If I do test connection on in SM59 on TCP connection it's ok.
    For the above error I also receive for some time the below SLD error message in RWB of XI
    "Error during communication with System Landscape Directory: HTTP response code: 503 (Not Ready)"
    Please advice as it is production problem.
    Regards

    Hi Rick,
    Sometimes this error comes when there are huge amount of transactions taking place simultaneously. To resolve this ask your Basis guy/DBA to increase the screen numbers in database.
    Thanks!

  • 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

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

  • RFC to SOAP fault message not catched

    Hi All
    I have a scenario where RFC is being send from ECC system I then call a web service, The webservice returns me a fault error messages when for example the order on the webservice system does not exist.
    I created a exception in the RFC and created the mapping for the fault message.
    When call ing the webservice I get error in comunication chanell:
    Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    I have tried adding:
    XMBWS.NoSOAPIgnoreStatusCode    =     true
    In the modules tab but still not getting soap fault.
    below is response from webservice if I use other soap client:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
       <soap:Body>
          <soap:Fault>
             <faultcode>soap:Client</faultcode>
             <faultstring>Unmarshalling Error: cvc-minLength-valid: Value '' with length = '0' is not facet-valid with respect to minLength '1' for type 'nonEmptyExternalReference'.</faultstring>
          </soap:Fault>
       </soap:Body>
    </soap:Envelope>

    Hi,
    I don't think so you can catch 500 internal server errors using falut messages.
    Your target system has to capable of sending error messages in valid XML format then only you can catch them.coming too fault message concept we will implement in ABAP server proxies scenarios where we have a opportunity to catch errors in send as response. but i doubt in SOAP receiver scenarios.
    Regards,
    Raj

  • My application while running in playback throws fault error report and it needs to be closed programmatically by killing the process.

    My application throws some fault error report and pops up a screen needing user response.
    I would like to kill that process once it is thrown. Is there a way I can do it programmatically
    this issue happens in the middle of start() and close() method

    Hi,
    Based on your description, I think that your issue and requirement is more related to programming rather than Visual Studio tests.
    Test Tools in Visual Studio 2010 and 2012 forum is used to resolve and discuss VS testing issues. I am afraid that your issue is out of the support range of this forum. I suggest consulting this issue on some development forums based on the
    type of your application.
    If you are working with Windows Forms app. please consult on Windows Forms Forum:http://social.msdn.microsoft.com/Forums/windows/en-US/home?category=windowsforms
    If you are working with WPF app, please consult on WPF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wpf
    If you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
    http://forums.asp.net/
     for better solution and support.
    Visual Studio Language Forums also may help you:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?category=vslanguages
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Java call rfc check in original:error while checking in and storing.

    hi,experts.
    java call rfc check in original:error while checking in and storing. BAPI in the RFC is "BAPI_DOCUMENT_CJANGE2",
    the RFC was fine in SE37 and calling by Visual Basic. and in java,when mConnection.setAbapDebug(true), and  runing by step and step, was fine too.
    if mConnection.setAbapDebug(false) in JAVA, up error in title was displayed.
    what cause this error?
    Best Regards.

    Hi Priya
    Please use Su53 after getting the error and find any authorization is missing for the user..
    S_GUI Full Authorization is required..
    Since by giving BASIS Authorization its rectificed, then it shud be mostly due to Auth issues only
    Regards
    Aby

  • LabVIEW 4.0 Invalid Page Fault Errors

    I've got myself stumped on this problem - we had a LabVIEW based PC/DAQ system that started giving invalid page fault errors and crashing in Win95. This may have been concident with a revision to a vi file. To rectify the problem I've tried the following:
    1. Reinstall LabVIEW 4.0 with NI-DAQ 6.6
    2. Wipe HD, reinstall Win95, LV 40, NIDAQ 6.6
    3. Full HD scan and MEMTEST86 memory test
    4. Install on another PC
    The PCs are P5-60 Gateways with 128 MB of RAM. DAQ config is 1 AT-AO-10 and 1 AT-MIO-16DE-10
    Nothing seems to help. With a reinstall of LV40, I can get it to run, but once I copy the .vi files back into User.lib LV crashes.
    Does LV40 look in User.lib upon startup and crash if it finds something it doesn't like? A corrupted vi?
    Thanks!

    Blair Hogg wrote:
    ...guess the next step is to go in and load each .vi manually to see if there is one that is causing problems. Hopefully some of you out there are finding this somewhat interesting, and I'm not just cluttering up the forum...
    Hi Blair Hogg,
    I like your sence of humor ;-) Don't worry, even if nobody reads your
    thread (well... I just did) you need to write MUCH more for it to be
    considered clutter. Now, if you had created 25 duplicates of the same
    thread, then  we would be talking about cluttering...
    I'm curious about this issue even thought NI only supports LabVIEW two
    versions back - officially. My guess is that a VI is corrupted and
    kills LabVIEW when the VI loads. Therefore I do aggree that the
    procedure from now on is to load every single VI one by one and then
    notice what VI will make LabVIEW crash. I might be able to repair that
    VI if you submit it to the thread.
    Another thing to try is to mass compile the user.lib. The log after the
    mass compile will show if any VIs were bad or had problems getting
    compiled.
    Well, I hope you find the source for this issue - even if I'm the only one that cares ;-)
    Have Fun!
    - Philip Courtois, Thinkbot Solutions

  • Rfc to file scenario error in sm58

    rfc to file scenario error in sm58
    i get the error as com.sap.aii.afccommunication.RfcAfwException
    :look up of alternative

    hey
    >>i have a doubt do we have to use
    starting new task or back ground destination
    well it depends upon the logic ur gonna implement,both are used for async RFC so u have to see ur requirement and then decide.
    have a look at the following
    http://help.sap.com/saphelp_nw2004s/helpdata/en/22/042578488911d189490000e829fbbd/frameset.htm
    thanx
    ahmad

  • Fault/Error Handling in Human Task

    Hi,
    We are using Oracle BPM 11.1.1.3.
    1. I create "synchronous" BPM process containing Human Task. Is synchronous process containing Human Task correct? When I invoke this process through EM console, it hangs, i.e. I can not interact with EM console any more. I think the reason is, Human Task activity when executed expects human interaction. I am correct?
    2. I create "asynchronous" BPM process containing Human Task. I invoke it and it runs properly. I login to workspace and work on task.
    My main question is: "Asynchronous" process executes Human Task and waits for Human Interaction. My process is invoked by Java. How will calling Java code know if execution was successful? If any fault/error occurs how can I notify? How will I notify calling Java code if human task encountered any error?
    Please let me know if my question is not clear.
    Many Thanks.

    Hi Anirudh,
    Thanks for quick reply.
    I have a requirement where based on certain condition i need to update the task and reassign it.
    There is a batch that runs and performs the task. While doing so i dont have any info as to whom
    the task is assigned.
    So i am using bpeladmin to perform the task.
    If task is assigned to user and i try to update the task using bpeladmin then am able to do so.
    But if the task is assigned to Group i am getting the error. If task is assigned to user, i am able to
    acquire the task but not able to update the task.
    While updation it shows the task has been acquired by some other user.
    Is there any other way by which i can implement the same ?
    Regards,
    Bhavik

Maybe you are looking for

  • Sound for Flash

    1. Which file formats are best for importing into CS3? 2. Is there any real benefit to importing stereo sound for files intended for web delivery? 3. Any suggestions for free programs for doing simple editing of sound files for CS3? Cutting, fade in

  • Report Painter: Incorrect formula component = Y002

    Dear All, I have a error messagewhile creating the Formula in GRR1 Incorrect formula component = Y002     Message no. KX430 Diagnosis     An incorrect component was discovered in one of the formulas. Procedure     You can get an overview of the valid

  • Hyperlink to "place in document" list is clumsy when list of places is long

    I am adding internal hyperlinks to a 600+ page word 2010 document. All of the headings are in the "places in document" on the hyperlink dialog, but the numbering is not with them. The list does not even default to being collapsed. It's very difficult

  • Abt xslt prog..

    what these programs or translations ...   are these used for transforming the to and fro from xml to abap.... or the others...  what is the need of such a transformation... kindly discribe in detail about xslt ...... and xsl regards, bs

  • IPhoto "quits unexpectedly"

    Hey, I've just started using iPhoto again after about 7 months and have tried importing photos and even after only selecting one photo ot import, iPhoto "quits unexpectedly". I'm not very good at using computers so if you have any advice, the simples