Server Name and Client Name

Hi Experts,
Need a Function Module which can give me the current Server Name and Client name .
Please help me out.
Thanks
Chandan

Hi,
Check out :
1. "FIND_DB_APPLICATION_SERVER" gives the server name via the export parameter "SERVERNAME" .
2. "TH_GET_ACTIVE_SERVER" gives the server name via the export parameter "SERVER" .
3. "RFC_GET_LOCAL_SERVERS" will give a list containing some info about servers, then you can use the FM "TH_USER_INFO" to get user's host address from the exporting parameter "HOSTADDR". Then you can look-up the list you retrieved by the first FM where the first four characters at the field "HOSTADR" is the same with the user's. The server name is contained at the field "NAME" of the same row.
4. sy-sysid might also be usefull
5. Try this too:
CALL 'C_SAPGPARAM'
ID 'NAME' FIELD 'rdisp/myname'
ID 'VALUE' FIELD ev_server_name.
where ev_server_name is function module export parameter of type BTCTGTSRVR-SRVNAME.
Hope it helps
Best Regards
Sumana

Similar Messages

  • How to add a service account in SQL Server to display the "Service Account Name" and "Display Name"

    Can someone
    help with steps on how to add the following in SQL Server 2012 environments?<o:p></o:p>
    "Service Account Name" and "Display Name"<o:p></o:p>
    Your help will be greatly appreciated.<o:p></o:p>
    leonie6214

    Hello,
    Is the following article what you are looking for?
    http://msdn.microsoft.com/en-us/library/ms345578.aspx
    If not, could you explain a little bit more what you want to accomplish?
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • SQL Query to get Project Plan Name and Resource Name from Reporting database of Project Server 2007

    Can you please help me to write an SQL Query to get Project Plan Name and Resource Name from Reporting database of Project Server 2007. Thanks!!

    Refer
    http://gallery.technet.microsoft.com/projectserver/Server-20072010-SQL-Get-a99d4bc6
    SELECT
    dbo.MSP_EpmAssignment_UserView.ProjectUID,
    dbo.MSP_EpmAssignment_UserView.TaskUID,
    dbo.MSP_EpmProject_UserView.ProjectName,
    dbo.MSP_EpmTask_UserView.TaskName,
    dbo.MSP_EpmAssignment_UserView.ResourceUID,
    dbo.MSP_EpmResource_UserView.ResourceName,
    dbo.MSP_EpmResource_UserView.ResourceInitials
    INTO #TempTable
    FROM dbo.MSP_EpmAssignment_UserView INNER JOIN
    dbo.MSP_EpmProject_UserView ON dbo.MSP_EpmAssignment_UserView.ProjectUID = dbo.MSP_EpmProject_UserView.ProjectUID INNER JOIN
    dbo.MSP_EpmTask_UserView ON dbo.MSP_EpmAssignment_UserView.TaskUID = dbo.MSP_EpmTask_UserView.TaskUID INNER JOIN
    dbo.MSP_EpmResource_UserView ON dbo.MSP_EpmAssignment_UserView.ResourceUID = dbo.MSP_EpmResource_UserView.ResourceUID
    SELECT
    ProjectUID,
    TaskUID,
    ProjectName,
    TaskName,
    STUFF((
    SELECT ', ' + ResourceInitials
    FROM #TempTable
    WHERE (TaskUID = Results.TaskUID)
    FOR XML PATH (''))
    ,1,2,'') AS ResourceInitialsCombined,
    STUFF((
    SELECT ', ' + ResourceName
    FROM #TempTable
    WHERE (TaskUID = Results.TaskUID)
    FOR XML PATH (''))
    ,1,2,'') AS ResourceNameCombined
    FROM #TempTable Results
    GROUP BY TaskUID,ProjectUID,ProjectName,TaskName
    DROP TABLE #TempTable
    -Prashanth

  • Server host and domain name have changed, which files do I edit?

    I just changed my Linux box server name and host name. I am going to edit the:
    tnsnames.ora
    sqlnet.ora
    listener.ora
    files to reflect the new host and domain name, are these the only files I need to edit?
    Thanks!

    OK here is my output when I try 2 different tnsping commands on my remote Linux box from my local PC:
    1.)
    C:\Documents and Settings\Rick>tnsping db.host.mtdomain.com
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-NOV-2005 07:38:55
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    C:\oracle\ora92\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    2.)
    C:\Documents and Settings\Rick>tnsping mydomain.com
    TNS Ping Utility for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-NOV-2005 07:36:07
    Copyright (c) 1997 Oracle Corporation. All rights reserved.
    Used parameter files:
    C:\oracle\ora92\network\admin\sqlnet.ora
    Used HOSTNAME adapter to resolve the alias
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SID=*)(SERVICE_NAME=mydomain.com))(ADDRESS=(PROTOCOL=TCP)(HOST=mydomain.com)(PORT=1521)))
    OK (250 msec)
    Here are my sqlnet.ora, listener.ora, and tnsnames.ora
    # SQLNET.ORA Network Configuration File: /home/oracle/Oracle9i/product/9.2.0/network/admin/sqlnet.ora
    # Generated by Oracle configuration tools.
    NAMES.DEFAULT_DOMAIN = host.mydomain.com
    NAMES.DIRECTORY_PATH= (TNSNAMES, ONAMES, HOSTNAME)
    # LISTENER.ORA Network Configuration File: /home/oracle/Oracle9i/product/9.2.0/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host.mydomain.com)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /home/oracle/Oracle9i/product/9.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = db9i)
    (ORACLE_HOME = /home/oracle/Oracle9i/product/9.2.0)
    (SID_NAME = db9i)
    # TNSNAMES.ORA Network Configuration File: /home/oracle/Oracle9i/product/9.2.0/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    DB.host.mydomain.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = host.mydomain.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = db)
    EXTPROC_CONNECTION_DATA.host.mydomain.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA =
    (SID = PLSExtProc)
    (PRESENTATION = RO)
    INST1_HTTP.host.mydomain.com =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = SHARED)
    (SERVICE_NAME = MODOSE)
    (PRESENTATION = http://HRService)
    )

  • Table names and column names defined by other languages, not English.

    Hi, everyone.
    I am wondering if there are any possible problems or any inconvenience
    when I define table names and column names by Japanese, not English.
    Currently, we are using SQL server 2000 as a db and windows as a operating
    system. In the near future, we have the plan to change the database software
    and operating system to "Oracle 10g" and "Linux O/S".
    I have not experienced the oracle database, which has table names and column
    names defined by other languages, not English.
    Personally, I would like to use English as table names and column names.
    In this case, I might have to provide appropriate reasons.
    Are there any possible problems or any "inconvenience" in terms of
    system maintenance, development, or something else ?
    What could be pros and cons in this case?
    Thanks in advance.
    Have a nice day.
    Best Regards.
    Ho.

    First you need to make sure your database has character set that support Japanese.
    Choosing a Character Set
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14225/ch2charset.htm#i1007681
    The main "inconvenience" you will have is if the client doesn't support Japanese or unicode, it will have trouble to access the table.
    And say in future after the application been developed, you want to implement the schema in some English environment, you will have hard time to do it.
    My point is English tablename and column names doesn't prevent you use it in Japanese environment and save Japanese data but not vice-versa. Hope you understand.

  • SharePoint 2010 Web Analytics showing user Display Name and Account Name from the same user

    Hi!
    Since July, 16th 2012 the Web Analytics Daily Unique Visitors reports started to show almost the double of visitors we used to have on our Web Application. Here are some of the data (I intentionally deleted the weekend data):
    10/7/2012 2.497
    11/7/2012 2.723
    12/7/2012 2.722
    13/7/2012 2.699
    16/7/2012 5.055
    17/7/2012 4.963
    18/7/2012 4.954
    19/7/2012 4.998
    20/7/2012 4.965
    23/7/2012 5.117
    24/7/2012 5.012
    25/7/2012 5.071
    As you may notice the data jumped from around 2.700 unique visitors to around 5.000 unique visitors. As the number of permissioned users remains constant it is pretty odd. I also checked the Number of Page Views report and see no change on its behavior.
    The number of page views remained constant.
    So I went to look the Top Visitors report and understand why the visitors number almost doubled. The analytics started to count the users Display Name and Account name as two different visitors with a different number of page views. Let me show you an example
    from yesterday (July, 25th) Top Visitors report:
    #     Visitor                  Page Views    %
    1    Cinthia XXXXXXXXXX    359        0,55%
    5    Giselle XXXXXXXXXX     143        0,22%
    7    Aline XXXXXXXXXX       138        0,21%
    15  nt\cmazevedo              111        0,17%
    60  nt\gbsantana                 69        0,11%
    73  nt\aglsiqueira                 65        0,10%
    "Cinthia" and the account "nt\cmazevedo" are the same person. The same is applied to "Giselle" / "nt\gbsantana" and "Aline" / "nt\aglsiqueira".
    As I stated this is an example from July, 25th. If I checked the same report from a period before July, 16th I can only see the users Display Name as "Visitors". No account name is displayed or counted as a different visitor.
    About the environment:
    We have two SharePoint 2010 farms: a "corporate" and a "enterprise". The corporate farm contains four web servers and a central administration servers with publishing services. The enterprise farm contains two servers running User Profile Services, Search
    Services and some others. Our main version is the SP1 with June/2011 Cumulative Update with a few more hotfixes applied.
    This behavior on analytics is affecting all web applications (we have more than 20) installed on this farm and my company Support team said that no change were made on SharePoint on the weekend the problem started.
    Does anyone have any tip about what is going on?
    Thanks in advance!

    Hi, Manas!
    First of all thanks for your interest on this issue but I don't think it is related to the User Profile or the Active Directory.
    I checked both records and there was no change on the Display Names. All the users have "full names" as display names (first + middle + last name) and not logins as SharePoint is displaying on this report.
    But I did a test yesterday and checked the results today confirming that just the access been made using a specific server are causing this. Explaining it better:
    I have four web servers on my farm named from P01 to P04. Then I created this test script:
    Step 1: Change local HOSTS file to point the web application on the server P01.
    Step 2: Access site "A"
    Step 3: Access site "B"
    Step 4: Close the browser.
    Step 1: Change local HOSTS file to point the web application on the server P02.
    Step 2: Access site "C"
    Step 3: Access site "D"
    Step 4: Close the browser.
    Step 1: Change local HOSTS file to point the web application on the server P03.
    Step 2: Access site "E"
    Step 3: Access site "F"
    Step 4: Close the browser.
    Step 1: Change local HOSTS file to point the web application on the server P04.
    Step 2: Access site "G"
    Step 3: Access site "H"
    Step 4: Close the browser.
    I asked three users to execute that script. The results: All access to the sites "C" and "D" were registered on Web Analytics with the user account name such as "nt\cmazevedo". All the other sites registered the user Display Name correctly such as "Cinthia
    XXXXXXXXXX".
    With this test we could isolate the problem just on the server P02. It doesn't occur on the others. Now my support team is trying to find any configuration difference between this server and the other three that could point for the root cause.
    I am also looking for some information regarding the service responsible for this task ("transform the account name into a display name") to understand why it doesn't work on one server and works on the others.
    Thanks!

  • How to change host name and domain name in installed Cisco Meeting Place Express 2.0?

    Hi
    I have  Cisco Meeting Place Express 2.0 installed on server. Meting Place uses Linux (Red Hat) as base operation system. Please tell me how I can change host name and domain name for Meeting Place Express application to integrate it into corporate domain infrastructure.
    Thanks in advance!!!
    Sincerely yours
    Sergey Bondarenko

    Hi
    Thanks for your attention for my humble problem.
    I have performed Meeting Place Express configuration through the “net” command.
    But now unfortunately I can't connect to meeting place through web browser. I just get blank page.
    Though I can reach the server with help of ssh. I think my DNS works properly because I can resolve the ip address of  cumpxvoice .uclab.com and cumpxweb. uclab.com with help of dig command.
    Have you any idea?
    A lot of thanks in advance!!
    Sincerely yours Sergey Bondarenko
    Here I have printed the net configuration output of Cisco meeting Place Express:
    [root@cumpxvoice root]# net
    This is the MeetingPlace Express network configuration utility.
    Up to the point where you save changes, it is safe to hit ^C to get
    out at any time, in which case nothing will have changed.
    1) List current configuration
    2) Configure Ethernet port 1
    3) Configure Ethernet port 2
    4) Configure service bindings
    5) Set host names
    6) Set domain name
    7) Configure DNS service
    8) Configure NTP service
    9) Configure routing
    10) Done
    Select: 1
    Primary/audio host name: cumpxvoice
    HTTP host name:          cumpxvoice
    RTMP host name:          cumpxweb
    Domain name:             uclab.com
    Service bindings:
    Audio:                   port 1 (eth0)
    Web browsing (HTTP):     port 1 (eth0)
    Web conferencing (RTMP): port 2 (eth1)
    Port 1 (device eth0):
    IP Address:      10.62.60.116
    Network mask:    255.255.255.0
    Default gateway: 10.62.60.1
    Link setting:    autoneg on
    Port 2 (device eth1):
    IP Address:      10.62.60.117
    Network mask:    255.255.255.0
    Default gateway: 10.62.60.1
    Link setting:    autoneg on
    Static routes:
    Destination      Gateway          Network mask     Port
    0.0.0.0          10.62.60.1       0.0.0.0          1
    DNS Servers:
    10.62.60.115
    10.0.1.4

  • Index on name and upper(name) ??

    Greetings!
    If we have query string search for upper(name) and when index is on 'name' then, is it true that Oracle doesn't use index at all?
    also, then what is the impact when we have both name and upper(name) indexed. Thanks,

    William -
    I always thought the use of the index, in this case, was more likely not to be used when transforming the column with an UPPER (or similar function).
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/sql_1016.htm#sthref1089
    The example the OP gave was a typical example cited to the benefits of using a function based index.
    What am i missing? Is the optimizer a it smarter in newer versions?

  • "Service Name" and "Routine Name" in tmadmin

    In tmadmin console, there is "Service Name" and "Routine Name". What is the differences between them? Do they have relation with "Server Name"? Thx.

    See http://download.oracle.com/docs/cd/E13161_01/tuxedo/docs10gr3/rfcm/rfcmd.html#wp1750061
    In 'buildserver' when you use the "-s" option you can specify the service name and optionally the routine/function name. The function/routine name is compiled and included in the server executable that 'buildserver' creates.
    Typically the service name and routine name are the same.
    Harvey

  • How to know database name and schema name

    Hi ,
    Once after logging in the database,how is it possible to know the current database and schema which we r using?Is there any system table where we can get the database names and schema names?
    please help me out.itz urgent.
    Regards,
    Sravan

    Probably not.
    If the database name is the name of the current database, it would be essentially redundant. If the database name is the name of some other database, in order to get the names of all the tables in the specified schema, you could create a database link to the remote system (which assumes you have a login and password to the remote database with appropriate privileges, that the database server's tnsnames.ora file has an entry for the remote database, etc) and query the remote data dictionary tables. Even if you could do that, however, you could not dynamically create triggers on the remote database since DDL over a database link.
    In theory, you could also load an appropriate JDBC driver into the database and write a Java stored procedure that would connect to the remote database (again, with an appropriate user name & password, host name, and port number) and issue DDL against that remote database. I have a hard time believing, however, that this would be a particularly beneficial approach. It would be easier just to put the appropriate code into each database that needs triggers generated or to have a separate Java application that generates triggers for a number of different databases.
    Justin

  • How to know database name and schema name by providing package name?

    Hi,
    Could someonw will help me to get database name and schema name by providing package name ?
    I have used the query : select * from all_objects where object_name='Package_name'; but it simply returns schema name where as i need DB name and username.
    --Prajakta

    but it simply returns schema name where as i need DB name and username.
    i want to retrive the DB name for package name
    Based on your questions, I wonder if you are used to working in SQL Server? (The server, database, and schema are part of the 4-part  name of an object, independent of any user.)
    In SQL Server, schema and username are two separate physical concepts.  "Schema" is purely logical in Oracle: a user which owns objects is often called a "schema".
    In Oracle, "database" is roughly equivalent to the SQL Server concept  "server" (what you log in to).  It is not part of the naming path to a specific object  (unless there is a database link involved, but there is no indication that's what you have here).  In Oracle you connect to an Instance (or Service) and people often call this the "database", but there is a fine semantic distinction there (separate topic). 
    Once connected in Oracle, you fully-qualify an object by only a 2-part owner and object name (possibly 3-part if a database link is involved user.object@link).
    12c added another wrinkle to all of this, but I'll assume this question was more basic than that, because you likely would have mentioned if this was a 12c question.

  • Fields Names and Table Names

    Hi,
    I am sorry about that.I missed some text.
    Client wants to enhance a report.Please help me with tehnical names and table names for the following
    Infotype                   Field Names
    1515          Date of Tasks
    1          Job Key Code
    1          Position code
    442          Regular Payments
    442          Payment Model
    1005          Paygrade Level
    1005          Paygrade Level
    1005          Reference Salary
    1051          Salary Survey
    1051          Job from Survey
    15          Wage Type
    15          Amount
    6          Address Record Type
    6          House Number and Street
    6          Address line 2
    6          City
    6          Country Key
    6          Zip/Postal Code
    6          State
    6                     Country
    Thanks in advance,
    Usha
    Edited by: usha usha on Oct 16, 2008 11:31 AM

    Hi,
    I have done that but sturcture names are there.I want data from tables instead of structure names.Below are details.I just want to check whether they are correct or not
    1515     TERMN     Date of Tasks      HRP1515
    1     STELL     Job Key Code     PA0001
    1     PLANS     Position code     PA0001
    442     REGPD     Regular Payments     PA0442
    442     PAYMO     Payment Model     PA0442
    1005     SLMIN     Paygrade Level     T710
    1005     SLMAX     Paygrade Level     T710
    1005     SLREF     Reference Salary      T710A
    1051     SCODE     Salary Survey      T710S
    1051     JCODE     Job from Survey     HRP1051
    15     LGART     Wage Type     PA0015
    15     BETRG     Amount     PA0015
    6     ANSSA     Address Record Type     PA0006
    6     STRAS     House Number and Street     PA0006
    6     LOCAT     Address line 2      PA0006
    6     ORT01     City     PA0006
    6     LAND1     Country Key     PA0006
    6     PSTLZ     Zip/Postal Code     PA0006
    6     BEZEI     State     T005U
    6     LANDX     Country     T005
    Thanks
    Usha

  • I re-formatted my pc and changed its name and user name. But after formatting firefox sync is not showing my previous bookmarks.

    Hi guys i Formatted my pc and after formatting now firefox is not showing my previous bookmarks
    I changed my computer name and user name
    and i dont remember what was previous name of my computer

    Did you reset the password of the Firefox account or did you still remember the password?
    The new Sync version used in Firefox 29 and later still uses a Sync key to encrypt data locally before uploading, but this Sync key is generated internally from the password of your Firefox account, so you no longer need to worry about it.
    This also means that the Sync key changes when you change (reset) the password of the Firefxo account and you lose all data stored on the Sync server when doing that.

  • Fetch Table name and field name from a given entry

    Hi ,
    i know the entry which is present in the database .But i don't know the table name and field name which has that entry .
    i have to fetch the table name and field name from a given entry .
    Can anyone suggest me how will  i fetch the table name and field name for a given entry .
    thanks in advance.

    Hi ,
    i know the entry which is present in the database .But i don't know the table name and field name which has that entry .
    i have to fetch the table name and field name from a given entry .
    Can anyone suggest me how will  i fetch the table name and field name for a given entry .
    thanks in advance.
    Few more options to scan specific text in entire DB:
    http://www.mssqltips.com/sqlservertip/1525/scan-a-sql-server-database-for-objects-and-columns-containing-a-given-text-value/
    http://solutioncenter.apexsql.com/quickly-search-for-sql-database-data-and-objects/
    Cheers,
    Vaibhav Chaudhari
    [MCTS],
    [MCP]

  • Display First Name and Last Name of generating user in Siebel BIP Report

    Hello,
    My client has a requirement to display First Name and Last Name of user who generated the report. I need some help to resolve this requirement. Thanks
    Eg: Generated by <First Name> <Last Name>
    Generated by Siebel Administrator
    Regards,
    Hari Venkat.

    Hey Rob,
    Is this search help something that you have developed?  Can you explain a little more to how the funcitonality works?  Is this triggering an operation in your BAdI?
    Cheers,
    Kevin

Maybe you are looking for