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

Similar Messages

  • Sending response back to RFC in UDF

    Hi All,
    I have a Sync scenario from RFC to SOAP. I want to check the line items in RFC request. If there are no line items , then i want to stop the scenario and use UDF to send the constant (Invalid line items based on validations) back to RFC responce by using RFC lookup.
    Is it possible to send response back to RFC in UDF?
    Please suggest me, i want to handle exceptions without BPM.
    Thanks and regards
    Uma

    hi,
    >>Is it possible to send response back to RFC in UDF?
    I don't think such an option exists in standard
    but maybe you can do the check in the RFC much faster instead os checking
    this in XI ?
    Regards,
    Michal Krawczyk

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

  • Sending response back to client

    The result of a request is in the format of inputStream before sending back to client... I used to use getPrinter() method to write my output back to the client... so how can I write the output from the inputStream back to the client without reading the data from the inputstream then writing them to the PrintWriter object??
    Thanks...

    Actually I miss-stated one point.. the result should be in Output stream format...
    eg. the cleint makes a request to servlet A, then A asks class B to get the result and B writes the result to an output stream and return the stream back to servlet A...
    now servlet A has the result in the format of Output stream..... so how can servlet A get the data from the output stream (as output stream only has write methods) and sends them back to the client?

  • How to send response back to db adapter

    Hi,
    I have a requirement where I need to update a status field and last activity time field ( time of instance completed) in a database table. I used Polling option in database adapter, but it is updating the status field immediately once it is read. I don't want like that, I want to update the status field after completion of instance. Also, how to update the last activity time field ( i mean the field has to update at what time the instance got completed successfully). Actually, i am using
    1. A database adapter for polling followed by receive activity, assign activity, invoke activity and this invoke activity invokes one more database adapter ( the adapter selects a table row with the ID given by database adapter 1).
    2. Followed by transform activity, and again a invoke activity which invokes a webservice ( I am passing output values of 2nd database adapter as a input to webservice).
    Let me explain clearly, I have a base table and duplicate table. When ever values gets inserted or updated in base table it needs to be reflected in duplicate table ( wrote a trigger for this and it is working fine). Apart from this I added two more fields in duplicate table ( with column names status, and instance completion time). I am using two database adapters one is for polling from duplicate table and other one for selection of values from base table based on ID provided by duplicate table. Further, the invoke activity receives the output from database adapter and again i am passing the output values as a input to external webservice. My question is how can I update the status field and instance completion time in duplicate table. Someone please help me.
    Thanks,

    Hi,
    If I understand your requirement, you have few options:
    1.     Build your process in a way that it will act as a synch process. That way you will have the option to rollback the transactions
    and allow to poll the table again.
    (see explanation: Re: Reading 5K records from DB
    2.     You can go with your solution. Create a table that acts only as a trigger table.
    If something happens in you process and you want to poll from it again, just insert new record in it, in the end of the process.
    Arik

  • 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

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

  • Post response back to html page

    How to send response back to html page which sent request to my jsp page.
    please reply me b'coz I have sent two problems already,but there is no response for any of them.
    Please reply as soon as possible.
    --Thanks in advance                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes I know all these implicit objects,but all these are in JSP.
    I want reply from JSP in HTML means at client side.
    See my steps:
    1.creating HTML page.
    2.creating form in that html page
    3.Then Accessing Database(some data which is required at client side for further processing like mapping in Google map) through JSP
    So here how do I get data from JSP page.
    help me with code if u can?
    thanks

  • UDF to send Response to RFC

    Hi Experts,
    We have a scenario where we have to send a response back to RFC from UDF .
    How can we do this without using RFC lookups ?
    Regards,
    Syed

    Hi,
    I think UDF don't have nature to send response back to RFC meanwhile RFC request and response are different mapping windows, better to go for RFC lookup, we can fulfill your requirement easily.

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

  • Sending multitracks back to FCP

    I'm working with HDV. I sent the time line to Color, did my magic and rendered out selected clips on this multi-track timeline. When I sent it back to Final Cut it was okay, then I reopened it later and the clips were not on the time line, but they appeared in the canvas when viewing it, like they were phantom clips? And only their render markers were to be seen....spooky, huh? A few days later someone else opened it and the clips weren't even there, not even on a phantom level, they were completely missing from the timeline.
    In addition to this, when I try to open up the rendered color file, the clips are on the timeline but I can't view them, but only the video track under them, with my color corrections on it!
    I found a couple of other threads that referred to this issue but only one was answered and I don't think it was exactly the same format I was working with. Does anyone know if there is a setting that I need to adjust or if it would really make the difference to put it all on one track? Has anyone else had this exact same issue? An could you tell me what I'm doing wrong? Thank you in advance.

    Thank you for your response. I actually did manage to send it back correctly this time. I think I had responded "no" to quicktime codec originally, also I had tried to just render the shots rather than the timeline in its entirety. I find that the sync problem that is so evident in Color really isn't the issue, it still returns to its original place in FCP if I just match the codec correctly. However, I was surprised to see that my renderings didn't quite look as good as I thought they did in color. Which can quite possibly be a monitor issue.
    So yes, its safe to say that its definitely easier with one Vtrack, but its not impossible to work with multiclip. Its just tedious because there's not really a quick and easy way to copy and paste attributes to other clips outside of "drag and drop". If anyone knows of great way, please let me know.
    I will use the Media manager option next time I work with it.
    Thank you very much.

  • IDoc to webservice and get the response back into another IDoc.

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    4. If not possible, provide me the related docs using BPM for the same scenario.
    Appreciate your quick response
    Regards
    Naidu

    Hi,
    this link may help u............,
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1134. [original link is broken] [original link is broken] [original link is broken]
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403. [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Azeez khan.

  • 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

  • HT4623 The APP application on my iPad does not function properly - any downloads requested immediately fail and send me back to the main iPad screen.  Any suggestions on how to fix this - all software has been updated to iOS 5.1.1 and no other updates are

    The APP application on my iPad does not function properly - any downloads requested immediately fail and send me back tot he main iPad screen.  Any suggestions on to hoe to fix this?  The software has been updated to iOS 5.1.1, and no furthe updates are available.

    This is my boilerplate response when app downloads are stalled or in the "waiting" mode. There are a bunch of things here to try.
    Tap on the "installing" icon and see if you can pause the install, then tap on it again in order to resume the install.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download and install at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and see if the install resumes.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • HELP plz..How to send response from server to client

    Hi..plz help me out of this problem..i am sending request from client side to servlet..lets say i am sendin "Bechkam"..now my servlet fetches this request.n finds out that BECHKAM is a football player..now i dont want to print this on the client side..i simply want to sent this response back to the client..after client receives this response the client should print bechkam is a football player..i have done coding of sending request from client(javascript code)to server but dont kno how to send response to client..do i have to use cookies or sessions..
    Any help will be greatly appreciated
    THANX

    I'm not sure how well versed you're with HTTP and servlets.
    What you term as 'printing on the client side' is in fact the response you're looking for. The response you send from a servlet is 'printed' into the response stream. The client receives this data and interprets is according to some headers. Usually, this data is HTML/ plain text which is interpreted by the browser and rendered as required. It could very well be displayed as is.
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

Maybe you are looking for

  • Bookmarks in PDFMaker

    Hi All, I'm using PDFMaker in a macro to create a pdf file. Using AdobePDFMakerForOffice.ISettings I'm able to set the other properties of the pdf but not the bookmarks preferences. I would like to set the bookmarks (like heading1, heading2 etc..) us

  • Load custom hierarchy (multiple ownership / parents)

    Hi all Lots of questions below, I just need some input on this..:) Thx. in advance.. I have a question regarding loading a custom Customer hierarchy from SAP CRM to SAP BW. The special thing about this hierarchy is that is a leaf (child) can have mul

  • DocType in Crytal report

    HI I am creating a AR Invoice document report as well as AP invoice in same report I want to sort according to DocType. The issue is, The DocType column only gives I but I want to display Invoice or atleast IN how to do this? Help me out. By Kalai

  • Create new user

    hi All, How to create new user and how i can grant all Privileges to the user. Can any one give reply. Which commands i can use. Thanks a lot in advance

  • Ipad 1 freezes on backup

    I have iPad 1, IOS 4.3.3 and iTunes for Windows. When I try to sync it gets to about 90% of backing up and just hangs. If I use the slider on the iPad to stop the sync, iTunes still thinks it's connected. I then physically remove the iPad and iTunes