How to get sub cluster element's caption?

Hi All,
I have a big cluster, which contains several sub clusters. They are all typ def.  My queation is, 
how to get the sub cluster element's caption?
Thanks.
Anne 
Solved!
Go to Solution.

Find the VIs in 8.5
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Attachments:
Get caption.vi ‏10 KB
typ def.ctl ‏7 KB

Similar Messages

  • How to get ICH Screen Element Objects

    Would anyone tell me how to get ICH Screen element objects i.e Screen ID like ALRTOVW

    Hi Bris,
    You can run the transaction only from the normal SAPGUI. Try it once again in this format:
    /N/SCF/SCREENCFG.
    Best regards,
    attila

  • How to get the last element of a structure in a textfield in DesignStudio

    Hello,
    how can I get the last element of a structure within a bex query?
    Within the structure we are working with dates that dynamically are buiId (input date - offsets for several months).
    I have to show the last value in a single textfield within DesignStudio.
    Regards
    Frank

    Hi Frank,
    in DS 1.3 you can use forEach function to get the last element of BEx structure (or n-th element in general using if condition)
    var array = DS_CROSSTAB1.getMembers("DHGY5D6XEFO1K45SB00BXFH7A",10);
    var lastMember="";
    array.forEach(function(element, index) {
           lastMember = element.text;
    TEXT_1.setText("Last structure element: "+lastMember);

  • How to get the text elements for a particular program

    Hi All,
    I want to get the all text elements , selection texts for a particular program...How to get.
    I have used one FM READ_TEXTELEMENT_FROM_REPORT , but not much useful..
    please help me..
    Regards,
    raj

    Hi..
    You may use this statement to read the text elements:
    DATA: i_reptx  TYPE STANDARD TABLE OF textpool   WITH HEADER LINE.
    READ TEXTPOOL (reports) INTO i_reptx. " reports is the report name.
    Best Regards,
    Pradeep.

  • How to get selection screen elements and its table reference of a report ?

    halo experts
    How can I get selection screen elements and its table reference of a report ? . I tried rs_refresh_from_select_options. But I am unable to get the table and field it is referring to
    For eg if my selection screen 1000 is
    parameters: p_carrid type spfli-carrid,
    select-options :s-_connid type sflight-connid.
    is there any Fm or method which gives me what are the screen elements( p_carrid and s_connid ) and what table( splfi and sflight ) and field ( carrid and conid )it is referring to ?

    The following code is an example of how you might dynamically determine all your PARAMETERS and SELECT-OPTIONS variables at run time.  The PARAMETERS and SELECT-OPTIONS only point to a dictionary element--not a specific table.  Even though you may say "spfli-carrid" or "sflight-connid", the data type really references the dictionary type and not a specific table/structure.
    REPORT  ZTEST_PROG.
    TABLES sflight.
    DATA:
           screen_tab TYPE STANDARD TABLE OF screen,
           wa_screen TYPE screen,
           scrn_nm TYPE string,
           scrn_leftover TYPE string,
           l_type TYPE REF TO cl_abap_typedescr,
           typ_nm TYPE string,
           typ_pre TYPE string.
    FIELD-SYMBOLS <fs_data> TYPE ANY.
    PARAMETERS p_carrid TYPE spfli-carrid.
    SELECT-OPTIONS s_connid FOR sflight-connid.
    INITIALIZATION.
      LOOP AT SCREEN.
        IF screen-group3 = 'PAR'
          OR screen-group3 = 'LOW'.
            APPEND screen TO screen_tab.
        ENDIF.
      ENDLOOP.
    START-OF-SELECTION.
      LOOP AT screen_tab INTO wa_screen.
        ASSIGN (wa_screen-name) TO <fs_data>.
        l_type = cl_abap_typedescr=>describe_by_data( <fs_data> ).
        IF wa_screen-group3 = 'LOW'.
          SPLIT wa_screen-name AT '-' INTO scrn_nm scrn_leftover.
          TRANSLATE scrn_nm TO UPPER CASE.
        ELSE.
          scrn_nm = wa_screen-name.
        ENDIF.
        SPLIT l_type->absolute_name AT '=' INTO typ_pre typ_nm.
        WRITE:
                 / 'Screen Name:  ', scrn_nm,
                 / 'DDIC Type:    ', typ_nm.
      ENDLOOP.
    When you get into defining internal tables you can determine those at run time with cl_abap_structdescr.  The following is an example of how you might do that.  You can loop through the "components_table" and evaluate each field of the structure in this way.
    DATA: structure_reference TYPE REF TO cl_abap_structdescr,
          components_table TYPE abap_compdescr_tab,
          components_structure LIKE LINE OF components_table.
    structure_reference ?= cl_abap_structdescr=>describe_by_data( any_structure ).
    components_table = structure_reference->components.
    I don't know if this answers any of your questions but I hope that some of it is useful.

  • How to get Focused UI element on the Window in 7.01

    HI,
      We were on 7.00 and recently upgraded to 7.01. we have a problem with the upgrade.. The window object no more holds the Focus . Here is the code ...  lo_curr_window->focus is blank all the  times.. This was working fine till 7.00 and now it stopped working..
    data:lo_window_manager      type ref to if_wd_window_manager,
            lo_api_component       type ref to if_wd_component.
      data: lo_clnt_appl type ref to cl_wdr_client_component,"CL_WDR_CLIENT_APPLICATION,
              ls_view_mgrs type wdr_viewman_line,
              lo_curr_window type ref to cl_wdr_window,
              ls_focus type wdr_focus,
              lo_uielem type ref to cl_wd_uielement,
              lv_path type string,
              lo_selected_elem type ref to if_wd_context_element,
              lt_strtab type table of string,
              lv_colname type string,
              lv_tablen type int4.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_clnt_appl ?= lo_window_manager.
      read table lo_clnt_appl->view_managers_for_window
                  into ls_view_mgrs with key name = `ZWD_TEST`.
      if sy-subrc = 0.
      get the window in which this interface view is embedded
        lo_curr_window = ls_view_mgrs-view_manager->get_window_recursive( ).
        if lo_curr_window is initial.
          lo_curr_window = wdr_task=>application->application_window->get_active_modal_window( ).
        endif.
        if lo_curr_window is not initial.
          ls_focus = lo_curr_window->focus.
          lo_uielem ?= ls_focus-view_element.
       endif.
      endif.
    Thanks
    Mahesh

    You seem to be utlitzing SAP internal APIs - so a change in behaviour between releases certainly seems possible. Refer to the online help to find out which APIs are safe to use:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/64/be5b4150b38147e10000000a1550b0/frameset.htm
    What exactly are you trying to acomplish?  From your code you seem to be trying to get the UI element that has the current focus. Is that correct?  To what purpose?
    Perhaps you should review the online help section on Focus Handling:
    vhttp://help.sap.com/saphelp_nw70ehp1/helpdata/en/c0/800f02bb734dd9977a64a8a7e87fe3/frameset.htm

  • How to get the context element of a F4 help of a column in ALV table?

    Hello!
    I know to get the context element of the current row normally through
    lo_el = WDEVENT->get_context_element( 'CONTEXT_ELEMENT' ).
    or: lo_el = lo_nd->get_element( index = r-parm->index ).
    But this time, I have a F4 help on the cell of a column. After clicking on the F4 help I need to get the current context element. Do you have any idea, to help me?
    Many thanks!
    regards
    Meer

    Hello,
    Kindly close the thread if your query is resolved now.
    Thanks
    Pradeep

  • How to get sub folder path

    I am trying to get sub string from a string with powershell
    $completeString = "C:\Development\Work\ABC-SharePoint\ABC\css\ABC\XYZ"
    $startingString = "ABC"
    I want "ABC\css\ABC\XYZ"
    note: ABC is multiple times in string

    this also worked
    $completeString.Substring($completeString.IndexOf($startingString  + "\"))
    You might want to add a leading backslash to the substring test:
    $completeString = "C:\Development\WorkABC\ABC-SharePoint\ABC\css\ABC\XYZ"
    $startingString = "ABC"
    $completeString.Substring($completeString.IndexOf($startingString + "\"))
    ABC\ABC-SharePoint\ABC\css\ABC\XYZ
    [string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "

  • How to get Adobe form element

    Hi Guru,
    How can i get adobe element
    Ex: I have one dropdwon List with Name : List1.
    I want get the value of <b>List1</b>.
    Like-----weContext.currentDataElemet.getMaterial();
    like that i need to get <b>List1</b> value. this element is not bind.  dynamically i want take that value of List and need to assign to another field.
    please help little bit urgent.
    Thanks
    Ramana

    Thanks Dvorah, but I don't get it...what do you mean to get the form values with AJAX? The form is in the client side, with AJAX I should issue a Xml request to the server... but the values are in the form... I don't understand your answer... if you could please explain a little bit more I'd really appreciate it. Thanks again.

  • How to get just Premier Elements 10

    Already have Photoshop Elements 10, now I have a digital camcorder, how do I just get Premier Elements 10?

    Download here free for 30 days then buy from your usual reseller and enter your serial number from the box.
    http://www.adobe.com/products/premiere-elements.html
      The problem with the free trial is that it will watermark all of your videos with the Adobe logo. But if you are in no hurry, it’s a good way to test the program until PSE11/PRE11 comes out in Sept/Oct.

  • Urgent: How to get value from Element Node?

    Hi All,
    I have an xml like below:
    <?xml version="1.0"?>     
    <Accounts>
    <Account rowid="1">
    <Account_Id>1</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>SB</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    <Account rowid="2">
    <Account_Id>2</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>CD</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    </Accounts>
    I am trying to get the value in the Account_Id element, but I am getting null everytime. Here is my code:
    import com.sun.org.apache.xerces.internal.impl.xs.dom.DOMParser;
    DOMParser parser = new DOMParser();
    parser.parse("D:\\Temp\\PCORDBMS\\"+tableName+".xml");
    Document doc = parser.getDocument();
    NodeList nodes = doc.getElementsByTagName("Account");
    for(int i=0;i<nodes.getLength();i++) {
    Node fc=nodes.item(i).getFirstChild();
    System.out.println(fc.getNodeValue());
    I think, since fc node is of the type Element - getNodeValue() is not returning the value. I also tried getting child nodes, getting attributes for fc & then getNodeValue.
    Am I missing something? Appreciate your help.
    Thanks,
    Niranjan

    Hi Niranjan,
    I used the JAXP DocumentBuilder and DocumentBuilderFactory classes. I use JSE 5.
    Here's the complete code that works for me:
    package com.trfsol.domtester;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class DomTester {
         * @param args
         public static void main(String[] args) {
              String filename = "C:\\Java workspaces\\Eclipse\\Workspace\\Test\\test.xml";
              try {
                   // Parse XML file
                   DocumentBuilderFactory factory =
                        DocumentBuilderFactory.newInstance();
                   DocumentBuilder parser = factory.newDocumentBuilder();
                   Document document = parser.parse(filename);
                   // Get all "Account" nodes
                   NodeList accountNodes = document.getElementsByTagName("Account");
                   // Iterate over nodes
                   for (int index = 0; index < accountNodes.getLength(); index ++) {
                        NodeList childNodes = accountNodes.item(index).getChildNodes();
                        for (int subIndex = 0; subIndex < childNodes.getLength(); subIndex ++) {
                             Node childNode = childNodes.item(subIndex);
                             System.out.println(childNode.getTextContent());
              catch (Exception e) {
                   System.err.println("Exception: " + e.getMessage());
    Regards, Ronald

  • How to get sub and grand total

    Dear all, I have a report which combines the two totals together and and makes one formula. This formula then is filtered according to Group2 (Reason Code).
    Group 1 is the same Reason Code however with Specified names. Group2 is the same reason code however with ascending order.
    My question is how to make the sub total and grand total of this formula.
    Detailed Information:
    1: Total One - DistinctCount(Order_no),GroupName2 -- In this Total, the records are counted when Linetype = F
    2: Total Two - DistinctCount(Order_no),GroupName2 -- In this Total, the records are counted when Linetype = S
    Formula
    Whileprintingrecords;
    Numbervar x:=0;
    Numbervar y:=0;
    Numbervar z:=0;
    x:={#FOCTC};
    y:={#CREDITTC};
    z:=x+y;
    z;
    Now this formula is placed in the footer of the Group2 (Reason Code).
    What I would like to do is to have a Group2 Sub Total and Finally Grand Total.
    I have tried the Following however it doesn't seem to be working.
    I created another formula exactly like above and placed it into the same Group footer however removed the "Numbervar o:=0;" (The numbervar z:=0; in the above case however when I created another formula I created named the variable "o" instead of "z") so that it does not reset it.
    Then I placed another formula into the Report Footer with the following code
    Whileprintingrecords;
    Numbervar o;
    Any ideas?
    Many thanks
    Regards
    Jehanzeb

    Ok sorted, I used another formula like this.
    Whileprintingrecords;
    Numbervar TJGs;
    Numbervar TotalJobs=0;
    Numbervar CAvg=0;
    TotalJobs := {@TotalFOCCR}; 
    CAvg:= TotalJobs;
    TJGs:=TJGs + CAvg;
    CAvg
    It sorted the issue.

  • How to get the second element in XML Response with same name

    Hi All,
    I am struck at this point, I have written a sample HTTP client which sends a request to the HTTP Server. In response to the request made the HTTP Server gives response in the XML format. eg: -
    <?xml version="1.0"?>
    <parent>
    <node1> Value1 </node1>
    <node1> Value2 </node1>
    <node2> Value3 </node2>
    </parent>
    In the HTTP Client I am getting the value of node1 using the following statement: -
    if (node instanceof Element && "node1".equals(((Element)node).getName()) )
    String node1 = node.getStringValue();
    System.out.println("Product Code:"+node1);
    This is always returning the first node1 value i.e. <node1> Value1 </node1>.
    The requirement is, I also need to get the <node1> Value2 </node1> value also. So can anyone tell me hw can I get the <node1> Value2 </node1> value. please tell me the piece of code that I should add to get the <node1> Value2 </node1>.
    My Mode is something like this: -
    try
                   Document document = (Document)DocumentHelper.parseText(response);
                   List<Node> transactionNodeList = document.selectNodes( "//parent" );
                   for(Node singleNode:transactionNodeList)
                        for(int i=0,j=0;i< ((Element)singleNode).nodeCount();i++ )
                             Node node = ((Element)singleNode).node(i);
                             if (node instanceof Element && "node1".equals(((Element)node).getName()) )
    node1= node.getStringValue();
    System.out.println("Air Way Bill Number:"+node1);
    if (node instanceof Element && "node1".equals(((Element)node).getName()) )
    node1= node.getStringValue();
    System.out.println("Product Code:"+node1);
    Thanks in Advance

    DocumentBuilderFactory factory=DocumentBuilderFactory.newInstance();
         DocumentBuilder db=factory.newDocumentBuilder();
         Document doc=db.parse(new File(ur xml file"));
         Element root=doc.getDocumentElement();
         System.out.println("root "+root.getNodeName());

  • How to get the programs (elements and premiere)from my old computer on my new PC?

    Can I get the programs from my old computer and use tham on my new (windows 8.1) computer?
    what do I do?

    I just did this so I hope I can remember.  I have a MAC so I went into my MAC hard drive and then library > application support > adobe > photoshop elements > 10 > creations > effects.  I selected all of my files and copied them.  I then went back to photoshop elements > 12 > creations and pasted the files into effects.  I then restarted PSE and all of my files were there! 

  • How to get the list element label ? Please help

    Dear all
    I have a problem.
    I need to get the current list element lable
    for example
    the emp_list displays the employee_name and return the employee_id
    I need the following:
    when_list_change , i need to put the label of the selected element in a text item :EMP_NAME_TEXT
    I can put the put the element value easily when the user select an element
    :EMP_NAME_TEXT := :emp_list ;
    I need to put the label not the value
    please help

    Hi,
    Try out the get_list_element_label built-in function.....
    Find info in the on-line help.....
    Regards,
    Simon

Maybe you are looking for

  • Creation of Sub Contracting PO through Maintenance Order

    Dear All, I am aware of the sub contracting indicator to be cliked in the maintenance order in order for the system to generate a Sub Contracting PO through Maintenance Order. However I am unable to see this indicator in maintenance order fields. Is

  • My iMac's CD-ROM is not working...please help

    i have a imac with Mac os x lion in it.....its been 14 months since i bought it...n im facing many problems with the CD-ROM as it is nt reading any CD inserted in it.....please guys..i need help!!

  • Distiller Crashes

    Did a fresh install of Adobe Acrobat 9.0 Pro on my Windows 7 Enterprise 64 bit system and it is not working properly. When I try to launch Distiller it crashes. When I try to print to the Adobe PDF printer, the application asks to save to a location

  • My OS X Mavericks Download doesn't start! Why??

    hi, i want to download os x mavericks but every time i click on the button an error occurs! Can someone help?

  • Is there a page down function for the front panel?

    I have a front panel on two monitor pages. Is there a function which shows the second page when I press a button on the first page and then switches back to the first page when a loop starts over again? Is there additionally a print function which pr