IDOC to SOAP asynchronous scenario Error handling

Need an expert!!!!!!!!! advise on  error handling for IDOC--PI--
SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
Appreciate your help.
Manish

Hello Manish,
My question is how i can do error handling in this scenario.
Use the standard alert framework. Search on SDN / SAP Help for details.
do i need to use BPM and if that is tthe case what will be steps.
BPM is not required to raise alerts, as this is an async call.
Regards,
Neetesh

Similar Messages

  • IDOC to SOAP synchronous scenario

    Hi All,
    We have an IDOC to SOAP synchronous scenario in which IDOCs are sent to SOAP by calling a service and then SOAP sends a response back to XI . The response is not sent to SAP- R3. Please suggest on this
    Thanks

    Hello Rajesh,
    Thanks for your good justification.
    Here I have also replicated same kind of scenario and having same kind of issue.
    One thing just wanted to confirm - Even though SOAP adapter expects HTTP 200 response back from webservice, still SOAP channel is getting into red with following , and as we have Alert configured ...Alert mail also receiving as part of Error only. So How can we avoid that response ? Is there have any parameter to handle or suppress the response back?
    Thanks!
    Goutam

  • IDoc to soap synchronous scenario with BPM

    Hi,
    I am working on IDoc to soap synchronous scenario using BPM. Here i am facing lot of soap exceptions in my production system. I handled the exceptions. The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second time. Please let me know why the exceptions are getting, and different type of exceptions and solutions for the same.(Blog also is fine)
    Thanks & Regards,
    Pragathi.

    The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second
    time.
    Ideally you should not get an exception for the same data....can you tell is the description and where are you getting the exception...is it a part of the SOAP message or some object?
    An exception might have occured because the description would be something unacceptable by the target application.
    and different type of exceptions and solutions for the same
    there would be many blogs....your thread would be spammed...better make a search on SDN with exception text that you are getting.
    Regards,
    Abhishek.

  • IDoc to SOAP Receiver Fault Message Handling?

    Hi,
    I am working on IDoc to SOAP Scenario (IDoc -> PI -> SOAP). It is in async mode without BPM. This works fine as long as there is no error on the SOAP receiver side. How to handle the falut message raised by the SOAP receiver and send it back the SAP ECC.
    Do I need to use ALEAUD IDoc for this? If Yes, how to configure this to handle fault message? Is there any other way of doing it?
    Could you please give steps to handle the fault message?
    Thank you.
    Regards,
    Cdr.

    Have a look into the below threads -
    How to capture SOAPFault in an Async/Sync Scenario without BPM
    Acknowledgement Handling in IDoc to SOAP Scenario in PI 7.3

  • IDOC to SOAP - Asynchronous message

    Dear friends,
    We are working on IDOC-SOAP scenario using Asynchronous communication. The Receiver has SSL Authentication as well. When we are sending requests, the Adapter Engine is showing below details in the Audit log:
    2009-01-13 07:11:40 Success MP: Processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
    2009-01-13 07:11:40 Success SOAP: request message entering the adapter with user J2EE_GUEST
    2009-01-13 07:11:40 Success SOAP: Web Services Security processing...
    2009-01-13 07:11:40 Success SOAP: Web Services Security processing skiped. Empty body...
    2009-01-13 07:11:44 Success SOAP: completed the processing
    2009-01-13 07:11:44 Success SOAP: sending a delivery ack ...
    2009-01-13 07:11:44 Success SOAP: sent a delivery ack
    2009-01-13 07:11:44 Success MP: Leaving module processor
    2009-01-13 07:11:44 Success The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    2009-01-13 07:11:44 Success The message status set to DLVD
    Why is it skipping the security settings ?
    Other issue : Webservices is giving some response ( Success in case of succesful processing else SOAP XML based Fault message when there is any error at receiver end).
    PI should be notified when there is a fault message from receiver. but we dont want that message sent back to SAP system. Its PI support person should be notified about this. How can I solve this without using BPM.
    highly appreciate for any inputs on this.
    Regards,
    Srini

    You can not do that without BPM. You need wheels to move in a car. You can ask for a car that moves but does not have wheels. Wheels are meant for the movement. Similarly is BPM. May be few of the times you can skip the BPM, but not always.
    VJ

  • Soap adapter scenario error

    Hi,
    We are trying to sender messages with attachments from Portal using XI (SYNC) and the scenario is like this:
    Web Service <-> XI <-> web service
    I have completed all the required design and configurations to receive the data using SOAP adapter and send using SOAP adapters.
    For testing with the generated WSDL from Integration directory, when I try to send the SOAP request to server using the XMLSpy I am getting following warning.
    HTTP error: could not POST file on the server (500)
    Does it mean that WSDL generated from the configuration is not correct ?
    Thanks
    Sunil

    Prasad,
    I did not enter the name space and interface in the url while defining the web service.
    Here is what I did in order to define web service for the scenario in the intgration directory after desiging the interface in the IR.
    1.Selected the define web service under tools in the ID.
    2. To specify the URL I have entered the following info as per help documentation for service without party:
    http://<hostname>:50000/XISOAPAdapter/MessageServlet?channel=:DEngine:BMP_Request.
    3. In the specify interface I have selected the outbound interface.
    4. Then specified the service,interface name and inteface namespace as they are required.
    5. With the generated WSDL from XI, using XML Spy I tried to send the request to server and I got the HTTP POST 500 error as I mentioned in the beginning. And here is the error message after I clicked OK on the error message in the XML CDATA tag.
    com.sap.aii.af.ra.ms.api.DeliveryException: XIAdapter:ADAPTER.SOAP_EXCEPTION:soap fault: Server did not recognize the value of HTTP Header SOAPAction:
    Please correct me if I did not followed the procedure correctly in this scenario.
    Thanks
    Sunil

  • IDOC to SOAP Scenario : Connection Refused

    Hi Everybody,
    I am working on Idoc to SOAP Asynchronous scenario.
    I have an issue with the connection from SOAP to the websystem at the receiver.
    Around 60% of the messages are processed successfully and the rest of the messages throws up errors at the receiver Adapter.
    Below is the log from Communication channel for the unsuccessful messages.
    Message processing started
    request entering
    SOAP: call failed: java.io.EOFException: Connection closed by remote host.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Connection closed by remote host.: java.io.EOFException: Connection closed by remote host.
    Is there any setting we need to make for the SOAP adapter to reduce these failures?
    Or is it a problem with the receiver websystem?
    Can somebody help me out on this?
    Thanks & Regards,
    Zabiulla

    Hi,
    For some reason the client (from the server's point of view - it might be some other device between the actual client and the server) is closing connection during the SSL handshake. As we can't get more info from the standard J2EE Dispatcher log files, we need more detailed info.
    Please check
    1. Execute network router trace utility (tracert for Windows systems or traceroute for UNIX flavours) to the J2EE Engine's host. It will show the active and non stealth routers between the client and the server:
    c:\> tracert [J2EE_host]   (windows)
    $ traceroute [J2EE_host]   (UNIX)
    2. Activated low level SSL tracing
    regards
    Aashish Sinha

  • IDOC to SOAP

    Dear All,
         My scenario is  IDOC to SOAP(Asynchronous) .
    In MONI ,I am able to see the succesful message but  in  receiver  communication channel, I am getting the following below error,
    SOAP:call failed:java.net.ConnectException:Connectiontimedout:
    Please suggest me on this.
    Regards,
    Lavanya B.

    Hi Lavanya,
    Its very hard to tell exactly where it is going wrong. Some issues are already mentioned by prateek. Apart from it you can take the receiver payload and see whether it is the same as expected by the webservice or not. If possible try to load this payload manually so that if any issues are there you may come to know.
    Regards,
    ---Satish

  • Messages get lost between IE and AE (IDoc to SOAP - Async)

    Dear Experts,
    in a IDoc to SOAP (Async) scenario a message was not transferred. I could not see any error message in RWB or ABAP Monitoring. When I enter RWB, the column engine is "Integration Engine" and the status is "Successful". At the same time other message with the same message interface were transmitted and they have engine "All" and status "Successful".
    Why was this message not passed on to Adapter Engine? How can I restart the processing, so that the message is transfered?
    Best regards,
    David

    Thank you for your answers:
    @ Divyesh:
    I can't resend the message. It does not have an error status. It says "Successful", although it only can be seen in Integration Engine, not Adapter Engine. There are not SM58 errors.
    @ Krish:
    In ABAP Monitoring all steps were performed as expected. Before and after this message some other messages with the same message interface were transmitted and they are visible in ABAP Monitoring, Inegration Engine and Adpater Engine.
    @Hareenkumar:
    In SAP everything looks like expected.
    The only difference between this message and other messages sent at the same time (which were transmitted correctly) is that in RWB Message Monitoring (Component: Integration Server) the Engine is "Integration Engine" instead of "All". And the message is not visible when you select for component "Adapter Engine".
    Do you have another idea?
    Thanks in advance,
    David

  • Idoc to soap sync without bpm. is it possible? Helping me..

    Hi Experts,
    i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
    I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
    if it is possible kindly send me the links
    Regards,
    Kiran polani

    Hi Kiran,
    Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
    ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
    If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
    In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
    This is one possible way for you without BPM in PI7.0.
    Please let me know if you need more details about this.
    Thanks
    Jyothi A

  • Acknowlegment in Client Proxy to SOAP  Async Scenario

    Hia,
    We are working on ABAP Proxy  --> SAP PI 7.1 --> SOAP (Asynchronous Scenario).
    ECC -> PI -> Legacy CRM
    I have few threads everyone is posting the following link:
    http://help.sap.com/saphelp_nw04/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
    but how to use in real time scenario is an issue?
    Do we have write code in GET_ACKNOWLEDGMENT method while creating ABAP Proxy? I understood that the we can query an acknowledgment with the help of Message ID but how do we pass PI message id to this code?
    Thanks a lot
    Regards

    hey all!!
    Please respond.

  • Error handling in File - XI - SOAP scenario without BPM

    Hello!
    We have a File -> XI -> SOAP scenario without BPM. The problem is that if the Web Service sends back an error XI tries to reprocess the same message again and again instead of taking the next one.
    We do not want set the retry interval to NULL because most error cases are temporary connection problems and then also those messages would not automatically be reprocessed any more.
    We also have to use BE instead of EO, otherwise the Web Service will not return a response. But we need the response to be sure that the processing was successful. The message volume in this scenario is quite high and we do not want to use BPM only for the error handling.
    I know that from SP19 some additional adapter modules are available for async - sync scenarios without BPM. I tried to configure it like described in File - RFC - File without a BPM - Possible from SP 19. but it did not solve the problem. Does anybody have any other ideas? Thanks.
    Regards, Tanja

    Hi Tanja,
    >>>The volume is 3000 messages/day on business days and 700 messages/day during weekends but the traffic will increase in the future
    I think, you should check that out. It is assumedly only 2 days work to build a scenario:
    IDoc -> BP
    BP <-> SOAP/HTTP
    BP -> IDoc (Acknowledgement)
    In the process you need a condition branch, where you decide success or not. You need 2 Interface Mappings for filling the ALEAUD.
    Just send 1000 IDocs to the Test-XI and look to performance monitoring at Runtime Workbench, to find out, how many message will be processed in one hour. Assumedly 3000 and more per day should be possible. The advantage would be to reduce number of systems (no file system) and messages (better monitoring) and using the standard (better maintenance).
    >>>So you are suggesting I should use HTTP adapter and then add the SOAP header manually in a mapping?
    Yes, build the SOAP envelop during the mapping. Most easy is to use XSL or, if your mapping is ready, an additionsal XSL. You can put the error into the Acknowledgement to see it in ERP transaction WE02.
    Filling of ALEAUD fields:
    E1ADHDR/MESTYP: original message type
    E1ADHDR/E1STATE/DOCNUM: original IDoc number
    E1ADHDR/E1STATE/STATUS: 68 in case of error, 53 in case of success
    E1ADHDR/E1STATE/STATXT: Short description for R/3 user what has happend
    I ve done such a scenario several times. That works without any problems.
    Regards,
    Udo

  • Error Handling in File to Multiple IDOC Scenario?

    Hello Experts,
    My scenario is file with Multiple records and I want to send it to SAP system.If there will be 10 Records in my file I need to create 10 IDOC in Target system.
    I can use below of the two options.
    1) File to Multiple Idoc (1.N Mapping)
    2) Using BPM
    3)Directly place the file in SAP application server and process it via ABAP Program.
    However I am not clear in which option error handling will be more effective.Please suggest.
    Basically I want to handle If out of 10 records 9 are correct and 1 record is not correct then I should be able to report within PI without affecting 9 correct records.Is it possible 9 records will be sent to SAP system and PI will only show error for 1 incorrect record.
    Also I will be doing this scenrio for transaction data with huge size (1 Million Records).Which approach will be more effective in this case.
    Thanks,
    Pushkar

    Hi Patel,
    I want to handle If out of 10 records 9 are correct and 1 record is not correct then I should be able to report within PI without affecting 9 correct records.Is it possible 9 records will be sent to SAP system and PI will only show error for 1 incorrect record.
    when working on graphical mapping, the target structure is created when there are no errors in all records of source structure.
    suppose if we have validation error in 9th and 10th record, then we can not process the first eight records and inturn we can not store the two error records in XI for further.
    i suggest you the third option, you can directly place the file in SAP application server and process it via ABAP Program.
    this is far better because you can do more customizations as you have to deal with millions of records.
    Regards,
    Pradeep A.

  • IDoc to SOAP scenario is showing error

    Dear Experts,
    We were trying a scenario which is IDoc-XI 3.0->SOAP and where the WebService is situated outside our office network. Our network team have bypassed proxy for accessing that WebService URL and the same is accessible from our XI3.0 application server from browser. We have configured the scenario and when we have tested the scenario from RWB->Component M onitoring->Integration Engine->Test and this has worked fine. But when we have tested the scenario by triggering IDoc from the R/3 system, it is throwing the below mentioned error in both at the comm chanel and at the SXMB_MONI acknowledgement.
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: SOAP: response message contains an error XIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 403 Service Error
    points to be noted here:
    1. Business Service has been configured correctly for triggering ALEAUD messages and ALEAUD messages are reaching R/3 successfully.
    2. We have chosen option Keep Headers and Do not use SOAP header options.
    3. We are passing some values to the SOAP Header from SOAP channel.
    Please could somebody help us on the root cause of the error message.
    We have run report IDX_NOALE for that particular IDoc so that it doesn't return any acknowledgement back to the R/3 system.
    Thanks and regards,
    Sugata
    Edited by: Sugata Basu on Nov 19, 2011 12:40 PM

    Dear,
    IDoc to Soap scenario we have to import wsdl at receiver end and map the field from the mapping document but some times receiver end some changes may happen. if it is correct only your mapping we have to conclude from the below points.
    1. Check the mapping in Message Mapping and Operation Mapping Test and conclude.
    2. you should check url from receiver that is correct or wrong.
    3. ask the wsdl from receiver end.
    the given ED and receiver side application is same this type of error will not come.
    Please check at receiver application or else what ever new fields are added in reciver may be miss mach of ED.
    Regards,
    Kiran Polani

  • Idoc to soap scenario - soap response error

    hi
    i am using pi 731 single stack.
    the scenario is idoc to soap. the message mapping is working fine and output is generated successfully.
    the message is failing in mesage monitor and communication channel monitor. error is -
    Exception caught by adapter framework: SOAP: Response message contains an errorXIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: VEN-OMI-1007:
    This scenario is async scenario. How to soap remove this response message error.
    rgds

    Dear,
    IDoc to Soap scenario we have to import wsdl at receiver end and map the field from the mapping document but some times receiver end some changes may happen. if it is correct only your mapping we have to conclude from the below points.
    1. Check the mapping in Message Mapping and Operation Mapping Test and conclude.
    2. you should check url from receiver that is correct or wrong.
    3. ask the wsdl from receiver end.
    the given ED and receiver side application is same this type of error will not come.
    Please check at receiver application or else what ever new fields are added in reciver may be miss mach of ED.
    Regards,
    Kiran Polani

