How to connect  & display parent items to child items

Hi,
Can any body help me ,
I have taken the pick list in PLD  that is  having child item , that child item ,i am trying to point Bill of material  item form which itself having child items I want to display that one .
Thanks,
Ruheena Tasneem.

Hi Ruheena ,
You have to use query or Crystal report to get that.  PLD has very limited function in SQL part.
Thanks,
Gordon

Similar Messages

  • Tree control: How to disable the selection of a child item

    Hello everyone,
    Im having trouble with disabling the selection of a child item in a tree control. I dont know if its possible but havent found any answers on this forum regarding this issue.
    Example:
    Parent tag 1
        child item 1
        child item 2
    Parent tag 2
        child item a
        child item b
    What i would like to do is being able to select the parent tags but not the child items, because i use the name of the selected item in my program to determine which actions are allowed and those that are not. To avoid this problem i look at the first 4 letters of the name and this way i can determine if it is a parent tag or child item and take appropriate action. Im able to do this because the parent tags have fixed names. But even though nothing happens in software if i select a child item it still lights up, so for the user of the program it looks as if the child items is selected but the program doesnt do anything(because i made it that way). Thats why i want to be able to disable the selection of the child item or at least make the selection colour of the child item transparant so it doesnt look like it is selected.
    Can anyone help me with this problem, if there are parts of my question you dont understand, just ask.
    greetz
    Ynse.

    Muks,
    your last image disables the whole tree.
    To programmatically disables an item use ActiveItem.Disabled? property.
    Unfortunately this only has two states, Enabled and disabled (thus grayed).
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How we will display the header data and item data seperately in lists

    how we will display the header data and item data seperately in lists

    REPORT z_alv_list_block.
    TYPE-POOLS: slis. " ALV Global types
    SELECTION-SCREEN :
    SKIP,
    BEGIN OF LINE,
    COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
    PARAMETERS p_max(2) TYPE n DEFAULT '02' OBLIGATORY.
    SELECTION-SCREEN END OF LINE.
    DATA:
    1st Table
    BEGIN OF gt_kna1 OCCURS 0, " Data displayed
    kunnr LIKE kna1-kunnr, " Customer number
    ernam LIKE kna1-ernam, " Name of Person who Created
    erdat LIKE kna1-erdat, " Creation date
    name1 LIKE kna1-name1, " Name 1
    END OF gt_kna1,
    2nd Table
    BEGIN OF gt_mara OCCURS 0,
    ernam LIKE mara-ernam, " Name of Person who Created
    matnr LIKE mara-matnr, " Material number
    ersda LIKE mara-e rsda, " Creation date
    brgew LIKE mara-brgew, " Gross weight
    END OF gt_mara,
    3rd Table
    BEGIN OF gt_vbak OCCURS 0,
    vkorg LIKE vbak-vkorg, " Sales organization
    kunnr LIKE vbak-kunnr, " Sold-to party
    vbeln LIKE vbak-vbeln, " Sales document
    netwr LIKE vbak-netwr, " Net Value of the Sales Order
    waerk LIKE vbak-waerk, " SD document currency
    END OF gt_vbak.
    INITIALIZATION.
    v_1 = 'Maximum of records to read'.
    START-OF-SELECTION.
    Read data
    SELECT * FROM kna1
    UP TO p_max ROWS
    INTO CORRESPONDING FIELDS OF TABLE gt_kna1.
    SELECT * FROM mara
    UP TO p_max ROWS
    INTO CORRESPONDING FIELDS OF TABLE gt_mara.
    SELECT * FROM vbak
    UP TO p_max ROWS
    INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
    EXPORTING
    i_callback_program = sy-cprog
    i_callback_user_command = 'USER_COMMAND'.
    PERFORM list_append TABLES gt_kna1
    USING '1'
    'GT_KNA1'.
    PERFORM list_append TABLES gt_mara
    USING '2'
    'GT_MARA'.
    PERFORM list_append TABLES gt_vbak
    USING '3'
    'GT_VBAK'.
    PERFORM f_list_display.
    FORM USER_COMMAND *
    FORM user_command USING i_ucomm LIKE sy-ucomm
    is_selfield TYPE slis_selfield. "#EC CALLED
    CASE i_ucomm.
    WHEN '&IC1'. " Pick
    CASE is_selfield-tabname.
    WHEN 'GT_MARA'.
    WHEN 'GT_KNA1'.
    WHEN 'GT_VBAK'.
    READ TABLE gt_vbak INDEX is_selfield-tabindex.
    IF sy-subrc EQ 0.
    Sales order number
    SET PARAMETER ID 'AUN' FIELD gt_vbak-vbeln.
    Display Sales Order
    CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
    ENDIF.
    ENDCASE.
    ENDCASE.
    ENDFORM. " USER_COMMAND
    ----< /div>
    Form list_append
    FORM list_append TABLES ut_table
    USING u_no TYPE char1
    u_tabname TYPE slis_tabname.
    Macro definition
    DEFINE m_fieldcat.
    ls_fieldcat-fieldname = &1.
    ls_fieldcat-ref_tabname = &2.
    append ls_fieldcat to lt_fieldcat.
    END-OF-DEFINITION.
    DEFINE m_sort.
    ls_sort-fieldname = &1.
    ls_sort-up = 'X'.
    append ls_sort to lt_sort.
    END-OF-DEFINITION.
    DATA :
    ls_fieldcat TYPE slis_fieldcat_alv,
    lt_fieldcat TYPE slis_t_fieldcat_alv, " Field catalog
    ls_sort TYPE slis_sortinfo_alv,
    lt_sort TYPE slis_t_sortinfo_alv. " Sort table
    DATA:
    lt_events TYPE slis_t_event,
    ls_event TYPE slis_alv_event,
    ls_layout TYPE slis_layout_alv.
    ls_layout-group_change_edit = 'X'.
    ls_layout-colwidth_optimize = 'X'.
    ls_layout-zebra = 'X'.
    ls_layout-detail_popup = 'X'.
    ls_layout-get_selinfos = 'X'.
    ls_layout-max_linesize = '200'.
    CASE u_no.
    WHEN '1'.
    Build field catalog and sort table
    m_fieldcat 'KUNNR' 'KNA1'.
    m_fieldcat 'ERNAM' 'KNA1'.
    m_fieldcat 'ERDAT' 'KNA1'.
    m_fieldcat 'NAME1' 'KNA1'.
    m_sort 'KUNNR'.
    WHEN '2'.
    m_fieldcat 'MATNR' 'MARA'.
    m_fieldcat 'ERNAM' 'MARA'.
    m_fieldcat 'ERSDA' 'MARA'.
    m_fieldcat 'BRGEW' 'MARA'.
    m_sort 'MATNR'.
    WHEN '3'.
    m_fieldcat 'VBELN' 'VBAK'.
    m_fieldcat 'VKORG' 'VBAK'.
    m_fieldcat 'KUNNR' 'VBAK'.
    m_fieldcat 'NETWR' 'VBAK'.
    m_fieldcat 'WAERK' 'VBAK'.
    m_sort 'VBELN'.
    ENDCASE.
    IF u_no CA '13'.
    MOVE 'TOP_OF_PAGE' TO ls_event-name.
    CONCATENATE 'TOP_OF_PAGE' u_no INTO ls_event-form.
    APPEND ls_event TO lt_events.
    ELSE.
    MOVE 'TOP_OF_LIST' TO ls_event-name.
    CONCATENATE 'TOP_OF_LIST' u_no INTO ls_event-form.
    APPEND ls_event TO lt_events.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
    EXPORTING
    it_fieldcat = lt_fieldcat
    is_layout = ls_layout
    i_tabname = u_tabname
    it_events = lt_events
    it_sort = lt_sort
    i_text =
    TABLES
    t_outtab = ut_table
    EXCEPTIONS
    program_error = 1
    maximum_of_appends_reached = 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.
    ENDFORM. " LIST_APPEND
    Form f_list_display
    FORM f_list_display.
    DATA ls_print TYPE slis_print_alv.
    ls_print-no_print_selinfos = 'X'. " Display no selection infos
    ls_print-no_print_listinfos = 'X'. " Display no listinfos
    ls_print-reserve_lines = 2. " Lines reserved for end of page
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    EXPORTING
    i_interface_check = ' '
    is_print = ls_print
    EXCEPTIONS
    program_error = 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.
    ENDFORM. " F_LIST_DISPLAY
    FORM top_of_page1 *
    FORM top_of_page1. "#EC CALLED
    PERFORM top_of_page.
    ENDFORM.
    FORM top_of_page3 *
    FORM top_of_page3. "#EC CALLED
    PERFORM top_of_page.
    ENDFORM.
    FORM top_of_page *
    FORM top_of_page.
    ULINE.
    WRITE : sy-uname, sy-title(56) CENTERED, sy-datum.
    ULINE.
    ENDFORM.
    FORM top_of_list2 *
    FORM top_of_list2. "#EC CALLED
    WRITE 'TOP OF LIST2'.
    ENDFORM.
    END OF PROGRAM Z_ALV_LIST_BLOCK ***********************

  • Automatic status heritage from parent item to child item in Instal Base R12

    Hi,
    Do you know please how to deactive automatic heritage of status from parent item to all child items of instal base when updating parent item status in R12?
    When I update status of package in Instal Base, statuses of all child items are updated automatically with same value.
    I am using R12 standard API's and I don't see any parameter that can help ...
    Must I see the Ebs parameters ? Profile options?
    Thx

    Did you check if the serial ABN656 is the parent and has child components under it? Check the below query for the same. Additionally you can also navigate to Oracle Installed Base Agent User responsibility, search for ABN656, click on the record, navigate to Configuration tab and see if this serial has any child components.
    select *
    from csi_ii_relationships cir
    ,csi_item_instances cii
    where cii.serial_number = 'ABN656'
    and cii.instance_id = cir.object_id
    Thanks
    Shree

  • How to connect switch controls to float PLC items ?

    The AB PLC float items are 32 bits, but the LV boolean variables are 8 bits!
    So how can I connect switch controls to these float items???
    Thanks in advance

    Check this
    http://forums.lavag.org/Industrial-EtherNet-EtherNet-IP-t9041.html
    Best regards
    Siva
    [email protected]

  • How to change warehouse code in BOM child items on marketing documents

    Hi Every body!!
    I need some Help.
    I am importing some sales documents from an 3th party POS application to SBO.
    I have several POS and each one is a warehouse on SBO. All sales items are Template BOM.
    I can change through SBO-UI the child items related information, but how can it do it through DIAPI???
    Thanks!
    Enriquillo Guigni
    Edited by: Enriquillo Guigni on Jun 29, 2010 12:28 AM

    Hi
    oItems = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)
    oPT = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductTrees)
    opt.Items.Warehouse="WarehouseCode"
    oPT.Items.Add()
    RetVal = oPT.Add
    If RetVal <> 0 Then
            oCompany.GetLastError(ErrCode, ErrMsg)
            MsgBox(ErrCode & " " & ErrMsg)
    End If

  • How to submit the parent window from child window

    Hi,
    I am looking out for a solution. I have a main JSP page and on clicking a button in the page a pop up window will be displayed, which is too a JSP page. Finally i should submit both Popup window JSP page and the parent window JSP page, when clicking the button in pop up window. Can anyone come out with some possible solutions.

    Hi
    Please go through this.. check thomas reply
    Re: Close Main Window directly on action on Pop up window
    also check this..
    how to close main window on click of a button on popup window
    cheers,
    Kris.
    Edited by: kissnas on May 12, 2011 5:06 PM

  • Re: Display Parent Accounts with Child Accounts

    I am creating an Accounts Application and whenever the User query for particular Account Transactions, that Account's Parent Accounts must also return.
    Here is the DML.
    CREATE TABLE MYACC
    (ACC_NO NUMBER(3), PARENTID NUMBER(3),
    ACC_NAME VARCHAR2(20));
    INSERT INTO MYACC VALUES(111,NULL,'ASSETS');
    INSERT INTO MYACC VALUES(112,111,'CURRENT ASSETS');
    INSERT INTO MYACC VALUES(113,112,'RECEIVABLES');
    INSERT INTO MYACC VALUES(114,111,'FIXED ASSETS');
    INSERT INTO MYACC VALUES(115,113,'MACHINERY');
    CREATE TABLE MYTRANS
    (TRANS_DATE DATE, ACC_NO NUMBER(3),
    BRANCH NUMBER(1),TRANS_AMT NUMBER(10));
    INSERT INTO MYTRANS VALUES('01-JUL-2006',113,1,10000);
    INSERT INTO MYTRANS VALUES('01-AUG-2006',113,1,11000);
    INSERT INTO MYTRANS VALUES('01-SEP-2006',113,2,12000);
    INSERT INTO MYTRANS VALUES('01-OCT-2006',113,3,13000);
    INSERT INTO MYTRANS VALUES('01-NOV-2006',115,3,12100);
    INSERT INTO MYTRANS VALUES('01-DEC-2006',115,3,13200);
    INSERT INTO MYTRANS VALUES('01-JAN-2007',115,3,15400);
    INSERT INTO MYTRANS VALUES('01-FEB-2007',115,3,13000);
    If I query for Branch No. 3,
    and Trans_Date between 1st July 2006 to 31st Dec 2006
    following should be displayed.
    Branch     Account          Trans_Date     Trans_Amt
    3     Assets     
    3     Current Assets     
    3     Receivables     01-OCT-2006     13100     
    3     Fixed Assets
    3     Machinery     01-NOV-2006     12100     
    3     Machinery     01-DEC-2006     13200
    If I query for Branch No. 3 and Account No. 115
    following should be displayed.
    Branch     Account          Trans_Date Trans_Amt
    3     Assets     
    3     Fixed Assets
    3     Machinery     01-NOV-2006     12100     
    3     Machinery     01-DEC-2006     13200
    Any idea please ?
    Best Regards,
    Luqman

    Dinamic select for find the children:
              select *
              from myacc
              start with acc_no = &Code
              connect by prior myacc.acc_no = myacc.parentid

  • How to connect DMS with sales order line items

    Hi
    Our client wants to attach some documents in sales oder line items. They have a DMS system in place but how can we connect that to sales order is the quastion. Can you please suggest?

    Hi shrivastava,
    At first you have to create document in CV01n transaction with document type BVV ( as per standard) and add attachments
    Now in VA02, select line item-->EXTRAS--->DOCUMENT, find the document number created in CV01n and click on add
    system will add the attachment to sales order
    regards,
    santosh

  • How to identifing the parent report from child report in RRI

    Hi Floks,
    Long back we have created one RRI report(which is having parent child relation).Now i have child report with me,i wanted to know the corresponding parent report.Please give me some inputs to identify this.
    Regards,
    Satya.

    Check in these tables:
    RSBBSQUERYDIR
    RSBBSQRYMAPPING
    Also check in table RSBBSQUERY to get the source and target of the RRI interface.
    Pravender

  • How to change display name of the attachment item attribute.

    Hello Experts
    I have a requirement to send a notification with attachment but attachment name should be attachment name,
    Is there any way to change the display name of the Attachment
    Please advise;
    Thanks
    Rajesh.

    Azmathulla,
    It is not possible to change the name of the server, but you can add a label to it (see attached screenshot).  And yes, it can be done during production hours, this doesn't affect the production data.
    Please let me know if this answers your question.

  • Delivery document how to print the BOM Parent and Child items

    Hi,
    I have a production BOM. In Delivery document how to print the Parent and Child items Item Code and Qty.At the time
    of add a delivery document Inventory stock redused only in Parent Item not child item because child item stock already reduced in issue for production.

    If you need to print both the BOM Parent and Child items, you have to create your own report. BOM is only for production if it is not Sales type.
    Thanks,
    Gordon

  • To Obtain parent and its child categories

    Hi,
    I have a "categories" table. I use MySQL.
    categories
    category_id int(10)
    category_name varchar(255)
    parent_category_id int(10)
    category_id category_name parent_category_id
    1 A 0 -- 0 represents parent level
    2 B 0
    3 C 1
    4 D 1
    5 E 2
    I need a query to display parent and its child categories like:
    category_id category_name parent_category_id
    1 A 0
    3 C 1
    4 D 1
    Thanks.

    Can't help you with MySQL.
    But if you google for "mysql start with connect by", you may find what you need.

  • ERPI: how to load only parent level metadata to Planning from EBS

    Hi, experts.
    Can we load only parent level metadata of EBS R12 to Planning using ERPI 11.1.2.2 ?
    And can we make selections on which members to load its metadata to Planning ?
    Thanks a lot.
    Eddy

    Hi,
         I m going with forecast in Step 5. But have to cross a pair of radio button in Step 3 as 'All Items' or 'Selected Items'.
         I m explaining my requirement again. I ll use the 'All Items' radio button and in the last step the recommendations are displayed for the expected child items along with the materials which are not in that specific BOM but has the demand.
         Though the other materials may have demand, it is not to be displayed in my order recommendation because I have not created the forecast for that items which I used in my MRP WIzard.
    Hope you got my problem.
    Thanks
    Karthik

  • How to get the parent of a component in fx?

    Here is an example:
    Index.fx:
    Stage {
        title: "Online book library";
        width: 1024
        height: 768
        scene:Scene {
        fill: Color.WHITE
        content: [
           banner ,
           login = Login{translateX:715 translateY:135}
    };Login.fx:
    var logOn : Button = Button {
            translateX:25 translateY: 170
            text: "Log On"
            font: Font {size:11 name: "Verdana Bold"}
            action: function() {
                showHello();
    function showHello(){
       // add a label in index.fx whose text is "welcome!";
        }I want to show something on the index.fx but I don't know how to get the parent from the child component?
    In Flex, we use parent or parentApplication, Is there a similar function in JavaFX?

    Reusing the same Tile example, I had no problems, I suppose I was doing wrong the first time:
    def IMAGES_WIDTH = 100;
    def IMAGES_HEIGHT = 100;
    var COLUMN_NB = 3;
    var ROW_NB = 3;
    var scene: Scene;
    var previews: Container;
    Stage
      title: "Test of Tile layout"
      scene: scene = Scene
        width: 500
        height: 500
        fill: Color.LAVENDER
        content:
          previews = Tile
            hgap: 10
            vgap: 10
            layoutX: bind (scene.width - previews.width) / 2
            layoutY: bind (scene.height - previews.height) / 2
            columns: COLUMN_NB
            content: for (i in [ 1 .. COLUMN_NB * ROW_NB ])
              ImageView
                id: "IV{i}"
                image: Image
                  url: "{__DIR__}clock.gif"
                  width: IMAGES_WIDTH
                  preserveRatio: true
                onMousePressed: Hide
    function Hide(evt: MouseEvent): Void
      println("{evt.node} ({evt.node.id}) - {evt.node.parent}");
      var nm: Node = evt.node.parent.lookup("IV5"); // Middle node
      nm.visible = false;
      var ntl: Node = evt.node.parent.lookup("IV1"); //Top left node
      (ntl as ImageView).viewport = Rectangle2D { height: IMAGES_WIDTH/2, width: IMAGES_WIDTH/2 };
      (evt.node.parent as Tile).hgap = 20; // Strange effect, but works
    }

Maybe you are looking for