SRM/XI Scenario - How to send cXML Response?
I'm looking for someone out there that has experience configuring XI to send out cXML Purchase Orders via HTTP created in SRM to Trading Partners and also to receive cXML Invoices via HTTP for these Purchase Orders into XI.
My questions are: How do you configure XI to receive and process the cXML responses that are sent back from the Trading Partners when they receive a Purchase Order? I know this needs to be a synchronous transaction through the same HTTP tunnel that the Purchase Order was sent through. Is it something that needs to be configured using BPM? Same thing for Invoices. What do I need to do in XI to send out a cXML response to the Trading Partner when I receive an invoice? Again, is BPM needed for this?
Hi Dave,
As far as I could see from our testing, SRM standard business content uses proxies to submit/receive the messages with XI. Unfortunately, the standard ones seem top be asynchroneous.
I believe the easiest for you would be to copy and change the standard message interfaces into synchroneous interfaces. I'm pretty sure you can call your own proxy in an exit to replace the standard call but the question is : what will you do with the response ? I'm unsure if you can 'transfer the response into something usefull on the SRM side ( something like a PPF status of the output message ) .
On XI, you can map the SRM proxy onto a synchroneous HTTP interface to send/receive with the partner ( and map into cXML ) : in this case you don't need BPM.
More or less the same story for the invoices : you would need to copy to a sync interface and pass the response from the standard SRM processing for the inbound invoice as a response to the proxy. On XI you can map it into a http response.
But do you think you will get 'business responses' into the http responses ? If you keep async on srm side and sync ( by defintion for http ) on partner side, an http 500 would result in an error in the interface and should be picked up by XI monitoring. Maybe there is a reason why SAP provides async proxies.
Hope it helps
Dirk
Similar Messages
-
How to generate cXML response for a Trading Partner in Oracle B2B 11g
We have a requirement to generate a cXML response whenever there is an inbound message posted from a trading partner to our B2B servlet. Can the response be directly generated in B2B integration layer and sent back to the partner?
Messages(cXML) will be exchanged as Custom document using HTTPs protocol.Thanks for the response.
Can you please explain how you used custom cXML in the Ack. What document protocol was used.
Thanks! -
How to send SAML response from ADFS server on web page
Hi
I have integarted ADFS and Orcale application for single sign on.
problem description: need SAML token on web page which published on application.
please tell me; how to set SAML response on web page defined on ADFS or what configuration required from ADFS side to send SAML response.
Regards
KapilThis has a web app that will display claims. You could probably modify it for your needs.
http://blogs.technet.com/b/askpfeplat/archive/2013/12/23/how-to-build-your-adfs-lab-on-server-2012-part2-web-sso.aspx
Mark Morowczynski
Microsoft Senior Platforms PFE
Blog:
http://blogs.technet.com/b/askpfeplat Twitter:
Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose. -
Can SAP R/3 send RFC response to Xi
Hi ,
I have one scenario where Sap has to trigger an RFC call and shouls send the response to XI and the Xi should write that response to file .
How to send just response of RFC to XI ??hi,
you need to execute an RFC
with destination XI (in background)
so the data will reach the XI (and then you can save as file)
but you can only do it with RFC request
so once you execute your first RFC and you'll get a rensponse
you need to map the reponse to a request of a new RFC
and execute the new one which will take the data to the XI
basically that's all
Regards,
michal
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a> -
SRM-- XI -- generate cXML EPO, how to send attached xls with xml ?
Hi,
We have to use XI to generate E- Purchase Order and send it to supplier in cXML format.
The flow is :--
We have SRM> IDOC> XI--> cXML EPO
I have couple of questions?
1) Can I have some document where this kind of scenarios implemented?
2) Can we send attachment (.xls file) with the cXML file to external system., where this attachment is coming from SRM.
3) Can XI receive the attachment with the iDoc and send as is to the supplier?
4) How can we convert cXML 1.2 standard format as output?
5) Which adapter can be used and receiver side to publish the cXML format EPO?
6) What else we need to do to configure SRM to XI ?
7) how we make cXML 1.2 standard format or define data type?
Please help me to understand this, your inputs are appreciable? if you have any docs then please mail me at [email protected]
Thanks & regards
Ram SinghalHi Ram,
Info about cXML
http://en.wikipedia.org/wiki/CXML
Info about attachments in cXML
http://edocs.bea.com/wli/docs70/cxml/api.htm
example of an order in cXML with attachment
http://www.wmusers.com/wmusers/messages/117/AribaOrderwithAttachment-124618.txt
I hope this help you.
Bye. -
Hi friends,
I Am Working on a scenario where I want to insert PO Response automatically in SRM (EBP). I am sending Sales Order details from vendor R/3, through XI using ORDRSP05 Idoc.
This Idoc is mapped to PurchaseOrderConfirmation_In Interface & sent to SRM.
In SRM this XML message is received but with following trace:
<FAULT_TEXT>An error occured within an XI interface: Exception occurredE:BBP_PD:069 -Product data could not be intepreted E:BS:013 -System status INCM is active (Purchase Order Response 1000000059)
Programm: CX_BBP_BD_ERROR===============CP;
Include: CX_BBP_BD_ERROR===============CM002; Line: 57 </FAULT_TEXT>
I am stuck up on this error for 2-3 days, If any one has any idea what so ever to solve this error, then please tell me.
Hope some one help me out to solve this.
Thanking You In Advance.
Regards,
Nitin.Hi Nitin,
Did you ever figure this issue out?
We are running into a similar problem. We get the following error:
<STANDARD>
<CONTROLLER />
<FAULT_TEXT>An error occured within an XI interface: Exception occurredA:BBP_PD:004 -Partner 0000003100 not found E:BBP_PD:147 -Enter a country for partner 0000003100 with type 'Sold-to Party' I:TAX_TXJCD:105 -You are not allowed to enter a tax jurisdiction code for country US W:BBP_PD:649 -Delvery date is in the past; check the entry Programm: CX_BBP_BD_ERROR===============CP; Include: CX_BBP_BD_ERROR===============CM002; Line: 57</FAULT_TEXT>
<FAULT_URL />
<FAULT_DETAIL />
</STANDARD>
We have defined 3100 as the Company code in SRM and R/3. We have also defined the correlation between QA2CLNT220 (logical system), QA2_220 (business system), and Partner 3100. So we are not sure why SRM complains that "Partner 0000003100 not found". Do we need to define this link between QA2CLNT220 and partner id 3100 somewhere else?
Regards,
Jay -
How to send response message from Java mapping class? Please help!
Hi Experts,
I have a sync scenario
-Req--> -
>
SOAP XI RFC
<Res-- <-----
The Req message contains:
<Order>
<Orderid>100</Orderid>
<Desc>Extrenal Order</Desc>
<Qty>2500</Qty>
</Order>
Response message is:
<Log>
<LogTxt>Qty value cannot be more than 3 chars</LogTxt>
</Log>
In the XI I have to validate the input request message using a schema. For this I am writing a java mapping program using aii_map_api.jar.
My requirement is that If the input message schema validation fails then I want to send a response message back to sender.
How can I send a response message back to the sender in java mapping program?
Kindly help with sample code example.
Thanks
GopalHi,
First, I think PI 7.1 has this functionality and perhaps it comes in a SP for PI 7.0 and XI 3.0. So first have a look at that before creating custom development.
Second, if you use the java mapping, you will only have access to a request or response message. I would advise using a custom java module in the module processor and insert this message in the sender communication channel. This will allow you to validate request and send a response.
Regards,
Yaghya -
BPM: cXML Response Scenario
I currently have an XI process in place that receives cXML Invoices from suppliers via HTTP into XI where they are mapped into IDOC format and sent to R/3.
The suppliers are requesting that I send a cXML response back to them after receiving an invoice. I assume I need
to use BPM to achieve this but do not have experience using it (other than in a XI class).
Can someone please walk me through the steps I need in BPM to accomplish this?Hi,
Scenerio : HTTP -> XI -> RFC ->XI ->HTTP
Yes, BPM is a Better Option,
XI - > RFC make a Synchronous call with help of BPM
( so that it will wait for the response since Synchronous call which is needed for your Scenerio)
This might help you
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
http://help.sap.com/saphelp_nw04/helpdata/en/11/13283fd0ca8443e10000000a114084/content.htm
BPM: Multiple synchronous receivers
Synchronous - Synchronous BPM
Synchronous BPM start
Regards
Agasthuri Doss -
How to send Standard SC fields in SRM to a PO in R/3
Dear All ,
Please can some one let me know on how to send the Limit Item SC Start date and end date which is at the line item level (already)
to a PO at the line item level . i.e we do not need to enhance the screen just include it in the BAPI which sends data to the backend .
I tried searching for more docs yet did not find anything much .
I found out there is a class CL_BBP_BS_ADAPTER_PO_CRT_ERP10 where CREATE_DOCUMENT decides what fields would be passed .. In that there is a FM which is being called from ECC .. and in that there is header and header X field ..which has the fields which I need VPER start and end date ..so I am assuming from the SC it is passed to header level of PO through this ..
CALL FUNCTION 'BAPI_PO_CREATE1'
DESTINATION av_rfc_dest
EXPORTING
poheader = as_po_out-is_poheader "#EC ENHOK
poheaderx = as_po_out-is_poheaderx
Now I want the same fields to be passed to item level of the PO .. could you confirm on what exactly I should do ?I saw the below tables not sure what I should do with them to include the 2 fields I want which should be passed to ECC it is not in the it_poitem and it_poitemx structures .
please advise ... .
TABLES
poitem = as_po_out-it_poitem "#EC ENHOK
poitemx = as_po_out-it_poitemx "#EC ENHOK
extensionin = as_po_out-it_extensionin "#EC ENHOK
* extensionout = as_po_out-it_extensionout "not used by SRM
poexpimpitem = as_po_out-it_poexpimpitem "#EC ENHOK
poexpimpitemx = as_po_out-it_poexpimpitemx "#EC ENHOK
potextheader = as_po_out-it_potextheader "not used by SRM
* popartner = as_po_out-it_popartner "not used by SRM
I am not sure if what I have searched is correct as well Please let me know if I am wrong and where to check for the requirement .Hi Vinita,
Please clear my understanding. you have a requirement (special one) to pass the Valid start and Valid end date in the PO at item level for framework order (Limit order).
Are you sure of the requirement. Thus Standard ECC FO these fields are at the header level and not item level.
Please confirm whether this a special process to pass the dates in FO at item level.
Then how and for what is this FO process used?
Thanks.
From RBEI,
Snehal -
How to send a request and get a response through xml
How to send a request and get a response through xml files?
This is the code that works for me. Hope you find it useful.
public static String sendHttpGetRequest(String endpoint, String requestParameters){
String result = null;
// Send a GET request to the servlet
try{
// Send data
String urlStr = endpoint;
if (requestParameters != null && requestParameters.length () > 0){
urlStr += "?" + requestParameters;
URL url = new URL(urlStr);
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestProperty("Accept", "application/xml");
// Get the response
BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
StringBuffer sb = new StringBuffer();
String line;
while ((line = rd.readLine()) != null){
sb.append(line);
rd.close();
result = sb.toString();
} catch (Exception e){
e.printStackTrace();
return result;
} -
How do I accept or decline a calendar invitation in iOS8 without sending a response?
This specific scenario is Exchange 2013 and iOS8.
I want to be able to accept/decline/tentative in response to a calendar invitation from my iPhone without sending a response to the inviter.
I do not think Exchange probably has anything to do with it, but that is the set up.
Thanks!Decline a call and send it directly to voicemail. Do one of the following:
Press the Sleep/Wake button twice quickly.
Press and hold the center button on your headset for about two seconds. Two low beeps confirm that the call was declined.
Tap Decline (if iPhone is awake when the call comes in).
Respond with a text message instead of answering. Tap Message and choose a reply or tap Custom. To create your own default replies, go to Settings > Phone > Respond with Text, then tap any of the default messages and replace it with your own text.
Remind yourself to return the call. Tap Remind Me and indicate when you want to be reminded. -
How to send multiple records in file2file and file2db or all scenarios//
I'm able to send single record for file2file and file2db,
how to send multiple records in file2file and file2db or all scenarios//
what should add or make changes for dis.1 put Occurance 1 to Unbounded in data type of IR
2 In the test tag of message mappings in IR,select one node and use "duplicate subtree" in its context menu
After that,you can download the test data in XML format with the button "save document source"
for example:
<?xml version="1.0" encoding="UTF-8" ?>
- <ns0:ZFileDemo xmlns:ns0="http://hand-china.com/mm/po_01">
- <Item>
<ItemNo>1</ItemNo>
<Matnr>2</Matnr>
<Text>3</Text>
</Item>
- <Item>
<ItemNo>4</ItemNo>
<Matnr>5</Matnr>
<Text>6</Text>
</Item>
</ns0:ZFileDemo> -
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 AMI 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?
-
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
THANXI'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)
---------------------------------------------------------------- -
How to send PO IDOC from SRM server
Hi All,
How to send IDOC, after successful creation of the PO in SRM ?
Please tell me how to configure the SRM system ?
RegardsHi,
See the foll related useful link:
Re: Intercompany process u0096 MM u0096 SD
BR,
Disha.
Pls reward points for useful answers.
Maybe you are looking for
-
"When I select open in iBooks, iBooks opens and the PDF shows as thumbnail then goes away." please help My iBook has at least 350 PDF file, some of them big i.e 40 MB
-
Extreme and external hard drives - which one
Hi I am looking to attach a external hard drive to the airport extreme but I am not sure of the spec of hard drive that I would need or can you just hook up any type sata, ide,etc. there is no info in the setup guide. Also I looked at a wireless hard
-
Question about locking certain folders w/diff.accounts?
I'm about to let my girlfriend use my Mac, so I made a seperate account for her. I just don't want her going through all of my files and " stuff ". Is there anyway to lock certain folders in my account? I tried using parental controls but didn't find
-
I need help on replacing an old debit card on the account
Can I hav help on replacinging the old debit card on account
-
Error: 80070057 Apply Prestage Media
Hi all I am using the task sequence by Frank Rojas (http://tinyurl.com/k2va766 ) to Apply prestage media. For what ever reason, it keeps failing, and sometime works, I have no idea why. The error Failed to run the action: Error in the task sequence.