How to add keyboard control on our tree.

hi,
any body can kindly tell me that how can we add keyboard control on out tree widget.
I am also anxious to know that when I compiled and loaded the PnlTreeView sample in Debug mode, keyboard control on this panel was also not working fine, it worked sometime and not on the other.
Can anybody help me for the above 2 questions.

There's no calendar control per-se, but you have an option - create an HTML image-map prompt - that should work....the only problem would be making it dynamic, but I'm sure you can create a big image map

Similar Messages

  • How to add keyboard control key to menu bar as shown

    how to add keyboard control key to menu bar as shown bellow
    Please help

    why, nobody can give me any suggestion?!
    I want to know how to get the specific Control from the Line which does not has this kind of Control. Currently, I met this problem -- the line does not support EnumControl.Type.REVERB, however, I want to exert the reverb control to the line.
    please. thank you very much!

  • How can we add a control on our .jsp webpage for uploading several image fi

    How can we add a control on our .jsp webpage for uploading several image files as done in gmail attachment, Where a Remove button also appears if we wanna remove the particular attachment.

    The SCOM Management Server is in Domain A.  I've tried it already and it has failed.  
    So just to clarify the method I used was to go to Administration>Security>User Roles.  Then New User Role>Read-Only Operator.  In the Create User Role Wizard I then gave the User Role a name, Clicked "Add" under User Role Members.
     Then the Select Users or Groups window pops up and I changed the Locations from Domain A to Domain B and searched for the user, which it's able to find, then clicked "OK" to add it to the User Role members which it does just fine.  On
    the next page which is Group Scope I checked the one group I want this account to have access to and then click next.  This brings me to Dashboards and Views where I click the radio button for "Only the dashboards and views selected in each tab are
    approved" and chose the folder of dashboards I want this account to access and then click next.  This brings me to the Summary and I click "Create".  At this point it thinks for a moment then closes out the wizard but the new Read-Only
    Operator does not appear.  I then look in Event Viewer and see the Event I pasted above.
    Am I doing something wrong here?  Any guidance on how to get around this issue would be much appreciated.
    Thanks,
    Jake

  • How to add a report into the tree??

    Hi all,
    Pls help me add a report into the tree same as standard report that we can click icon on tree to run.
    Thank you!

    Hi,
    use FM HR_ALV_HIERSEQ_LIST_DISPLAY
    there are 2 internal table , one for header and one for detail
    below is code for reference
    REPORT zinsd_quot_cont.
    TYPES : BEGIN OF ty_vbak,
    vbeln TYPE vbeln_va,
    vkorg TYPE vkorg,
    vtweg TYPE vtweg,
    spart TYPE spart,
    vkbur TYPE vkbur,
    vkgrp TYPE vkgrp,
    angdt TYPE angdt_v,
    bnddt TYPE bnddt,
    kunnr TYPE kunnr,
    kwmeng TYPE kwmeng,
    meins TYPE meins,
    kunwe TYPE kunnr,
    name1 TYPE name1_gp ,
    name2 TYPE name1_gp ,
    sel(1),
    expand(1),
    salesdocument TYPE bapivbeln-vbeln,
    message TYPE bapi_msg,
    END OF ty_vbak.
    DATA : w_vbak TYPE ty_vbak,
    t_vbak TYPE TABLE OF ty_vbak.
    DATA : w_update TYPE ty_vbak,
    t_update TYPE TABLE OF ty_vbak.
    TYPES : BEGIN OF ty_kna1,
    kunnr TYPE kunnr,
    name1 TYPE name1_gp ,
    END OF ty_kna1.
    DATA : w_kna1 TYPE ty_kna1,
    t_kna1 TYPE TABLE OF ty_kna1.
    TYPES : BEGIN OF ty_vbap,
    vbeln TYPE vbeln_va,
    posnr TYPE posnr_va,
    matnr TYPE matnr,
    matkl TYPE matkl,
    werks TYPE werks_ext,
    kwmeng TYPE kwmeng,
    meins TYPE meins,
    mvgr5 TYPE mvgr5,
    maktx TYPE maktx,
    END OF ty_vbap.
    DATA : w_vbap TYPE ty_vbap,
    t_vbap TYPE TABLE OF ty_vbap.
    TYPES : BEGIN OF ty_makt,
    matnr TYPE matnr,
    maktx TYPE maktx,
    END OF ty_makt.
    DATA : w_makt TYPE ty_makt,
    t_makt TYPE TABLE OF ty_makt.
    TYPES : BEGIN OF ty_sum,
    vbeln TYPE vbeln_va,
    kwmeng TYPE kwmeng,
    END OF ty_sum.
    DATA : w_sum TYPE ty_sum,
    t_sum TYPE TABLE OF ty_sum.
    TYPES : BEGIN OF ty_vbpa,
    vbeln TYPE vbeln,
    posnr TYPE posnr,
    parvw TYPE parvw,
    kunnr TYPE kunnr,
    END OF ty_vbpa.
    DATA : w_vbpa TYPE ty_vbpa,
    t_vbpa TYPE TABLE OF ty_vbpa.
    TYPES : BEGIN OF ty_vbup,
    vbeln TYPE vbeln,
    posnr TYPE posnr ,
    gbsta TYPE gbsta ,
    END OF ty_vbup.
    DATA : w_vbup TYPE ty_vbup,
    t_vbup TYPE TABLE OF ty_vbup.
    TYPE-POOLS slis.
    DATA: t_fieldcatalog TYPE slis_t_fieldcat_alv,
    w_fieldcatalog TYPE slis_fieldcat_alv,
    w_layout TYPE slis_layout_alv,
    gs_keyinfo TYPE slis_keyinfo_alv.
    DATA: g_tabname_header TYPE slis_tabname,
    g_tabname_item TYPE slis_tabname.
    data definition
    Batchinputdata of single transaction
    DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    messages of call transaction
    DATA: messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA : g_lines TYPE i.
    *Selection Screen
    TABLES : vbak,vbap.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-000.
    SELECT-OPTIONS s_vkorg FOR vbak-vkorg. " Sales Org
    SELECT-OPTIONS s_vtweg FOR vbak-vtweg. " Dist Channel
    SELECT-OPTIONS s_spart FOR vbak-spart. " Division
    SELECT-OPTIONS s_vkbur FOR vbak-vkbur. " Sales Off
    SELECT-OPTIONS s_vkgrp FOR vbak-vkgrp. " Sales Grp
    SELECT-OPTIONS s_matkl FOR vbap-matkl. " Mat Grp
    SELECT-OPTIONS s_werks FOR vbap-werks. " Plant
    SELECT-OPTIONS s_period FOR vbak-angdt. " Sales Off
    SELECTION-SCREEN END OF BLOCK b1.
    START-OF-SELECTION.
    PERFORM f_getdata.
    PERFORM f_initdata.
    END-OF-SELECTION.
    PERFORM f_createalv.
    PERFORM f_dispalv.
    *& Form f_getdata
    text
    --> p1 text
    <-- p2 text
    FORM f_getdata .
    *Sales Header
    SELECT
    vbeln
    vkorg
    vtweg
    spart
    vkbur
    vkgrp
    angdt
    bnddt
    kunnr
    INTO TABLE t_vbak
    FROM vbak
    WHERE
    vkorg IN s_vkorg " Sales Org
    AND vtweg IN s_vtweg " Dist Channel
    AND spart IN s_spart " Division
    AND vkbur IN s_vkbur " Sales Off
    AND vkgrp IN s_vkgrp " Sales Grp
    AND angdt IN s_period
    AND bnddt IN s_period
    AND auart = 'ZQMO'
    AND vbtyp = 'B'.
    *CUST NAME
    SELECT
    kunnr
    name1
    INTO TABLE t_kna1
    FROM kna1
    FOR ALL ENTRIES IN t_vbak
    WHERE
    kunnr = t_vbak-kunnr
    *Sales Item
    SELECT
    vbeln
    posnr
    matnr
    matkl
    werks
    kwmeng
    meins
    mvgr5
    INTO TABLE t_vbap
    FROM vbap
    FOR ALL ENTRIES IN t_vbak
    WHERE
    vbeln = t_vbak-vbeln
    AND matkl IN s_matkl " Mat Grp
    AND werks IN s_werks " Plant
    *Partners
    SELECT
    vbeln
    posnr
    parvw
    kunnr
    INTO TABLE t_vbpa
    FROM vbpa
    FOR ALL ENTRIES IN t_vbak
    WHERE
    vbeln = t_vbak-vbeln.
    IF t_vbpa[] IS NOT INITIAL.
    SELECT
    kunnr
    name1
    APPENDING TABLE t_kna1
    FROM kna1
    FOR ALL ENTRIES IN t_vbpa
    WHERE
    kunnr = t_vbpa-kunnr
    ENDIF.
    *Status - Sales Doc
    SELECT
    vbeln
    posnr
    gbsta
    INTO TABLE t_vbup
    FROM vbup
    FOR ALL ENTRIES IN t_vbap
    WHERE
    vbeln = t_vbap-vbeln
    AND posnr = t_vbap-posnr
    AND gbsta NE 'C'.
    SELECT
    matnr
    maktx
    INTO TABLE t_makt
    FROM makt
    FOR ALL ENTRIES IN t_vbap
    WHERE
    matnr = t_vbap-matnr
    AND spras = 'E'.
    ENDFORM. " f_getdata
    *& Form f_initdata
    text
    --> p1 text
    <-- p2 text
    FORM f_initdata .
    SORT t_vbap BY vbeln DESCENDING.
    *delete all closed stat items
    LOOP AT t_vbap INTO w_vbap.
    READ TABLE t_vbup INTO w_vbup
    WITH KEY
    vbeln = w_vbap-vbeln
    posnr = w_vbap-posnr.
    IF sy-subrc <> 0.
    DELETE t_vbap.
    CONTINUE.
    ELSE.
    READ TABLE t_makt INTO w_makt
    WITH
    KEY matnr = w_vbap-matnr.
    IF sy-subrc = 0.
    w_vbap-maktx = w_makt-maktx.
    MODIFY t_vbap FROM w_vbap.
    ENDIF.
    ENDIF.
    ENDLOOP.
    *find the total quantity
    LOOP AT t_vbap INTO w_vbap.
    w_sum-vbeln = w_vbap-vbeln.
    w_sum-kwmeng = w_vbap-kwmeng.
    COLLECT w_sum INTO t_sum.
    CLEAR w_sum.
    ENDLOOP.
    *populate header
    LOOP AT t_vbak INTO w_vbak.
    Quantity - Total
    READ TABLE t_sum INTO w_sum
    WITH KEY
    vbeln = w_vbak-vbeln.
    IF sy-subrc = 0.
    w_vbak-kwmeng = w_sum-kwmeng.
    ELSE.
    CLEAR w_vbak-kwmeng.
    ENDIF.
    UoM
    READ TABLE t_vbap INTO w_vbap
    WITH KEY
    vbeln = w_vbak-vbeln.
    IF sy-subrc = 0.
    w_vbak-meins = w_vbap-meins.
    ELSE.
    CLEAR w_vbak-meins.
    ENDIF.
    Partner
    READ TABLE t_vbpa INTO w_vbpa
    WITH KEY
    vbeln = w_vbak-vbeln
    parvw = 'WE'.
    IF sy-subrc = 0.
    w_vbak-kunwe = w_vbpa-kunnr.
    ELSE.
    CLEAR w_vbak-kunwe.
    ENDIF.
    SHIP TO PARTY NAME
    READ TABLE t_kna1 INTO w_kna1
    WITH KEY
    kunnr = w_vbak-kunwe.
    IF sy-subrc = 0.
    w_vbak-name2 = w_kna1-name1.
    ENDIF.
    CUST NAM - SOLD TO PARTY
    READ TABLE t_kna1 INTO w_kna1
    WITH KEY
    kunnr = w_vbak-kunnr.
    IF sy-subrc = 0.
    w_vbak-name1 = w_kna1-name1.
    ENDIF.
    MODIFY t_vbak FROM w_vbak.
    ENDLOOP.
    DELETE t_vbak WHERE kwmeng IS INITIAL.
    SORT t_vbak BY vbeln DESCENDING.
    SORT t_vbap BY vbeln DESCENDING posnr ASCENDING.
    ENDFORM. " f_initdata
    *& Form f_createalv
    Create Field Cat.
    --> p1 text
    <-- p2 text
    FORM f_createalv .
    g_tabname_header = 't_vbak'.
    g_tabname_item = 't_vbap' .
    CLEAR gs_keyinfo.
    gs_keyinfo-header01 = 'VBELN'.
    gs_keyinfo-item01 = 'VBELN'.
    *VBAK
    w_fieldcatalog-fieldname = 'VBELN'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Sales Document'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'VKORG'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Sales Org'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'VTWEG'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Dist Channel'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'SPART'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Division'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'VKBUR'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Sales Office'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'VKGRP'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Sales GRP'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'KUNNR'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Sold to Party'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'NAME1'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-outputlen = 35.
    w_fieldcatalog-seltext_l = 'Sold to Party Code - Name'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'KUNWE'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Ship to Party'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'NAME2'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Ship Party Code - Name'.
    w_fieldcatalog-outputlen = 35.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'KWMENG'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Quantity'.
    w_fieldcatalog-outputlen = 25.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MEINS'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'UoM'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'SALESDOCUMENT'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Document'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MESSAGE'.
    w_fieldcatalog-tabname = 't_vbak'.
    w_fieldcatalog-seltext_l = 'Log'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    *VBAP
    w_fieldcatalog-fieldname = 'POSNR'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'POS'.
    w_fieldcatalog-outputlen = 6.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MATNR'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'Material'.
    w_fieldcatalog-outputlen = 18.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MAKTX'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'Material Desc'.
    w_fieldcatalog-outputlen = 40.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MATKL'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'Material Grp'.
    w_fieldcatalog-outputlen = 9.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MVGR5'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'MCNO'.
    w_fieldcatalog-outputlen = 4.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'WERKS'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'Plant'.
    w_fieldcatalog-outputlen = 91.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'KWMENG'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'Quantity'.
    w_fieldcatalog-outputlen = 25.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    w_fieldcatalog-fieldname = 'MEINS'.
    w_fieldcatalog-tabname = 't_vbap'.
    w_fieldcatalog-seltext_l = 'UoM'.
    APPEND w_fieldcatalog TO t_fieldcatalog.
    CLEAR: w_fieldcatalog.
    LAYOUT
    w_layout-colwidth_optimize = 'X'.
    w_layout-zebra = 'X'.
    w_layout-expand_fieldname = 'EXPAND'.
    w_layout-box_fieldname = 'SEL'.
    w_layout-box_tabname = 't_vbak'.
    ENDFORM. " f_createalv
    *& Form f_dispalv
    Call ALV
    --> p1 text
    <-- p2 text
    FORM f_dispalv .
    CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    i_callback_pf_status_set = 'SET_PF_STATUS'
    i_callback_user_command = 'USER_COMMAND'
    is_layout = w_layout
    it_fieldcat = t_fieldcatalog
    IT_EXCLUDING =
    IT_SPECIAL_GROUPS =
    IT_SORT =
    IT_FILTER =
    IS_SEL_HIDE =
    I_SCREEN_START_COLUMN = 0
    I_SCREEN_START_LINE = 0
    I_SCREEN_END_COLUMN = 0
    I_SCREEN_END_LINE = 0
    I_DEFAULT = 'X'
    I_SAVE = ' '
    IS_VARIANT =
    IT_EVENTS =
    IT_EVENT_EXIT =
    i_tabname_header = g_tabname_header
    i_tabname_item = g_tabname_item
    is_keyinfo = gs_keyinfo
    TABLES
    t_outtab_header = t_vbak
    t_outtab_item = t_vbap
    EXCEPTIONS
    program_error = 1
    OTHERS = 2
    IF sy-subrc <> 0.
    ENDIF.
    ENDFORM. " f_dispalv
    *& Form set_pf_status
    PF stat
    -->RT_EXTAB text
    FORM set_pf_status USING rt_extab TYPE slis_t_extab.
    SET PF-STATUS 'ZINSD_QUOT_CONT_ST'.
    ENDFORM. "set_pf_status
    *& Form user_command
    Process List UCOMM
    -->R_UCOMM text
    -->RS_SELFIELD text
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
    REFRESH t_update.
    IF r_ucomm = 'EXIT'.
    LEAVE PROGRAM.
    ENDIF.
    IF r_ucomm = 'EXECUTE'.
    LOOP AT t_vbak INTO w_update
    WHERE
    sel = 'X'
    AND salesdocument = ' '.
    APPEND w_update TO t_update.
    ENDLOOP.
    IF t_update[] IS NOT INITIAL.
    LOOP AT t_update INTO w_update.
    PERFORM f_bapi_contract_createfromdata USING w_update.
    PERFORM f_bdc_contract_from_quotation.
    MODIFY t_update FROM w_update.
    ENDLOOP.
    ELSE.
    ENDIF.
    PERFORM f_dispalv.
    ENDIF.
    IF r_ucomm = '&IC1'.
    IF rs_selfield-sel_tab_field = 't_vbak-VBELN'.
    SET PARAMETER ID 'AGN' FIELD rs_selfield-value.
    CALL TRANSACTION 'VA23' AND SKIP FIRST SCREEN.
    ENDIF.
    IF rs_selfield-sel_tab_field = 't_vbak-SALESDOCUMENT' AND
    rs_selfield-value NE ' '.
    SET PARAMETER ID 'KTN' FIELD rs_selfield-value.
    CALL TRANSACTION 'VA43' AND SKIP FIRST SCREEN.
    ENDIF.
    ENDIF.
    ENDFORM. "user_command
    *& Form F_BAPI_CONTRACT_CREATEFROMDATA
    BAPI CALL
    -->P_W_UPDATE text
    FORM f_bapi_contract_createfromdata USING p_w_update STRUCTURE w_update .
    DATA : w_contract_header_in TYPE bapisdhd1 ,
    w_contract_header_inx TYPE bapisdhd1x ,
    t_contract_items_in TYPE TABLE OF bapisditm WITH HEADER LINE,
    t_contract_items_inx TYPE TABLE OF bapisditmx WITH HEADER LINE,
    t_contract_partners TYPE TABLE OF bapiparnr WITH HEADER LINE,
    t_return TYPE TABLE OF bapiret2 WITH HEADER LINE.
    CLEAR : w_contract_header_in,
    w_contract_header_inx.
    REFRESH : t_contract_items_in,
    t_contract_items_inx,
    t_contract_partners,
    t_return.
    w_contract_header_in-doc_type = 'ZCNT'.
    w_contract_header_in-sales_org = p_w_update-vkorg.
    w_contract_header_in-distr_chan = p_w_update-vtweg.
    w_contract_header_in-division = p_w_update-spart.
    w_contract_header_in-ct_valid_f = p_w_update-angdt.
    w_contract_header_in-ct_valid_t = p_w_update-bnddt.
    w_contract_header_inx-doc_type = 'X'.
    w_contract_header_inx-sales_org = 'X'.
    w_contract_header_inx-distr_chan = 'X'.
    w_contract_header_inx-division = 'X'.
    w_contract_header_inx-ct_valid_f = 'X'.
    w_contract_header_inx-ct_valid_t = 'X'.
    LOOP AT t_vbap INTO w_vbap
    WHERE
    vbeln = p_w_update-vbeln.
    t_contract_items_in-material = w_vbap-matnr.
    t_contract_items_in-plant = w_vbap-werks.
    t_contract_items_in-target_qty = w_vbap-kwmeng.
    t_contract_items_in-target_qu = w_vbap-meins.
    t_contract_items_in-ref_doc = w_vbap-vbeln.
    t_contract_items_in-ref_doc_it = w_vbap-posnr.
    t_contract_items_in-ref_doc_ca = 'B'.
    t_contract_items_in-prc_group5 = w_vbap-mvgr5.
    t_contract_items_inx-material = 'X'.
    t_contract_items_inx-plant = 'X'.
    t_contract_items_inx-target_qty = 'X'.
    t_contract_items_inx-target_qu = 'X'.
    t_contract_items_inx-ref_doc = 'X'.
    t_contract_items_inx-ref_doc_it = 'X'.
    t_contract_items_inx-ref_doc_ca = 'X'.
    t_contract_items_inx-prc_group5 = 'X'.
    APPEND t_contract_items_in.
    APPEND t_contract_items_inx.
    ENDLOOP.
    LOOP AT t_vbpa INTO w_vbpa
    WHERE
    vbeln = p_w_update-vbeln.
    AND posnr = w_vbap-posnr.
    t_contract_partners-partn_role = w_vbpa-parvw.
    t_contract_partners-partn_numb = w_vbpa-kunnr.
    t_contract_partners-itm_number = w_vbpa-posnr.
    APPEND t_contract_partners.
    ENDLOOP.
    CALL FUNCTION 'BAPI_CONTRACT_CREATEFROMDATA'
    EXPORTING
    SALESDOCUMENTIN =
    contract_header_in = w_contract_header_in
    contract_header_inx = w_contract_header_inx
    SENDER =
    BINARY_RELATIONSHIPTYPE = ' '
    INT_NUMBER_ASSIGNMENT = ' '
    BEHAVE_WHEN_ERROR = ' '
    LOGIC_SWITCH =
    TESTRUN =
    CONVERT = ' '
    IMPORTING
    salesdocument = p_w_update-salesdocument
    TABLES
    return = t_return
    contract_items_in = t_contract_items_in
    contract_items_inx = t_contract_items_inx
    contract_partners = t_contract_partners
    CONTRACT_CONDITIONS_IN =
    CONTRACT_CONDITIONS_INX =
    CONTRACT_CFGS_REF =
    CONTRACT_CFGS_INST =
    CONTRACT_CFGS_PART_OF =
    CONTRACT_CFGS_VALUE =
    CONTRACT_CFGS_BLOB =
    CONTRACT_CFGS_VK =
    CONTRACT_CFGS_REFINST =
    CONTRACT_DATA_IN =
    CONTRACT_DATA_INX =
    CONTRACT_TEXT =
    CONTRACT_KEYS =
    EXTENSIONIN =
    PARTNERADDRESSES =
    IF p_w_update-salesdocument NE ' ' .
    p_w_update-message = 'SUCCESS'.
    ELSE.
    READ TABLE t_return INDEX 1.
    p_w_update-message = t_return-message.
    ENDIF.
    READ TABLE t_vbak INTO w_vbak
    WITH KEY
    vbeln = p_w_update-vbeln.
    IF sy-subrc = 0.
    MODIFY t_vbak INDEX sy-tabix FROM p_w_update .
    ENDIF.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    EXPORTING
    wait = 'X'.
    ENDFORM. " F_BAPI_CONTRACT_CREATEFROMDATA
    *& Form f_bdc_contract_from_Quotation
    BAPI CALL
    -->P_W_UPDATE text
    FORM f_bdc_contract_from_quotation.
    DATA : l_date TYPE char10.
    REFRESH : messtab, bdcdata.
    CLEAR : messtab, bdcdata.
    PERFORM bdc_dynpro USING 'SAPMV45A' '0101'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=COPY'.
    PERFORM bdc_field USING 'VBAK-AUART'
    'ZCNT'.
    PERFORM bdc_dynpro USING 'SAPLV45C' '0100'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=RANG'.
    PERFORM bdc_dynpro USING 'SAPLV45C' '0100'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=UEBR'.
    PERFORM bdc_field USING 'LV45C-VBELN'
    w_update-vbeln.
    PERFORM bdc_dynpro USING 'SAPMV45A' '4001'.
    PERFORM bdc_field USING 'BDC_OKCODE'
    '=SICH'.
    IF NOT w_update-angdt IS INITIAL.
    CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
    EXPORTING
    date_internal = w_update-angdt
    IMPORTING
    date_external = l_date
    EXCEPTIONS
    date_internal_is_invalid = 1
    OTHERS = 2.
    PERFORM bdc_field USING 'VBAK-GUEBG'
    l_date.
    ENDIF.
    IF NOT w_update-bnddt IS INITIAL.
    CALL FUNCTION 'CONVERT_DATE_TO_EXTERNAL'
    EXPORTING
    date_internal = w_update-bnddt
    IMPORTING
    date_external = l_date
    EXCEPTIONS
    date_internal_is_invalid = 1
    OTHERS = 2.
    PERFORM bdc_field USING 'VBAK-GUEEN'
    l_date.
    ENDIF.
    CALL TRANSACTION 'VA41' USING bdcdata
    MODE 'E'
    UPDATE 'S'
    MESSAGES INTO messtab.
    break abap.
    READ TABLE messtab WITH KEY msgid = 'V1'
    msgnr = '311'.
    IF sy-subrc EQ 0.
    w_update-message = 'SUCCESS'.
    w_update-salesdocument = messtab-msgv2.
    ELSE.
    READ TABLE messtab WITH KEY msgtyp = 'E'.
    IF sy-subrc EQ 0.
    DATA : l_info TYPE einfo.
    CLEAR l_info.
    l_info-msgid = messtab-msgid.
    l_info-msgty = messtab-msgtyp.
    l_info-msgno = messtab-msgnr.
    l_info-msgv1 = messtab-msgv1.
    l_info-msgv2 = messtab-msgv2.
    l_info-msgv3 = messtab-msgv3.
    l_info-msgv4 = messtab-msgv4.
    CALL FUNCTION 'MESSAGE_GET_TEXT'
    EXPORTING
    ieinfo = l_info
    ilangu = sy-langu
    IMPORTING
    etext = w_update-message
    EXCEPTIONS
    no_t100_found = 1
    OTHERS = 2.
    ENDIF.
    ENDIF.
    READ TABLE t_vbak INTO w_vbak WITH KEY vbeln = w_update-vbeln.
    IF sy-subrc = 0.
    MODIFY t_vbak INDEX sy-tabix FROM w_update transporting message
    salesdocument.
    ENDIF.
    ENDFORM. " f_bdc_contract_from_Quotation
    Start new screen *
    FORM bdc_dynpro USING program dynpro.
    CLEAR bdcdata.
    bdcdata-program = program.
    bdcdata-dynpro = dynpro.
    bdcdata-dynbegin = 'X'.
    APPEND bdcdata.
    ENDFORM. "bdc_dynpro
    Insert field *
    FORM bdc_field USING fnam fval.
    CLEAR bdcdata.
    bdcdata-fnam = fnam.
    bdcdata-fval = fval.
    APPEND bdcdata.
    ENDFORM. "bdc_field
    Also, check the following:
    http://www.sapdevelopment.co.uk/reporting/alv/alvtree.htm
    You can get help as programs also.
    hope this helps.
    cheers,
    Hema.

  • [SOLVED] How to add keyboard shortcuts in XFCE?

    I'm giving XFCE a try lately after all of the changes I'm seeing, I'm trying to add a new shortcut to ease some tasks but I don't have a clue on how to do it.
    I go to Settings -> Keyboard and there to "Application shortcuts". Then I  select to add a new one and point to the script I want to run, but I don't have a clue on how to select the shortcut. I've tried pressing the keys I want to bind, but no way.
    This is what I'm seeing:
    How to choose the actual shortcut?
    Last edited by KaoDome (2012-05-11 13:16:03)

    It is the next screen   Pick the command, click OK.  It then throws up a box telling you to press the key combination.  It will show as you push meta, shift and control modifiers.  When you hit a character that generates a keystroke, it saves it, along with the modifiers.

  • How to add vertical scrollbar to a tree region

    Hi,
    I have a page containing two regions. The first is a tree region displayed on the left hand side of the page. The second is form region displayed to the right of the tree, showing details relating to the selected node from the tree.
    How can I add a vertical scrollbar to the tree, so that I can I browse all nodes in the tree without affecting the position of the form? Currently, if my tree extends beyond the height of the page I have to use the page vertical scrollbar to view the bottom of the tree. This obviously means that the form is no longer in view.
    Thanks
    Andrew.

    Hi Andrew,
    You can't add a scrollbar directly to the region's contents, but you can wrap the contents within a DIV tag.
    In the Region Header add in:
    &lt;DIV style="height:500px; overflow:auto"&gt;
    In the Region Footer add in:
    &lt;/DIV&gt;
    Obviously, change the height value to suit your needs.
    Regards
    Andy

  • How to add access control to a WebService in Weblogic

    Hello experts,
    I developed a Web Service and I deployed it on Weblogic: it reads a SOAP request and, according to the input, it performs some actions.
    Now we would need to implement an access control on it, we read some information in the documentation we find on google, but none of these was exhaustive: did anyone of you implemented already an access control policy?
    And how did you do?
    Thank you

    Hello Arunkumar,
    my JDev is 11.1.1.5.0.
    I checked the documentation, but it's not clear for me in which of those scenarios we are: we have an Oracle Service Bus that needs to contact an application, but we don't want to grant a direct access to it.
    So the bus is calling the web service that it's triggering the events on the application.
    Everything works fine, but we need now to put at least an access control method, in order to avoid that a simple call from SoapUI may triggers the operations on our Web Service.

  • How 2 implement keyboard controls for 2 players simultaneusly in java game?

    I ' m making this fighting game . 2 players can fight at a time. I got my 2 characters on the screen at the same time. The 1st player should be controlled with Arrow keys and number key pad.
    The 2nd player should be controlled with Z for left C for RIGHT , S for UP( jump), X for duck. and then use BNM, GHJ and TYU to do the same as the number keys for the first player
    When i tried this , it worked if i performed moves from player 1 , then trie d player 2,, but i noticed when i pushed buttons at the same time ( i pushed one key from player 1 's side of the keyboard and one key from player 2's side) it did't work because no move was executed. And i know it's because i'm pushing 2 keys at once . so one character sees that i'm pushing 2 keys, but he doesn't know what to do cause i didn't make a case of pushing 2 keys that would move him and another character.
    So i have this in keyDown()
    //THIS IS FOR 1 PLAYER MODE : you against enemy
    switch( key){
    case Even.UP:
    if( player1 is michaelCharacter ){
    michaelCharacter.jump()
    else if( player1 is johnsonCharacter){
    johnsonCharacter.jump();
    break;
    etcc... all player 1 keys in this way, acconrding to which character he chose to play with
    //then i have this swich that supposedly is used if there is a second player
    if( gameType = 2Player mode ){
    switch( key ){
    case 's':
    if( player2 = michaelChacter)
    michaelCharacter.jump():
    if( player2 = johnsonCharacter)
    johnsoncharacter.jump();
    break;
    //etc
    So that works if each character does his move But there is no overlap of moves, that is you don't have player1 and player2 executing a move at the same time.
    well, how would i do it? Is it possible ?

    Hi,
    It's bit tricky to do check keyboard simultaneously...
    you need to check KeyPressed() and KeyReleased(), and do a "log key-event history" to find out what keys are still in pressed.
    alternatively,
    If you don't mind, you can use Fly game library...
    initialisation part:
    // initialisation & make game screen resolution to 800x600
    Game g = new Game();
    g.init(800,600,false);
    ...and then on your key trapping logic, just do a standard logic. I'm surely it will works:
    if (g.getKeyboard().isKeyPressed(KeyEvent.VK_UP)) {
    if (g.getKeyboard().isKeyPressed(KeyEvent.VK_DOWN)) {
    }the library can be downloaded here:
    [Fly Game Engine|http://fly.engine.googlepages.com]
    Just follow the tutorial / download example for more info....
    good luck

  • How to add keyboard interaction?

    I got 16 different buttons in this application, each button playing different kind of sound. Currently i only able to use mouse click to start playing sound, and click again to stop, but now i wish to add shortcut key to access those track buttons, like pressing "q" for track 1, "w" for track 2. Pressing "q" for the first time will start the sound and animation, press again will stop the sound and animation. Currently I've implemented this code, there are no errors but it won't work somehow, what is the problem?
    private var _ambientTracks:Array = [ambient1, ambient2, ambient3, ambient4];
    private var _effectTracks:Array = [effect1, effect2, effect3, effect4];
    private var _melodyTracks:Array = [melody1, melody2, melody3, melody4];
    private var _beatTracks:Array = [beat1, beat2, beat3, beat4];
    //handle click on track invoke  start / stop functions
    private function onTrackClicked(event:MouseEvent):void {
        var track:Sprite = event.currentTarget as Sprite;
        var trackName:String = track.name;
        if (trackName in _playingTracks) {
            stopTrack(track);
            delete _playingTracks[trackName];
        } else {
            startTrack(track);
            _playingTracks[trackName] = trackName;
    //starts track animation and dispatch event for TrackMixer
    private function startTrack(track:Sprite):void {
        Actuate.tween(track, 0.6, {alpha: 0.3}).reflect().repeat();
        dispatchEvent(new ObjectEvent(START_TRACK, track.name, true));
    //stop track animation and dispatch event for TrackMixer
    private function stopTrack(track:Sprite):void {
        Actuate.stop(track, "alpha");
        track.alpha = 1;
        dispatchEvent(new ObjectEvent(STOP_TRACK, track.name, true));
    //trigger keyboard shortcut
       public function setup(stage:Stage):void {
            stage.addEventListener(KeyboardEvent.KEY_DOWN, keyDown);
        private var bool:Boolean = false;
        private function keyDown(event:KeyboardEvent):void {
            var track1:Sprite = Sprite(String(ambient1));
            if (event.keyCode == 81) {
                if (bool == false) {
                    startTrack(Sprite(track1));
                    _playingTracks[track1];
                    bool = true;
                } else {
                    if (bool == true) {
                        stopTrack(Sprite(track1));
                        delete _playingTracks[track1];
                        bool = false;

    Actually i just want to addEventListener to the keyDown and define the keyDown function, even i use trace it also doesn't show up anything, that mean the keyCode == 81 is actually not working, do you have any idea or other way to make sure the keyCode is working?

  • How to add keyboard layout and define shortcut to switch layouts

    Hello there people of Arch!
    How can i add greek layout to my laptop and how can i set "alt+shift" as the shortcut to switch between layouts?
    I tried to search but i couldn't find something useful!

    Inxsible wrote:
    sepuku wrote:
    Inxsible wrote:What I gave you there was the guide itself.
    What you gave me there is something generic not a guide(telling do "this" and "that" without telling how "this" and "that" is actually done is not a guide).Since i ask you how i'm supposed to do something am asking for specific info.
    I'm using gnome.Is there a way to do it using the graphical environment?I don't have time this days to learn writing scripts cause i really need the greek layout for my studies and there's little time.
    Thank you again for your reply!
    Aah !!
    Why didn't you say you wanted everything handed out to you on a platter !!!
    Aaaah why didn't you say you are full of complexes?Thank you for your guide!That really helped me!I just asked if there's is guide in the forum 'cause i searched and couldn't find any info.And no what you gave me is not a guide.Could you just answer this without pretending the smart?Or this is just to difficult?Well anyway no hard feelings I don't care.
    Am not going to reply to anything else you say cause you are ironic!I'll just wait if there is a more polite answer!
    Peace to your complexes.

  • How do we regain control over our Time Machine drive revisited

    +I posted this question as two posts over in the+ *Intel-based iMac* +forum but I think I may have put it in the wrong place. Please forgive me if you've already read this over there. If someone tells me how to delete a post I will or perhaps a Moderator can/will do it for me.+
    +O M Oz+
    Recently our 2.66 Intel Core 2 Duo started into a cycle of rebooting itself during the startup sequence. Eventually we decided to Restore the disk from the Time Machine Backup which is kept on an external 1TB La Cie drive.
    After the Restore was complete; Time Machine attempted to do a backup run but we got an error message saying the drive could not be accessed to write the backup. Only the very last backup could be seen from the Star Wars screen. The icon had changed to the generic usb drive icon with a padlock.
    I attempted a Full Reset of Time Machine by deleting the Preferences as described in the Troubleshooting thread. Since then we have not been able to access the Time Machine drive at all with either Time Machine or Finder.
    A check of Sharing and Permissions shows that all users are listed having custom access which seems to mean you cannot read or write the drive. Disk Utility reports the drive as seeming to be okay when run in either Verify or Repair modes.
    I have also attempted to run the sudo command from Terminal with no success. I'm running out of ideas. I don't want to do a low level reformat of this drive yet because it IS a backup drive and I'm not clear on the status of the restored drive.
    *Next Day after sleeping on it, I posted...*
    I've been thinking it over carefully and think I might have done the damage myself.
    Before things went pear shaped I needed to back up the 80GB Hard Drive for a laptop but was just a little short of space on the 1TB drive. In Finder I went into the backup.backup folder and deleted the oldest backup under Finder.
    From what I NOW know of the data structures of Time Machine I suspect this would have also removed the backups of whatever it is that logs the various permissions. Am I right?
    If I am right can I recover from this and still save the the older backups?
    Old Mac Oz

    I half expected you would be the first to reply, Pondini
    Pondini wrote:
    Old Mac Oz wrote:
    . . . The icon had changed to the generic usb drive icon with a padlock . . .
    . . . *we are not able to access* the Time Machine drive at all *with either Time Machine or Finder*. > >. . .From what I NOW know of the data structures of Time Machine I suspect this would have also removed the backups of whatever it is that logs the various permissions. Am I right?
    Not exactly, but yes, that can damage your backups.
    Try to repair them, per #A5 in the Troubleshooting Tip. If that succeeds, your backups are probably ok. If not, It's possible that +Disk Warrior+ can. It's expensive (about $100), and probably a good investment for the future, but there's no guarantee.
    I have already tried that but Disk Utility reports that there is nothing wrong with the disk; clearly that is wrong. I cannot reset the permissions to let me (as the Administrator) even read the disk
    If that succeeds, and the 80 GB backup from another Mac is still there, you can delete it via Time Machine. See #12 in the Frequently Asked Questions *User Tip,* also at the top of this forum.
    The 80GB backup was a simple Finder copy from the extracted Hard Disk onto my Time Machine disk, just simply regaining Finder access will allow me to rescue that
    Also, everything you restored to your internal HD is considered as new, so it must be backed-up again. That will, of course, take a lot of space. It's possible that Time Machine deleted a large number of your old backups to make room. If it didn't, because it couldn't do the backup, it will when it can.
    I understand that is what should happen.
    So . . . try the repair. If that works, see if the old backups are still there, and also see how much space is available on your TM drive. If there's not enough room for a new full backup of your internal HD, plus 20% for workspace, TM will have to delete some old backups. If the disk isn't well over twice the size of the data it's backing-up, your best bet may be to erase the drive and let Time Machine start fresh.
    I am coming to that conclusion. The drive is plenty big enough, it's a Terabyte backing up a 300GB disk. Activity Monitor and Finder using +Get Info+ both tell me the drive has 931.39GB available with about 907GB used, we just cannot access any of the data this usage represents due to the locked permissions.
    Since I last posted I have also tried resetting PRAM and running sudo from Terminal as per #C5 in the Troubleshooting Tip to reset the permissions to no avail.
    The Restore has not been a success so I am probably going to have to wipe the whole computer and rebuild the system, something I am understandably unwilling to do.
    I asked here because the problem seems to be related to a recent Time Machine run and the drive I used. Am I asking my question in the correct forum?
    Thanks for your input so far.
    Old Man Oz

  • How to add 3rd child in simple tree.

    Dear All
    I have been able to add root, child1 and child2 using class CL_GUI_SIMPLE_TREE.
    But when i try to add the child3, it gives an error 'Invalid access to database interface'. Please do let me know if there is any constraint in using CL_GUI_SIMPLE_TREE.

    Dear Walter
    Please find below the code.
    SELECT * FROM SFLIGHT INTO TABLE IT_SFLIGHT.
    IF CUST_CONTAINER IS INITIAL.
    CREATE OBJECT CUST_CONTAINER EXPORTING CONTAINER_NAME = 'CCPAR'.
    CREATE OBJECT EASY_SPLITTER EXPORTING PARENT = CUST_CONTAINER
                                     ORIENTATION = 1.
    CONTAINER1 = EASY_SPLITTER->TOP_LEFT_CONTAINER.
    CONTAINER2 = EASY_SPLITTER->BOTTOM_RIGHT_CONTAINER.
    CREATE OBJECT ALV EXPORTING I_PARENT = CONTAINER2.
    CREATE OBJECT TREE EXPORTING PARENT = CONTAINER1
                    NODE_SELECTION_MODE = CL_GUI_SIMPLE_TREE=>NODE_SEL_MODE_SINGLE.
    EVENT-EVENTID = CL_GUI_SIMPLE_TREE=>EVENTID_NODE_DOUBLE_CLICK.
    EVENT-APPL_EVENT = 'X'. " process PAI if event occurs
    APPEND EVENT TO EVENTS.
    CALL METHOD TREE->SET_REGISTERED_EVENTS EXPORTING EVENTS = EVENTS.
    IF APPLICATION IS INITIAL.
    CREATE OBJECT APPLICATION.
    SET HANDLER APPLICATION->HANDLE_DOUBLE_CLICK FOR TREE.
    ENDIF.
    PERFORM BUILD_TABLE USING NODE_TABLE.
      CALL METHOD TREE->ADD_NODES
        EXPORTING
          TABLE_STRUCTURE_NAME = 'MTREESNODE'
          NODE_TABLE           = NODE_TABLE
        EXCEPTIONS
          FAILED                         = 1
          ERROR_IN_NODE_TABLE            = 2
          DP_ERROR                       = 3
          TABLE_STRUCTURE_NAME_NOT_FOUND = 4
          OTHERS                         = 5.
      IF SY-SUBRC <> 0.
       MESSAGE A000.
      ENDIF.
    ENDIF.
    FORM BUILD_TABLE  USING  P_NODE_TABLE TYPE NODE_TABLE_TYPE.
    DATA: L_CARRTEXT TYPE TM_NODETXT,
          L_CONNTEXT TYPE TM_NODETXT,
          L_FLTEXT TYPE TM_NODETXT.
    DATA : NODE TYPE MTREESNODE.
    SORT IT_SFLIGHT BY CARRID CONNID FLDATE.
    LOOP AT IT_SFLIGHT INTO  WA_SFLIGHT.
    AT FIRST.
      NODE-NODE_KEY = 'Root'.   "#EC NOTEXT
                                " Key of the node
      CLEAR NODE-RELATKEY.      " Special case: A root node has no parent
      CLEAR NODE-RELATSHIP.     " node.
      NODE-HIDDEN = ' '.        " The node is visible,
      NODE-DISABLED = ' '.      " selectable,
      NODE-ISFOLDER = 'X'.      " a folder.
      CLEAR NODE-N_IMAGE.       " Folder-/ Leaf-Symbol in state "closed":
                                " use default.
      CLEAR NODE-EXP_IMAGE.     " Folder-/ Leaf-Symbol in state "open":
                                " use default
      CLEAR NODE-EXPANDER.      " see below.
      NODE-TEXT = 'CARRID'.
      APPEND NODE TO NODE_TABLE.
    ENDAT.
    AT NEW CARRID.
      Node with key 'Child1'
      NODE-NODE_KEY = WA_SFLIGHT-CARRID. "#EC NOTEXT
                                " Key of the node
      " Node is inserted as child of the node with key 'Root'.
      NODE-RELATKEY = 'Root'.
      NODE-RELATSHIP = CL_GUI_SIMPLE_TREE=>RELAT_LAST_CHILD.
      NODE-HIDDEN = ' '.
      NODE-DISABLED = ' '.
      NODE-ISFOLDER = 'X'.
      CLEAR NODE-N_IMAGE.
      CLEAR NODE-EXP_IMAGE.
      NODE-EXPANDER = ' '. " The node is marked with a '+', although
                           " it has no children. When the user clicks on the
                           " + to open the node, the event
                           " expand_no_children is fired. The programmer can
                           " add the children of the
                           " node within the event handler of the
                           " expand_no_children event
                           " (see method handle_expand_no_children
                           " of class lcl_application)
      NODE-TEXT = WA_SFLIGHT-CARRID.
      APPEND NODE TO NODE_TABLE.
    ENDAT.
    AT NEW CONNID.
      Node with key 'Child2'
      NODE-NODE_KEY = WA_SFLIGHT-CONNID. "#EC NOTEXT
                                " Key of the node
      " Node is inserted as child of the node with key 'Root'.
      NODE-RELATKEY = WA_SFLIGHT-CARRID.
      NODE-RELATSHIP = CL_GUI_SIMPLE_TREE=>RELAT_LAST_CHILD.
      NODE-HIDDEN = ' '.
      NODE-DISABLED = ' '.
      NODE-ISFOLDER = 'X'.
      CLEAR NODE-N_IMAGE.
      CLEAR NODE-EXP_IMAGE.
      NODE-EXPANDER = ' '. " The node is marked with a '+', although
                           " it has no children. When the user clicks on the
                           " + to open the node, the event
                           " expand_no_children is fired. The programmer can
                           " add the children of the
                           " node within the event handler of the
                           " expand_no_children event
                           " (see method handle_expand_no_children
                           " of class lcl_application)
      NODE-TEXT = WA_SFLIGHT-CONNID.
      APPEND NODE TO NODE_TABLE.
    ENDAT.
      Node with key 'Child3'
      NODE-NODE_KEY = WA_SFLIGHT-FLDATE. "#EC NOTEXT
                                " Key of the node
      " Node is inserted as child of the node with key 'Root'.
      NODE-RELATKEY = WA_SFLIGHT-CONNID.
      NODE-RELATSHIP = CL_GUI_SIMPLE_TREE=>RELAT_LAST_CHILD.
      NODE-HIDDEN = ' '.
      NODE-DISABLED = ' '.
      NODE-ISFOLDER = ' '.
      CLEAR NODE-N_IMAGE.
      CLEAR NODE-EXP_IMAGE.
      NODE-EXPANDER = ' '. " The node is marked with a '+', although
                           " it has no children. When the user clicks on the
                           " + to open the node, the event
                           " expand_no_children is fired. The programmer can
                           " add the children of the
                           " node within the event handler of the
                           " expand_no_children event
                           " (see method handle_expand_no_children
                           " of class lcl_application)
      NODE-TEXT = WA_SFLIGHT-FLDATE.
      APPEND NODE TO NODE_TABLE.
    ENDLOOP.
    Message was edited by:
            Madhu Shankar Nair

  • How to set the control-on hierarchical tree nodes

    Hi,
    I have created form in which at the left it has hierarchical tree structure(BOM) and towards the right it brings up the query results for selected node.
    Now, I have a button upon clicking which I navigate to the root node by issuing
    "Ftree.set_Tree_selection(htree, 1, Ftree.select_on);".
    But, it cannot automatically run the ' when-tree-node-selected' trigger '.
    any solution???
    Its really urgent.I have a customer demo on monday.
    Please help me asap.
    regards,
    Nagadeep.

    Hello Nagadeep,
    couldn't you just put the code from the trigger into a procedure
    and run that after the navigation to the item?
    Just a thought,
    Bernd
    The docs state that:
    No programmatic action will cause the When-Tree-Node-Selected trigger to fire. Only end-user action will generate an event.
    Probably due to performance reasons.
    Bernd
    Message was edited by:
    Bernd Prechtl

  • How to add a report to HR Report tree

    Hello Friends,
                         I need to add a report to HR Report tree.
    Guide me how to do it.
    Cheers
    Senthil

    Use transaction SE43 and SE43N.
    Check this threads
    How to add a report into the tree??
    Adding report/program to Report Tree
    Manoj.

  • How to add document navigator control into a plug-in window?

    I develop a filter plug-in for Photohsop CS2, but I wonder how to add navigator controll in the plug-in window. The navigator works int the same way like Photoshop navigator - moving cursor on the navigator makes the image scroll in the main previes. I want to have both, the navigator and a main preview window in the filter plug-in window. I saw it many times, however, I did not find example in Photoshop CS2 filter SDK.
    If somebody could point me to a resource, that could get me to the right track, i would be glad.
    Thanks
    Rene.

    Chris hello,
    It is good to know that plugins can not control the docunment view in Photoshop. However, my idea was to have preview in Photoshop plug-in window, and then to have small navigator that would scroll the preview. Exactly like on this Photoshop plug-in:
    http://data.unipixels.com/screenshot.jpg
    Please notice tha navigator on the right side of the window. Moving the red rectangle in it will scroll the middle preview window.
    With regards,
    Rene.

Maybe you are looking for

  • Sharing music btwn two separate computers

    hi i have a computer with my itunes library and the internet. my brother has a computer that is not connected on a network where he has his itunes for his nano. neither of us have burners. how would we share music?

  • How to group values in a column in ALV Grid

    Hi ,     i have got a report layout like below.       1   4       1   5       1   6       2   7       2   8       2   8 now i want to group the 1st column like below      1  4         5         6      2  7         8         8   How can i get this in

  • Is there a discount for educators with regards to a developers licence?

    Hi, i teach computer science, would like to start developing apps for iPhone with my students, was wondering if there was a discount available for teachers?

  • Many websites will not play flash video

    Really hoping for help with this. Most sites won't play flash video (can't remember all of them, but they include BBC, CBC, & major online news & business sites). I don't think it's a site problem. [YouTube works]. Safari version is current. "Block p

  • Export With Preset to X-Rite problem

    Using LR 4; first time using LR at all. I did one "Export With Preset to X-Rite" and it worked. Now, with different lighting, I tried to Export with Preset and it doesn't give me the option for a new name, it just asks if I want to overwrite the exis