How to get Ip Address on Forms6i
Hi,
I tried to get Ip Address using
SYS_CONTEXT('USERENV','IP_ADDRESS') in a database function but the problem it always brings the Forms Server Ip Address instead of Client Ip Address on Web Forms. I'm just wondering is there any way to deal this problem?
Thanks
Rao Guduru
null
Isn't the IP address required
No.
Similar Messages
-
How to get MAC address from IP address in LAN
Hi all,
How to get MAC address from IP address in LAN (windows or any OS), I would have all IP addresses of my LAN, so I would like to know all MAC address.
Code examples are highly appreciated.
Thanks & Regards,
abel...abel wrote:
Yeah that is only working for local system, but how to get remote system's MAC ..?
Thanks for quick reply ...
Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
As a curious aside how did you manage to get the list of IPs? -
How to get IP address of wp8 device
How to simply retrieve IP address of wp8 device?
microsoft.Phone.Net.NetworkInformation has too many classes related to networkinfo but none of them give IP address.see this link
http://www.c-sharpcorner.com/UploadFile/2b876a/how-to-get-ip-address-in-windows-phone-8/ -
How to get delivery address for PO
I have a problem.
I am working on a SAP Script , which is for PO(Zmedruck_po) , which is a copy of
MEDRUCK.
I am asked to print the delivery adress in a window .
The scenario is like this .
In ME23N , under item details , there is a tab called DELIVERY ADDRESS
this has option to enter the adress details or a delivery number in the address text box .
If the address number is present i have to print that address , else i have to print the address which is entered in the delivery address tab.
If the delivey address number is there i have no problem in printing it ,But if address number is not there ,I need to know how to get the delivery address,
is it the plant address, company code address ... ?
I debuged ,but could not find out.
Can anyone help please .Hi,
I don't know the table that is used to store the manual address on the PO but if you get your ABAPer to checkl the code in ME21N they should be able to tell you.
Or better still, if one of the other experts here know the table that is used they will post the solution.
Steve B -
How to get terminal address along with Change document header
Dear All
My client want a report of the frequencies of a sales document changes along with terminal address. In table CDHDR i can get user name, date, t-code but not the terminal address. So requesting to guide me of how to get the terminal address from which terminal the document has been updated.
Appropriate answer will be rewarded.
Regards
Kingshuk
Edited by: Kings_Roy on May 31, 2010 11:02 AMI don't think this information is kept in change documents. So for the change documents that are already created, you cannot get this information.
For future however you can do some code changes to get this information.
Function module TH_USER_INFO can return terminal name as well as IP address for a given client and user.
All you have to do is either store this additional information along with change documents. For this i think you can check the FMs that are writing SD change documents.
OR
You can use user exit exit SUSR0001 (User exit after logon to SAP System) to call this Function (TH_USER_INFO) at user logon and store this info in a Z table. Later when you are reading change documents, you can get user name, date time from change document and search this Z table for respective user Terminal name and IP Address.
This is not a complete solution but i hope it will direct you to a solution.
cheers. -
How to get MAC Address from device?
Does any one knows, how we can get programmatically the MAC address of Blackberry device?
Is it possible to get it through BES IT Policy?
- Thanksabel wrote:
Yeah that is only working for local system, but how to get remote system's MAC ..?
Thanks for quick reply ...
Edited by: abel on Jan 28, 2009 12:10 AMIt is my understanding that only one person ever found the holy grail which you seek. But sadly [_he's dead_|http://forums.sun.com/profile.jspa?userID=649366]
As a curious aside how did you manage to get the list of IPs? -
How to get MAC address of a phone
Hi,
I am able to retrieve phone details by sending Soap request to RisPort. But the response doesn't have MAC address of the phone. Can any one please let me know how to get this information.
Here is my Soap request
<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body><SelectCmDevice soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><CmSelectionCriteria href="#id0"/><StateInfo xsi:type="xsd:string"/></SelectCmDevice><multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="ns1:CmSelectionCriteria" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="tns:CmSelectionCriteria"><maxReturnedDevices xsi:type="xsd:unsignedInt">10</maxReturnedDevices><Class xsi:type="soapenc:string">Phone</Class><Model xsi:type="xsd:unsignedInt">255</Model><nodeName xsi:type="soapenc:string"/><selectBy xsi:type="soapenc:string">Name</selectBy><selectItems xsi:type="soapenc:Array" xsi:nil="true"/><status xsi:type="soapenc:string"/></multiRef></soapenv:Body></soapenv:Envelope>When you receive the response, you receive the name of the ip phone. The name is something like: SEPXXXXXXXXXXXX where all the X correspond to the MAC address of the phone.
-
How to get MAC address using java code
hi friends
please write me, How can I get MAC Address of local machine using java code.I don't want to use JNI.
Please reply me. Its urgent for me
Thanks in advance
USYou have several ways under *nix
ifconfig -a | grep HWwill output something like
eth0 Lien encap:Ethernet HWaddr 00:11:FF:74:FF:B4combined with Runtime.getRuntime().exec("")and Process.getInputStream()you should be able to read it easilly.
Under Windows (and Linux of course) try jpcap (http://sourceforge.net/projects/jpcap)
You can also use jnative as a generic tool (http://sourceforge.net/projects/jnative)
--Marc (http://jnative.sf.net) -
How to get patchset 4 for Forms6i?
Please tell me how to get patchset 4 for Forms6i
This is the address:
ftp://oracle-ftp.oracle.com/dev_tools/patchsets/dev2k/Win95NT/6i/patch4/
Helena
null -
JSF - ADFBC , How to get IP Address
Hi,
anybody know how to get the ip address of the connected client , i am using jspx and ADFBC . JSF
thanks in advanceHi Baseem
Assuming you want this in a JSF backing bean, try the following:
FacesContext context = FacesContext.getCurrentInstance();
HttpServletRequest request = (HttpServletRequest)context.getExternalContext().getRequest();
String remoteHost = request.getRemoteHost();You'll note the FacesContext allows you access to the HttpServletRequest object, and in turn additional information carried in the request which you are interested in here.
For more information on this class refer to the Javadoc for HttpServletRequest and parent class ServletRequest. Note that getRemoteHost() doesn't always guarantee to return the client IP, in particular if there is a proxy/firewall in the way which may hide the client IP from your server.
Given your question I'm guessing you're not familiar with HTTP headers, so you might want to do some reading on the HTTP request/response lifecycle, which should also expose you to the concept of HTTP headers and what information they carry.
Hope this helps,
Chris Muir
http://www.sagecomputing.com.au -
How to Get Ip address of visitor on my website?
Hi,
I have to get IP address of visitor whosoever visited my website or we can say who access my website,i searched on google but i did't get much,i tried following code:
java.net.InetAddress i = java.net.InetAddress.getLocalHost();
System.out.println(i); // name and IP address
System.out.println(i.getHostName()); // name
System.out.println(i.getHostAddress()); // IP address only
But above code shows IP of my machine where my application is deployed,not the one i need,How can i get IP of user who visited my website,Please Help.
Thanks.Sorry, i was doing a little mistake in my code,
i Use this String remoteAdd=request.getRemoteHost(); as you said,it works ,thanks.
But i have further questions.
Above code displays only External IP , how can i get IP of pc which is on LAN, eg in any company there is a server and under that server each PC is assigned an IP,how can i get IP of pc which is on LAN.
Bst example to describe my problem is http://www.whatsmyip.org/more/ this website,
they show user even his/her machines IP on lan too,How can i implement this?? -
How to get Plant address from SAP R/3 to SRM
Hi Gurus,
We need to retrieve the plant address from SAP R/3 to SRM and display it in the output list of the report (SRM).
Suggest any standard FM or should we need to create a Custom Remote enabled FM and put the select query to get the address.
Regards
PaulHi Paul,
Try using the RFC_READ_TABLE function module...
Pass the table name as t001w which contains the plant details.
Hope this helps.
Thanks,
Pradeep -
How to get Mail address of an Employee in Workflow ?
Hello Everybody ,
I want to send mail to employee through workflow . I have Employee number PERNR but which method and B.O should i used to get email address of that employee .?
Any solution .?
Regards,
Sandeep Jadhavhi:
Try the function module HR_FBN_GET_USER_EMAIL_ADDRESS
else Create a Z_function module and put the following code as
ORM find_email_address USING p_uname
CHANGING p_recextnam LIKE soos1-recextnam.
DATA: t_pernr LIKE pa0105-pernr,
t_email LIKE pa0105-usrid_long.
STEP 1 - Find personnel number for UNAME
SELECT SINGLE pernr INTO t_pernr
FROM pa0105
WHERE subty = '0001' AND
endda >= sy-datum AND
begda <= sy-datum AND
usrid = p_uname.
Employee record found
IF sy-subrc = 0.
STEP 2 - Find email address for personnel number
SELECT SINGLE usrid_long INTO t_email
FROM pa0105
WHERE pernr = t_pernr AND
subty = '0022' AND
endda >= sy-datum AND
begda <= sy-datum.
IF sy-subrc = 0.
IF NOT p_recextnam IS INITIAL.
CONCATENATE p_recextnam t_email
INTO p_recextnam SEPARATED BY ','.
ELSE.
p_recextnam = t_email.
ENDIF.
ELSE. "Never found an email address for employee
WHO SHOULD WE SEND TO HERE??? ***
ENDIF.
Employee number not found. Search in ADR6 table
ELSE.
See if user name is in the username table.
i.e. The user is not an employee
SELECT SINGLE addrnumber persnumber
INTO (usr21-addrnumber, usr21-persnumber)
FROM usr21
WHERE bname = p_uname.
IF sy-subrc = 0.
Found user name now let's get the email address
SELECT SINGLE smtp_addr INTO t_email
FROM adr6
WHERE addrnumber = usr21-addrnumber AND
persnumber = usr21-persnumber.
IF sy-subrc <> 0 OR t_email IS INITIAL.
WHO SHOULD WE SEND TO HERE??? ***
ELSE. "Found email
IF NOT p_recextnam IS INITIAL.
CONCATENATE p_recextnam t_email
INTO p_recextnam SEPARATED BY ','.
ELSE.
p_recextnam = t_email.
ENDIF.
ENDIF.
ELSE. "UNAME just does not have an email address addigned at all
WHO SHOULD WE SEND TO HERE??? ***
ENDIF.
ENDIF.
Regards
Shashi -
It is possible that the callstack at the time the exception was thrown is different from the callstack getting by running the ~*e !clrstack/~*k, so how to get the exactly exception
callstack ?
If it it x86 unmanned code, I can use the tips "s -d esp L1000 1003f" mentioned in the following article, but my case is
x64 manned code, I even can't find the ntdll!KiUserExceptionDispatcher in any of the callstack, any idea or reference is very appreciate.
http://blogs.msdn.com/b/jmstall/archive/2005/01/18/355697.aspx
Please click the Mark as Answer button if a post solves your problem!I agree with James if you're looking for the most recent exception or want to print a specific exception. You can also use DumpHeap to filter out all exception objects currently in memory and DumpStackObjects to list any exception objcets present
in the stack on the current thread if you're probing for exceptions. The /d option, which provides DML output, works with many SOS commands as well and makes browsing through objects quicker.
WinSDK Support Team Blog: http://blogs.msdn.com/b/winsdk/ -
How to get IP address from login screen in 10.7 Lion
Hi All,
In 10.7 I didn't find any option to get IP address from login screen as used to got in 10.4,10.5,10.6
ThanksJason,
is there any way to make that example
work with release 6.0, preverribly
with IE5 (native VM)?
The WHEN-CUSTOM-ITEM-EVENT Trigger
doesn't seem to fire.
Thanks
Anton Weindl
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jason Pepper ([email protected]):
If you are using web deployed forms then you need to use a javabean to obtain the IP of the local machine - you can get one that does it here..
http://technet.oracle.com/sample_code/products/forms/listing.htm#pjcexamp
If you are running client server then there is a utility in d2kwutil.pll that allows you to read the registry and do things like get the IP address. d2kwutil is shipped with your copy of Forms - just have a look for it - the code is self documenting, but there is also a manual you can read too.
Jason Pepper
Principal Product Manager
Enterprise Internet Tools
Oracle Corp<HR></BLOCKQUOTE>
null
Maybe you are looking for
-
Authentication error while logging in through WEBLOGIC user
Hi All I have installed OBIEE 11.1.1.5 on my system having Windows 7 (32bit). The installation went thru without any errors. I am able to login to Enterprise manager and Console with user weblogic/oracle123 but am not able to login to Analytics. its
-
Final cut x import window freezes
Import from camera works, but FCP import window freezes. 6-core Mac Pro, plenty of RAM, fast drives, worked before.
-
IDN domains and upload (IO & Security errors)
I have site with a file-uploader created in Flash. It works great, I have never encountered any security issues, nor would I expect too, because the swf and the serverside files (in this case ASP.NET) are all in the same domain. My site can be access
-
Access to certain internet sites/services not working
A couple of days ago, my access to certain internet sites as well as my Mail programme and another email client app stopped making successful connections. I can open many web pages, but some do not work. Specifically, the local library where I can lo
-
I can't use the search function in both the Start Menu and Windows Explorer.
This problem occurred yesterday when I uninstalled a program on my computer. Once the program was uninstalled, everything was fine until I tried to search for a file in my start menu search bar. When I attempt to search for something, nothing comes u