Is it possible to know the computer name ?

Hello,
I have set some parameters depending on computer.
I mean that we have some PC in different place, and I want set some parameters ( on report screen selection ) depending by the PC.
Exemple:
If I log me on PC N° 1, for report X I have p_param = 'ABC' (on report)
If I log me on PC N° 2, for report X I have p_param = 'DEF' (on report)
I chek on sy variable... but I nothing found.
Is it possible ?
Thank you
R

data str type string.
cl_gui_frontend_services=>get_ip_address(
  receiving
    ip_address           = str
  EXCEPTIONS
    cntl_error           = 1
    error_no_gui         = 2
    not_supported_by_gui = 3
    others               = 4
IF sy-subrc  0.
cl_gui_cfw=>flush(
  EXCEPTIONS
    cntl_system_error = 1
    cntl_error        = 2
    others            = 3
IF sy-subrc  0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
*            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDIF.
write : str.
CALL FUNCTION 'TERMINAL_ID_GET' DESTINATION 'R3GETCRM'
EXPORTING
username = sy-uname
IMPORTING
terminal = l_terminal_usr41
EXCEPTIONS
multiple_terminal_id = 1
no_terminal_found = 2
OTHERS = 3.

Similar Messages

  • Is it possible to know the file name of images loaded?

    Hi:
    I have a folder containing some images named 01_image_name.jpg, 02_image_name.jpg, 03_image_name.jpg, ... wich names I read with a PHP script. Then I loop loading each image and waiting until all are loaded to display them
    1. The PHP script reads file names and returns a string with names separated by a "|" char, then I use the split method to store them in imagesNames array and sort it
    2. I loop trough imagesNames array loading images
    3. Anytime a new image arrives I push it in imagesContainer array and check if all images are loaded to show them
    The problem is there's no guarantee they arrive in the same order they were requested. So, how I sort the imagesContainer array by file name, i.e. in the same order they are in imagesNames array?
    Thanks in advance

    if you know when a new image arrives and you can retrieve that new image file name ...
    Well, that's precisely my doubt, how can I know the file name? Is there a property/method for it?
    function loadImages() {
    for (var i:int=0; i<imagesNames.length; i++) {
    var imgLoader:Loader=new Loader;
    imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
    imgLoader.load(new URLRequest(imgPath + imagesNames[i]));
    function imgLoaded(par:Event):void {
    trace(par.target,par.target.content,par.target.content.name);
    Output window:
    [object LoaderInfo] [object Bitmap] instance160
    [object LoaderInfo] [object Bitmap] instance159
    [object LoaderInfo] [object Bitmap] instance161    

  • Is it possible to change the computer name?

    Trying to simplify a few things and would like to change the names of my computers. Is there an easy way to do it? If so, will it screw other things up? Thanks in advance for any input.
    Best,
    -Thomas

    System Preferences > Sharing has a place where you can rename the computer. As far as I know, it is completely harmless.

  • If i know the extract strucute how to know the DS name

    Hi All,
    If i know the extract structure name how to find the DS name?
    Regards
    Kiran

    If it is for LO extractors we can identify the datasource based on the extract structure.
    say if the extract structure name is MC11VA0HDR , 11 will be the application component, VA is the event for salesorder , HDR gives the level of the data it is extracting .So in this case the data source name will be 2LIS_11_VAHDR.
    For MC12VC0ITM the data source will be 2LIS_12_VCITM(12 is the application for delivery ,VC the event for delivery)
    But for generic and other extractors it is not possible to know the datasource name by seeing the extractstructure. We will have all the datasources information in the roosurce table. Here we can check the datasource which is having that extract structure.

  • Can I change the COMPUTER NAME of Windows Server ?

    Hi all,
    Is it possible to change the Computer Name of the Windows Server 2008, if Yes, what's the effect on all terminal profile on each station?
    ** We have many station that accessing some files thru pipe name ex: \\MyServer\Data\ hard coded on program public folders on server, but the newly installed server was named "MyServer2" can just rename it back to "MyServer" without problems
    on client station? " ***
    Thanks ^_^y

    Yes. You can change the name.
    You need to update all reference to new server name. You can try creating an Alias in DNS as a co-existence option.  
    Santhosh Sivarajan | Houston, TX
    Windows 2012 Book - Migrating from 2008 to Windows Server 2012
    http://www.sivarajan.com/
    This post is provided ASIS with no warran

  • With Apple Remote Desktop How can I change all the computer names

    After a re-imaging session?. I would like to not have to visit each station and manually change the computer name.
    Is this at all possible using ARD?

    Hi
    I don't use DeployStudio and know nothing about it. In terms of simply changing the names? Yes. Clearly not in the same way. You could use what's built-in on OSX Server if you have it? System Image Utility allows creation of nbis with an associated workflow that can define workstation names from a pre-prepared list of MAC Addresses and desired names as a Post-Install Action.
    This is fairly well-documented in the Server Forum and elsewhere.
    HTH?
    Tony

  • Report that gets full name from the users id in the computer name

    I don't even know if this is possible, but I am finding that quite often of late I am needing to get the users full name from the computer name.
    We have a standard where a computer name is in this format XXXXXXXUSERID.
    Is there a way to get the Full name from the USERID that is in the computername (not last logged on user).
    I am fairly sure that I might be able to work it out in SQLSMS but I really need it on the web reports form SCCM.
    If anyone has any ideas please let me know.

    Thanks, I want to add it to most my reports but this is the main one that I am using right now due to an audit. 
    SELECT DISTINCT
    CS.Name0 AS 'Computer Name', CS.Domain0 AS 'Domain', CS.UserName0 AS 'User', BIOS.SerialNumber0 AS 'Bios serial',
    SE.SerialNumber0 AS 'System Enclosure serial', CS.Manufacturer0 AS 'Manufacturer', CS.Model0 AS 'model', OS.Caption0 AS 'OS',
    RAA.SMS_Assigned_Sites0 AS 'Site', RAM.TotalPhysicalMemory0 AS 'Total Memory', SUM(ISNULL(LDisk.Size0, '0')) AS 'Hardrive Size',
    SUM(ISNULL(LDisk.FreeSpace0, '0')) AS 'Free Space', CPU.Name0 AS [CPU Name]
    FROM dbo.v_GS_COMPUTER_SYSTEM AS CS RIGHT OUTER JOIN
    dbo.v_GS_PC_BIOS AS BIOS ON BIOS.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_SYSTEM AS SYS ON SYS.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_OPERATING_SYSTEM AS OS ON OS.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_RA_System_SMSAssignedSites AS RAA ON RAA.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_X86_PC_MEMORY AS RAM ON RAM.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_LOGICAL_DISK AS LDisk ON LDisk.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_PROCESSOR AS CPU ON CPU.ResourceID = CS.ResourceID RIGHT OUTER JOIN
    dbo.v_GS_SYSTEM_ENCLOSURE AS SE ON SE.ResourceID = CS.ResourceID
    WHERE (LDisk.DriveType0 = 3)
    GROUP BY CS.Name0, CS.Domain0, CS.UserName0, BIOS.SerialNumber0, SE.SerialNumber0, CS.Manufacturer0, CS.Model0, OS.Caption0, RAA.SMS_Assigned_Sites0,
    RAM.TotalPhysicalMemory0, CPU.Name0
    What I really want to do is add another column called owner that just has the UID in it, I will then try to pull the users full name into another column.. hopefully I am not biting off more then I can chew with this but i have thousands of records and i
    will be forced to export to excel or something then look up all the names if I can't do this...

  • Hi All.. i want to use my iphone 4 to play poker on facebook with the zynga..  idont know the apps name,, thank's for ur help, and how to upgrade ios 4.3.3, now i'm still using ios 4.1.1, thank's

    hi All.. i want to use my iphone 4 to play poker on facebook with the zynga..  idont know the apps name,, thank's for ur help, and how to upgrade ios 4.3.3, now i'm still using ios 4.1.1, thank's

    when you connect your phone with your computer and use itunes you can click on the phone
    and click on an update button
    about facebook games then think they are all flash based and iphones cant do flash so thats not possible

  • Using column value is it possible to find the table name in the database?

    Hi all,
    using column value is it possible to find the table name in the database?
    guys i need the table value
    Note:
    oracle-9i
    for example:
    i don't know NIC(column value) in which table in the database.
    Thank you,
    with regards,
    JP.
    Edited by: Guest on Feb 27, 2012 5:42 AM

    Hi,
    As far as I understand what you are asking for I would suggest 4 data dictionaries that will help you to know the table name from the column names
    1. USER_TAB_COLS
    2. ALL_TAB_COLS
    3. DBA_TAB_COLS
    4. COLS
    These can give you detail information about the columns and respective tables at user, schema, dba level. Further information on the table can be found by querying ALL_OBJECTS table giving table_name as Object_name, or you can join the data dictionaries too.
    To know about various data dictionaries avalible in Oracle please query select * from cat;
    Let us know if you need further assistance.
    Twinkle

  • In mini bridge, is it possible to view the file name and the rating at the same time?

    Hello,
    In mini bridge, is it possible to view the file name and the rating at the same time?
    Thank you.

    if you know when a new image arrives and you can retrieve that new image file name ...
    Well, that's precisely my doubt, how can I know the file name? Is there a property/method for it?
    function loadImages() {
    for (var i:int=0; i<imagesNames.length; i++) {
    var imgLoader:Loader=new Loader;
    imgLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,imgLoaded);
    imgLoader.load(new URLRequest(imgPath + imagesNames[i]));
    function imgLoaded(par:Event):void {
    trace(par.target,par.target.content,par.target.content.name);
    Output window:
    [object LoaderInfo] [object Bitmap] instance160
    [object LoaderInfo] [object Bitmap] instance159
    [object LoaderInfo] [object Bitmap] instance161    

  • Is it possible to preserve the layer name when I copy and paste from Illustrator into Photoshop?

    Is it possible to preserve the layer name when I copy and paste from Illustrator into Photoshop?
    At the moment it just appears as "Vector Smart Object" in Photoshop and I have to take another step and change the layer name.
    Thank you!

    Not that I know. PS doesn't care for these kinds of things and uses its own naming system.
    Mylenium

  • Changing the computer name in SAP R/3

    Computer Name of the SAP R/3 server has been changed after the full installation of Oracle 9i and SAP R/3.
    How to change the computer name after the SAP R/3 can start-up sucessfully?

    Hi
    it is not possible after installing R/3, you cannot change the host name , as per my understanding because when you install it generates a solution manager key based on host name SID and instance number.
    Regards
    Subhash

  • Is possible to get the page name from the _pageid

    Is possible to get the page name from the _pageid displayed in the url?
    It must be stored in a portal oracle table does anyone know which ones or whether there is a api to translate the pageid.
    Thanks in advance.

    You have you execute this query, using both the numbers included in the parameter pageid:
    select display_name from portal.wwsbr_all_folders
    where caid = :first_number
    and id = :second_number

  • How to get the computer name using C#?

    Hi all,
    Does anyone know how to get the computer name using c#?
    Thanks

    Try this, string computer_name = System.Environment.GetEnvironmentVariable("COMPUTERNAME");
    Naren.

  • How to change the computer name

    I need to change the computer name but after this I cannot access to the historical data (printing alarms).
    I have already changed the settings in Options->System and restarted the system.
    With MAX 3.0 I can see that all the alarm records are stored with the old computer name \\computer name\process\....
    How can I do to read the old alarms with the new computer name?
    Thank you
    Michael

    Hi,
    When you change the computer name in Options>>System, you are not changing the name of the computer. Rather, you are telling Lookout to log to either a remote or local system. Here are the specifics:
    1. Computer Name: Name you want the traces to appear with (\\computer_name\process\...)
    2. Default Computer: Computer you want to log to. If the name listed here is different than your computer's name (as seen by Windows), then it will attempt to log directly to that remote machine.
    3. Default Path: Directory on either your local or remote machine that you want to log to.
    To change the name of your local computer, you will need to do that in Windows. If you have WinXP, you can do this by right-clicking on My Computer and selecting Computer Name.
    Go
    od Luck
    Mike

Maybe you are looking for

  • How do I add an appointment sent to me in an email to my Calendar ?

    How do I add an appointment, sent to me in an email, to my Calendar ? Usually I just double clicked on it and it added it automatically ... what has changed ? what do I need to change ?

  • Java command line in File adapter

    Hi all, In my receiver file adapter (FTP), I want to use the option "Run operating system command after message processing".  In the command I want to execute a java class.  Can anybody have information about how to do that ? My command line in the f

  • UP2414Q, turns off and never goes back

    I'm experiencing random problem: monitor goes black, signal lost and that's it. Only thing that helps is a reboot. It is VERY annoying. Second one: Dell monitor manager in tray freezes picture for like 4 seconds every 15 seconds from time to time. On

  • Code Deployment Blues

    I recently switched jobs from one that used Websphere 5/6 to one that uses Weblogic v8.1 exclusively. It's not really that big of a deal because it's really just a new flavor of what is basically the same thing. However, going from using WSAD/RAD to

  • Syntax for percentage

    Hello - I have the following calculation for one of the fields in a query:   CASE WHEN CAST(sh.User_DEF1 AS decimal(19,8)) = 0 THEN 0 ELSE (u.Net_Amt-CAST(sh.User_Def1 as decimal(19, 8))/NULLIF(cast(sh.USER_DEF1 AS decimal(19,8)), NULL)) END  AS [Per