How can we use CMC / events to trigger a process?

Is there a way we can make CMC / events to trigger a stored procedure or at least a .exe file?
how?

There's a starter on events here:
http://scn.sap.com/community/bi-platform/blog/2013/01/07/cmcevents-in-business-objects-and-its-usage
Not sure exactly of your workflow, but you can also schedule a custom program object and schedule that to run based on your own timelines.
http://scn.sap.com/docs/DOC-40837

Similar Messages

  • How can i use LINK_CLICK event

    Hi,
    how can i use event LINK_CLICK in list tree.
    Plz help me.
    Regards ,
    Venkat.

    use this....
    CLASS cl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS on_expand_no_children
                FOR EVENT expand_no_children OF cl_gui_simple_tree
                IMPORTING node_key sender.
        METHODS on_node_double_click
                FOR EVENT node_double_click OF cl_gui_simple_tree
                IMPORTING node_key sender.
    ENDCLASS.
    CLASS    cl_event_receiver
    IMPLEMENTATION
    CLASS cl_event_receiver IMPLEMENTATION.
    Triggering event:      expand_no_children
    Handling method:       on_expand_no_children
    Description:
    The handling method is called whenever a node is supposed to be
    expanded (by clicking on the expander icon) while subordinate entries
    are not yet known in the GUI.
    In this case the node table must be complemented with the respective
    entries.
      METHOD on_expand_no_children.
        IF SENDER <> obj_simple_tree.
          EXIT.
        ENDIF.
    Determine subnodes
        REFRESH t_gui_node.
        LOOP AT t_node INTO wa_node WHERE relatkey = node_key.
          APPEND wa_node TO t_gui_node.
        ENDLOOP.
    Send node table to GUI
        CALL METHOD obj_simple_tree->ADD_NODES
          EXPORTING
            TABLE_STRUCTURE_NAME           = 'MTREESNODE'
            NODE_TABLE                     = t_gui_node
          EXCEPTIONS
            ERROR_IN_NODE_TABLE            = 1
            FAILED                         = 2
            DP_ERROR                       = 3
            TABLE_STRUCTURE_NAME_NOT_FOUND = 4
            others                         = 5.
        IF SY-SUBRC <> 0.
          MESSAGE i398(00) WITH 'Error' sy-subrc
                                'at methode ADD_NODES'.
        ENDIF.
      ENDMETHOD.
    Triggering event:      node_double_click
    Handling method:       on_node_double_click
    The handling method is called every time a double-click is executed
    on a node or a leaf.
      METHOD on_node_double_click.
        IF SENDER <> obj_simple_tree.
          EXIT.
        ENDIF.
    Output message for selected node or leaf
        CLEAR wa_node.
        READ TABLE t_node
          WITH KEY node_key = node_key
          INTO wa_node.
        IF SY-SUBRC = 0.
          IF wa_node-isfolder = 'X'.
            MESSAGE i398(00)
              WITH 'Double-click on node' wa_node-node_key.
          ELSE.
            MESSAGE i398(00)
              WITH 'Double-click on leaf' wa_node-node_key.
          ENDIF.
        ELSE.
          MESSAGE i398(00)
             WITH 'Double-click on unknown node'.
        ENDIF.
      Trigger PAI and transfer function code (system event)
        CALL METHOD cl_gui_cfw=>set_new_ok_code
             EXPORTING new_code = 'FCODE_DOUBLECLICK'.
      ENDMETHOD.
    ENDCLASS.
    *&      Module  STATUS_0100  OUTPUT
          GUI status for dynpro
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'DYN_0100'.
      SET TITLEBAR 'DYN_0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  create_objects  OUTPUT
          Create instances
    MODULE create_objects OUTPUT.
      IF NOT obj_custom_container IS INITIAL.
        EXIT.
      ENDIF.
          Create instance for custom container
      CREATE OBJECT obj_custom_container
        EXPORTING
        PARENT                      =
          CONTAINER_NAME              = 'DYNPRO_CONTAINER'
        STYLE                       =
        LIFETIME                    = lifetime_default
        REPID                       =
        DYNNR                       =
        NO_AUTODEF_PROGID_DYNNR     =
        EXCEPTIONS
          CNTL_ERROR                  = 1
          CNTL_SYSTEM_ERROR           = 2
          CREATE_ERROR                = 3
          LIFETIME_ERROR              = 4
          LIFETIME_DYNPRO_DYNPRO_LINK = 5
          others                      = 6.
      IF SY-SUBRC <> 0.
        MESSAGE i398(00) WITH 'Error' sy-subrc
                              'when creating the custom container controls'.
      ENDIF.
          Create instance (back-end) for Simple Tree Model
      CREATE OBJECT obj_simple_tree
        EXPORTING
          NODE_SELECTION_MODE = CL_SIMPLE_TREE_MODEL=>NODE_SEL_MODE_SINGLE
        HIDE_SELECTION              =
        EXCEPTIONS
          ILLEGAL_NODE_SELECTION_MODE = 1
          others                      = 2.
      IF SY-SUBRC <> 0.
        MESSAGE i398(00) WITH 'Error' sy-subrc
                              'when creating the Simple Tree Model'.
      ENDIF.
          Create instance (representative object for control at front end)
      CALL METHOD obj_simple_tree->CREATE_TREE_CONTROL
        EXPORTING
        LIFETIME                     =
          PARENT                       = obj_custom_container
        SHELLSTYLE                   =
      IMPORTING
        CONTROL                      =
        EXCEPTIONS
          LIFETIME_ERROR               = 1
          CNTL_SYSTEM_ERROR            = 2
          CREATE_ERROR                 = 3
          FAILED                       = 4
          TREE_CONTROL_ALREADY_CREATED = 5
          others                       = 6.
      IF SY-SUBRC <> 0.
        MESSAGE i398(00) WITH 'Error' sy-subrc
                              'when creating the Simple Tree Control'.
      ENDIF.
    ENDMODULE.                 " create_objects  OUTPUT
    *&      Module  register_events  OUTPUT
          Event handling
    MODULE register_events OUTPUT.
          Register events as system event at CFW                         *
      CLEAR t_events.
    Register event for double-click
      CLEAR wa_event.
      wa_event-eventid = CL_SIMPLE_TREE_MODEL=>EVENTID_NODE_DOUBLE_CLICK.
      wa_event-appl_event = ' '.
      APPEND wa_event TO t_events.
    Register events at CFW and control at front end
      CALL METHOD obj_simple_tree->SET_REGISTERED_EVENTS
         EXPORTING
            EVENTS                   = t_events
         EXCEPTIONS
           ILLEGAL_EVENT_COMBINATION = 1
           UNKNOWN_EVENT             = 2
           others                    = 3.
      IF SY-SUBRC <> 0.
        MESSAGE i398(00) WITH 'Error' sy-subrc
                              'when registering the events'.
      ENDIF.
          Create event handler and register events
      IF obj_event_receiver IS INITIAL.
        CREATE OBJECT obj_event_receiver.
        SET HANDLER obj_event_receiver->on_node_double_click
                FOR obj_simple_tree.
        SET HANDLER obj_event_receiver->on_expand_no_children
                FOR obj_simple_tree.
      ENDIF.
    ENDMODULE.                 " register_events  OUTPUT
    *&      Module  create_tree  OUTPUT
          Create node table with root and 1st level
    MODULE create_tree OUTPUT.
      IF NOT t_node IS INITIAL.
        EXIT.
      ENDIF.
          Create node table
      PERFORM fill_node_table.
          Fill node table t_gui_node for control
      REFRESH t_gui_node.
      t_gui_node = t_node.
          Transfer entire node table to Simple Tree Model
      CALL METHOD obj_simple_tree->ADD_NODES
        EXPORTING
          NODE_TABLE          = t_gui_node
        EXCEPTIONS
          ERROR_IN_NODE_TABLE = 1
          others              = 2.
      IF SY-SUBRC <> 0.
        MESSAGE i398(00) WITH 'Error' sy-subrc
                              'at methode ADD_NODES'.
      ENDIF.
    ENDMODULE.                 " create_tree  OUTPUT

  • How can I use my Events album for the Screen saver?

    I would like to use the "Events" album from my iPhoto 09 for my Screen Saver pictures source, but can't seem to find a way to do this.  I tried to create a new folder in the Screen Saver preferences, but couldn't find a way to get to the Events album.
    If anyone has a tip I would appreciate the help.  I'm using Snow Leopard on a 27" iMac. Thanks much!

    Try System Preferences - Desktop & Screensaver - Click the + sign at the bottom of the box on the left (see the picture) then choose where the photos are stored and you should be good to go.

  • How can I use a button to trigger a SQL Stored Procedure?

    I have a stored procedure (UpdateAdsUsers) that performs updates on multiple tables all tied together with one
    parameter - @username
    (I'm using DWCS5, SQL SERVER 2008, ASP VB)
    UPDATE users SET defaultview='0' WHERE user_name=@username
    UPDATE db_settings SET valuestr='MM/DD/YYYY' WHERE keyword='dateformat' AND user_name=@username
    UPDATE db_settings SET valuestr='Y' WHERE keyword='COPY_MSG_VIA_EMAIL' AND user_name=@username
    UPDATE db_settings SET valuestr='4' WHERE keyword='web_download_rend' AND user_name=@username
    UPDATE db_settings SET valuestr='Y' WHERE keyword='cpy_confirm' AND user_name=@username
    UPDATE db_settings SET valuestr='WLPG:12' WHERE keyword='INITIAL_ASSETS' AND user_name=@username
    UPDATE db_settings SET valuestr='20' WHERE keyword='thumb_disp_row' AND user_name=@username
    UPDATE db_settings SET valuestr='20' WHERE keyword='text_disp_row' AND user_name=@username
    UPDATE db_settings SET valuestr='5' WHERE keyword='para_disp_row' AND user_name=@username
    UPDATE db_settings SET valuestr='a.editorial.company_name' WHERE keyword='sortorder1' AND user_name=@username
    UPDATE db_settings SET valuestr='a.editorial.title' WHERE keyword='sortorder2' AND user_name=@username
    UPDATE db_settings SET valuestr='a.editorial.production_type' WHERE keyword='sortorder3' AND user_name=@username
    UPDATE tnailview_fields SET rendition='1', first_field='company_name', second_field='title', third_field='adsx_type', fourth_field='adsx_status' WHERE user_name=@username
    UPDATE textview_fields SET rendition='1', first_field='company_name', second_field='title', third_field='title_desc', fourth_field='production_type', fifth_field='audio_summary', sixth_field='totalruntime', seventh_field='adsx_type', eighth_field='adsx_status' WHERE user_name=@username
    UPDATE paraview_fields SET rendition='1', first_field='company_name', second_field='title', third_field='title_desc', fourth_field='production_type', fifth_field='audio_summary', sixth_field='totalruntime', seventh_field='adsx_type', eighth_field='adsx_status' WHERE user_name=@username
    SELECT * FROM adsx_preferences WHERE user_name=@username
    This functions perfectly in SQL.
    Using Dreamweaver CS5, I've added the Procedure as a Command (ADS_User) with the one variable (@username).
    <%
    set ADS_User = Server.CreateObject("ADODB.Command")
    ADS_User.ActiveConnection = MM_ADSX_STRING
    ADS_User.CommandText = "dbo.UpdateAdsUser"
    ADS_User.Parameters.Append ADS_User.CreateParameter("@RETURN_VALUE", 3, 4)
    ADS_User.Parameters.Append ADS_User.CreateParameter("@username", 129, 1,32,ADS_User__username)
    ADS_User.CommandType = 4
    ADS_User.CommandTimeout = 0
    ADS_User.Prepared = true
    ADS_User.Execute()
    %>
    In a perfect world, either an image click or a form submit would run the procedure.  The parameter (@username) is currently sent to the page as a URL Querystring of the same name.
    I'm sure it's something obvious, but I'm new.
    Thanks in advance

    I'm not sure what your question is. Is this currently failing? Or are you not able to figure out how to send the username to the script page? You really just need to create a form and pass the value in a form field.
    >The parameter (@username) is currently sent to
    >the page as a URL Querystring of the same name.
    Never use a querystring to update data. It is too dangerous. Use the post method instead.

  • How can I use onClick event on singleSelection tag???

    Hi, all.
    I've used Jdev 9.0.4 and UIX xml.
    I've tried to fire onClick event on sigleSelection tag. But onClick event could not be used.
    Strangely onClick event on Button tag works well.
    My code looks like this.
    <script>
    <contents>
    function AlertMessage(){                   
    alert("You got it!");
    </contents>
    </script>
    <button text="Auto Generate" name="generate"
    onClick="return AlertMessage();"/>
    <singleSelection selectedIndex="0" text="Single" name="GGFF" id="GGG"
    shortDesc="AA"
    onClick="return AlertMessage();">
    Is there any problems in my code? Or this problem is oriented from jdev9.0.4?
    Please help!!!

    Sorry, this was a bug in the UIX version shipped in JDeveloper 9.0.4. It has been fixed in JDeveloper 9.0.5.
    -brian
    Team JDeveloper/UIX

  • How do we raise an event to trigger process chain in BI

    Hi Guru's,
    I am having Oracle tables as one of my source systems, I developed the code using DBConnect.
    Now i need to run my Process chain when ever table get data from downstream systems.
    how do we raise an event to trigger the process chain in BI WHEN EVER ORACLE TABLE GET DATA?
    Thanks in Advance,
    Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:21 PM
    Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PM
    Edited by: Naveen Kumar Kencha on Apr 2, 2008 11:27 PM

    Hi Naveen,
    i think we use ABAP program under general services to generate an event.
    searching form gave me following threads which might be helpfull
    1) explains Evenet generation [Event raising procedure]
    other helpfull threads
    [Standard tools for Event raising]
    [Event in Process Chain]
    i could get the process for triggering it weekly,,,it may giv u some help in resolving
    change the Start Process (1st process) in your Process Chain to trigger it to start after the event. To do this, maintain the Start Process of your Process Chain. Select "Direct Scheduling" and click the "Change Selections" icon. This will bring up a Start Time window. Click the "After Event" icon and enter your event name. Also, click the "Periodic Job" (this will insure that all the jobs created for each process in the Process Chain will reschedule themselves after executing the first time). Now save the Start Process, and reactivate and schedule the Process Chain.
    To execute the Process Chain, use transaction SM64 to trigger the event.
    If you want to trigger the event in batch, you will need to create an ABAP program that calls function module BP_EVENT_RAISE (sample ABAP code is available in this forum if you search for "BP_EVENT_RAISE").
    We create batch jobs where we call an external program called SAPEVT, located on the server, and I believe is available on all SAP clients, with the following parameter:
    EVTID('WEEKLY_PROCESS') SID(PU3) NUMBER(00) EVTPARM()
    This will trigger the event WEEKLY_PROCESS.
    See if this helps.
    regards,
    NR

  • How can i use the same front panel graph in more than one events in an event structure?

    i want to display the signals from my sensorDAQ in a graph.but i have more than one event in the event structure to acquire the signal and display it in the graph.the first event is to acquire the threshold signals and its displayed in the graph as a feedback.after the first event is executed, i will call the second event,where the further signals are acuired and compared with the threshold signals from the event 1.my question is how can i use the same front panel control in more than two events in the event structure?please answer me i'm stuck.
    Solved!
    Go to Solution.

    Hi,
    I have attached here an example of doing the same using shift registers and local variables. Take a look. Shift register is always a better option than local variables.
    Regards,
    Nitzz
    (Give kudos to good answers, Mark it as a solution if your problem is Solved) 
    Attachments:
    Graph and shift registers.vi ‏12 KB
    graph and local variables.vi ‏12 KB

  • How can I use custom repeating event in my iPad Air calendar iOS 8.0.2

    How can I use custom repeating event in my iPad Air calendar iOS 8.0.2?

    Unless something has changed, you can't. The iPad has limited ability to make repeats. However if you make the custom repeats in another program you can send them to or import them into your calendar and the iPad will respect the custom repeat.

  • How can I set an event to repeat on a week day rather than a numerical day of each month?

    How can I set an event to repeat on a week day rather than a numerical day of each month? I see an option at the bottom of the repeat window .... but I cannot use it. Actually, when I try it freezes up my Calendar.
    Lorrene Baum Davis

    These scrrenshots are from Snow Leopard - I would think that Lion wouldn't be too much different.

  • Can we use control events in smartforms

    Hi all,
    I am srinivas. can we use control events in smartforms, I mean at new, at end of ..... if these are not used can you suggest me any alternative....
    Actually my requirement is like a classical report, for which I need to display subtotal and grand totals based on two fields....
    Please help me out in this issue as it is very urgent.
    <b><REMOVED BY MODERATOR></b>
    Thanks in advance....
    Regards,
    Sri...
    Message was edited by:
            Alvaro Tejada Galindo

    Hi Nick,
            Thanks for the reply... it is really very useful for me.
    As I discussed in my earlier mail regarding the output sequence, which should be in the below format.
                                           number       quantity uom      unitprice        amount curr
    plant
           material
                   date
                                             x                 y                    z                      A           
                                             e                 f                     g                      h
                                             p                 q                     r                      s
                   subtotal date..... 1                   2                    3                       4
                   subtotal  material.5                  6                    7                       8
    As you said when I using <b>event of Begin</b> its working fine. but while using the <b>event of end</b>,  I am specifying date and then matnr (sort) its taking(nodes are created mean first matnr and then date) in the reverse order and when I am taking matnr and date it is placing the events(nodes) in the right order but the order date is not triggering.
    can please tell me how to proceed here..
    waiting for your reply..
    Regards,
    Srinivas

  • How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?

    How can I move an event in my calendar to my "completed" calendar without changing all the events in the series?
    As Apple has yet to upgrade iCalendar so I can check off my events as I complete them (no, I do not want to use a task list/reminder list), I want to be able to move my events to my "completed" events calendar as I complete them. The issue is that most of my events are repeating events, and it changes the entire series. How do I change only the event I clicked on using my iPhone?
    Thanks

    If you change anything in a repeating calendar entry it will give you the option of disconnecting it from the series. So may any random change, choose to not change the series.

  • How can I use the Rownum/Customized SQL query in a Mapping?

    Hi,
    * I need to use a Rownum for populating one of the target field? How to create a mapping with Rownum?
    * How can I use an Dual table in OWB mapping?
    * Can I write Customized SQL query in OWB? How can I achieve this in a Mapping?
    Thanks in Advance
    Kishan

    Hi Niels,
    As I'm sure you know, the conundrum is that Reports doesn't know how many total pages there will be in the report until it is all done formatting, which is too late for your needs. So, one classical solution to this problem is to run the report twice, storing the total number of pages in the database using a format trigger, and throwing away the output from the first run when you don't know the total number of pages.
    Alternatively, you could define a report layout so that the number of pages in the output is completely predictable based upon, say, the number of rows in the main query. E.g., set a limit of one, two, ... rows per page, and then you'll know how many pages there will be simply because you can count the rows in a separate query.
    Hope this helps...
    regards,
    Stewart

  • How can I use 2 iPhone 4's on same iTunes account, but NOT sync same contacts?

    How can I use 2 iPhone 4's on same iTunes account, but NOT sync same contacts?

    They need to be registered under different Apple ID's.  The initial Apple ID is set when you first start the phone up.  If you've already registered the phone to the iTunes account, back it up to your computer, and then have iTunes do a factory reset.  Go to www.icloud.com, log in with your current Apple ID, select "Find My iPhone," choose the iPhone you want to dissociate from your primary Apple ID from the upper left, and then click the little circled X ("remove").
    When you start the phone, it will have you go through the setup process again, at which time you need to create a unique Apple ID for the device.  You can then restore it from your iTunes backup to get back your apps and other settings.
    Whenever you use the iTunes store, use the login information (Apple ID and password) that you were using before.  Basically, the second Apple ID that you created is purely used for accessing iCloud services, which includes synchronization of contacts, iCal events, and other such things.

  • How can i use the same cursor in a loop fro multipletimes.

    I am using two cursors.One to fetch sites and the other to fetch participants under each site.I am performing some job with that participants data.Now the problem is i am using the 2nd cursor in a loop.So it fetches the data of participants falling under one state.But when it comes to the second state,as the second cursor is already open it is unable to fetch the records.Please help me .How can i use the same cursor in a loop fro multipletimes.
    I am sending the code which i have written in When-Button-Pressed-Trigger...
    declare
         sid number;
         pid number;
    cursor csid is select distinct(site_id) from cyber_ppt;
    cursor cpid is select pc_id,st_dt,ed_dt from cyber_ppt where site_id = sid;
         stdt varchar2(10);
         eddt varchar2(10);
         nom number;
         stmonth varchar2(10);
         edmonth varchar2(10);
         cjan number:=0;
         cfeb number:=0;
         cmar number:=0;
         capr number:=0;
         cmay number:=0;
         cjun number:=0;
         cjul number:=0;
         caug number:=0;
         csep number:=0;
         coct number:=0;
         cnov number:=0;
         cdec number:=0;
         i number:=1;
    begin
         open csid ;
         loop
         fetch csid into sid;
              exit when csid %notfound;
              message(sid);
         open cpid;
         loop
         fetch cpid into pid,stdt,eddt ;
         exit when cpid %notfound;
         message(sid||'-'||pid);
         stmonth:=substr(stdt,4,3);
         edmonth:=substr(eddt,4,3);
         nom:= months_between(eddt,stdt);
    while i <= round(nom)
         loop
         stmonth:=substr(stdt,4,3);
    if stmonth='JAN' then
              cjan:=cjan+1;
    elsif stmonth='FEB' then
              cfeb:=cfeb+1;
    elsif stmonth='MAR' then
              cmar:=cmar+1;
    elsif stmonth='APR' then
              capr:=capr+1;
    elsif stmonth='MAY' then
              cmay:=cmay+1;
    elsif stmonth='JUN' then
              cjun:=cjun+1;
    elsif stmonth ='JUL' then
              cjul:=cjul+1;
    elsif stmonth ='AUG' then
              caug:=caug+1;
    elsif stmonth ='SEP' then
              csep:=csep+1;
    elsif stmonth ='OCT' then
              coct:=coct+1;
    elsif stmonth ='NOV' then
              cnov:=cnov+1;
    elsif stmonth ='DEC' then
              cdec:=cdec+1;
    end if;
         stdt:=add_months(stdt,1);
         i:=i+1;
         end loop;
         end loop;
         end loop;
         end;
         

    try this /* untested */
    DECLARE
    sid           NUMBER;
    pid           NUMBER;
    CURSOR csid IS SELECT DISTINCT(site_id) FROM cyber_ppt;
    CURSOR cpid(nSid NUMBER) is SELECT pc_id,st_dt,ed_dt FROM cyber_ppt WHERE site_id = nSid;
    stdt        VARCHAR2(10);
    eddt        VARCHAR2(10);
    nom         NUMBER;
    stmonth     VARCHAR2(10);
    edmonth     VARCHAR2(10);
    cjan         NUMBER:=0;
    cfeb         NUMBER:=0;
    cmar         NUMBER:=0;
    capr         NUMBER:=0;
    cmay         NUMBER:=0;
    cjun         NUMBER:=0;
    cjul         NUMBER:=0;
    caug         NUMBER:=0;
    csep         NUMBER:=0;
    coct         NUMBER:=0;
    cnov         NUMBER:=0;
    cdec         NUMBER:=0;
    i            NUMBER:=1;
    BEGIN
    FOR rec IN csid
    LOOP
                      sid := rec.csid;
    FOR cRec IN cpid(sid)
    LOOP
                     pid := cRec.pc_id;
                     stdt := cRec.st_dt;
                     eddt := cRec.ed_dt;
    stmonth:=  SUBSTR(stdt,4,3);
    edmonth:= SUBSTR(eddt,4,3);
    nom:= months_between(eddt,stdt);
    WHILE i <= round(nom)
    LOOP
              stmonth := SUBSTR(stdt,4,3);
    IF stmonth='JAN'
    THEN
             cjan:=cjan+1;
    ELSIF stmonth='FEB' THEN
             cfeb:=cfeb+1;
    ELSIF stmonth='MAR' THEN
              cmar:=cmar+1;
    ELSIF stmonth='APR' THEN
              capr:=capr+1;
    ELSIF stmonth='MAY' THEN
              cmay:=cmay+1;
    ELSIF stmonth='JUN' THEN
              cjun:=cjun+1;
    ELSIF stmonth ='JUL' THEN
              cjul:=cjul+1;
    ELSIF stmonth ='AUG' THEN
              caug:=caug+1;
    ELSIF stmonth ='SEP' THEN
              csep:=csep+1;
    ELSIF stmonth ='OCT' THEN
              coct:=coct+1;
    ELSIF stmonth ='NOV' THEN
              cnov:=cnov+1;
    ELSIF stmonth ='DEC' THEN
              cdec:=cdec+1;
    END IF;
             stdt:=add_months(stdt,1);
             i:=i+1;
    END LOOP;
    END LOOP;
    END LOOP;
    END;

  • How can I use the button in one panel to control the other panel's appearing and disappearing?

    How can I use the button in one panel to control the other panel's
    appearing and disappearing? What I want is when I push the button on
    one button . another panel appears to display something and when I
    push it again, that the second panel disappears.

    > How can I use the button in one panel to control the other panel's
    > appearing and disappearing? What I want is when I push the button on
    > one button . another panel appears to display something and when I
    > push it again, that the second panel disappears.
    >
    You want to use a combination of three features, a button on the panel,
    code to notice value changes using either polling in a state machine of
    some sort or an event structure, and a VI Server property node to set
    the Visible property of the VI being opened and closed.
    The button exists on the controlling panel. The code to notice value
    changes is probably on the controlling panel's diagram, and this diagram
    sets the Visible property node of a VI class property node to FALSE or
    TRUE to show or
    hide the panel. To get the VI reference to wire to the
    property node, you probably want to use the Open VI Reference node with
    the VI name.
    Greg McKaskle

Maybe you are looking for

  • Production order in WIP

    Dear All, Eg. the production order in WIP has PCNF status.  Is there any transaction code that can change the status of production order in WIP become hold?  This is to avoid any confirmation prod order transaction, until the status hold is changed b

  • Safari wont open after 8.0.2 update

    This is what I get when I try to launch Safari after the 8.0.2 update - has anyone else experienced this? Process:           Safari [901] Path:              /Applications/Safari.app/Contents/MacOS/Safari Identifier:        com.apple.Safari Version:  

  • IPad has suddenly started showing all images as "negatives"?? How do I get it back to normal??

    iPad has suddenly started showing all images as "negatives"?? How do I get it back to normal??

  • Different offsetting account displayed in FB03 and KSB1

    Hi, We have a problem, the number of offsetting account displayed for documents in FB03 is different than number displayed in KSB1 report. Notes 755291and 806041 are already implemented. regards, Rafal

  • How to swap the position of two objects?

    I have four self made componensts that I imported them into my main mxml file and placed each on four corners. What I want to achieve is to drag each component onto others then swap their position. For example, comp A is dragged over comp B, when thi