How can I get the user's PC IP address
Hi:
Does anybody have an example of how to get the IP address with the client PC machine from an Oracle Forms 10g based application. I have seen threads referring to usage of webutil and others but I have not seen an actual complete examle. Is there such a thing. Is there a document somewhere I can access. Thanks a lot in advance for any help,
Thomas
He's leaving next week. In all fairness he has helped us a lot in our conversion form 3.0 to 10g project.
On another note, I tried to apply webutil_db package to an 8i database and found that it will not compile because as the documentation clearly states the ideal database for webutil usage is 9.0.1 or higher.
Specifically the compilation fails because it requires package UTL_ENCODE. We are currently upgrading to 10g and will not be fully converted until approximately 6 months from now.
Then, my questions are:
Is it possible to create this package (UTL_ENCODE) in 8i?
Do I create a dummy package in our 8i databases and hope no one notices.
Do I go with a one off on webutil where I extract only the functionality for today - Getting IP address?
Any thoughts,
Thanks guys for all your comments above, it's good to see that there are a lot of Oracle developers that care, I should start helping others more in here. I will...
Thanks,
Thomas
Similar Messages
-
How can we get the prompt to enter IP Address, Subnet Mask , gateway and DNS Server during Task Sequence?
This is for 2007 but may still be relevant for 2012
http://hexdump.net/?p=391
Cheers
Paul | sccmentor.wordpress.com -
how can i get my user manual info back onto my settings menu
this heading did not appear on the settings menu following a restore necessitated bt a freezing screen glitch thanksI'm not entirely sure what you are referring to, there isn't a user manual section in the iPad's Settings app. If you want an iPad then you can either download it from here : http://support.apple.com/manuals/ipad/
Or if you download the iBooks app then there should be a copy in the ibookstore in it -
How can I get the host name from Email address?
hi
When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanksStripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
http://www.stopspam.org/email/headers/headers.html
Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
Sean -
How can I get the user name with the sy-uname
Hi
I need to display the name of the users instead of sy-uname, in witch table I can select this information ?
Moderator message - Please search before asking - post locked
Edited by: Rob Burbank on Oct 7, 2009 10:59 AMIt's not being authenticated..
getRemoteUser
public java.lang.String getRemoteUser()Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated. Whether the user name is sent with each subsequent request depends on the browser and type of authentication. Same as the value of the CGI variable REMOTE_USER.
Returns:
a String specifying the login of the user making this request, or null
I'm assuming it's because it's on your local machine.. -
How can i get the user that has created a document
I only need to know wich user has created a document(purchase order).
For example, if user SALES1 creates a purchase order(100),in wich table/field is stored this information?(that tells me that user SALES1 has created purchase order 100).
Thanks in advance!Hi
If you look in the table of the documents there is a field called "UserSign". This user sign then matches with a column "usersign" in OUSR. In ousr it has the user names and all the other details for all the users.
Hope this helps -
How can we get the values from the view?
Hi All,
my scenario is i have two fields in my view .one is parameter.and another on is select-options.how can i get the user entered values into my selection screen.?
for the select options i get the values into field-symbol.for parameter i get the value using get_attribute.
can i use like this in select statement.
WHERE SERVICE_ID = ZSD_DD_AUFNRS
AND CRE_DT IN <FS_DATE>.
Regards,
Ravi.Hi Sravan,
when i am using the below code to generate self defined functions i m getting a error .
*Generate an object for self defined functions
DATA: lo_self_functions TYPE REF TO if_salv_wd_function_settings,
*Generate an object for button 'Confirm'
lr_button TYPE REF TO cl_salv_wd_fe_button,
lo_self_function TYPE REF TO cl_salv_wd_function,
l_text type string.
*Set Self-defined functions
*'Confirm' Button
lo_self_functions ?= l_value..
lo_self_function = lo_self_functions->create_function( 'CONFIRM' ).
CREATE OBJECT lr_button.
CLEAR l_text.
l_text = 'Confirm'.
lr_button->set_text( l_text ).
lr_button->set_image_source( '' ).
lr_button->set_image_first( 'X' ).
lo_self_function->set_editor( lr_button ).
Error when processing your request
What has happened?
The URL http://cgslsvr3.cgsl.com:8020/sap/bc/webdynpro/sap/zsdr_cash_work_list/ was not called due to an error.
Note
The following error text was processed in the system CGD : WebDynpro Exception: IDs Can Only Contain Characters of Syntactical Character Set
The error occurred on the application server cgslsvr3_CGD_20 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: RAISE of program CX_WD_GENERAL=================CP
Method: CONSTRUCTOR of program CL_WDR_VIEW_ELEMENT===========CP
Method: CONSTRUCTOR of program CL_WD_TOOLBAR_BUTTON==========CP
Method: NEW_TOOLBAR_BUTTON of program CL_WD_TOOLBAR_BUTTON==========CP
Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEM of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~CREATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR_ITEMS of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE_TOOLBAR of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_UI~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CGD in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server cgslsvr3_CGD_20 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server cgslsvr3_CGD_20 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 110 -u: CT-0024 -l: E -s: CGD -i: cgslsvr3_CGD_20 -w: 0 -d: 20080414 -t: 105835 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
HTTP 500 - Internal Server Error
Your SAP Internet Communication Framework Team
How can i resolve it?
Regards,
Ravi -
How can i get the list of all users present in the LDAP
Hi Experts,
How can i get the list of all users present in the LDAP ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewardedWell it will depend on exactly where your UME configuration points to in the LDAP tree but yes, it is possible to get all users. Something like the following should do it:
import com.sap.security.api.*;
import com.sapportals.portal.prt.component.*;
IUserFactory iuf;
ISearchResult isr;
IUser user
String userid;
iuf = UMFactory.getUserFactory();
isr = iuf.getUniqueIDs();
you will need to iterate the ISearchResult object but you can get IUser objects by
userid = (String)isr.next();
user = iuf.getUser(userid);
then you can imanipulate / identify / or whatever you need with the user object
Haydn -
How can i get the list of all users present in the UME ?
Hi Experts,
How can i get the list of all users present in the UME ?
Is there any API or function Code to get all user list??
Please help me out!!!
Help will be rewarded
-pankaj chouhanHi Pankaj,
find the official NetWeaver security javadocs (including access to UME) <a href="http://help.sap.com/javadocs/NW04S/current/se/index.html">here</a>. Look for classs UMFactory and proceed from there.
Best regards,
Martin -
How can I get the attributes details like user name, mail , from sAMAccount csv or notepad file through powershell or any other command in AD?
Ok what about If i need to get all important attributes by comparing Email addresses from excel file and get all required answers
currently I am trying to verify how many users Lines are missing , Emp numbers , Phones from AD with HR list available to me.
I am trying to Scan all the AD matching HR Excel sheet and want to search quickly how many accounts are active , Line Managers names , Phone numbers , locations , title , AD ID .
these are fields I am interested to get in output file after scanning Excel file and geting reply from AD in another Excel or CSV file
Name’tAccountName’tDescri ption’tEma I IAddress’tLastLogonoate’tManager’tTitle’tDepartmenttComp
any’twhenCreatedtAcctEnabled’tGroups
Name,SamAccountName,Description,EmailAddress,LastLogonDate,Manager,Title,Department,Company,whenCreated,Enabled,MemberOf | Sort-Object -Property Name
Can you modify this script to help me out :)
Hi,
Depending on what attributes you want.
Import-Module ActiveDirectory
#From a txt file
$USERS = Get-Content C:\Temp\USER-LIST.txt
$USERS|Foreach{Get-ADUser $_ -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
#or from a csv file
$USERS = Import-CSV C:\Temp\USER-LIST.csv
$USERS|Foreach{Get-ADUser $_.SAMAccountName -Properties * |Select SAMAccountName, mail, XXXXX}|Export-CSV -Path C:\Temp\USERS-ATTRIBUTES.csv
Regards,
Dear
Gautam Ji<abbr class="affil"></abbr>
Thanks for replying I tried both but it did not work for me instead this command which i extended generated nice results
Get-ADUser -Filter * -Property * | Select-Object Name,Created,createTimeStamp,DistinguishedName,DisplayName,
EmployeeID,EmployeeNumber,Enabled,HomeDirectory,LastBadPasswordAttempt,LastLogonDate,LogonWorkstations,City,Manager,MemberOf,MobilePhone,PasswordLastSet,BadLogonCount,pwdLastSet,SamAccountName,UserPrincipalName,whenCreated,whenChanged
| Export-CSV Allusers.csv -NoTypeInformation -Encoding UTF8
only one problem is that Manager column is generating this outcome rather showing exact name of the line Manager .
CN=Mr XYZ ,OU=Users,OU=IT,OU=Departments,OU=Company ,DC=organization,DC=com,DC=tk -
How can i get the value when the field name is user defined
Hi,
I have a one java method:
public ResultSet countUserDb(String id) {
ResultSet rs = null;
con = dbcon.connect();
String queryString = ("select count(*) as count from
db_allocation where user_id='"+id+"'");
Statement stmt = con.createStatement();
rs = stmt.executeQuery(queryString);
When i call it in a jsp file.
ResultSet counter =db.countUserDb(request.getParameter("id"));
if(counter.next())
int x=rs.getInt("count");
Tomcat said incorrect column name.How can i get the result set when the field name is user's defined.
Best regards
RickyHi Ricky
To access pseudo columns you can specify an alias or use the index on the column (e.g. getInt(1)).
Chris
NB: you should use bind variables instead of concatenating the id to the SQL statement. -
How can I get the man book pro 13 inch user's guide in spanish
How can I get the man book pro 13 inch user's guide in spanish
http://support.apple.com/manuals/#portablecomputers
Location the manual for your model and click the arrow next to "languages" to see the various options.
Regards. -
How can I get the current user an resource context in a portal JSPDynPag
How can I get the current user (com.sapportals.portal.security.usermanagement.IUser?)an the resource context in a portal component (JSPDynPage)?
Thanks.Hi Jon,
Here is the code to get the current user and resource context in your JSPDynPage:
IPortalComponentRequest currentRequest = (IPortalComponentRequest)pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST);
com.sapportals.portal.security.usermanagement.IUser contextUser = (com.sapportals.portal.security.usermanagement.IUser) currentRequest.getUser().getUser();
ResourceContext resourceContext = new ResourceContext(contextUser);
Greetings,
Praveen Gudapati
p.s. points are always welcome for helpful answers -
How can i get the list of all tcode used by user of particular module
Hi,
How can i get the list of all tcode used by user of particular module (e.g FI , MM ,PP) within year .
Regards
VikramLogin to your SAP System
Run TCode SE16
Type Table Name : TSTCT
Press F7 Key (Table Contents )
Go to Settings in menu bar
Select User Parameters
Under Keyword select Field Label and press green check mark
Select your criteria in Data Browser and execute
You will see all t codes in there
Regards,
Yogesh -
How can I get the language of the user logged on using only DI API?
Hello,
how can I get the language of the user logged on using only DI API,
without invoking the UI?
Can I read the value from some table using sql?
I could write to file the first user's connection to the language code in SAP and then use it from external program, but I do not like this solution ...
I know only this possibility:
'_SboCy ==> SAPbobsCOM.Company
'_SboCys ==> SAPbobsCOM.CompanyService
'_SboApp ==> SAPbouiCOM.Application
CodLng Dim As String = ""
Dim lng As SAPbobsCOM.UserLanguages _SboCy.GetBusinessObject = (BoObjectTypes.oUserLanguages)
If lng.GetByKey (_SboApp.Language) Then
codLng = lng.LanguageShortName
'Etc. ..
End If
lng = Nothing
ThanksHi Enrico,
The language settings are held on the user's Windows profile and not in the database. In SBO 2007A onwards there is an XML file that is created by the SBO client (previous versions stored the information in the registry). The file is called b1-current-user.xml and you'll find it in the temporary application data under the user's profile (by default this will be C:\Documents and Settings\<profile>\Local Settings\Application Data\SAP\SAP Business One for Windows XP). This XML file contains a node that looks like the following:
<leaf kind="single" name="Language" type="String">
<value>8</value>
</leaf>
where the value is the language id that should correspond to the same setting in the DI API. If your application will always run on a workstation where the SBO client is installed then you could read this XML file. Of course, this file may not exist for a particular Windows user if they have never opened the SBO client so you'd need to have a default setting.
If you application will be installed on a workstation which doesn't have an SBO client installed on it then there is no way to tell what default language to use and you'll need to build this logic in to your own application (eg have a screen where the user can choose their preferred langauge and then store this as a config file in a similar way to how the SBO client works).
Kind Regards,
Owen
Maybe you are looking for
-
Hi Experts, While posting delivery(Goods issue to customer) i am getting error in IDOC "maximum number of items in FI reached". In deliver i have 462 items ,can anyone help me to resolve the issue? thanks in advance, vani
-
How to request my iphone 4s be unlocked by my carrier (SMART)?
How to request my iphone 4s be unlocked by my carrier (SMART)?
-
Running Oracle Text Manager w/o DBA
We've been using the Oracle Text KB and our own thesaurus to index documents on help.unc.edu for two years now. We upload the new thesaurus files with ctxload each time new terms need to be added. I have to ask my DBA to run it in the shell on the DB
-
MacBook Pro Not Turning On Issues.
Bought a 13" MacBook Pro at the beginning of September and everything has been fine until today. I closed the lid (putting it to sleep), before trying to turn it on around 2 and a half hours later, getting no response. I thought it was the battery
-
I installed more memory becase I got a message that I didn't have enough how I went from 4g to 16g and still not enough?????