RFC to HTTP Scenario, Dynamic URL .... Limitation with 200 Character...
Hi Experts,
I am doing an RFC to HTTP Scenario. In which the Target URL is Dynamic and i am passing some values from the input payload.
The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
How to solve this ...Any way to achive this...
Regards,
Jude
Hello,
The Problem is the Target URL length is around "487" character and the Dynamic configuration property allow to pass an maximum if 200 character to "Target URL".
You can check Michal's reply in this thread, http://forums.sdn.sap.com/thread.jspa?messageID=7767169#7767169. There is no official statement from SAP that they will change it.
What you can do is to use a third-party tool to shorten the URL e.g bit.ly I am unsure though of licensing reasons. Or an alternative is to place the parameters in the HTTP Body, in that way, you can place as much parameters as you like.
Hope this helps,
Mark
Similar Messages
-
Hi Experts ,
i am configuring RFC-XI-Http scenario.
The problem i am facing is when instaed of HTTP receiver adapter i use FILE adapter or soap adapter it posts the file. But when i use the HTTP adapter it gives the error ICM_HTTP_CONNECTION_FAILED.
The basis configuration seems to be fine and my design also should be fine as it is working in case of file and soap adapter .
How to rectify this problem?
This is very urgent.
Please suggest
Regards
saras jainHi,
Please look at these...go through the suggested solutions to resolve this error.
INTEGRATION_DIRECTORY_HMI: Connection fails
ICM_HTTP_CONNECTION_FAILED
SAF - ICM_HTTP_CONNECTION_FAILED
HTTP adapter setup
Check out this SAP Note- 824554
Also this links
ICM_HTTP_CONNECTION_FAILED
Cache Refresh~
https://websmp201.sap-ag.de/~sapdownload/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf
Hope this helps.
Think these should help you out!
Thanks
Swarup -
Dynamic table issue with special character
Hi All,
While creating a dynamic internal table if the fieldname in the fieldcatalog contains any special character like dot(.) , ot is showing the message without creating the dynamic internal table.
* Create a dynamic internal table with this structure
CALL METHOD cl_alv_table_create=>create_dynamic_table
EXPORTING
i_style_table = 'X'
it_fieldcatalog = gt_dyn_fcat
IMPORTING
ep_table = gt_dyn_table
EXCEPTIONS
generate_subpool_dir_full = 1
OTHERS = 2
gt_dyn_fcat contains fieldname with dot.
So the table gt_dyn_table is not creating.
I searched in SCN andd found another method
CALL METHOD
cl_abap_structdescr=>create
But the same issue is aslo here in this method.
Please suggest me any new method in sap to solve the issue.
Best Regards,
MunuHi,
Every programing language has its syntax rules.
If you want to use this language you have to follow the rules.
All the peoples involve with SAP ABAP must follow the rules.
and here it is: from http://help.sap.com/abapdocu_740/en/abennaming_conventions.htm
How abut using underscores (_)
Regards. -
QUESTION: URL limitations with iWeb?
can you create a personal url such as www.yourname.com
Yes, you can, Scott. But not through iWeb or .mac. You need to go to a Domain Registrar like http://www.godaddy.com who will help you find your unique domain name and register it so that no one else can use it. This kind of service usually costs somewhere in the neighborhood of $5 to $15 a year to maintain.
Once you have your domain name, like http://www.scottmagri.com , then you can set up something called Domain Forwarding (check with your registrar to make sure this is available...sometimes at additional cost...but included with GoDaddy). What Domain Forwarding does is to let anyone who types in http://www.scottmagri.com to be automatically forwarded to whatever other URL you want...like your .Mac iWeb URL.
This should be pretty easy to set up and is the easiest way to get a URL that you can remember and share with your friends and family. -
Webservice call limitations with the & character?
Hi all,
I'm trying to call a webservice from my flex application and in the url it ends with "/webservices?ver=2.1&wsdl"
The error is "The reference to entity "wsdl" must end with the ';' delimiter"
After some tests I found if I replace the & with ? or remove it completely my application runs, but that's not where the WSDL is.
Any help on this would be much appreciated.
Man-TedYou might have to escape certain characters or use “entities” like &
-
HTTP reciever adapter URL parameters
Hello all,
I have a question regarding passing parameters as querystring in the url of reiever HTTP adapter. This is an RFC> XI> HTTP scenario and we're posting to an external URL. Here are the details
URL: xxxx.yyyyy.com
Service Number: 80
Path: /api/company_codes
It works fine with these. I want to pass a parameter called "bulk" with value "1".
How should I do it. Should I append it to the Path directly like
Path: /api/company_codes?bulk=1
or enable Apply URL Parameters under Adapter Specific MJessage Attributes and fill in
Parameter 1 : bulk=1
Could somebody clarify this please?
Thanks
KarthikWhen the parameter is fix, so apply it to the path.
Regards
Stefan -
Set dynamic URL in SOAP receiver adapter
Hi,
Is this possible ? I have managed to do this with the HTTP adapter but the this time it is a Web service I am integrating to that requires SOAP 1.1 over HTTP to be used.
Thx.
Colin.Hi Stefan,
Basically the full URL I want to send the message to via the SOAP receiver is within the payload.
I can see the Target URL can be set in the communication channel but I want to override this with detail from the payload.
I have managed to use dynamic URL setting with the HTTP adapter but am a little stumped on how/if this can be done on the SOAP adapter.
Can you please expand on your comments a little please ?
Kind regards
Colin. -
Hi all
Could you please to help. I need to use receiver with HTTP adapter which in this adapter that I need to pass dynamic URL into this. I had try follow this document
http://help.sap.com/saphelp_nw2004s/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
but when I test it I got this error
<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"><b>ATTRIBUTE_MISSING_URL</b></SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Dynamic Header - Missing Message Attributes: URL/HTTP Destination</SAP:Stack>
<SAP:Retry>N</SAP:Retry>
</SAP:Error>
I think my XML source message format that is incorrect. This is my XML source message
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_OB xmlns:ns0="http://xxxx.com:db6">
<type>
<TargetURL>http://xx.xx.xx.xx</TargetURL>
</type>
</ns0:MT_OB>
Could you please to suggest.
Thanks
ParkHi,
Use the UDF in mapping to create the dynamic URL.
DynamicConfigurationKey keyURL = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/HTTP", <b>XXXXX</b>);
// access dynamic configuration
DynamicConfiguration conf = (DynamicConfiguration) param.get (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
// set value
conf.put(keyURL, url);
See the belowlinks
dynamic URL - adapter specific properties (http receiver adapter)
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Regards
Chilla -
HTTP Receiver Adapter : Dynamic URL
Hi,
I have a scenario where I wish to build a dynamic URL for the HTTP Receiver Adapter. The URL will contain a customer number which is present in the mapping.
The help seems to suggest that this is possible :
<i>If you want to use an HTTP destination or URL set by the mapping, set the URL or HTTP Destination indicator. (The indicator displayed depends on the Addressing Type you selected above). If you set the indicator, the URL or HTTP destination set dynamically is called by HTTP.
If the message header does not contain the URL or the HTTP destination, and you have set the Fail If Adapter-Specific Message Attributes Missing indicator, the XI message is set to status System Error. If you do not set the indicator, the URL or HTTP destination defined statically in the communication channel is used.</i>
However, it is not very clear where the URL needs to be set dynamically.
Does anyone know how to achieve this ?
Cheers
Colin.hello to all,
We have a unique issue with one of our customers that is limited to 100 character URL. The current url is http://mycompany.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN
Is there a way to have a URL like
http://mycompany.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck
and then somewhere in the process add... &interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN
So the data comes to an F5 through the DMZ to the SAP webdispatcher then to the SAP XI system.
Any ideas if this is possible or how you could start with a shorter URL?
Thanks,
Dede -
HTTP GET Error - PI does not allow more than 200 chars in the dynamic URL
Hi Everyone,
Scenario RFC <-> PI <-> HTTP (GET).
PI 7.1, Service Pack 05.
HTTP Setup > URL Address
The response comes back from the target server when stuffing the URL path in the communication channel "Path" field.
/rest?&xml_request=......................................................
The requirement is to dynamically create the URL in the mapping program. While doing this the interface error out saying the URL exceeds the character limit of 200.
Any thoughts on this would be highly appretiated.
Thanks,
AJPlease check Mark's reply
http://forums.sdn.sap.com/thread.jspa?threadID=1944129 -
HTTP-RFC(BPM)-FILE Scenario
I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
The error msg is displayed below:
Result:
<SAP:Error>
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
<SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
</SAP:Error>
Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
Expecting this prob will be off soon.
thanks
vinod vHi Vinod,
your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
Regards,
Udo -
Hi All,
I am working on a HTTP-Proxy scenario wherin I have to use Dynamic URLs on the HTTP(sender) side.Can any one help me getting this doneYOu cannot pick File using URL. There is only to possibilities with the help of which you can pick the file like:
Reading or Writing file from XI directory. (NFS)
Reading or Writing file from FTP Server. (FTP)
You can mention any URL in File adapter and tell it to pick the file from particular URL.
<b>Bottom line : The file adapter is use to read or write the file at the Operating System(OS) level.</b>. File adapter can also act as a FTP client means it can put
or get the file from FTP server.
Thanks
Farooq. -
Proxy receiver channel with HTTP destination or URL address?
Hi Experts,
I have a scenario as below:
(Webservice Client)SOAP --> PI --> PROXY(SAP ECC).
A webservice client calls PI using SOAP. PI then sends the request to SAP ECC using PROXY.
I am using AAE. Therefore I have ICO.
In the receiver PROXY channel I have given:
ADAPTER TYPE: SOAP
Transport Protocol: HTTP
Message Protocol: XI3.0.
Under connection parameters:
Addressing Type dropdown as 2 entries HTTP destination and URL address.
In what cases i should use HTTP destination and URL address respectively?
Which option is preferred?
Do they work same or differently? How?
When I select HTTP destination where should I create the corresponding RFC destination? In PI ABAP stack using SM59 or PI NWA?
If this HTTP destination is created in PI ABAP stack using SM59 then what type it should be? H? or G?
Thanks
GopalHi Gopal,
In creating XI receiver communication channel, you have 2 options for Addressing Type:
1. URL Address - no need to create RFC destination. You just have to specify the XI receiver host name, HTTP port, path (/sap/xi/engine?type=receiver), Authentication data (logon details for SAP Client number of the PI system).
2. HTTP Destination - create RFC destination in SXMB_ADM and specify the RFC destination name in your receiver communication channel.
For SAP documentation, see this link:
http://help.sap.com/saphelp_nwpi711/helpdata/en/f4/0a1640a991c742e10000000a1550b0/content.htm?frameset=/en/e1/091640a991c742e10000000a1550b0/frameset.htm¤t_toc=/en/43/96cbccb9335b77e10000000a11466f/plain.htm&node_id=5
Regards,
Naveen. -
Dynamic URL for Recv HTTP (Adapter spec attribute enabled)
Hi,
I need to have a dynamic URL for one of my cases been worked. the URL is
httlp://:<host>/perform/XTA?serv=*&action=start
the event "action" can accept either start/stop or restart. i wanna to control this dynamically and went for recv http enabled with adapter specific message attributes. here i had enabled the check box "URL" and in parameter 1 i had given the name as "action".
in my message payload the "action" will be start/stop or restart which is handled by UDF for which the code is below:l
DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey trig = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/HTTP", "UrlParamOne");
conf.put(trig,action);
return "";
this udf is mapped to the root node of the target...but when execute the case i get the following error
"Dynamic Header - Missing Message Attributes: URL/HTTP Destination"
when i execute the url
httlp://:<host>/perform/XTA?serv=*&action=start
in browser it works fine and also with fully qualified name in http recv works fine but not with dynamic settings.
any help on it pls?Hi Prabhu,
Enable Adapter-Specific Message Attributes(ASMA) in receiver HTTP channel.
Dont enable checkboxes for "URL or HTTP Destination".
Enable checkbox "Apply URL Parameters"
for parameter1 textbox give value action
Regards,
Praveen Gujjeti -
Opening Centered Pop-up window with Dynamic URL
I got some code for a centered pop-up window in Flash from a
Kirupa tutorial. It works well, except that you are supposed to put
an actual URL for the 'address' variable. I'm using a dynamic URL
(+url[p]+) for my URL. When I put address = "'+url[p]'"; for the
address, it doesn't work.
Here's the code for the button:
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "'+url[p]+'";
target_winName = "FlashDevelopment";
width = 700;
height = 400;
toolbar = 0;
location = 0;
directories = 0;
status = 1;
menubar = 0;
scrollbars = 1;
resizable = 1;
//sends data back to the function
openWinCentre(address, target_winName, width, height,
toolbar, location, directories, status, menubar, scrollbars,
resizable);
And here's the function:
// New Window Function
_root.openWinCentre = function (url, winName, w, h, toolbar,
location, directories, status, menubar, scrollbars, resizable) {
getURL ("javascript:var myWin; if(!myWin ||
myWin.closed){myWin = window.open('" + url + "','" + winName +
"','" + "width=" + w + ",height=" + h + ",toolbar=" + toolbar +
",location=" + location + ",directories=" + directories +
",status=" + status + ",menubar=" + menubar + ",scrollbars=" +
scrollbars + ",resizable=" + resizable +
",top='+((screen.height/2)-(" + h/2 +
"))+',left='+((screen.width/2)-(" + w/2 + "))+'" +
"')}else{myWin.focus();};void(0);");
Any idea why my dynamic url is not being recognized?Do a malware check with some malware scanning programs on the Windows computer.<br />
You need to scan with all programs because each program detects different malware.<br />
Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
*http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
*http://www.superantispyware.com/ - SuperAntispyware
*http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
*http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
*http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
See also:
*"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
Maybe you are looking for
-
Can I return my Ipod touch 4th generation and get an Ipad 2, if my ipod is still under warranty?
-
Syncing apps between to iphones on the same itunes account
My wife and I both own iphones (3G and 3GS). We sync them in itunes using the same account, which works great for the most part. However, if she installs an app on her iphone and then syncs it with the mac, those apps are then installed on my iphone
-
How to edit a particular row in the table ctrl when a push button is clickd
Hi Experts, How to edit a particular row (except the Primary keys) after selecting it in the TABLE CONTROL when a push button is clicked in the table control. For Eg. If you have a push button say "Modify", the particular row what we select in the ta
-
Word doesnt play nicely with spaces
When i open up microsoft word i have it set up to open in my second space. the problem is, when i switch back and forth from that space to my first one or another space, and then back, parts of word get left behind. For instance, all the controls in
-
Using Windows 7 with Adobe Reader X1. I need to repeatedly print documents (actually labels) using a Custom Scale of 43% (under File / Print / Page Sizing & Handling). Is there a way to set this as a default? A registry key perhaps? I've found the re