IDOCS for HTTP-XML
Hi,
I would like to use IDOCS on my SAP ECC6 EHP4 (ABAP). Our functionals are planning to use HTTP-XML function for IDOCS.
My question is , do we require a JAVA stack for it to work? Secondly, does anyone has a configuration guide what to do for HTTP-XML to works?
Thanks,
Azir.
Hi,
In what format are you supposed to send the idocs to the 3rd party systems, in IDoc XML or Idoc flat structure?
If you need to send it as falt file and are on Ehp 1, you can make use of the IDOCXMLToFlat converter module
http://wiki.sdn.sap.com/wiki/display/XI/UsingJAVAIDOCModuleswithCustomorExtendedIDOC
http://help.sap.com/saphelp_nw73/helpdata/en/74/a45bc07e2043fb9b63295229178903/content.htm
The module can be called from any J2EE based adapter.
Else, you need to follow the below mentioned approach of an Abap mapping to do the conversion.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a?quicklink=index&overridelayout=true
Regards
Similar Messages
-
WebLogic: Can I use CMP for HTTP/XML calls like I can for JDBC ConnPools
I have an Entity EJB that I currently persist using WebLogic's CMP with an Oracle Conn Pool and JDBC. I have a new persistance (home-made) storage system that talks XML over HTTP. No real SOAP implementation except in the XML/HTTP communications.
Questions:
Can I still leverage CMP to persist entities - such that I could create a pool of XML/HTTP objects (that open a java.net connection - send a URL request in XML format) and have CMP handle persisting as it does now?
I would think there is some universal way to create a pool of communication objects to talk to anything if you define the mechanisms..right? If so, how do I get CMP to see that? In other words, is CMP only applied to "Known" data sources? Or can I give it my own..create my own weblogic-cmp.xml file.So, you have a home-made persistence solution with your own API and you expect CMP (_Container_ Managed Persistence) to be able to hook into that? Unlikely, right?
Maybe you could implement a JDBC driver on top of your persistence scheme, then you might have a shot.
Vlad.
P.S. Entity beans' performance is so bad everyone recommends against using them -- doing persistence over something as slow as HTTP would only make matters worse. -
Issue with the configuration of http xml port for sending the idoc
Hello,
I am planning to send multiple idocs in a single file using http xml port.
Presently I am trying to send a single idoc, but am having the issue.
I am trying to create a RFC for HTTP XML port of type H i.e. HTTP Connection to ABAP System
In the how to guide for - How Tou2026 Send Multiple IDocs Within One XI Message
( https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30ea2fdf-f047-2a10-d3a2-955a634bde6b )
the following parameters are defined for the path prefix -
RFC destination of type H (HTTP Connection to R/3 System).
Specify the path prefix as follows:
/sap/xi/adapter_plain/
?namespace=< your namespace>
&interface=<IDoc_Type>
&service=<Sender System>
&qos=EO (or EOIO).
I am trying to use the following prefix -
/sap/xi/adapter_plain/
?namespace=urn:sap-com:document:sap:idoc:messages ( this is the standard namespace of SAP for all the idocs)
&interface=DEBMAS05 (Idoc type )
&service=SNDLS100 ( ECC system name )
&qos=EOIO
On testing the RFC connection, I am getting the error of page not found.
Can anyone please give me pointers for the issue.
Regards,
MayankThanks Barry!!!
Now I am getting a different message.
In RFC...it is giving me the following message ->
Status HTTP Response 204
Status Text Body is empty
In case of Idoc, the status is till 02...
the error description for the idoc is --
"When transferring the IDoc by HTTP, the return code with the message '500<SAP:Error><SAP:Category>XIServer</SAP:Category><S' has occurred.
The target address was: http://emgeccsnd1:8001/sap/xi/adapter_plain/?namespace=urn:sap-com:document:sap:idoc:messages&interf
Check whether the IDoc can be sent again.
It is unfortunately not possible to determine automatically whether the IDoc has in fact arrived in the target system and the error occurred afterwards"
I am still not able to resolve the issue.
Regards,
Mayank -
Parameter is not working in HTTP( XML FEED) dataset in bi publisher 11g
Hi,
I have used parameter in BI Publisher 10g for HTTP(XML Feed) dataset to have dynamic url which worked by using ${p_url} where p_url is the parameter.
The same procedure when I use in BI Publisher 11g is not working.It does not consider the parameter ${p_url} and throws the following exception
*oracle.xdo.dataengine.datasource.plugin.DataAccessException: java.lang.Exception: java.net.MalformedURLException: no protocol: ${p_url}*
Has anyone faced this issue?
Please let me know if am doing something incorrect here.
Thanks &Regards,
BalajiThanks for your reply.
In BI Publisher 10 g we are using it this way ${p_url}.
p_url is the parameter which gives us the entire URL for the XML feed.
e.g. p_url=http://rss.news.yahoo.com/rss/topstories
The p_url takes the entire url.
Please let me know if this can be done the same way in 11g.
Thanks,
Balaji -
Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interfa
Hi
i am try do
Communication between SAP and 3rd Party Systems using IDOC HTTP XML Interface
With The help of SDN Contribution
link----
( have look on it)
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4943f2b7-0a01-0010-37af-faff35b2f08c
I am getting error in
Partner system as HTTPLOG and "Execute" to check the results
Error is -- Port could not be created
RFC destination HTTPLOG Not specified for system HTTPLOG
any 1 have any idea if plzzzzzzzz...........
Thank u
RamHello .
we are also in process of implementing the same
could you share the knowledge pl?
1)is it a separate add on with ALE to saphr
or using ECC ??
2)can u share the configuration part ??
we are trying it on webas as addon 3.0 . -
Why we r not Creating Sender Agreement For HTTP & IDOc Adapter at Sender .
Hi Buddy's,
Why we r not Creating Sender Agreement For HTTP & IDOc Adapter at Sender .And why we create receiver agreements at receiver side bt not sender agreement at sender side.
Wat Is GLOBAL Container ?, where it will Occur & wat is the functionality of that.Kumar,
1) XI integrattion server - IS expects the messages in XML format. If you see the HTTP request you will see that we pass all the info contained in the Sender areement in the the HTTP request itself , namely - Message interface, message type and the namespace (along with login parameters). For IDOCs the the IDOC- XML are are sent to the IS (through IDOC port configuration at the source system.
2) When send a message to XI the sender knows that XI system parameters, but when at the reciver end there could be any any system that is reciving the IDOc/HTTTp message. you specify those message through a commumication channel and this channel is associated to a receiver agreement.
3) A Global container is like a place holder for variables. You can set a variable here and access it throughout your mapping and hence the name.
A good example for a gloabal container is a counter to countthe number of records in te target side.
Regards,
Arvind ravindran -
How to config receiver http adapter for HTTP POST without XML tags ??
Hi All,
Can you please provide some infornation on How to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats.
Is there any option to bypass server authentication on the XI?
If anybody has the same experience or know how to please provide inputs.
Thanx
NavinHi,
you can use xsl mapping for this in which u xtract
the contents only but not the xml tag.
Ranjit -
In sap 4.7 ver i want to dispatch an Idoc through http in xml format
Hi
Here i am giving the brief scenario of about my
requirements "::::
Our organization need to receive an IDoc through
HTTP into XML format then we have to send an acknowledgement back to USA (external system
located)
then we hav eto process tha tIDoc an dsend it back
to the edi 850 ...
we are not using Sap Business Connector
Plz send the suggestions as soon as possible
I really appreciated if u can give the suggestions
regarding my business scenario ..
without using any thirdparty tool in sap 4.7 version it is possible how can i do that ??
Thanks & Regards ,
bakThe exact error message I'm getting is :
ABAP XML formatting error in XML node of type "element", name: "abap" -
Hi all
can anyone send me the XML code to write in HTTP client to know the structure for a table using a scenario. I already developed the scenario for HTTP to JDBC just post me the XML code.
Thanks and Regards
Raghu.Hi
Go through this
You can find a description here:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/66dadc6e-0a01-0010-9ea9-bb6d8ca48cc8
Might be useful
Thanks -
Survey Parameter XML for http(s)
Hello Gurus an Experts,
I try to send a survey via attachment of an email. I would like to use http, but I don´t get the sendfile in the survey suite when I try to download a presentation format (It works for bsp).
I´ve read the sap-note 836945 for generating urls and I made it work for bsp. The problem here is, that the customer needs a system access to store the survey.
It would be much better to do this via http(s) but when I try to change the xml parameters for http(s) I don´t know what to fill in for connectorID (additional conector of external cat-server). Then I get an alert "connector . . . not(yet) defined.
It would be great if someone could help me.
FabianHi Alicia,
I've got an answer to my OSS Message and they pointed me to this Pages in the CRM 5.0 Documentation: [XML Parameters|http://help.sap.com/saphelp_crm50/helpdata/en/e2/5756cb769ae745aa2f5ca5ff95d63c/frameset.htm] and [url Usage|http://help.sap.com/saphelp_crm50/helpdata/en/bb/dc4c46cae59d45a07569cb29f7b08f/frameset.htm]. The [url Usage|http://help.sap.com/saphelp_crm50/helpdata/en/bb/dc4c46cae59d45a07569cb29f7b08f/frameset.htm] is interesting because of the last sentences:
"Here, the survey results are first sent to a Survey Mailer. In this case, the Survey Mailer receives the http request and then mails the results to the CRM Server Mail User, where they can be processed. The Survey Mailer needs to be set up the administrator at the customer."
So I think the solution I've posted on the SCN Wiki: [Survey processing without opening a connection to the CRM Backend from the Internet |https://wiki.sdn.sap.com/wiki/x/ioAQB] is the way to go. I've now also added an PHP Script Example Code which shows how to the POST parameters can be extracted sent via E-Mail on the Server and not on the client side.
I hope that helps.
Best regards
Gregor -
Sender communication channel for HTTP and IDOC
Why the sender communication channel is not necessary for HTTP and IDOC
Hi,
Because they lie on ABAP stack ie on Integration Engine...so that they can process directly but other adapter lies on Adapter engine.
Regards
Hemant -
IDOC-- XI-- HTTP (non-sap) 403 Forbidden
Hi guys,
When I execute my scenario IDOC>XI>HTTP (non-sap) URL address Asynchr. The receiver receives the message correctly
but in my XI monitoring the message stands in error mode.
At first sight this is not a big problem because the receiver receives the message correctly
but it would be nice if the message would stand in processed succesfully.
The error:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter
-->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_SERVER</SAP:Code>
<SAP:P1>403</SAP:P1>
<SAP:P2>Forbidden</SAP:P2>
<SAP:P3>Service Error</SAP:P3>
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Http server code 403 reason Forbidden explanation Service Error</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Please don't redirect me to an old topic because I have read all topics and none of them could help me. :s
TIA
Message was edited by: Peter DelveHi,
this is the describtion of W3ORG:
The server understood the request, but is refusing to fulfill it. Authorization will not help and the request SHOULD NOT be repeated. If the request method was not HEAD and the server wishes to make public why the request has not been fulfilled, it SHOULD describe the reason for the refusal in the entity. If the server does not wish to make this information available to the client, the status code 404 (Not Found) can be used instead.
May contact web admin.
Regards
Matt -
Hi all
I have completed the IDOC>XI>HTTP scenario.
When I trigger a material in the source R/3 system, material details are being posted in to the destination JSP page.
The problem I'm facing is that same material record XML message is appearing in morethan one xml file.
Example:- when I trigger material 123 from BD10........
morethan one XMl message is appearing for the material 123 with all the same material details.
Can someone help me please.Hi Simon and Michal,
I have a similar scenario proxy to XI-jsp .Now in this jsp page I have a textarea 'test' and after inserting the value in it when we click on a submit button on that jsp it goes to handler'/abcdef/trial' handler that can be seen in action of the jsp page.Following are few concerns:
1. Now can I use http adapter to send the data coming after the message mapping to the external application (i.e the handler /abcdef/trial? or should i go for java proxy.
2.I tried implementing HTTP adapter but I am not understanding how HTTP adapter creates the HTTP request.and how this submit button click action will be triggered.Please help me on this.This is very urgent for me...thanx in advance....
Akshata -
Remove namespace alias for HTTP receiver adapter
hello all,
I have a scenario, IDOC->XML (HTTPS). Standard output of PI has ns0: as prefix for each xml tag (ns0 alias for namespace)
I want to remove the namespace alias while preserving the namespace in the output. So removing namespace reference in external definition is not a option.
Is there any way to use XMLAnonymizerBean for HTTP receiver adapter? What are other alternatives (java mapping)?
Thanks,
sachinThanks stefan, prateek.
Prateek: I checked this blog earlier. It talks about inbound processing. My scenario is outbound HTTP and I am not sure how I can use specific adapter service as mentioned in blog in outbound case as other scenarios are using standards adapter_plain service.
Stefan: I will try this approach.
regards,
sachin -
IDOC to HTTP tutorial and vice versa
Hello all,
I am a beginner in PI and I have just configured my first IDOC to file scenario. I am looking to implement an IDOC to HTTP scenario where I create an order in ERP 2004 and the order is sent as an XML file via PI into a suppliers website. I am trying to find a tutorial on how to do that but after looking here in SDN and in google, I couldn't find something helpful. There are plenty of file to idoc and idoc to file tutorials, but not an idoc to http .
Could you please provide me with some links or some information on where I can start with that. I am also interested on the reverse, i.e. HTTP to IDOC: The supplier sends the invoice in XML format through PI and I receive it in my ERP 2004 system as an IDOC
Many thanks
AndreasHey folks!
We have a PI 7.31 SPS5 Java-only installation here and are using the module IDOCFlatToXmlConvertor. For single IDocs with one line for the EDC_DC40 header and the others for the IDoc payload the conversion works. But when we want to process multiple IDocs from the same type within one file, we see this error in the log:
Module Exception 'com.sap.aii.af.idoc.exception.IDOCModuleException: No data segments for DOCNUM = ' found, cause: <null>
Are there any requirements how the multiple IDocs have to be structured within the file?
Best regards
Heinrich
Update:
I found out that the module wants each record to contain the corresponding DOCNUM to find the matching records. The non-SAP sender system normally does not set this value. Is there a way to "convince" the module to convert the IDocs nevertheless?
Maybe you are looking for
-
Next quarter to the selected quarter
Hi Experts, Our requirement is to show the data in the report for the next rolling up quarters to the selected quarter in the prompt. Ex. If user has selected 2010-Q2 then report should show the data for 2010-Q3, 2010-Q4,2011-Q1 and 2011-Q2. Please s
-
Dependant Drop down form validation
I have a form where after selecting options from 5 dependant drop down boxes, and clicking submit a pdf file is displayed in a new window. This is working fine, i now just need some code to validate the form before submission rather than going to an
-
Deleted iPhoto by accident!
I'm on a macbook pro - which im a leasing from my school. So i don't have any discs with software recovery on. But my problem is that i have by accident deleted my iphoto app including ALL photos .. How do i get it back without paying for iphoto ? (i
-
So I just recently joined the party and got a Tour. I have never had a smartphone before. I am trying to set up my email (gmail) with my blackberry but am running into problems. When I go to the email setup button, it asks for me to login or setup
-
Flash iOS app to client's licence?
I have created an app in Flash CC/AIR and previewed it to the client using my own Apple Developers licence. How can I configure and supply the .ipa file so he can then distribute it to his sales team using his company's Enterprise licence?