F4 Help for Training Event -Tree structure like in PSV2

Hi,
There is any function module to give the F4 help in custome development for Training Event like Tree structure in PSV2.

Check AL S's response here for how to do this. CVI 6.0 does not have a native Tree control. This was introduced with CVI 7.0.
Bilal Durrani
NI

Similar Messages

  • Legacy data upload for Training & Event Management

    As per the requirement, the legacy /history data for training events is to be uploaded in the system. To start the process the data templates were prepared for uploading training objects like D (Business Event Group), L (Business Event Type) and E (Business Event) and these were uploaded. Also the relationships A003 between D & L and A020 between E & D were also maintained. As a part of training history the attendees were also maintained (uploaded) using the relationship A025 between E & P objects. However when we go to PSV2, then the tree structure does not reflect the name of the person who attended the event.
    Please suggest and advice.

    Hi Nitin,
    I have a query regarding the Legacy data. I wanted to ask you that how did you structure the Historical BEG and BET.
    Did you create different BEG for the Current and the Legacy data.
    But in that case there could be BET's common in both the current and legacy data with different object ids
    For e.g. Under Current BEG and Historical BEG  I may have a BET Technical Programmes with diffrent Ids say 60000000 and 60987655. This may create a problem when running reports.
    Pls tell me strategy that you have used for creating the catalog.
    Regards
    Yashika Kaka

  • How to get Text for nodes in Tree Structure

    Hi Friends,
    How to get Text for nodes in Tree Structure
    REPORT  YFIIN_REP_TREE_STRUCTURE  no standard page heading.
                       I N I T I A L I Z A T I O N
    INITIALIZATION.
    AUTHORITY-CHECK OBJECT 'ZPRCHK_NEW' :
                      ID 'YFIINICD' FIELD SY-TCODE.
      IF SY-SUBRC NE 0.
        MESSAGE I000(yFI02) with SY-TCODE .
        LEAVE PROGRAM.
      ENDIF.
    class screen_init definition create private.
    Public section
      public section.
        class-methods init_screen.
        methods constructor.
    Private section
      private section.
        data: container1 type ref to cl_gui_custom_container,
              container2 type ref to cl_gui_custom_container,
              tree type ref to cl_gui_simple_tree.
        methods: fill_tree.
    endclass.
    Class for Handling Events
    class screen_handler definition.
    Public section
      public section.
        methods: constructor importing container
                   type ref to cl_gui_custom_container,
                 handle_node_double_click
                   for event node_double_click
                   of cl_gui_simple_tree
                   importing node_key .
    Private section
      private section.
    endclass.
    *&                        Classes implementation
    class screen_init implementation.
    *&                        Method INIT_SCREEN
      method init_screen.
        data screen type ref to screen_init.
        create object screen.
      endmethod.
    *&                        Method CONSTRUCTOR
      method constructor.
        data: events type cntl_simple_events,
              event like line of events,
              event_handler type ref to screen_handler.
        create object: container1 exporting container_name = 'CUSTOM_1',
                       tree exporting parent = container1
                         node_selection_mode =
                cl_gui_simple_tree=>node_sel_mode_multiple.
        create object: container2 exporting container_name = 'CUSTOM_2',
        event_handler exporting container = container2.
    event-eventid = cl_gui_simple_tree=>eventid_node_double_click.
        event-appl_event = ' '.   "system event, does not trigger PAI
        append event to events.
        call method tree->set_registered_events
             exporting events = events.
        set handler event_handler->handle_node_double_click for tree.
         call method: me->fill_tree.
      endmethod.
    *&                        Method FILL_TREE
      method fill_tree.
        data: node_table type table of abdemonode,
              node type abdemonode.
    types:    begin of tree_node,
              folder(50) type c,
              tcode(60) type c,
              tcode1(60) type c,
              tcode2(60) type c,
              text(60) type c,
              text1(60) type c,
              text2(60) type c,
              end of tree_node.
      data:  wa_tree_node type tree_node,
                t_tree_node type table of tree_node.
    wa_tree_node-folder = text-001.
    wa_tree_node-tcode  = text-002.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-003.
    wa_tree_node-text1 =  'GR/IR aging'.
    wa_tree_node-tcode2 = text-004.
    wa_tree_node-text2 =  'Bank Balance'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    wa_tree_node-folder = text-005.
    wa_tree_node-tcode  = text-006.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-007.
    wa_tree_node-text1 =  'Creditors ageing'.
    wa_tree_node-tcode2 = text-008.
    wa_tree_node-text2 =  'Creditors ageing'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    wa_tree_node-folder = text-009.
    wa_tree_node-tcode  = text-010.
    wa_tree_node-text =  'Creditors ageing'.
    wa_tree_node-tcode1 = text-011.
    wa_tree_node-text1 =  'Creditors ageing'.
    wa_tree_node-tcode2 = text-012.
    wa_tree_node-text2 =  'Creditors ageing'.
    append wa_tree_node to t_tree_node.
    clear wa_tree_node .
    node-hidden = ' '.                 " All nodes are visible,
        node-disabled = ' '.               " selectable,
        node-isfolder = 'X'.                                    " a folder,
        node-expander = ' '.               " have no '+' sign forexpansion.
        loop at t_tree_node into wa_tree_node.
          at new folder.
            node-isfolder = 'X'.                      " a folder,
            node-node_key = wa_tree_node-folder.
                   clear node-relatkey.
            clear node-relatship.
            node-text = wa_tree_node-folder.
            node-n_image =   ' '.
            node-exp_image = ' '.
            append node to node_table.
          endat.
         at new tcode .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode.
             node-text = wa_tree_node-text .
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
          endat.
          append node to node_table.
        at new tcode1 .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode1.
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
              node-text = wa_tree_node-text1.
         endat.
          append node to node_table.
           at new tcode2 .
            node-isfolder = ' '.                          " a folder,
            node-n_image =   '@CS@'.       "AV is the internal code
            node-exp_image = '@CS@'.       "for an airplane icon
            node-node_key = wa_tree_node-tcode2.
                     node-relatkey = wa_tree_node-folder.
            node-relatship = cl_gui_simple_tree=>relat_last_child.
            node-text = wa_tree_node-text2.
         endat.
          append node to node_table.
        endloop.
        call method tree->add_nodes
             exporting table_structure_name = 'ABDEMONODE'
                       node_table = node_table.
      endmethod.
    endclass.
    *&                        Class implementation
    class screen_handler implementation.
    *&                        Method CONSTRUCTOR
      method constructor.
       create object: HTML_VIEWER exporting PARENT = CONTAINER,
                      LIST_VIEWER exporting I_PARENT = CONTAINER.
      endmethod.
    *&                 Method HANDLE_NODE_DOUBLE_CLICK
      method handle_node_double_click.
      case node_key(12).
    when 'Creditors'.
    submit YFIIN_REP_CREADITORS_AGING  via selection-screen and return.
    when  'Vendor'.
    submit YFIIN_REP_VENDOR_OUTSTANDING  via selection-screen and return.
    when 'Customer'.
    submit YFIIN_REP_CUSTOMER_OUTSTANDING  via selection-screen and
    return.
    when 'GR/IR'.
    submit YFIIN_REP_GRIR_AGING  via selection-screen and return.
    when 'Acc_Doc_List'.
    submit YFIIN_REP_ACCOUNTINGDOCLIST  via selection-screen and return.
    when 'Bank Bal'.
    submit YFIIN_REP_BANKBALANCE  via selection-screen and return.
    when 'Ven_Cus_Dtl'.
    submit YFIIN_REP_VENDORCUST_DETAIL via selection-screen and return.
    when 'G/L_Open_Bal'.
    submit YFIIN_REP_OPENINGBALANCE via selection-screen and return.
    when 'Usr_Authn'.
    submit YFIIN_REP_USERAUTHRIZATION via selection-screen and return.
    endcase.
      endmethod.
    endclass.
    Program execution ************************************************
    load-of-program.
      call screen 9001.
    at selection-screen.
    Dialog Modules PBO
    *&      Module  STATUS_9001  OUTPUT
          text
    module status_9001 output.
      set pf-status 'SCREEN_9001'.
      set titlebar 'TIT_9001'.
      call method screen_init=>init_screen.
    endmodule.                 " STATUS_9001  OUTPUT
    Dialog Modules PAI
    *&      Module  USER_COMMAND_9001  INPUT
          text
    module user_command_9001 input.
    endmodule.                 " USER_COMMAND_9001  INPUT
    *&      Module  exit_9001  INPUT
          text
    module exit_9001 input.
    case sy-ucomm.
    when 'EXIT'.
      set screen 0.
    endcase.
    endmodule.
            exit_9001  INPUT

    you can read  the table node_table with nody key value which imports when docubble click the the tree node (Double clifk event).
    Regards,
    Gopi .
    Reward points if helpfull.

  • How to create a tree structure,like I want to create Bill/Payment Tree

    How to create a tree structure , like I want to create a Bill/Payment Tree containing a single node for all A/R related activities for a specific bill period, in reverse chronological order. Basically the tree should look like
    + Bill - Date: 03-17-2010 Complete
    +++++ CR Note - Date: 05-04-2010 Complete
    ++++++++++ Pay - Date: 05-04-2010 Frozen
    + Bill - Date: 03-17-2010 Complete
    +++++ Pay - Date: 05-04-2010 Frozen
    And finally this should be attached as tab on the control central

    The FTree package provides functions to populate the tree - look for the topic "Manipulating a hierarchical tree at runtime
    " in the online help this point to all the functions and triggers

  • Adhoc query for Training & Event mgmt

    Hi,
    Can anybody guide me for design the adhoc query for training & event management. I needto extract data upto attende level from a particular infoset.
    Thanks
    Dadarao.

    Hi,
    I have got a query in AD-HOC query.
    After creating the Adhoc query using the join table functionality the resulting adhoc query does not results any out put.
    What I have done is :
    1.Created a user group through SQ03
    2.Attched user to My user group
    3.Created an infoset using join table functionality(SQ02).
    4.Saved and generated the infoset
    5.Added the user group to the infoset and than run the ADHOC query.
    The table I have used to join is all PA table (For test pupose)
    Though the purpose of the custom infoset is to join PA,OM and E rec infotypes, for testing purpose I have joined only PA infotypes.
    Result:The adhoc query does not gives any out put instead it says no data could be read.
    Could you please tell what else I need to do so that the custom infosets gives an out put.
    Will greatly appreciate your help.
    Thanks and best regards
    Rajeev

  • Creating a tree structure like Windows file explorer using Jdev

    Hi All,
    Is it possible to develop a tree structure like windows in JDEV and then same page I want to move to oracle apps.
    This tree I am creating for Showing Employee information. Like Parents & childs under it. i.e. Managers and employee reporting to managers.
    Please let me know if it is possible, if yes how , what is method of doing this.
    Thanks
    Ganesh Mane

    Yes. This possible with ADF Faces RC, which provides an af:tree component. Have a look at the Fusion Order Demo, which uses the tree to implement a similar usecase to the one you describe.
    http://www.oracle.com/technology/products/jdev/samples/fod/index.html
    Regards,
    RiC

  • Tree structure like in win explorer?

    Hello everybody,
    I need in my program a structure like the tree structure in the windows explorer. Is is possible to program something like this in LabWindows/CVI 6.0 ?
    The program have to simulate an equipment. The tree is for a better finding of the "events", the equipment can do.
    The last "file" in the tree should I took to some buttons to simulate the event. But this I think is not the problem.
    thx for solving my problem ;-)

    Check AL S's response here for how to do this. CVI 6.0 does not have a native Tree control. This was introduced with CVI 7.0.
    Bilal Durrani
    NI

  • Attendance Booking for Training Event (HR) : How to Intervene with Workflow

    <u><b>Scenario:</b></u>
    I use transaction PV00 to book for an event for a person. First time booking gives status - Attendance booked, Second time when i book for the same event for the same person - it gives me a message attendance was updated.
    The booking event is logged as a session to be run through SM35.
    Now through workflow i need to stop the booking based on condition, say....the position has to be manager as an eligibility to book for the particular event.
    I went through transactions SWEHR1, SWEHR2, SWEHR3..What does they actually signify..in relation to my scenario.
    Please anyone suggest me how can i stop booking online directly - by intervening with a workflow.

    There is a BAdI you can use to accomplish this.  With the Learning Solution, it's LSO_CHECK_BOOKING.  I know there's a comparable one for plain TEM but can't remember what it is, offhand.  Can't help you with the workflow.
    Cheers,
    Sharon

  • WorkFlow for Training & Event Mgmt .

    Hi SAP-HR Experts .
    I am badly stuck in a issue regaring Event & Training Mgmt .
    Issue is : There is training calender for a whole year , different - different training programs
    are schedules there . Employees Books himself/herself for a traing program through ESS , as He/She press the Send Button the Information goes to his Manager /HOD for approval , this information goes  his/her Manager /HOD through a WorkFlow mail .
    How to do this Friends ... being very confused ...
    Let me know Experts ... being Buckle under pressure .
    Regards : Rajneesh

    Hi Rajneesh
    Following link might help you in some way...
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PE/PE.pdf
    Regards
    Sachin Sharma

  • Need help for double_click event

    Hi,
         I need to add modify_cell event using ALV Grid on the double_click event.
         I am displaying LED light symbol to the output. I need to change the cell value that mean LED display from red to green on double click event. I am able to get the modify cell for data_changed, but I need same event on the double_click...
          Any help in this regard will be great helpful to me...
    Thanks in advance.
    regards,
    Brijesh Patel

    Hi Brijesh,
       in the double click event method implementation write the following code
    update the internal table with change of LED to the desired output for ALV and
    CALL METHOD grefa_alv->refresh_table_display
    hope you find this helpful
    regards,
    kinshuk

  • Help for designing the same forms like Oracle form!!!

    Hi everyone!
    I am working for some projects and now I want to make a form like Oracle form, there are some features in Oracle form that I don't know how to do the same so I would like to ask someone here. Please help me to design form like the form I mention below. I mean when I open my form, it must be the same with Query Material after that I press Enter then it must be the same Material Workbench form. Please help me!!! Thanks in advanced.
    Inventory => On-hand Availability => On-hand Quantity, it will display Query Material Form then Enter after that it will display Material Workbench.

    Hi, welcome to the forums. Please take a few minutes to reveiw the following:
    <ul>
    <li> Before posting on this forum please read
    <li> 10 Commandments for the OTN Forums Member
    <li> Announcement: Forums Etiquette / Reward Points
    </ul>
    If you follow these general guidelines, you will greatly increase your chances of getting a solution to your question in a shorter period of time. While your questions may make sense to you - when you post a question here, you have to remember that we do not have the same point of reference as you. You can't assume we will understand vague references like *"I want to make a form like Oracle form"*. I've seen so many different UI variations in Oracle Forms that a blanket statement like this has no meaning. The only thing that limits the funtionality of a Form is your imagination.
    Perhaps, after reviewing the aforementioned articles, you could provide us with some basic information like your Oracle Forms version, Browser and version, OS and version and a more detailed description of the type of functionality you are trying to emulate. With this information, we (the Forum participants) will be better able to help you.
    Regards,
    Craig...

  • Help for awt event handling consume fundamantal

    I have doubt about MouseEvent consume(). And, what it is used for?
    As, I tried an example and I could not figure out what it was doing
    Please give your suggestions on this
    Thanks
    nick

    Just another cross poster.
    [http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=2&t=018087]
    db

  • ESS Training Event for Employee

    Hello guys
    i need to know if exist any iview for training event for ESS only
    I know is iview exist for MSS but any know if exist for employee
      thanks

    There is no training event iview in WD JAVA or ABAP in new releases, it might be old ITS based ones
    although you have something called Learning Solution which replaces this, This can be implemented thru Business package
    learn more on LSO using help.sap.com

  • How to create a form on a tree structured table

    Hi,
    I have a table that is designed to do a tree structure  like:
    Table Name: test
    Fields:
    ID
    ParentID
    Description
    I created a browser (IR) (page 1) that calls a form (page 2)
    The form has the editing fields and at the bottom layer I have a reports region where I display the children records using a query like:
    select * from test where ParentID = :P2_ID
    I need at the region level to add a button to call a form to edit the child record (which is the same table) and when done, to return to the form again but to the parent record.
    How can I do that successfully? Is there any example:?
    Thank you

    Maybe this can help:
    http://apex.oracle.com/pls/otn/f?p=31517:157
    using instead of trigger on a view.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to get the folder name of selected subitem in tree structure?

    Hi All,
               I created a tree structure like below.
             ->Folder1-- 1
                              2
                              3
            ->Folder2-----1
                               2
                               3
                    i.e i have two folders & each folder having the values like above.Now i want to perform some action by clicking on the any of the values.Suppose if i click value 2,i want to do some action.the actions need to perform is varies from floder to to folder.
            So How can i get the folder name of clicked Value?
    Regards,
    Ravi

    Hi Kumar ,
    the below code should help you.
    Register the below action for the leaf node for which u need the subfolder's name above it.
    Worked fine in my system ...hope it does in ur scenario too
    method ONACTIONGET_PATH .
      data : lr_element TYPE REF TO if_wd_context_element,
             lr_node TYPE REF TO if_wd_context_node,
             ls_path type string,
             ls_path_node TYPE string,
             lt_string type TABLE OF string,
             l_lines type i,
             l_lines_1 TYPE i.
      lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
    **-> getting the path of the node/leaf
    *which  u had clicked and from that getting the node above it
      ls_path = lr_element->get_path( ).
      SPLIT ls_path at '.' into table lt_string.
    -> remove the first 2 entries as they will contain the view name
      DELETE lt_string FROM 1 to 2.
      l_lines = LINES( lt_String ).
      l_lines_1 = l_lines - 1.
    -> remove the last 2 entries as they will contain the element in the path
      DELETE lt_string  from l_lines_1 to l_lines.
      LOOP AT lt_string into ls_path.
        CONCATENATE LINES OF LT_STRING into ls_path_node SEPARATED BY '.'.
      ENDLOOP.
    **-> getting access to the node above the leaf element
    LR_NODE = WD_CONTEXT->PATH_GET_NODE( path = ls_path_node ).
    lr_element = lr_node->get_element( ).
    **-> Getting the name of the folder...
    *here path is the attribute in my context which stores the name of the folder
    lr_element->get_attribute( EXPORTING name = 'PATH' IMPORTING value = ls_path ).
    endmethod.

Maybe you are looking for

  • Wonky Address Labels ?

    I am about to give up the idea of ever finding a native Mac OS application for addresses and just keep using the 10-year old Parsons Address Book Windows software that I currently run using Virtual PC. It may be clunky and it may be creaky but, by go

  • DistributedCOM errors from Reporting Services server on Primary

    I have a SCCM 2012 SP1 CU4 environment with a dedicated Reporting Services server next to my Primary. On the primary i see in the system event viewer every hh:31 2 alerts and every hh:01 about 15 alerts and i can't find how to stop these alerts. The

  • VD-4576: The following target(s) no loger exist on the node

    Hi All, When I am trying to referesh my Nodes, I am facing this error : Referesh Failed : VD-4576: The following target(s) no loger exist on the node I have restarted Intelligent Agent and also Managment Server, but the problem is still exist, and i

  • Required xi  material?

    hi, can anybody send xi material as download pdfs. mainly i requires tbit:41,42,43,44

  • "ubd" Has Quit Unexpectedly

    Hello, Has anyone gotten the error message "ubd has quit unexpectedly"? This all the sudden started happening to me with a vengence. The error window would pop up, I would send a report to Apple, then the error would appear again within seconds. It w