ABAP Proxy error in SAP XI

H All,
I have a problem with my proxies that I receive from ECC, 95% of the time the proxy works perfectly, but then the other 5% it fails. When the Message exits ECC it only has one message in the payload, but when it reaches XI it has multiple payloads see pics attached.  Any help will be appreciated.
SAP ECC.
SAP XI.
We are using SAP ECC 6 Ehp6 SP08 and SAP XI 3.0.
Regards,
CJ Bester

Hi
The screen shot you have provided for XI, is the payload after XI message mapping. I think you are using multi mapping in XI and hence the payload contains sub payload.
If you check the payload under inbound message in SAP XI, you will see only one payload.
Click on the error and you will see the actual error message in XI and then try to find out the reason for it.
Hope this is clear.

Similar Messages

  • ABAP Proxy: Error calling Proxy

    Hi guys,
    Here I am with another amazing mistake.....
    After searching the forum, reading some suggestions, notes, I'm a little bit lost on how to figure out what is wrong...
    I've created a receiver ABAP Proxy. XI should call this proxy and receive the consequent response.....
    I've tested the ABAP Proxy, everything is working fine...I've encountered some errors but was able to bypass them... But this one is getting hard...I've found one or two similar threads, or with the same error description but I had no luck in overcoming the error....
    So, what is the problem....:
    When XI is calling the ABAP Proxy I get:
    <SAP:Category>XIServer</SAP:Category>
    <SAP:Code area="INTERNAL">EXCHANGE_PROFILE_ACCESS</SAP:Code>
    <SAP:Stack>Error while reading exchange profile for system DEV and client 100</SAP:Stack>
    I've searched the exchange profile but everything seems ok...
    The user has all (and more) the authorizations needed....
    Can you guys give me some hints? Or suggest any attempt....?

    Kumar,
    as I said before, in SPROXY i can test the interface with no errors....
    In the Application System the sldcheck returns no errors and the RFC Destinations return no errors on the connection tests...
    I really can't understand what this problem might be...
    Problem solved
    What was it? Well, I'm really not sure...Like most of the threads related to this topic it's quite an awkward problem....I've tested some RFC connections which were created, changed some parameters, restarted the system and voila....
    Thanks
    Message was edited by:
            Gonçalo Mouro Vaz

  • ABAP Proxy - Error situation

    I am developing inbound ABAP proxy. Using fault message and raise exception, I can safely fail the ABAP proxy without blocking the queues.
    If I want to configure ALERT message to be sent to a email id in  this scenario, how do I achieve this? Can this be done using Alert configuration?  or do we need to use BPM? IF BPM is the only alternative, can anybody indicate the BPM steps?

    Hi,
    if you want to raise an alert from BPM
    have a look at my weblog:
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    but if you want to send a mail from BPM
    use mail adapter then you'll be able to
    configure it very easily (even html mails):
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter
    - if you want you can also send mail from SAP
    (when you catch the exception)
    - you can also catch the excetpiton and
    send the error to the XI and use the mail adapter from
    there - without the BPM
    there are many possibilities:)
    Regards,
    michal

  • Abap Proxy Errors

    Hi Experts,
    My scenario R/3->XI(ABAP Proxy)--->SUS Systems
    Getting the following error in SUS system.XI system it doesn't throw any error in moni.
    I am new to proxy concepts.Also please let me know any related blogs or suggestions in this regards.
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Inbound Proxy
      -->
      <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
      <SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
      <SAP:P2>CL_BBPX1_SUSIV_IN</SAP:P2>
      <SAP:P3>EXECUTE_ASYNCHRONOUS</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error during proxy processing An exception with the type CX_BBPX1_STD_MESSAGE_FAULT occurred, but was neither handled locally, nor declared in a RAISING clause Application Error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Thanks,
    Sudhansu

    Hi Behera,
    Can you debug your proxy using this blog:
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/502a7f0e-e5d9-2910-5aa2-976a8ed8384f&overridelayout=true
    Also please check few solutions given in this threads for the same issue:
    Re: Messages waiting in SUS Moni
    Re: ABAP Inbound Proxy Error !
    Regards,
    ---Satish

  • FILE TO INBOUND ABAP PROXY - error

    Hi,
    Getting the following Error in FILE TO INBOUND ABAP PROXY which is updating a Database table in R/3.
    Error:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException
    thrown during application mapping
    com/sap/xi/tf/_file2proxy_mm_: RuntimeException in
    Message-Mapping transformatio~
    How to rectify the error...
    Ravi

    Hi,
    The error mentioned is indicating about the Message Mapping error.
    I think you need to test your Message Mapping with test tab.
    Here Goto SXMB_Moni and select the related message  and double click on it.
    It will show you the various steps in Message flow.
    Take the Inbound Message and look for Payload in it. Open it in right side window and right click on it to see source code.
    Copy it in Message Mapping and test it
    Thanks
    swarup

  • ABAP PROXY CONNECTION TO SAP/XI

    Hi,
    I have the following scenery: Abap Proxy -> XI->RFC. 
    This abap proxy is installed in the enviroment R/3 in the client 041 and client 210. 
    In the client 041 it is executed with success. In the customer 210 when I execute the program abap a login screen appears in SAP/XI. Typing the login works. 
    The subject is: why in the enviroment cliente 210 does the login screen appear when I execute the program abap and in the client 041 not? 
    I enter in the sxmb_moni and appears the following in the client 210 
    <? xml version = "1.0" encoding = "UTF-8" standalone = "yes"?>  
    - <!--Entrance message  
      -->  
    - <SAP:ErrorHeader xmlns:SAP = "http://sap.com/exchange/MessageFormat"> 
      <SAP:Context />  
      <SAP:Code p1 = "401" p2 = "Unauthorized" p3 = "" p4 = ""> HTTP.HTTP_STATUS_CODE_NEQ_OK </ SAP:Code>  
      <SAP:Text language = "EN">HTTP status code 401: Unauthorized </ SAP:Text>  
      </ SAP:ErrorHeader>

    Hi Sergio,
    When you execute the program abap a login screen appears in SAP/XI. Typing the login works. But It gives error
    HTTP status code 401: Unauthorized
    Because it is using your userID and trying to execute it,
    But it is not having enough authorization.
    Go and check the entry for Integration server in
    Go to SXMB_ADM
    Go to Integration engine Configuration
    Check the Integration server Entry -
    It must be
    http://server:port/sap/xi/engine?type=entry
    The solution is make a RFC destination of type HTTP for XI Integration server
    with Target host - host
    service - http port (like 8000)
    Path prefix - /sap/xi/engine/?type=entry
    And in the logon/security Tab, enter the user name and password for user XIAPPLUSER,
    And again Go to SXMB_ADM
    Go to Integration engine Configuration
    Check the Integration server Entry -
    change it to
    dest://<RFCDESTNAME that you have created>
    This way it will not ask for login and XIAPPLUSER will
    have enough permission to execute it.
    Regards,
    Vijay

  • Client ABAP proxy error handling. Please help!

    Hi Experts,
       I have following scenario:
       SAP ECC (ABAP Client Proxy) -> PI(XI)-->(SOAP) Third party web service System
       This is Asynchronous.
       What will happen when ABAP client Proxy in ECC sends data to PI but PI is down?
       Will the message be queued in ECC? Can the queued message be processed automatically when PI is UP later?
       Please help.
    Thanks & Regards
    Gopal

    Hello Gopal,
    Correct, it should be an automatic entry into the queue!
    refer below for a detailed understanding!
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies     XI: Reliable Messaging u2013 EOIO in ABAP Proxies
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy     Monitoring for Processed XML messages in ABAP Proxy
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]     Weblog to send Response from RFC to File in Asyn Mode Using Proxy
    /people/michal.krawczyk2/blog/2009/06/20/pixi-abap-proxies-say-goodbye-to-executeasynchronous-method     PI/XI: ABAP Proxies say goodbye to Execute_Asynchronous method
    /people/krishnakumar.ramamoorthy3/blog/2008/11/02/error-handling-framework-for-abap-proxies--part-1     Error handling framework for ABAP proxies - Part 1
    /people/krishnakumar.ramamoorthy3/blog/2008/12/19/error-handling-framework-for-abap-proxies--part-2     Error handling framework for ABAP proxies - Part 2
    Regards,
    Jilan

  • Exception when calling ABAP Proxy modelled in SAP PI: CL_SOAP_RUNTIME_ROOT

    Hi,
    We have a scenario where we:
    1. Modell an interface in SAP PI
       This interface contains a complex type from a different namespace
    2. Use it to create an ABAP proxy in backend system
    3. Configure it with SOAManager
    4. Call the ABAP proxy ws directly from a third-party system (biztalk)
    We're currently testing calling the ABAP proxy from soapUI, but get a strange exception thrown by the SOAP framework in ABAP backend.
    The test in soapUI is setup by importing the WSDL acquired from SOAMANAGER.
    The error message we in the SOAP response is:
    CX_SY_REF_IS_INITIAL:Exception CX_SOAP_ROOT occurred
    (program: CL_SOAP_RUNTIME_ROOT==========CP, include: CL_SOAP_RUNTIME_ROOT==========CM004, line: 130)..
    An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally,
    nor declared in a RAISING clause.Dereferencing of the NULL reference
    It is a very low level error from the CL_SOAP_RUNTIME_ROOT program and not a descriptive error message at all.
    We've checked the user and the authorizations it has, we've redone the SOAManager config but the problem persists.
    We find no dumps in the ABAP proxy since the request never reaches it.
    For a limited time I'll make WSDL and SOAP response available
    WSDL (some values anonymized) available at http://dl.dropbox.com/u/4379928/SOAP/project.wsdl
    Complete SOAP response is available at http://dl.dropbox.com/u/4379928/SOAP/soap_data.xml
    Any ideas on where to look?

    Hi,
    We've now managed to implement a workaround.
    The workaround was to create the endpoint in PI as well.
    So that the traffic goes from third-party solution->PI-> WS-enabled ABAP Proxy
    When we did this initially, we got some errors related to the asynch method of this call, but this was resolved by changing the channel from "best effort" to "Guaranteed delivery". 
    Still we don't know what the root cause of the initial problem was, but we assume it is related to the asynch nature of the service (though we have other asynch proxies that work without problems).
    Regards
    Dagfinn

  • ABAP Proxy error during runtime but success for manuall test ?

    Hi,
    I got scenario using inbound ABAP proxy. The problem is when i test the inbound proxy manually, it was sucessfully, but then if i run directly from sender got problem :
    Error during proxy processing An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurred, but was neither handled locally, nor declared in a RAISING clause The function call of ZPSCD_CTRACCOMOBJECT_CREA failed; a field may have been assigned to the parameter ZCOM_COMPDHDR whose type is not compatible with this parameter
    Please help
    Regards

    Fernand,
    As stated in the exception, there is a compatibility issue between source and target fields, but without further details (msg definitions etc), we can't tell you exactly what's wrong ...
    What's the ABAP type of ZCOM_COMPDHDR field in your RFC function module ?
    Rgds
    Chris
    PS : also check the msg content to make sure generated field is compatible with the expected type (manual test was successful because you set it to the suitable value, whereas in "real" situation there is discrepancy)
    Edited by: Christophe PFERTZEL on Apr 28, 2008 1:22 PM

  • [MESSAGE.GENERAL] How can take the actual error text for ABAP proxy error?

    Hi...
    I'm a ABAPer.
    I got to create outbound abap proxy for synchronous server proxy and described below.
    My problem is program can not catch the actual error message when occurred error during send data to XI.
    The return message is just 'MESSAGE.GENERAL'.
    But according to the XI part, 'Key error' is actual reason.
    So... how can i take the actual error text like 'Key error'?
    <b>* Only MESSAGE.GENERAL is return message for all kind of errors.</b>
    Thanks.
    Below----
      TRY.
          CREATE OBJECT abap_proxy.
          CALL METHOD abap_proxy->execute_synchronous
            EXPORTING
              output = gs_out
            IMPORTING
              input  = gs_in.
      Exception Handling
    <b>    CATCH cx_ai_system_fault  INTO  go_sys_exception.
          g_sys_result = go_sys_exception->get_text( ).</b>
        CATCH cx_ai_application_fault INTO go_app_exception.
          g_app_result = go_app_exception->get_text( ).
      ENDTRY.
      COMMIT WORK.
    Return status 'D' is succeeded.
      if  gs_in-sales_group_rer_sap-xstat <> 'D'. 
         WRITE:/ 'System Error Message      :', g_sys_result.
         WRITE:/ 'Application Error Message :', g_app_result.
      endif.
    *--Result--
    System Error Message      : MESSAGE.GENERAL
    Application Error Message :
    Message was edited by: Miju cho
    Message was edited by: Miju cho

    Thanks guys, this was useful.
    My scenario is for Asynchronous communication.
    I guess Fault messages are used in case of Synchronous communication for handling application errors. So if there was something wrong at the JDBC end then I could use the fault messages.
    Have i got this right?
    I also came across this piece on Acknowledgements. But is says that they can be used with the following Receivers:
    The following receivers support acknowledgments:
    ABAP and Java proxies (XI 3.0 SP1 for the latter)
    Integration processes
    IDocs (note that IDocs only return acknowledgments when they have been configured using the ALE audit)
    Receiver adapters support system acknowledgments but not application acknowledgments
    My Receiver is JDBC. So I guess I cannot use acknowledgements either.
    Hence, I need to know what I can do to replicate the system errors eg. failed server etc...so that I can get catch these errors during sending.
    I'll tell you abt what happened earlier.
    My XI server was down. I executed the code for the sender ABAP Proxy and it did not catch the error. In SXMB_MONI in the R/3 system, I could see the messages queued up. When the XI server started, the messages were transferred to XI.
    I need to handle such errors...ie. If  the server is down or message did not reach XI then my ABAP program that sends data via ABAP proxy needs to know that something went wrong.
    Thanks and Regards,
    Ashwin

  • ABAP Proxy Error - Integration Builder address not maintained

    I intend to use ABAP proxy between R/3 (ECC 6.0) and XI (PI 7.0).
    On configuring the relevant connections, I run SPROXY and get the following error:
    Integration Builder address is not maintained in the Exchange profile (Connections)
    I have created the connx LCRSAPRFC & SAPSLDAPI from R/3 to PI but the connectivity does not work.
    On running the reports
    SPROX_CHECK_IFR_RESPONSE
    SPROX_CHECK_HTTP_COMMUNICATION
    SPROX_CHECK_IFR_ADDRESS
    SPROX_CHECK_IFR_CONNECTION
    My question is:
    What is the Program to be used in LCRSAPRFC & SAPSLDAPI? I have used LCRSAPRFC_<sys id of XI server>
    and SAPSLDAPI_<sys id of XI server>
    Should the XI Integration Builder address be maintained in R/3?
    If yes, is there any place where IB address can be maintained in R/3 (I believe there is no such thing as exchange profile in R/3. then how can IB address be maintained in R/3??...pls correct if I am wrong)
    If IB address of XI has to be maintained in R/3 then can anyone pls tell me how to do it?

    Just recheck the steps with this and come up with doubts then
    How do you activate ABAP Proxies?
    Regards,
    Prateek

  • ABAP Proxy error due to ICF

    Hi All,
    I am calling a custom RFC inside Synchronous ABAP server proxy.The problem is that I am getting HTTP Response code not OK  error in XI callAdapter Pipeline step when RFC is returning application error (Return type of RFC Message is E ).
    Error: The termination type was: ERROR_MESSAGE_STATE
    I found note 568528 which says
    "TH_RES_FREE or ERROR_MESSAGE_STATE
    either the application or the task handler has processed an error
    message.Either the "E" message type was used in the application for the "MESSAGE" ABAP language element here or an action was executed in the application, which is not allowed within the framework ofthe ICF.Among other things, outputting a screen (for example,screen or list output) or eliminating the current mode using the"SUBMIT" ABAP language element, for example, are part of the actions".
    What should be done to overcome this error?
    Note: When i use XI RFC adapter directly to call the RFC, it is working fine and application error of RFC is getting populated in custom error structure perfectly.
    Regards,
    Sudharshan N A

    Hi Sudh..
    Into your RFC, do you have an authoritycheck ?
    Because that could explain the difference between your own RFC running and this one of XI: user are not the same.
    Remind: authority check are based on user profiles. That could explain that an error message is generated by SAP in some cases, and not for another one.
    Regards.
    Mickael
    Edited by: Mickael Huchet on Apr 14, 2008 1:18 PM

  • ABAP Proxy error

    Dear Friends,
    I am facing a problem when i use a ABAP client proxy (asynchronously)
    An error is raised during proxy method call-
    <CODE>SERIALIZE_APPLICATION_DATA</CODE>
    <b>  <ERRORTEXT>Conversion error ABAP => XML (Request Message; error ID: CX_ST_INVALID_XML;
    (/1SAI/TAS00000000000000000005 XML Bytepos.: 0 XML Path:
    Error Text: Executing the operation '&OPERATION&' leads to an invalid XML document) )</ERRORTEXT></b>
    The same proxy runs fine in upstream system (dev) but doesnot run in downstream system (QA) even though all proxy objects have been transferred.
    This proxy & another proxy from the same calling report program  is serialized in a queue.The first proxy is raising this error, but the second proxy call is successful.
    Can someone help,
    Thanks
    Prasenjit

    Hi Guru,
    All the fields in the data type have string - also this roxy works fine in devpt. system- but it doesnt work in downstream QA system.
    Other proxy interfaces in the QA system work fine.
    The error message when i single test the proxy is as follows-
    - <CX_XMS_SYSTEM_ERROR>
      <ID>SERIALIZE_APPLICATION_DATA</ID>
      <P1>Request Message</P1>
      <P2>CX_ST_INVALID_XML</P2>
      <P3>/1SAI/TAS00000000000000000005</P3>
      <P4>XML Bytepos.: 0 XML Path: Error Text: Executing the operation '&OPERATION&' leads to an invalid XML document</P4>
      <INFO />
      <CATEGORY>XIProxy</CATEGORY>
      <AREA>ABAP</AREA>
    <CX_ST_ERROR>
      <ST_PROGNAME>/1SAI/TAS00000000000000000005</ST_PROGNAME>
      <X-ML_OFFSET>0</X-ML_OFFSET>
      <X-ML_PATH />
      <ST_IC>2</ST_IC>
      <ST_TIMESTAMP>20070907163313</ST_TIMESTAMP>
      </CX_ST_ERROR>
    Any other possible solutions ?
    thanks
    Prasenjit

  • ABAP Programming Error with SAP HR IMG

    Hi,
    I am new to this site and I have a question.  Recently, I had the "Vanilla SAP System" installed on a harddrive for my laptop.  I am studying for the SAP HR Consultant Certification.
    However, the system doesn't have the training DB and I have to start with implementing a project through the IMG.  Yesterday, I received an error message (below) when I go to the application component sectin to add on Pers. Administration, Countries, etc).
    Can anyone direct me to someone in Atlanta that may be able to take a look at this for me?
    I was working on my computer and I get to a certain point in my customizing activity and I get this error msg: 
    Runtime errors RFCGUI_unexpected_data
    The termination occurred in the ABAP program “SAPMSSYO” in “%_CTL_OUTPUT”
    The main program was SAPLS_IMG_TOOL_5
    The termination occurred in line 30 of the source code of the (Include) program <SYSINI> of the source code of program <SYSINI> (when calling the editor 300)
    There is more to the error message and I would have to perform the activity to let the person see the message.  Not unless they can tell what's wrong by the error above.

    Hi Pradeep,
    If it was resolved, please let me know the resolution.
    Thanks,
    Srivijay

  • Abap runtime error in sap query

    hi all,
    i was using a query to generate a specific report for quite some time. and it was running well. but since yesterday morning the query started giving the following error msg while executing:
    "variant STANDARD not created"
    i tried giving other variant but failed. so i decided to run te report witout variant. for this i went for CHANGE mode of query and i removed query and made the report RUN WITHOUT VARIANT. after tat system didnt asked for variant but while executing it started giving ABAP dump.
    where to check? please suggest
    Warm regards,
    BKR

    Hi,
    When it give dump,it is clearly display which & where it is unable to execute ststement.
    Take help ogf ABAPer.
    Kapil