Maybe you are looking for

  • Not able to access webservice after migrating from 8.1 to 10.3,plz help

    Hi All, Prev our application was running in weblogic 8.1 and now we moved to 10.3 We are able to deploy our webservice in 10.3 and access the wsdl but we are not able to access the webservice from the client. Even the testclient is not comming up. Af

  • Stereo Audio Treated Separately, How Do I Link?

    I recently migrated from FCE to FCP. I love FCP, but there's one difference that's bugging me. In FCE, when you selected and manipulated a stereo audio track, each channel was linked, so when you changed the db level or applied a pen point to one tra

  • Undeliverable emails but they are delivered

    For every email I receive, I also get an email from Internet Mail Delivery ([email protected]) with a subject line 'Problem during delivery processing'.  What does this mean?

  • Actual Finish date in production order

    Hi All Iam using AFKO-GLTRI  ( ACTUAL FINISH DATE) field in some Z-report. Iam having only one operation in production order which does not have AUTOGR key. Iam using serial number and doing GR through migo. Date in AFKO-GLTRI  field does not get pop

  • Max_threads 12 and execute multiple calc at a time through maxl

    Hi, Will "import database Sample.Basic using max_threads 12 ...." works in 11.1.2.1 ? If yes please provide syntax I tried below syn and got error msg. import database 'ap'.'db' using max_threads 12  data from server text data_file "load" on error wr