HTTP- XI scenario
I am having a http scenario where we have to receive file attachment (posted through HTTP) in XI. Is this possible?
Thanks..
Yes.It is Possible.Configure FTP reciever and map the inbound data and create outbound interface for http post format and that would do.
Please refer to the blogs for configuring scenarios in HTTP.There is already an HTML for posting any kind of XML available .You can use it for testing sample http scenario.
Similar Messages
-
ABAP proxy to HTTP sycnchronous scenario.
Hi All,
I have an ABAP proxy to HTTP syncronous scenario in which the proxy through PI makes an HTTP request to a third party to download a PDF.Once the PDF is sucessfully downloaded we need to send an acknowledgement to ECC system that the download was sucessful and also place the PFD file in an FTP server as well.
Looking forward for any possible ways that the above scenario could be achived in once interface.We are open to use ccBPM to achive this.
Thanks in advance.
Best Regards,
Bhanu.Hi Bhanu,
if this is a sync request to a HTTP receiver (to initiate with the request a PDF upload) you will expect to get a response back to the Proxy sender.
So following the described implementation the response will provide the information about un/successfull PDF load
from the http receiver (so this partner has to provide a response in a sync connect!!!).
If you need the PDF to be moved back to a location near to the proxy sender additionally to the response message the receiver of the proxy trigger has to return both in the sync response but the proxy is not able to receive an attachment.
And... as I know HTTP adapter does not allow to handle attachment. This is only possible with SOAP !
So in such a case the PDF needs to be provided with another adapter (which would allow to use a sync connect Proxy-> HTTP and another one async from the PDF loader via file adapter (file -> file). So this will not require a BPM too!
a) Proxy-> PI -> HTTP (sync)
b) FTP -> PI -> FTP (async)
Result: No BPM required!
Regards
Dirk -
Problem with Http RFC Scenario
hi all.........
Am doing an HTTP RFC scenario. The scenario is working fine with all messages in IS, IE and AE being successful. But the problem is the RFC response am getting is not what is expected. When i run the RFC directly with the same input value I get the correct response. Can anybody figure out what is the problem. In the channel (adapter monitoring) what comes is :
"RFC_HISTORY
- Error: 2007-01-16 09:47:52 IST: Message processed for interface ZBAPI_NETWORK_CONF_ADD: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.
- Error: 2007-01-15 19:57:21 IST: Message processed for interface ZBAPI_NETWORK_CONF_ADD: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.
- OK: 2007-01-15 19:28:31 IST: Message processed for interface ZBAPI_NETWORK_CONF_ADD "
thanks in advannceHi,
><i>I ve used RFC itself as message type for http by importing it into external definition. So since both structures are same i omitted both MM and IM</i>
Should work fine. Can you look into SXMB_MONI and check what the response is? Make sure that the request message is also as expected.
Regards
Bhavesh -
Hi All,
I have Done HTTP--RFC Scenario and i got the Bellow Error in Receiver RFC CC
Receiver channel 'CC_POS_CashJournal_IB' for party '', service 'Sub_ssd_subdev'
Error can not instantiate RfcPool caused by:
com.sap.aii.af.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.af.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed
Connect_PM TYPE=A ASHOST=10.1.1.203 SYSNR=00 GWHOST=10.1.1.203 GWSERV=sapgw00 PCS=1
LOCATION CPIC (TCP/IP) on local host with Unicode
ERROR partner '10.1.1.203:sapgw00' not reached
TIME Fri May 2 18:55:26 2008
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -10
MODULE nibuf.cpp
LINE 4601
DETAIL NiBufIConnect: connection pending after 60000ms
SYSTEM CALL connect
ERRNO 150
ERRNO TEXT Operation now in progress
COUNTER 2
Line 1 / 1
Regards
SumanHi,
Do we need to check and use RFC Meta data Repository in RFC CC???
Here I used the Business System for RFC Receiver that is configured for IDOC Scenario.
Is this is Fine and Ok???
Regards
Suman -
Synchronous HTTP - RFC Scenario: Timeout
Hello together,
I have just implemented a synchronous HTTP --> RFC scenario. When I test the implementation using the HTTP testing tool within the Runtime Workbench everything works fine.
However when I use an external HTTP Client I get a timeout exception. This is also raised in the XI Message Monitoring: "Timeout condition of pipeline reached"
Do you know any reason for this?
Thank you very much.Hello,
this problem is solved now. It was a problem with the HTTP Client, obviously because a wrong queueID was automatically inserted in the URL. -
System -- XI -- HTTP Synchronous Scenario. Pls advice
Hi All,
I have 2 scenarios:
1. HTTP -- XI --- System A Synchronous Scenario
2. System B -- XI -- HTTP Synchronous Scenario
Can HTTP Receiver Adapter be used for both the above synchronous scenarios?
a. In HTTP Receiver Adapter is RFC Destination is of Type G?
b. What is Target Host
In Scenario 1 is it System A host name?
In Scenario 2 is it System B host name?
c. What is Path Prefix?
d. What is Service Number?
e. Does WebServer needs to run on System A and System B for HTTP connection?
f. Is there any property in HTTP Receiver Aadapter to make it
Qos as BE or it is by default?
RegardsDid you look at the SAp documentation?
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
VJ -
Hi,
My Scenario is File-XI-HTTP
I have configured an HTTPS receiver scenario for which I have created an external HTTP destination and also certificates.
When I do the test connection I am able to connect successfully. Also in SXMB_MONI the status of the message is processed successfully.
But the external HTTP system is not getting any message from XI.
Also I tried using TCPGateway, in which I have given the external HTTP system's Port and Hostname.
It is just showing waiting for connection.
Please let me know if i am missing anything.
Regards,
RaviHi..
For Http Adapter
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
HTTP to RFC - A Starter Kit
HTTP Errors
Http* Errors in XI
HTTP 403 during cache refresh of the adapter framework - Refer SAP Note -751856
Note :::804124
Note :::807000
HTTP Error Code: 402
Do the following settings to increasing the time_out
please Increase the HTTP_TIMEOUT parameter value
1) goto XI ABAP Stack
2) goto SXMB_ADM
3) Select Integration Engine---Specific Config
4) set the parameter HTTP_TIMEOUT to maximum number
Refer the michales's weblog for the same.
XI: Timeouts, timeouts, timeouts....
The specified item was not found.
Http Test tool :
/message/266750#266750 [original link is broken]
regards
Kishore -
HI All,
I am working on HTTP eWay scenario.
I am getting the below error :
Exception : ResourceException ( com.stc.connector.framework.jca.ResourceException: Failed to establish an HTTP connectionjava.lang.Exception: java.lang.Exception: Failed to set HTTP Proxy Host;
In the environment settings, for HHTP Client external system what we need write for:
HTTP URL & Proxy Host ? and i am using port 18001.
Thanks ,
JagsJags,
This is the information of your network proxy and proxy server port number. Open your browser and in the network session you will have proxy information. You need to configure in Http eway.
Thanks
Raghu -
Hi,
HTTP - XI - iDOC is my scenario.....
i am facing problem in iDoc adapter...
the error category is idoc adapter and the error id is "ATTRIBUTE_INV_SND_SERV"
Which RFC destination and port should in mention in Communication Channel? Either the receiver or XI?
forward your suggestions....
Thanks,
RPNhi rpn,
check this links
Go to Int. Directory -> Double Click on your IDoc Business System -> Menu -> Service -> Adapter Specific Identifiers
Maintain Logical System name and System ID and Client number.
Check the following blog.
The specified item was not found.
Unable to convert sender service to an ALE logical system
ATTRIBUTE_INV_SND_SERV
XI 3.0, Party and Service problems (IDoc inbound)
Trouble shooting file to IDOC and IDOC to file
Troubleshooting File-to-IDOC Scenario in XI.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario
see the below links
ALE configuration for pushing idocs from SAP to XI
Introduction to IDoc-XI-File scenario and complete walk through for starters.
idoc settings Configuration steps required for posting idoc's(XI)
Also
/people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133
IDOc testing - Generate Test Case for an IDOC Scenario
regards
srinivas -
Mapping Issue(UDF) in HTTP-RFC scenario with URL parameters - Urgent
Hi All,
I am working out an HTTP-RFC scenarion wherein there is no xml data to be pushed.
The data will be coming in the url parameters.
Also we'll exposing our url(created by SAP PI) to 3rd party system to push data in terms of url parameters.
So how do I do mapping? Also what UDF code will contain?
Since I'm working on this kind of scenario for the first time, I need every help from you guys.
Thanks & Regards,
Amit PatilHi All,
I have worked on RFC to HTTP scenario wherein URL have to be passed. I used UDF in d same.
But now the case is reverse, how shall I move ahead with what source message type(in the mapping) and how to do mapping.
What kind of UDF will be useful here?
I am completely blank in this kind of scenario where 3rd party system is going to pass four parameters on URL link craeted by us since its an HTTP to RFC scenario.
Please guys help me! Give me some inputs.
Thanks,
Amit Patil -
RFC TO HTTP receiver scenario.Adding file name to HTTP receiver
Hi All,
Scenario is ZBAPI ->XI-> HTTP conncetivity to EXternal Partners .
ZBAPI sends the Partner data informtaion to XI . I need to create a Partnerdata xml in XI and pass it to HTTP Connectivity (Certificates ) to External Partners
Connectivity is working but I need to add the time stamp to the Partner data xml in the HTTP Receiver .
I dont get the time stamp in ZBAPI
I checked many blogs to create UDF of getfilename, dynamic configuration , but here there is no FTP sender channel .
Can someone help me in giving ideas as hope to assign the time stamp in runtime to HTTPS Receiver Channel .
Thank you ,
Best Regards,
VaraHi Vara,
In your question you actually mentioned three different communication methods (HTTP, HTTPS and FTP), but only one of them can really work with files and it is the FTP adapter. Moreover, what you need is the Receiver FTP Communication Channel, not the Sender one (as you need to deliver your message to an external system, not to collect it from there). What you need to do is find your Receiver Communication Channel, go to Advanced tab and mark "Use Adapter-Specific Message Attributes", as well as the File Name (that appears once you mark the first one). Then, in your message mapping, you just put the current timestamp to the respective dynamic configuration parameter. Find an example of how to make the whole change [here|http://www.****************/Tips/XI/ASMA/Index.htm].
However, if I misunderstood you and you need to use the current timestamp in the message body instead of the file name, it will be even simpler. In this case, just go to your Message Mapping and in the target field, put the "currentDate" function from the "Date" group, then double click on it, click the "extended view" button and put your expected date and time format.
Hope this helps,
Grzegorz -
HTTP(s) - RFC - HTTP(s) scenario is not working synchronous.
Dears,
I have the following scenario.
our PI system will receive an XML over HTTP(s) from outside company.
and then our system will send a confirmation to that company.
I already configured it with synchronous outbound Interface.
Now, I can post xml to PI URL . and it reached RFC but no response.
I checked the SAP XI runtime workbench - adapter logs and i found :
RfcAdapter received a asynchronous message. Trying to send tRFC for YISU_SAPI_BCONRQ with TID XI051MbW017j2emZuP2jN5nm.
RfcAdapter received a asynchronous message. Trying to send tRFC for J2EE_GUEST with TID XI051MbW017j2emZuP2jN5nm.
My interface is synchronous but in the logs showed asynchronous!!!!
What is the problem????
Thanks and Regards,http://****:50000/sap/xi/adapter_plain?namespace=urn%3ASALE_P&interface=SI_SALE_OB&service=CC_SALE&party=&agency=&scheme=&QOS=EO&sap-user=***&sap-password=***&sap-client=240&sap-language=EN
just remove the QOS itself. By default it is BE
http://***:50000/sap/xi/adapter_plain?namespace=urn%3ASALE_P&interface=SI_SALE_OB&service=CC_SALE&party=&agency=&scheme=&sap-user=*&sap-password=**&sap-client=240&sap-language=EN
refer;
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/frameset.htm -
I have created http to RFC scenario in XI
Previously this interface was using Business Connector and following XML message was used.
<? xml version="1.0"?>
<TAC>
u2026.
u2026.
u2026.
u2026.
</TAC>
Based on it I have created data type and message type in XI and created interface and following is my incoming XML message.
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_TAC xmlns:ns0="urn://Website/CreateServiceOrder">
<TAC>
u2026.
u2026.
u2026.
u2026.
</TAC>
</ns0:MT_TAC>
So u201C<ns0:MT_TAC xmlns:ns0="urn://Website/CreateServiceOrder"> </ns0:MT_TAC> are the extra tags
Is it required to send these additional tags in the incoming XML Message?
I hope you have got the question.
Thanks,
Vishal>
Kai Lerch-Baier wrote:
> Hi,
>
> the tags <ns0:MT_TAC xmlns:ns0="urn://Website/CreateServiceOrder"> </ns0:MT_TAC> are not basically required. This depends on your message definition. check your XSD / DTD you used to define the message structure in IR. Also you can use a XSLT mapping to remove the tags if not needed.
>
> Reagrds,
> Kai
i think these are the start and end tags of the MT in IR.....so if i remove them wont i get an error??....how will the incoming payload go into the MT if the structure is different??
What can be done is create the DT/MT with TAC as name and not MT_TAC.....make a note that it is not according to the naming convention.... -
Synchronous HTTP-IDOC Scenario
Hi,
We have a scenario where our vendor sends us the cXML invoices which we are receiing using a HTTP adapter and creating a IDOC in R/3 using a IDOC adapter. But our vendor is expecting a cXML response back which contains the status code 200.
To do this do I have to use a sync Http adapter and Sync/Async bridge. How should I get the response back to the HTTP sender adapter. Do I need to get the ALEAUD(Acknowlegement of the actual IDOC) IDOC to XI and map it to the response cXML.
Is there any simple way to send back a response the cXML invoice reaches the XI, instead of getting the response back from R/3.
Please suggest
Appreciate all your help.
Thanks,
Maulik.Hi ,
Please refer following blogs for use of sync async bridge
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
For idoc acknowledgement . You can use send step with ack type as application or system . for more info refer following blogs
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
Thanks ,
Suvarna
Award pts if it helps -
How to set up a RFC - HTTP Post scenario?
Hi all,
I've seen a scenario using a HTTP -> RFC but i didn`t found the other way, an RFC -> HTTP scenario.
I have a scenario that consists of a RFC that will pass the parameters to XI and then, i've to map the parameters of this RFC into a XML message, zip this xml message, convert it to BASE 64 string, post this "binary" message thru HTTP POST and finally, send the XML HTTP response back to my RFC .
My questions are:
- How to map the RESPONSE of the http request to my RFC?
- How to deal with the transformations of the data, from xml to zip and from zip to a base64 string.
- How to set the URL of the HTTP POST dynamically?
Thanks in advance!> Hi all,
>
> I've seen a scenario using a HTTP -> RFC but i didn`t
> found the other way, an RFC -> HTTP scenario.
>
> I have a scenario that consists of a RFC that will
> pass the parameters to XI and then, i've to map the
> parameters of this RFC into a XML message, zip this
> xml message, convert it to BASE 64 string, post this
> "binary" message thru HTTP POST and finally, send the
> XML HTTP response back to my RFC .
>
> My questions are:
>
> - How to map the RESPONSE of the http request to my
> RFC?
hmmm.. Maybe a Java Mapping?
> - How to deal with the transformations of the data,
> from xml to zip and from zip to a base64 string.
Either Java Mapping or a Java Proxy.
> - How to set the URL of the HTTP POST dynamically?
>
Use Adapter Specicif Identifiers and set it in the mapping dynamically.
Regards
Bhavesh -
HTTP Synchronous Scenario. Pls advice urgent
Hi All,
My scenario
System A -- XI --- System B
This is Synchronous HTTP scenario.
I tested in XI RWB.
a. I took Message Mapping Source xml structure and sent from RWB it worked fine.
b. I took xsd of Request Data Type and sent from RWB it shows error
"MAPPING">EXCEPTION_DURING_EXECUTE"
Now In real scenario System A will send data to XI.
So does it mean that I need to send Message Mapping Source xml structure to System A and not xsd of Request Data Type
Pls advice
RegardsHi,
Check the message status in SXMB_MONI and let me know the trace and error message.
the below message shows that there is some problem in mapping, u have not done the correct mapping between source and target.
EXCEPTION_DURING_EXECUTE"
test the message in message mapping using test tab and let me know the result.
chirag
Maybe you are looking for
-
Actual line items report for multiple products
Hi All, We have 4 manufacturing plants and 100 fg /sfg materials are being amnufactured for each of the plants. Now we want to see the total actual cost incurred report for each of the fg/sfg materials for each plant in a single report. Kindly share
-
BAPI/FM PS SCHEDULE PROJECT??
Hi, I'm not an expert in PS module, but I have worked with BAPI_NETWORK_MAINTAIN. In this BAPI i can schedule a network. But my question is: How can I schedule a project?? Do you know any BAPI or FM?? Thank you!!!
-
Ststus 52 and under that ststus is ststus 51
This is an intercompany process. In my client system, once an o/b delivery is created then by schedule job an inbound delivery happens via IDOC. In one of the cases the i/b IDOC has a status of 52 (Application document not fully posted) and the messa
-
DWM / Powerline / Font ?
So... I stole all the patches from this github rep: https://github.com/SushiDesu/dwm All the patches applied nicely. But... I cant get the glyph's to work. It gave me 2 questions: 1: How can I really test it? The wierd thing is that the glyph is show
-
Q700 video resolution.......
Hi there, I just bought the IdeaCentre Q700 30151NU. I have it hooked up via HDMI to my Samsung plasma. I also have a Blu-ray player and XBOX 360 hooked up with the exact same type of HDMI cable. The Blu-ray and XBOX picture quality I would rate a