Maybe you are looking for

  • Album is blank in IE and Chrome

    I published my site as a test and opened the files in Safari, Firefox, Chrome and IE. IE, as many others have experienced, won't show pictures, albums, or the navigation bar. My sites focus are the photo albums and images so it is vital for these fea

  • Widescreen 16:9 setting

    First..I love my apple tv.. Why are my tv shows shown in 4:3 aspect ratio and my movies in 16:9? I have my settings set to 720 and a widescreen plasma and hdmi input? Am I missing something? Any advice? Thanks, cj

  • Tried to uninstall and reinstall iMovies, but app store now trying to make me purchase it?

    tried to uninstall and reinstall iMovies, but app store now trying to make me purchase it? I was told that if i had everything preloaded and updated via the apple store that reinstalling would just have to be done through the apple store. anyone know

  • Is there an extension to paste URLs int Tabs?

    I have a list of URLs which I need to open in Safari, however I'd like to do what I used to be able to (in Firefox) by simply pasting all of them into an extension and having all the URLs open in new Tabs. I cannot find anything on Apple's site (dedi

  • Urgent spool to pdf

    Hi Experts, I have an output with checkboxes and spoolnumber,Descrip,date, etc and i  have a user-command button 'click' and when i select the 1 checkbox or many checkboxes against the spoolnumbers in output, i need to pass the spoolnumber values aga