Getting name of the variable?

Hi, Is there any way to get the name of the defined variable ?
for example
var description:String = "Some description";
var variableName = getVariableName(description);
trace(variableName); // output = "description"
Thanks

you can retrieve the xmllist of variables (string or otherwise), from any object (eg, the current timeline) using the following function.  each list item has a type property and name property:
function variableF(o:Object):XMLList{
return describeType(o).variable;

Similar Messages

  • Get names of global variables from report (like Tab "Globals" in debugger)

    Hello,
    is it possible to get a list from all available variables in a report at runtime like the tab "Globals" in the new debugger?
    The problem is that i don't know the names of the variables. So i could not do a dirty assign with field-symbols.
    best regards
    Marcel Gäbe

    Try RS_PROGRAM_INDEX
    table compo returns. filter with type = D
    Will you please check GET_GLOBAL_SYMBOLS & RS_PROGRAM_INDEX _SOURCE

  • I am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice help me out

    hello i have started using iphone 5 for which i downloaded my contacts from i clouds i am not able to get name of the person when he is calling for which i have already saved the no. on my contact list i have reseted my phone twice  its only showing the names of the person whose no. i have saved it with the country code i am staying in india new delhi pls help me i am fed up not able to get the name of person who is calling

    Sir, your Apple ID can be used as an iCloud account as well. They are both the same thing.
    You can learn more from --> Set up your Apple ID for iCloud and iTunes - Apple Support

  • Selection Variables / Name of the Variable in a Variant

    Hi,
    I am trying to replicate / create the same variant from PRD back to DEV.
    But in PRD for the variant, there are values for attributes. (Selection Variable is having T and D)
    Number of variables are available for Name of the variable (f4 values)
    But these values are not available for the same variant in DEV.
    How can i bring the values for selection variables and name of the variables in DEV.
    Thanks in advance for your help.
    Regards,
    Ravi

    Ravi,
    you have to include the variant into a transport request than you can transport to the other system. In general, variants not transported automatically when you create a program, you have to include the variant into the request if you want to use in another system also.
    You can do this by:
    SE38 --> Variants --> Utilities --> Transport request
    Edited by: mrwhite on Apr 28, 2009 4:52 PM

  • Query name in the variable pop up

    Hi everybody,
    does anybody know if it is possible to put the Query name in the variable pop up in a web query? they want to see the name of the query at first sight when they open the web query and variable pop up comes up.
    thanks a lot
    Manu

    Hi Mike,
    I don't think there is much hope in this area. There was another post on this topic that you can look at:
    Re: Web Reporting - Variable Screen - Title of Report

  • Is there anyway to edit the names of the Variables/​Tags listed in the .IAK file

    I have an .IAK file that has several (about 130) different fieldpoint devices in it and each device has about 90 variables names listed.  I have modified all the names in order to shorten them and standardize/nomalize the variable names.  I would like to be able to just rename the variables in the IAK file, instead of going to each device, connect, 'find devices' in MAX, Save the IAK File (which takes about 10min each) and then drive to the next device and repeat the process 130 times.  I've seen programs that let you view the IAK file, just wondering if the IAK can be edited programmatically.

    The reason is the IAK file has ALL 130+ fieldpoint devices listed, with approx 85 tags per FP, and I have to get the tag information from each site, then I have to copy that file to the server and reload the server.  If (like what happened yesterday) there is a problem saving the .IAK file or the .IAK file gets corrupted, I have to go back to ALL 130+ FP devices and get the information again.  Also, with that many FP stations in the IAK file, it takes a considerable amount of time per save (approx 10min).  On the server, I get the data from these FP devices through OPC that uses the .IAK file.  It's really not an idea situation, but it's what I have to work with.
    If it can't be done, it can't be done.  I would think that the file has to be saved in some format, granted probably some proprietary NI format, but if I knew the format, I could write a program to edit it, unless it's also compressed in some propritary NI format.

  • How to get name of the slicer via script

    Hi Gurus,
    I was wondering if we could get the name of the slicer added in IR Query section, via script ??
    That is, I have a bqy connecting to Essbase OLAP.
    Now I am adding a slicer in OLAP Section via script.
    For Ex : ActiveDocument.Sections["Query2"].Slicers.Add('Market.Gen3,Market' , 'Market.LA')
    Now,for some reason, I wanted to retrieve the name of the slicer I added and assign it to a variable. Is this possible ?? I couldn't see any option for this. Please help me out if any one has done this before ?
    Thank You,
    Aji

    Sethil,
    Use your date(let us say Date1) instead of sy-datum.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
    LANGUAGE = SY-LANGU
    IMPORTING
    RETURN_CODE =
    TABLES
    MONTH_NAMES = itab_month
    EXCEPTIONS
    MONTH_NAMES_NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE itab_month
    WITH KEY MNR = date1+4(2).
    itab_month-LTX will contain the value you are looking for
    Good luck
    Raghava

  • Not getting values in the variable

    Hi experts,
    in  this program  
    i want VBPA-vbeln = xblnr....but there is a data length error. so I ahve declare one variavble of length 10. & i am moving this xblnr to this variable but not getting value in that variable that i am moving..& give me the possible solutions...
    when '0FI_AR_4'.
             data: t_DTFIAR_3 like DTFIAR_3 occurs 0 WITH HEADER LINE.
              data: BEGIN OF t_DTFIAR_3 occurs 0.
                      include structure DTFIAR_3.
              data:        xblnr1(10).
              data: END OF t_DTFIAR_3.
              data : BEGIN OF t_partner occurs 0,
                         VBELN like vbpa-VBELN,
                         parvw like vbpa-PARVW,
                         kunnr like vbpa-kunnr,
                     END OF t_partner.
            data : xblnr1(10).
    t_DTFIAR_3[] = C_T_DATA[].
      move t_DTFIAR_3-xblnr to t_DTFIAR_3-xblnr.
                select VBELN PARVW kunnr
                       into table t_patner
                       from vbpa
                       FOR ALL ENTRIES IN t_DTFIAR_3
                       where VBELN = t_DTFIAR_3-xblnr.
    SORT t_partner BY VBELN PARVW.
              loop at t_DTFIAR_3.
                 loop at t_partner where VBELN = t_DTFIAR_3-xblnr1.
                       if t_partner-PARVW = 'ZA'.
                           t_DTFIAR_3-YPARVW1 = t_partner-PARVW.
                           t_DTFIAR_3-YPART1 = t_partner-kuNNR.
                       elseif t_partner-PARVW = 'ZR'.
                           t_DTFIAR_3-YPARVW2 = t_partner-PARVW.
                           t_DTFIAR_3-YPART2 = t_partner-kuNNR.
                       ELSEif t_partner-PARVW = 'ZE'.
                           t_DTFIAR_3-YPARVW3 = t_partner-PARVW.
                           t_DTFIAR_3-YPART3 = t_partner-kuNNR.
                       ELSEif t_partner-PARVW = 'ZS'.
                           t_DTFIAR_3-YPARVW4 = t_partner-PARVW.
                           t_DTFIAR_3-YPART4 = t_partner-kuNNR.
                       ENDIF.
                       MODIFY t_DTFIAR_3.
                endloop.
              ENDLOOP.
              C_T_DATA[] = t_DTFIAR_3[] .
    Thanks in advance

    HI,
    While moving use the WRITE TO option.
    WRITE VBPA-vbeln TO xblnr.
    Regards
    Sudheer

  • How can i find name of the variable used in the program and assign to a str

    double width= .333;
            int i;
            for (i = 0; i <=2; i ++){
                segment[i] = i+1;
            }is a bit of code...Is there anyway using which I can find out the variable names and assign them to string variables so that i can match them with another table ....
    That is I want the "width", "segment[0]", "segment[1]" and "segment[2]"...
    pls help...

    I am trying to find out the variable names in the program so that they can be matched against a given table for availability. I want to do that so that i can send the name, its type and value as a data packet to another node...I am not familiar with this...pls..would you give me a sample code

  • Get name of the folder after parent.

    Hi forum.
    I need a great help from you.
    If I could get the name of the folder which is between the Desktop and the indesign files where it ls saved...
    eg.
    /Users/wleastudio/Desktop/rantac/acb.indd.
    I need to get the folder name highlited in red and alert...
    if this is straight away on desktop i can do alert easily like below..
    name = Folder("/Users/wleastudio/Desktop/");
    if(app.activeDocument.filePath == name.path+"/" + name.name) {
        alert ("The document is in Desktop"), exit;
    if, the document is saved inside a folder on a desktop, that's the problem, i'm finding to difficult to find folder name and get alert..
    /Users/wleastudio/Desktop/rantac/acb.indd.
    Many thanks in advance

    Hi,
    Many many apologies for the delayed reponses...
    Your help support me a lot!!!.. but,
    try {
    if(app.activeDocument.filePath.parent.parent.parent.parent.parent.pare nt.name =="Desktop") {
        alert ("Correct Location " + app.activeDocument.filePath);
    else {
    alert("the Job is wrong Location"  +"\r" +"currently here it is" + app.activeDocument.filePath)
    }} catch (e) {}
    When the parent folder name is mentioned" the script catches and alerts.
    if the "indesign doc" is not in the parent folder. i.e. it may be inside the folder on the desktop or download folder of some other folder...
    The alert says"null folder" not found.
    Many thanks

  • How to get name of the month from current date.

    Hi,
       How to get the name of the month from current date.
    Thanks,
    Senthil

    Sethil,
    Use your date(let us say Date1) instead of sy-datum.
    CALL FUNCTION 'MONTH_NAMES_GET'
    EXPORTING
    LANGUAGE = SY-LANGU
    IMPORTING
    RETURN_CODE =
    TABLES
    MONTH_NAMES = itab_month
    EXCEPTIONS
    MONTH_NAMES_NOT_FOUND = 1
    OTHERS = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    READ TABLE itab_month
    WITH KEY MNR = date1+4(2).
    itab_month-LTX will contain the value you are looking for
    Good luck
    Raghava

  • How to get names in the phonebook transferred to Car device?

    Hi,
    I am using BB 8900 and Fiat Linea car with Blue & Me technology. After copying the phone book from the BB hand held to the car device, the car phone book only displays the numbers without names, which is practically useless. Because of this, I am unable to utilize the expensive feature in my car to the full, though I can receive calls and dial from the handheld and then continue conversation through car device. My another handheld Nokia model, costing 1/4th of BB 8900 works perfectly well with the car device. Kindly help with information on how to get the names in the address book of BB handheld transferred to the car device. Thanks and Regards - Ram Bhat

    Hi, I did not get help but I succeeded in transferring the names in the address book of my BlackBerry. I am sharing how I did it for the benefite of others -
    1. The automatic pairing by blue & me does not transfer the names!!
    2. Keep your BlackBerry (BB) unlocked, blue tooth paired with device.
    3. Press 'Phone' sign on the sterring wheel to activate menu.
    4. Scroll using the up/down arrows on the steering wheel for 'Settings'
    5. Select settings by pressing the 'Phone' sign.
    6. Scroll for 'User data' and select by pressing 'Phone' sign
    7.Scroll for 'Add contacts' and select by pressing 'Phone sign'
    8. After hearing the voice message from the car audio do seetings on BB as below
    9. Go to 'Manage Connections' -> 'Set up Blue Tooth' - > 'Cancel' This Leaves 'Blue tooth' menu with "Blue & Me" on the screen.
    10. Click 'Menu' button and click on 'Transfer Contacts'
    11. The BB shall transfer 300+ numbers within a minute ans give a message of completion of transfer.
    12. Look at the car display, it shows the numbers being added, trailing the completion of transfer completion from BB
    13. Within less than 2 minutes, the address book in the car device is updated and you have all the names in the phone book of the car now.
    Enjoy but keep the usage of the calling from car to safety limits.
    Ram

  • SecLDAP plugin failed to get name for the entry XIR2 SP2

    When a user who is in the ldap store attempts to log into InfoView, after about 10 minutes, he gets a message as follows:
    Account Information Not Recognized: An error occurred at the server: the secLdap plugin failed to get the name for the entry with dn=cn= with what appears to be appropriate information. This user does not appear to have a presence in BO (does not have an inbox, favorites, etc) nor does he appear in the ldap userlist in the CMC.
    Can you describe the functionality contained in this plugin ? It's function ?
    Thank you,
    Vicki Stanfield

    Hi,
    if you need a functional overview, check this SAP Note:
    https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3133383439313526
    You need a S-User for Login.
    Regards
    -Seb.

  • Currency Conversion Variable is showing the Technical name of the variable.

    Hi friends,
    We are using currency conversion Variable in our querie, it was showing the description of the variable until yesterday.
    Somehow something has changed and suddenly its showing up the Technical Name inteasd of Description. This is happening not only to one variable but for many of them.
    Can someone pls guide me how to rectify this?
    Your help verymuch appreciated.
    Thanks in advance.
    BN

    We had the same problem. Unfortunately this setting only seems to be available for a query view. We were using web reporting anyway so we just converted the dataprovider to be a query view where this setting had been made. It's a bit ugly but it worked.

  • Get name of the presentation server

    Hi,
    How can I get the name of the presentation server (the name of the machine on which SAP Guia is installed)?
    Is there any Function Module on ABAP that can return this information?
    Thanks!

    I think that is possible to do that only when the discussion was created with the flag "Mark this discussion as a question":
    For some reason that I did not set the CheckBox in some of my questions.
    Note that the last one I could close for example:
    Sometimes the moderator unmark my discussion as a question and I don't get it.
    Thank you very much!

Maybe you are looking for

  • How do I make Smart Groups in Address Book in iCloud?

    I have Smart Groups in my Address Book on my iMac but they don't appear in iCloud. Can anyone tell me how to do this? Many thanks in anticipation.

  • Problems with PSE 7 (was Splashr)

    when I try to open create or edit photoshop 7 shuts down thread title edited by forum host

  • Display predefined metadata in search hitlist

    Hi, I have configured search optionset with allowed predefined properties and I am able to filter my search based on predefined properties.My question is how can I display the predefined properties in the search results?. For example if I have a docu

  • Screen Exit for SAPLMGD1 Screen No. 2156

    Hi All! Can anybody give the screen exit name for program SAPLV02Z screen number 2156.This is needed to add a customer field MVKE-ZZMVGR6 to this screen.I had added the field to the screen and now i have to do the coding.I do have the modfication key

  • New to Worspace Management

    Hi , I am new to Workspace Management (WM) and trying tolearn the cocept. I am responsible for designing an aplication. Does WM provide storage of data in three states ie PROPOSED, CURRENT and HISTORICAL? ( Any code/logic to support this concept is h