Gateway message response back to smp

so we have an app that calls the oModel.create method.  Which is sent to SMP 2.3 which sends it to Gateway to update a record.  The BAPI comes back with a message of "record already created".  In SMP log, it comes back with response code 400 which is basically a "HTTP Request Failed".  Which is misleading in a case where everything is really good is just that the record can't be created anymore.
My question is, how can I get the verbose message from Gateway's response that is returned to SMP which is propagated back to my calling app?
Thanks in advance for any help.
J

HTTP adapter would be an easy option for you.
If you consider your application as an HTTP client, then you can have a textbox in the application wherein you could display the response from XI. The similar situation could be seen in any http client tool we download from sdn. The xml is sent from any file and response is displayed in the text box.
can we avoid PI and go for EP.
The point here is that if you have to purchanse XI only for one requirement, then it would be costly business. However, if you already have XI in landscape and you want your systems to remain loosely coupled, then it would be better to use SAP PI.
Regards,
Prateek

Similar Messages

  • Fault Messages/Response handling in File-XI-SOAP scenario

    Hi
    I have a File-XI-Webservice scenario.
    Suppose I am sending a call "Request" to the webservice with 4 fields a,b,c and d. If the call is succesful we get an epmty "Response" back. Suppose any of the fields a,b,c or d are missing then the webservice throws an "AccountUtilsException" with a message "Required data 'c' missing". I want to be able to capture this message in a file.
    I tried using asynchronous scenario first but that didnt work. I didnt get an empty response back for successful messages, neither did i get an error in sxmb_moni for missing data. Only the SOAP adapter would be red and the error "UNKNOWN ERROR" would appear. So I created a BPM with  a receive, send-sync, send steps. With the AccountUtilsException set up as the response. Now, when all the data is good everything is successful and a file is created with the empty "Response" xml. When any of the fields is missing I see errors in sxmb_moni with Message class "Application error". But when I go into the payload I cannot see the xml. Instead it says "Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later." When I click view source I see the xml with the message "Required field c is missing". A file is also not written. Can anyone help me figure out what I am doing wrong?
    Thanks,
    Jahnavi

    Hi Jahnavi,
    yes, the asynchronous scenario cant work because there is no answer.
    I think you should have  exception types in your interfaces and map the fields of the exception. I m not shure if the answer of the webService in case of exception (AccountUtilsException) is a xml msg, you shoud be able to find out that at RTW message monitoring. You should be able to put that into a the exception type of the interface. Another possiblility to pick the exception up would be an alert.
    Regards,
    Udo

  • Can I get a response back when I use HTTP adapter

    Hi ,
    I am doing a integration between SAP and ThirdParty Product using PI 7.1.
    The scenario is ThirdParty -> PI -> SAP ,using HTTP adapter between ThirdParty and PI , and IDoc adapter between SAP and PI.
    So,its a HTTP sender and IDoc receiver.
    So I was just curious to know if the IDoc posting failed in SAP ,can I send a response from SAP to Thirdparty regarding the failure along with some error message.
    Thanks for your responses.
    Venu

    Hi,
         It may lead to some timeout problems if you design your scenario as synchronous i.e sending response back to HTTP..
    as SAP may take time to process idoc and need to provide response back to PI ..by that time the connection may become invalid and thirdparty may receive response as timeout error...
    As anyway PI has the option of Alert managements..you can trigger the error mail to the third party recipients for letting them the status...
    HTH
    Rajesh

  • Sync-Sync Scenario.. To Send Response back to Sender.

    Hi All,
    I got a scenario to send the data to BI through proxy and get the response back to PI and pass it to sender system.
    Request:
    Store system Sync call(Soap)>PI->Sync call(ABAP proxy)>BI
    Response:
    BI(response to Sync call)>PI>Store system.
    The response has to go back to sender system with in few seconds. So I need to priotirize this scenario separately in both Integration and Adapter engine. This scenario should not collide with any other scenarios as the response has to deliver ASAP.
    Can we acheive this? Is there any better method to deal with this kind of scenario in terms of performance? Kindly suggest your ideas.
    Thanks
    Deepthi

    i conused why are you using BPM for this, any way SOAP adapter,ABAP proxy supports sync calls . dont required BPM.
    Yes. Now I decided to go without BPM.  I'm getting the below error from the proxy. Any idea about this error?
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
      <SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
      <SAP:P2>ZPI_CL_MI_BAPI_SYNC1</SAP:P2>
      <SAP:P3>EXECUTE_SYNCHRONOUS</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error during proxy processing An exception with the type CX_SY_DYN_CALL_PARAM_NOT_FOUND occurred, but was neither handled locally, nor declared in a RAISING clause Call of the function BAPI_COMPANY_GETDETAIL failed; the formal parameter COMPANY_DETAIL does not exist</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>

  • Webservice to proxy - response back to webservice

    Hello expert,
    I am working on webservice to proxy scenario. When request to create purchase order received by PI thru webservice, PI will do proxy call to create purchase order in ECC and send response back.
    We don't want to send ECC response back to Webservice, but we would like to send positive response back as soon as PI recieve the message irrespective of what happens in ECC.
    Need some advise.
    thanks.

    >We don't want to send ECC response back to Webservice, but we would like to send positive response back as soon as PI recieve the message irrespective of what happens in ECC.
    One way of doing is after sending request to ecc, you can code in proxy as response in the same interface with single field element like mesg receiveed and map that response to soap response on the sender side. (in this case you dont really process the soap request in ecc directly. you do it at later or convenient time or after sending success transfer message).  Basically you handle logic in abap proxy side.
    Mapping 1 soap request to proxy request (Per business requirement)
    Mapping 2  proxy response (status : messg received ) to soap response
    Rest are all same. Basically you do SOAP (sender) to PRoxy (receiver)   synchronous mode
    If you dont want to pass the soap request message directly to ECC and within that timeframe want to send successful mesg from pI itself then you have to design to store the mesg temporarily. What will happen if your ecc is down? How do you handle that situation.

  • Sending response back

    Hi
    I’m getting message from source system (MQ) for   which I need to validate the header details and mandatory field information in XI, if success then send to SAP system through proxy otherwise send the response back to MQ system with batch number or some mandatory fields missing information.
    Client not agrees to send this information through alert want to send response to MQ system only.
    Please suggest good design option for sending response back. Can we achive this through acknowledgement or how? Please provide suggestive document on the approach suggesting would be grateful
    Thanks,
    Srini

    Hi,
    See you can use two target messages , in mapping , handle the condition and route the message , in determination use interface mapping.
    see the below links also
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    https://media.sdn.sap.com/javadocs/NW04/SPS15/pi/com/sap/aii/mapping/api/DynamicConfiguration.html
    Regards
    Chilla

  • In OUT Bound of a Jaxws provider, how can we stop the provider invoking its endpoint and send a response back?

    Hi One & All
    While we are working on Delegate(provider) for JAXWS client handler in Weblogic10 , we have some technical issues and need some assistance.
    Problem Description
    In OUTBound of a provider, how can we stop the provider invoking its endpoint and send a response back?
    Example:
    I have a provider with some handlers configured for both IN and OUT flows. When the Jaxws provider is making a request, the OUTBound Handler gets invoked and in this Handler I would like to stop invoking actual endpoint and send back my own response. That means I should be able to tell the Handler chain to stop further processing of this flow, set a response message into message exchange and invoke the IN flow. How do I do that?
    This kind of mediation/interception is possible in standard specifications like JAX-WS, Servlets etc… wondering if Weblogic10 JAXWS provides any sort of this kind.
    Also we would like to know who is invoking a provider endpo     int in JAXWS stack in weblogic10? Is it an OUTBound handler at the end of handler chain or some other transport component after the handler chain?
    Thanks in Advance
    Suresh
    Edited by: user12494412 on Jan 22, 2010 7:06 AM

    I completely agree with this....I have used Windows and Skype for many years. I recently installed an older version of Skype to run on Windows 8.1 because the new version is SO AWFUL. As much as I prefer the older version (6.14), the daily number of SPAM CONTACT requests is rediculous and most are just variations of the same spammer. Maybe it is time to look for a replacement for both?

  • RFC- XI -SOAP and response back to RFC

    Hi,
    I am doing RFC-XI-SOAP and get response back from SOAP to RFC.
    if I am not check the "Do Not Use SOAP Envelop" then it gives error in SXMB_MONI says  - NO SOAP envelop.
    "No SOAP Envelope but 1 {}RESPONSES; HTTP 200 OK"
    if I check thet  check bos ""Do Not Use SOAP Envelop" then it gives no error in SXMB_MONI , but message is not giving response back from webservice in SXMB_MONI it shows only
    <?xml version="1.0" encoding="UTF-8" ?>
      <ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions" />
    gurus ...Pl. reply asap

    hi, all
    you are right the XML sp/tcpgateway response structure is different than what I used earlier,
    now I build the same structure,but then also some problem occures it is giving only one element from structure in response.
    it is giving
      <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:MYRFC.Response xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
      <STATUS>Success</STATUS>
      </ns1:MYRFC.Response>
    while actual inbound from WS is ...
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message   -->
    - <ns0:testrequestResponse xmlns:ns0="conversion" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" Status="Success" DbgCmd_="testrequest" DbgTag_="REQUEST">
    - <ns0:SAP_OUTPUT>
      <ns0:E1 Value="3000194" />
      <ns0:E2 Value="300"/>
      <ns0:E3  Value="3"/>
      </ns0:E4 Value="94">
      </ns0:testrequestResponse>

  • Can we Receive Response back to IDOC's

    Hi,
    I want to receive the Response back to IDOC.
    Can IDOC handle with the Response from the Receiver Applications?? Not From XI System using ALEAUDIT.
    Regards
    Suman

    hi suman,
    no need for BPM ,u have to configure the SOAP as synchronous mode.
    we r using SOAP ->xi->rcf  scenario in synchronous mode.
    here for the sender side we have created to 2 data type
    1) one for SOAP Request (structure with requers will come )
    2)second for SOAP responce (structure with responce  have to send
    create 2 message type but only one message interface
    create 2 message mapping
    one for sender request and one for the responce message .
    create only one interface mapping.
    only one communication channal can be used for both sender and receiver messages.
    for your scenario, ie IDOC -xi-SOAP create ur idoc having both sender as well as responce message type .
    and create 2 data type  message type for SOAP request.
    thanks
    navneet

  • Undeliverable gateway message

    Hi,
    It's been awhile I get messages from my GWIA with a status of Undeliverable gateway message. Analyzing the mime message is always problem with addressing, missing quotes in any address. Can I do something to automatically handle this problem?
    example in red:
    SMTP id 51.8C.02904.7A9D2BE4; Thu, 3 Nov 2011 16:12:56 -0200 (BRST)
    To: "Alice Cavalcante" <[email protected]>,
    Cc: "Michele Pereira de Ara?jo, <[email protected]>
    Subject: Re: Entregas do dia 01/11 - PENDENTE
    MIME-Version: 1.0
    X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003
    Message-ID: <[email protected]sa.com.br>
    From: [email protected]
    Date: Thu, 3 Nov 2011 13:24:19 -0300
    X-MIMETrack: Serialize by Router on AlphaWM/GrupoOrsa(Release 7.0.4|March 23, 2009) at
    11/03/2011 03:20:34 PM,
    Serialize complete at 11/03/2011 03:20:34 PM
    Content-Type: multipart/related; boundary="=_related 005F3A930425793D_="
    This is a multipart message in MIME format.
    --=_related 005F3A930425793D_=
    Content-Type: multipart/alternative; boundary="=_alternative 005F3A930425793D_="
    --=_alternative 005F3A930425793D_=
    Content-Type: text/plain; charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    If I simply add a closing quotation marks:
    Cc: "Michele Pereira de Ara? Jo" <[email protected]>
    And put it in the GWIA queue to process the message is delivered normally.
    I appreciate any help!
    Glaucio

    glaucioh,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • HT4847 I can not delete old icloud back up from my old phone, keep receiving an error message "this back up can not be deleted because it's in use" it is not in use that phone is long gone!

    I can not delete old icloud back up from my old phone, keep receiving an error message "this back up can not be deleted because it's in use" it is not in use that phone is long gone!

    I have the same problem here and it wont let me do another back up or delete the old one.... Please help!!!! Anyone

  • When I turn on messages, I can't see my messages.  All I can see is a screen with horizontal lines and a text list of addresses.  How can I get the regular message screen back?

    When I turn on Messages, I can't see my messages.  All I can see is a screen with horizontal lines.  How can I get the regular Messages screen back?

    The same is happening for me. Today I decided to reboot my PC because it was acting up a bit, go figure, and then for some reason at the same time the PC was restarting my macbook froze. I had to do a reboot with the restart button but then all that came up was a gray background and in the middle of the screen was a darker gray folder with a white question mark in the middle of it, blinking. I can't imagine why the restart would've affected my macbook. After finding information on how to fix this, I tried all of the steps that were given about using the mac OS X disk to use the first aid utility to fix it. When using the Disk Utility option whenever I select my hardrive and am in the First Aid tab, the only button I can use is the Verify Disk Permissions. The other three buttons, and namely the most important Repair Disk button, is/are not selectable (grayed out). I then tried resetting the PRAM the way they also said with the command + option + P + R and waited for the second startup sound. After that I gave the Disk Utility a second try, but still nothing. And now if I try to just reinstall the OS completely I can't even select a destination volume on the third step (Select Destination). Apparently this means i'm SOL.

  • HT4623 Hi having difficulty connecting to wifi following upgrade to 7.0.4 for an iPad 4.  Have done a complete power down and restart , no luck.  Unable to enter a password to the home locked wifi. Message coming back Unable to join the network ".........

    Just installed iOS 7.0.4 on the ipad, and can no longer connect to my home locked wifi.  I choose the home wifi network and the message comes back with   Unable to join the network "............"    Dismiss.  There is no prompt for the password for the locked network. . . .  Any suggestions  . . . . .

    1. Turn router off for 30 seconds and on again
    2. Settings>General>Reset>Reset Network Settings

  • While syncing iPad with my computer, i get an error message: cannot back-up to this computer

    while syncing iPad with my computer, i get an error message: cannot back-up to this computer. I'd like to know why?  Is it safe to download IOS6 if the ipad is not backed up?

    This is the same computer that I originally synced with the iPad and the first backup worked. Is there any way too solve this problem so I can upgrade to iOS 6

  • My iMessage will send to other iMessage users, but when they message me back, their messages will only send to me as a text message! I have an iPhone and iPad, and they've been synched for a year now, but I just got a new iPhone 5c . What to do?

    Ok my iMessage will send to other iMessage users, but when they message me back, they can only send texts. I have an iPad and when I send iMessages to
    Them from there, they receive  them, but can still only text me back to my phone. They also sometimes receive messages from my iCloud email instead of my phone number.... When that happens, iMessage works. It's really annoying! Can anyone help.
    I got the iPhone 5c around Christmas and it's worked fine until yesterday!!! This has been going on 2 days now. I have reset iMessage, and the network settings. I've restarted my phone and iPad and they're both completely cleared of messages. I don't know what else to do.

    There are a lot of posts in the forums today with people having problems with iMessage.   There was also a published outage yesterday, so it's possible there are still some issues that may be impacting you both.
    I would just wait it out - I'm sure it will be sorted out soon.

Maybe you are looking for

  • HT4914 if i turn iTunes match of then back on how do i get it to sync

    i turned itunes match off and then back on and nothing is happening

  • AFP disconnects users, file opening problems, abnormal exits and bus errors

    Hi all Since a few weeks we have been having problems with AFP file sharing with OS X Server 10.5.5 (Simple config) Several times a day the server stops responding to save commands (especially with Adobe software) or abruptly disconnects users. The c

  • Query on Smart Business apps for MRP

    Hello All, We are planning to setup  Fiori MRP apps with the KPI drill down option and the planned sample launchpad as below While looking for the "Service level " and "Uncovered Sales Items" apps, came across 2 Analytical apps with (slightly differe

  • Weird Error Printing Booklet (PDF)

    Please, can anyone help me? I've always used the Print Booklet function and it always worked fine. One day i opened a file that was made on Windows, on the Mac at work and when tried to Print Booklet, it printed on InDesign and then it went to Acroba

  • I've got iTunes 11.0.5 but can't upgrade to iOS 7

    So, I've just upgraded to iTunes 11.0.5 on MBP.  I now want to update my iPod and iPad to iOS 7.  When connecting my iPod I get a message that I need iTunes 11.0.5, I check again and see I have 11.0.5 installed (I have Radio Channels).  I'm stuck.  I