How to read Authentication URL in HTTP System
Hi,
I have created HTTP System and have given authentication URL . I need to read authentication URL from the iview i created using <System.somenameforauthurl> property . Please let me know the System property name for authntication URL. I don't want to use app integrator since my iview only recognizes HTTP system. Thanks in advance.
Regards
Vasudevan Gopalan
You will need to find the system by its alias, using http://help.sap.com/javadocs/NW04S/SPS09/ep/com/sap/portal/pcm/system/package-summary.html
Then you can find the appropriate attribute.
Similar Messages
-
How to read some images from file system with webdynpro for abap?
Hi,experts,
I want to finish webdynpro for abap program to read some photos from file system. I may make MIMES in the webdynpro component and create photos in the MIMES, but my boss doesn't agree with me using this way. He wish me read these photos from file system.
How to read some images from file system with webdynpro for abap?
Thanks a lot!Hello Tao,
The parameter
icm/HTTP/file_access_<xx>
may help you to access the pictures without any db-access.
The following two links may help you to understand the other possibilities as well.
The threads are covering BSP, but it should be useful for WebDynpro as well.
/people/mark.finnern/blog/2003/09/23/bsp-programming-handling-of-non-html-documents
http://help.sap.com/saphelp_sm40/helpdata/de/c4/87153a1a5b4c2de10000000a114084/content.htm
Best regards
Christian -
How to create a URL in R3 system?
Hi experts,
My requirements is that external application will send a XML message to R3 system via a URL.But I don't know how to create a valid URL in R3 system.Who can help me.many thanks.
KelvinHi,
Check the below FMs,
HTTP2_GET HTTP Get
HTTP2_GET_FILE HTTP Get File
HTTP2_GET_FILES_255 HTTP Get Files
If u have any middleware like XI or SAP BC it will be simple.
Thanks and Regards, -
How to read a client's File system
Hi,
I use a web application where in the client can upload a directory to the server. Then the server should display all the files under that directory by fetching details from the client's disk.
how should this b done with java? Java file system does not allow this. If contents of a single file needs to be read, then it can be sent as multipart form data.
How to read or find out the files under a directory on the client machine?
Thnx in advanceIt can be done using the File class used in Java. It can list out directories .
Several methods are available for inspecting an instance of the File class. Some of the important ones are:
Method Purpose
boolean exists() does the file exist?
boolean isFile() is it a file?
boolean isDirectory() � or a directory?
String[] list() return the names of all files and directories in a directory
String getName() get the file or directory's name
String getPath() get the file or directory's path
These methods are actually all we need in order to find all files and directories in a given directory--all the way down to the last leaves in the directory tree. -
How to read the Sales Order( Item ) System status?
Hi All,
My requirement is to display the System status of the sales order item*. When we go to the sales order display, if i double click on the line item , ii will lead to the next screen.Click on status tab,here we can see the Sytem staus. I would like to know the logic to read this sytem status ?
Thanks,
Suresh.read tables VBUK, VBUP for SD document status indicators
-
How to read XML from UNIX file system
Hi,
I have this code with read a xml file from windows:
Document doc = builder.build(new File(C:\\mywork\\src\\Contacts.xml));
But how can I read the same file from UNIX? (The file is located in "\tmp\Contacts.xml")
Thanks
KennyHi,
I have this code with read a xml file from windows:
Document doc = builder.build(new
File(C:\\mywork\\src\\Contacts.xml));
But how can I read the same file from UNIX? (The file
is located in "\tmp\Contacts.xml")
Thanks
KennyNo, the file is really located in "/tmp/Contacts.xml". You would writeDocument doc = builder.build(new File("/tmp/Contacts.xml"));Also, your original code would need quotes around the filename too. -
How to read multiple documents from a system directory?
Hi,
I'm trying to read multiple documents from a specific folder that contains pdfs, jpgs... the only activity I found is the Read Document, but this activity does not have the option to read all docs under my folder!.
so any one can tell me if there is another activity can do it or is there any good solution to loop on the folder and read all the docs? any script will be helpful.
Thanks
HussamHi,
After many hours of searching and readings, I found a solution, I do not know if it is the best, but anyhow this is my solution:
By using a service operation called "Find" from a service named "FileUtilsService", this operation will return a list of strings with the names of all files and/or directories under the path you want.
Then by using the "Read Document" I was able to get one file and store it in a dcoumnet variable, and by using a simple looping technique I got all the files I want.
hope this will help others
Hussam -
HTTP Sender - how to read URL Parameter USER id into Mapping
Hi,
My scenario is HTTP - XI - ABAP Proxy.
I wanted to capture USER id of the person who posted(HTTP) into XI(Mapping). How to read/evaluate the value of sap-user from querystring of URL ?
http://HOST:8008/sap/xi/adapter_plain?namespace=http%3A//abc.com/sales_oa&interface=MI_sales_OA&service=DEV_D&party=&agency=&scheme=&QOS=EO&<b>sap-user=SM9999</b>&sap-password=xxxxx&sap-client=001&sap-language=EN
please help.Mallik,
Try URL Parameters in HTTP sender communication channel.
In the sender communication channel set Adapter Specific Message Attributes. Click on Apply URL Parameters. In Parameter1 put sap-user (U can query any URL parameter by giving its name as in the HTTP URL).
Now in SXMB_MONI, in inbound payload SOAP Header, under Dynamic configuration u can see the value of the user. Query the same in Mapping using Dynamic Configuration using keyName as UrlParamOne.
Regards,
Sudharshan N A
Message was edited by:
Sudharshan Aravamudan -
How to read XML file kept on NON-SAP server using the Http URL ?
Dear Experts,
I am working on CRM2007 web UI. I need to read a XML file placed on a shared server location by a third party program. Then process that XML file into CRM and create a quotation using the data extracted from the file.
All i have with me is the http URL that points to the location of the file.
I am supposed to read the file , create quotation and at later point of time i would be asked to update the quotation and then generated new XML representing updated quotation and replace the XML file on shared server location with this new updated XML file.
I know how to extract data from XML file into ABAP but i have no clue as to how to access the file on some other server using the http url i have and how to read it ?
I searched on the forum and i found the codes for reading XML file that is located either on client machine OR on the Application server wheareas my file is on some other than sap application server.
Please help me as its an urgent issue .
Points will be rewarded for sure.
Please help.
Thanks in advance,
Suchita.
p.s. : the http url to the file location is like -->
http://SomeServerDomain/SomeDirectory/file.xmlhi,
interesting task.
to request the file by a http call you need to create an if_http_client object.
More info is [here|http://help.sap.com/saphelp_nwmobile71/helpdata/en/e5/4d350bc11411d4ad310000e83539c3/frameset.htm]
to parse the file you either have to work with the ixml packages ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/47/b5413acdb62f70e10000000a114084/content.htm]) or you use an XSLT transformation ([info|http://help.sap.com/saphelp_nwmobile71/helpdata/en/a8/824c3c66177414e10000000a114084/content.htm]).
uploading the final file isn't so easy. if you only have http, you should write a server script to allow uploading of the new file and copying it into the place of the old file. but you definitely need the script.
now it's your take. depending on how experienced you are in ABAP and networking this might turn out to be easy or pretty complicated.
have fun,
anton -
How Can I create HTTP System in EP ?
Hi.
We have Simple web server with basic authentication (userid/password) and we want to integrate this page into portal using user mapping.
How can I do that ?
I try to create HTTP system in system configuration but There is no URL information in HTTP system template. How can I create system and iview for that ?
Regards, Arnold.Hi Senthil.
When we connect webserver, we use this URL "http://www.mysales.net".
At that time, Browser show "Basic Authentication" Box and We type userid, password.
Would you write for me what I have to do in properties.
All properties seemed to be related is
1. Authentication Method
2. Authentication Type
3. Authentication URL
4. URL Parameter for Password
5. URL Parameter for User Name
Regards, Arnold. -
How to read http header from Forms
Hi,
I have a forms application deployed on 10g AS. We are planning to integrate Oracle Identity management with our forms application. Currently, I access my forms application with an url, say http://hostname/forms/frmservlet?config=test. And, I get a Signon form, where I capture the logon and pwd, and specific to the user credential, I show another form. By integrating my appln with Identity management, I would be protecting my resource in the oracle access system, the WebGate component will do the backend authentication process along with the access server and the directoy service. Upon successful authentication, the DN form the LDAP repository (lets say the userid of my forms application) for the user is returned to the WebGate as http header information/cookie by the Access System. Now without altering the code in frmservlet Servlet, I need to capture the http header info (which contains the userid for the forms application of the user) in my default Signon form. How can I capture this?
Can someone please help
Regards,
Sureshhi
the following link may helpful to you
http://e-docs.bea.com/wls/docs81/webserv/anttasks.html#1111537
Regards
Prasanna Yalam -
Dear experts,
My application URL is
http://<my url : my port>/sap(bD1lbiZjPTIwMCZkPW1pbg==)/bc/bsp/sap/zhrrcf_mde_app/application.do
i'm calling this application with additional parameters like
http://<my url : my port>/sap(bD1lbiZjPTIwMCZkPW1pbg==)/bc/bsp/sap/zhrrcf_mde_app/application.do/?usr=P41005563
in my application i want to read this second url with this parameter "usr".....how do i do this ?
Thanks & Regards,
Deepak,
9890662966Hello,
it depends on how you structure your development. If you´re using pages with logic, you can declare parameter USR in the page attributes and click on checkbox auto. In that way, when you call the page the system pulls the value in the URL automatically and you can use it in your page.
Check also [this link|; -
Get Url of a Http System Landscape
Hi All,
I have created a HTTP system landscape in the portal in order to perform some user mapping.
In order to make my web dynpro compatible with multiple environ environments I would like to retrieve the URL of that HTTP System programmatically.
Is it possible to achieve this in web dynpro?
I'm using SAP EP 11.
Thanks,
JoelHi,
seems to need to step back for a moment and learn about how file input works if you don't know how to access the uploaded file. Please read
http://tompeez.wordpress.com/2011/11/26/jdev11-1-2-1-0-handling-imagesfiles-in-adf-part-2/
Frank -
How to read url variable javascript problem
How to read the variable of latitude 1.22 and longitude 103.56.
This is my website: 127.0.0.1/1/map2.htm?latitude=1.22&longitude=103.56
function getUrl_Map()
//Get the variables in the URL
var vars = [], hash;
var latitude = getUrlVars()["latitude"];
//To get the second parameter
var longitude= getUrlVars()["longitude"];
var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
alert('DEBUG: hashes= ' + hashes);
// read the file http://127.0.0.1/1/map2.htm
// read the file http://127.0.0.1/1/map2.htm? -->hashes
for(var i = 0; i < hashes.length; i++)
hash = hashes.split('=');
//alert('DEBUG: i= ' + i);
//i=0
alert('DEBUG: i= ' + i + 'hash = ' + hash );
vars.push(hash [0]);
vars[hash [0]] = hash [1];by the way you know that 127.0.0.1 is the address you use to get to your own computer right? It's the loopback address. so posting it doesn't really help anybody see the page, if that was what you were hoping.
-
How to process multiple messages through one url over https
Hi,
My scenario is HTTP to IDOC, and the vendor will send different messages through one url to SAP system.
is there any way to achieve this?
Thanks
Jessicacan the Vendor at least pass URL parameters ? Normally, when you have several messages interfaces, the HTTP sender system should distinguish them with the URL parameters (party, namespace, interface). By that, XI then knows how to handle those messages, and can start its receiver determination pipeline. See SAP Help for HTTP sender channel:
Queries entering the plain HTTP adapter must have the following syntax:
http://<hostname:port>/<path>?<query-string>
The query string contains the following data:
● Sender namespace ?namespace=<namespace>
● Sender interface &interface=<interface>
These details define the sender interface.
● Sender service &service=<service>
Specifies the sender service.
● Sender party (optional) &party=<party>
CSY
Maybe you are looking for
-
How to transfer iTunes from Desktop to Laptop
I have iTunes running on my desktop and Mediamonkey running on my laptop. I want to transfer my iTunes folder onto my laptop so I can import my tracks into Mediamonkey as most of my music is now being stored on it. I do not want to use iTunes on my l
-
Can I transfer the hard drive from my Macbook into a new Macbook Pro?
I have been planning on purchasing a Macbook Pro for quite sometime now, however I find that the storage space on the base models is quite small. I currently have a 500gb hard drive on my Macbook, and I was wondering if there's any way I could transf
-
Camera iPod touch is not working
Camera is not working. Tried resetting. Stopping app. Any good advice?
-
Using iTunes to Play Music Stream On LAN
I have a Denon ASD-3W which serves as an iPod dock and accesses radio internet stations (via vTuner website) and plays them through my stereo. That works great. Given that stream is playing across my LAN, how would I tap into that using iTunes and pl
-
[Solved] Unable to read dir
I have a dir thats shows up in dolphin (I'm useing kde4). It shows up on the command line using ls. I'm the owner and its permissions are drwxr-xr-x But I can't do anything with. In dolphin I double try to enter and it says the file or folder doesn't