How to trigger datagrid doLater()

I'm developing with Flash 8. I'm trying to figure out what
conditions will trigger the datagrid to call doLater(). I am not
dynamically creating a datagrid with "new" or createObject(). The
datagrid is already placed on the stage and I'm simply adding
columns and populating it with data through a data_set component.
Here's what I'm trying to accomplish. After I edit a value in
a cell and hit enter (and leave the focus of that cell), I do not
want the focus to be on the next cell or any other cell for that
matter. In the cellFocusOut listener function, I make the datagrid
not editable and register a function to be called by doLater().
However, the do later is never executed. I have also tried adding
and removing columns/rows to try and trigger the doLater() call but
with no success. Could someone please explain to me when the
datagrid calls doLater?

let me clarify what I was planning to do with the doLater().
Once it's called, I was going to make the datagrid editable
again.

Similar Messages

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • How to trigger New page while using ALV with classes/oops?

    Hi All
    I am trying to print a report which has to show the data in two pages.
    I am using ALV with classes/oops.
    Though I am able to print the report but a new page is not coming. Whole of the data is coming in one single page.
    Please tell me as to how to trigger a NEW PAGE while using ALV with classes/oops.
    Please send some code samples also if available.
    Thanks in advance.
    Jerry

    using sort option you can do it. in case of grid/oo alv class ALV you can view that only in print mode/preview mode.
    in case of list you can view that directly.
    sort-fieldname = 'FIELDNAME'.
    sort-group = '*'  "triggers new page
    sort-up = 'X'.
    append sort to it_sort.

  • How to trigger crystal report from SAP ECC

    Hi All,
    I hope i m right forum to ask this question.
    we want to do label printing from Crystal reports. data will be present in SAP ECC .
    So I below issues
    1 ) how to connect SAP ECC database with Crystal Reports.
    2 ) how to trigger print output in Crystal reports from ECC , lets say I create a Delivery In ECC , the print output will be issued to Crystal report and I should get a print out Immediately ( for printing - printer will be connected to local system and SAP network printer ) .
    I have worked  with this type of scenario in smarforms , adobeforms. but not with Crystal Reports ...
    Regards
    Yashpal Gupta.

    Hi Yashpal,
    First thing you need to do is install the Connector on both your work station where you run Crystal Reports as well as the SAP Server where the data is.
    So I moved your post to the SAP Integration Kit forum.
    Need to know what version of Crystal Reports you are using?
    Search of browse here, lots of info on how to...
    Thanks
    Don

  • How to Trigger an IDOC from SAP R/3 to two systems at a time

    Hi experts,
    Can any one please tell me How to Trigger an IDOC from SAP R/3 to two XI systems at a time.
    My current production R/3 system sends a DELVRY03 IDOC to Production XI system ( Name : XIP) .
    I would like to route the same IDOC from production R/3 system to my Quality XI System ( Name XIQ) .
    Problem is production R/3 system triggers an IDOC once. We need to write a logic to route the same to two different systems
    Can any one tell me how can we do that ?
    Regards
    Ram.

    Hello Ram,
    Do you have connectivity between your production & XIQ?
    What does "connectivity" mean?
    1. RFC destination is maintained.
    2. Port defined for the RFC destination.
    If no, create these. (Search in SDN for details).
    If yes, proceed:
    1. Define the logical system for XIQ.(BD54)
    2. Define the same as your partner profile. (WE20). Add the message type SYNCH with the port for XIQ.(This is imp)
    3. Create a distribution model view with sender as "your production" & receiver as XIQ.
    3.1. Add the messages which you want to distribute.
    3.2 Generate Partner profiles.
    No coding is reqd. for this.
    BR,
    Suhas

  • How to trigger standard task manually in Process controlled workflow?

    Hi All,
    I would like to trigger a task mannually in BRF, process controlled workflow. My requirement is to send an approval notification to the approvers at the current approval level, at any instance by the requestor of the shopping cart. In that case, will it be possible to trigger the standard task 40007953 (SRM Shopping Cart Approval (1)) with the workitem of Shopping cart under consideration?
    I have tried searching for the same in SDN and other forums but most of the information was regarding application controlled workflows. None of those function modules seems to be working in PCW.
    Any pointers on how to trigger a standard task (using FM or code) in BRF(process controlled workflow) environment is also highly appreciated.
    Thanks,
    S.H@ri

    Hi,
    Use this FM [SAP_WAPI_START_WORKFLOW|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/bb9100f8-0c01-0010-ac8e-e017351f3fc1].
    Regards,
    Surjith

  • How to trigger creation of collective orders

    Hi,
    How to trigger the creation of Collective orders.
    regards

    Hi,
    Collective Orders
    Use
    In a collective order, planned orders or production orders are linked to one another over several production levels. Each order in the collective order has its own order number. If subassemblies are produced directly for superior orders within a production process, without physically entering the warehouse, it is useful to have a representation via collective orders.
    The components for which separate production orders are created in the collective order are called directly produced components (see Creating Collective Orders)
    Prerequisites
    A collective order cannot be created for components that have one of the following indicators set:
    · Co-product
    · By-product
    · Alternative item with strategy 2
    · Alternative item with usage probability 0
    · Discontinued
    · Follow-up material
    · Intra material
    Features
    Collective orders offer the following advantages:
    · Integrated view of a production process
    Collective orders make it possible to represent different levels of the production process together in the system. The production process can be viewed as an integrated whole.
    · Separate order number for every order
    Every level in a collective order represents a separate production order/planned order. Every production order/planned order has its own order number. This enables you to process the entire collective order, a subtree in the collective order or an individual order.
    · No placements in storage or removals from storage between production levels
    Within a collective order stock movements only take place for the leading order (that is, the order that is at the highest production level) and not for directly produced components. This makes it easier to maintain the collective order in comparison with several individual orders. A further advantage is a more realistic representation of the costs of the production process, since subordinate orders can be directly assigned and settled to superior orders.
    · Business functions simultaneously for several orders
    Certain business transactions can be carried out simultaneously for several orders. Releasing an order that belongs to a collective order has the effect that all the hierarchically subordinate orders are released simultaneously.
    · Automatic change to dependent orders
    Changes to an order automatically affect dependent orders / components affecting orders. For example, if you change the order quantity in an order then
    ¡ the relevant quantity changes are automatically made to dependent orders
    ¡ the requirements quantity of the directly produced component is automatically changed.
    In the collective order, you also have the option of manufacturing directly produced material in a different plant to the planning plant.
    · Set status in leading order
    If you make changes in subordinate orders that have an affect on the status, then the system sets the corresponding status in the order header of the leading order in the collective order as follows:
    u2013 CFCO Confirmation in collective order
    u2013 GMCO Goods movements in collective order
    u2013 RLNE Release taken place in network
    In this way you are informed about changes in the whole collective order.
    · Reading master data
    You can copy the routing data and BOM data to the order again. You can find more information in Read master data.
    Example
    You want to produce a pump. The BOM for the pump contains a pressure regulating valve and a spiral casing. You want to enter these two components in separate production orders, but you do not want them to be posted to stock.
    You set the special procurement type to direct production in the material master record for the pressure regulating valve and the spiral casing, so that production occurs using a collective order.
    When you create a production order for the pump, a collective order is automatically created, which contains subordinate production orders for the pressure regulating valve and the spiral casing.
    Creation of Collective Orders
    Use
    Collective orders are only created if the special procurement type is set to direct production in the components for which the separate production orders are to be created (materials planning area in the material master).
    In the standard system, 52 is the special procurement type for direct production (that is, for components that are produced within a collective order).
    To create a collective order, you must use an order type with internal number assignment.
    Hope this helps.
    Regards,
    Tejas

  • How to Trigger an IDOC from SAP R/3 to two XI systems

    Hi experts,
       Can any one please tell me How to Trigger an IDOC from SAP R/3 to two XI systems at a time.
    My current production R/3 system sends a DELCERY01 IDOC to Production XI system ( Name : XIP) .
    I would like to route the same IDOC from production R/3 system to my Quality XI System ( Name XIQ) .
    Problem is production R/3 system triggers an IDOC once.
    Regards
    Ram.

    Hi Ravi,
      Thank you very much for your answer.
    As I am not completely aware of R/3 side,I am getting little problem in understanding your answer.
    Could you please explain the same in some what beter way.. Thank you ..

  • How to trigger FI Standard Workflows

    Hi,
    I have never worked on FI Standard Workflows . As far as I knpow there is a std WF available  WS00400012 with Object type BSEG. For Vendor Down Payment Request, Vendor Payment Request Against Invoice, Vendor Down Payment Posting,Vendor Payment Posting, Vendor Invoice FI, Vendor Invoice Logistics Posting, Vendor Credit Memo, Vendor Debit Memo, Cash Payments, Asset Posting what are the Standard Workflows available and how to trigger these workflows. I have checked with SWELS but WS00400012  is not getting triggered. Is there any SPRO config required for this, POlease help me out with the solution.
    THanks
    Edited by: Saujanya GN on Sep 16, 2008 8:23 AM

    Hello Munish,
    As Venugopal has mentioned, you have to find the relevant BTE for the process and use it to raise an event and in turn trigger the workflow.
    The following is the process to find a BTE and implementing it.
    (1)Goto transction FIBF .Execute it with Attribute type = 'A' and then menu Environment->Info System (P/S ).
    Choose the relevant BTE using the descriptions provided.
    (2)Select the BTE you want to implement.
    (3)Press button Sample function module
    (4)This brings you to SE37 - Copy the sample function module to a Z-function module (First create a new function group for the function module) . Note: The name of the Z-functionmodule is not important
    (5)Edit the code in the new function module
    (6)Go back to transaction FIBF - Menu Settings->Products -> Of a customer and create a new product whicj identifies the new product . Remember to mark the Active field.
    (7)Go back to FIBF menu Settings->P/S function modules->of a customer - Create an entry that links the BTE and Product with the new function module
    Hope this will help.
    Regards,
    Samson

  • How to trigger a workflow using generic object services?

    Hi Experts,
    Let me know on how to trigger a workflow using generic object services.
    My requirement is to trigger the FI document reversal document using Object services.
    Any info or docs relevant to this, please share with me..
    Thanks,
    Dinesh.

    Dinesh,
    First of you need to check if the transaction has a BO (in released status) published to use the GOS.
    These are the pre-requisites for GOS
    http://help.sap.com/saphelp_46c/helpdata/en/94/aa532cddd511d289860000e8216438/content.htm
    Once done.. check that you have valid workflow linkages active for this BO.
    Now when you click on the 'start workflow' the system will show all relevant workflows for the BO to choose from and to start.

  • CL_SALV_TABLE - how to trigger Double_Click question

    I am trying to find how to trigger an event on double click similar to  using Event Double_Click in Class CL_GUI_ALV_GRID   I am fresh out of the ABAP OO class and everything is a blur.  This is what I did.  I created a program that  with
    Data: r_grid TYPE REF TO cl_salv_table.
    CALL  METHOD CL_SALV_TABLE=>FACTORY
      Importing R_SALV_TABLE   = r_grid 
      Changing ITAB.
    I then tried to create an Include program to define a Local Class
    *&  Include           ZSD_DISPLAY_CUSTOMER
    class lcl_event_handler definition.
    PUBLIC SECTION.
      METHODS: on_double_click for event double_click of cl_gui_alv_grid
    METHODS: on_double_click for event double_click of cl_salv_table
                 IMPORTING es_row_no e_column.
    ENDCLASS.
    class lcl_event_handler IMPLEMENTATION.
    METHOD on_double_click.
    Data: IT_CUSTHIER type ZSD11_CUST_HIER_TABLE_TYPE.
    Data: WK_CUSTHIER LIKE LINE OF IT_CUSTHIER.
    types: BEGIN OF custhier_x,
            custhier like WK_CUSTHIER,
            number TYPE int4,
            quantity type MENGE_D,
            dollars_n_cents type DMBTR,
           END OF   custhier_x.
    data: it_custhier_x type STANDARD TABLE OF custhier_x.
    data: wk_custhier_x like LINE OF it_custhier_x.
        read table it_custhier_x into wk_custhier_x
         index es_row_no-row_id.
    data: wk_vkorg type vkorg.
    data: wk_vtweg type vtweg.
    data: wk_spart type spart.
    wk_vkorg = '3290'.
    wk_vtweg = '00'.
    wk_spart = '00'.
    SET PARAMETER ID: 'KUN' field wk_custhier_x-custhier-kunnr.
    SET PARAMETER ID: 'VKO' field wk_vkorg.
    SET PARAMETER ID: 'VTW' field wk_vtweg.
    SET PARAMETER ID: 'SPA' field wk_spart.
    call TRANSACTION 'VD03' AND SKIP FIRST SCREEN.
    ENDMETHOD.
    ENDCLASS.
    When I try to do a syntax check I get this error 
    The Handler Method ON_DOUBLE_CLICK is only defined for trigger objects of CL_GUI_ALV_GRID, but the system tried to register a trigger object of CL_SALV_TABLE
    Any suggestions on what I need to do in order to trigger a event for double click ?
    Thanks
    Edited by: Bob Ackerman on Sep 22, 2010 11:25 AM

    I am not getting anything to happen on double click.   In debug mode, I see that it calls program SAPLSLVC_FULLSCREEN and gets to FORM  SELFIELD_GET  which gets the row, column, and value of the field that was double clicked.  But, nothing seems to be returned to my program.  I am fresh out of the ABAP OO class and everything is a blur.  My test program is listed below, if you would be so kind as to take a look and maybe see what I am missing.
    Include program   ZSD_DISPLAY_CUSTOMER
    class lcl_event_handler definition.
    PUBLIC SECTION.
    **  METHODS: on_double_click for event double_click of cl_gui_alv_grid
    **             IMPORTING es_row_no e_column.
    METHODS:
          on_DOUBLE_CLICK
            FOR EVENT DOUBLE_CLICK OF cl_salv_events_table
              IMPORTING
                row
                column  .
    ENDCLASS.
    class lcl_event_handler IMPLEMENTATION.
    METHOD on_double_click.
    **    data: it_sflight type TABLE OF sflight,
    **          wa_spfli  type spfli.
    Data: IT_CUSTHIER type ZSD11_CUST_HIER_TABLE_TYPE.
    Data: WK_CUSTHIER LIKE LINE OF IT_CUSTHIER.
    types: BEGIN OF custhier_x,
            custhier like WK_CUSTHIER,
            number TYPE int4,
            quantity type MENGE_D,
            dollars_n_cents type DMBTR,
           END OF   custhier_x.
    data: it_custhier_x type STANDARD TABLE OF custhier_x.
    data: wk_custhier_x like LINE OF it_custhier_x.
      data: ls_row_id type lvc_s_row.
      data: ls_col_id type lvc_s_col.
      data: l_value type lvc_s_data-value.
      data: ls_selfield type lvc_s_self.
      data: ls_fieldcat type slis_fieldcat_alv.
      data: ls_fieldcat_lvc type lvc_s_fcat.
    data: wk_vkorg type vkorg.
    data: wk_vtweg type vtweg.
    data: wk_spart type spart.
    wk_vkorg = '3290'.
    wk_vtweg = '00'.
    wk_spart = '00'.
    SET PARAMETER ID: 'KUN' field wk_custhier_x-custhier-kunnr.
    SET PARAMETER ID: 'VKO' field wk_vkorg.
    SET PARAMETER ID: 'VTW' field wk_vtweg.
    SET PARAMETER ID: 'SPA' field wk_spart.
    call TRANSACTION 'VD03' AND SKIP FIRST SCREEN.
    ENDMETHOD.
    ENDCLASS.
    In the main program :
    CREATE OBJECT CUST_HIER
      EXPORTING
        IM_HIERARCHY_TYPE = 'A'
    *    IM_CUSTOMER_NUMBER =
        IM_SALES_ORG = '3290'
        IM_DIST_CHANNEL = '00'
        IM_DIVISION = '00'
        IM_VALIDITY_DATE = '99991215'.
       CALL METHOD CUST_HIER->GET_CUSTHIER_NODES
         IMPORTING EX_CUSTHIER = IT_CUSTHIER.
       it_custhier_x = IT_CUSTHIER.
    TRY.
      CALL METHOD CL_SALV_TABLE=>FACTORY
    *    EXPORTING
    *      LIST_DISPLAY   = IF_SALV_C_BOOL_SAP=>FALSE
    *      R_CONTAINER    =
    *      CONTAINER_NAME =
        IMPORTING
          R_SALV_TABLE   = r_grid
        CHANGING
          T_TABLE        = IT_CUSTHIER_X.
       CATCH CX_SALV_MSG .
      ENDTRY.
    *... §3 Functions
    *... §3.1 activate ALV generic Functions
      data: lr_functions type ref to cl_salv_functions_list.
      lr_functions = r_grid->get_functions( ).
      lr_functions->set_default( abap_true ).
    *... set the columns technical
      data: lr_columns type ref to cl_salv_columns.
      lr_columns = r_grid->get_columns( ).
      lr_columns->set_optimize( abap_true ).
      perform set_columns_technical using lr_columns.
      r_grid->display( ).
    lr_events = r_grid->get_event( ).
      create object gr_events.
      set handler gr_events->on_double_click for lr_events.
    Edited by: Bob Ackerman on Sep 22, 2010 5:30 PM
    Edited by: Bob Ackerman on Sep 22, 2010 5:35 PM
    Edited by: Bob Ackerman on Sep 22, 2010 5:37 PM

  • How to trigger an existing background job in ABAP program?which fm?

    Hi experts,
        how to trigger an existing background job( defined in SM36 ) in ABAP program?which fm?
        seems that FM 'JOB_OPEN' / 'JOB_SUBMIT' / 'JOB_CLOSE' can only create a new job.

    Hi,
        now my requirement is that sap has generated one job automatically, and then i will have a job name
    'XXX'. and then i want to schedule the job in abap program,. which function module could i use ?
    my expected fm is that the system will trigger the job after i give the job name and start condition.
    i have tried job_open, but it seems just to create a new job. any advice ?

  • How to trigger change documents based on inbound-idoc?

    Hi experts,
    Currently I'm working in on a project where I have to create an interface based on IDOCS. This is an interface for two SAP-HR systems.
    If there are made changes in the dialog (gui) by a user, there will be created a change document, which can be displayed by report RPUAUD00. For the inbound-interface based on idocs it's important that there will also be created a change document in the system based on this idoc. We have tested this, but no change document is created.
    Can anybody help me to solve this problem: "How to create a change document based on the inbound-idoc?"
    Thanks in advance.
    With kind regards,
    Roy

    Thanks for responding. First, I like the idea of defining an event, but I'm still stuck with how to trigger it. I looked at dynamically registering events, and maybe doing something where a click on the graph control registers an event for key presses on the vi. I'd still have to figure out out to terminate the key press event. Unfortunately, (actually it's a feature I like..) there are a number of different ways to complete typing in a scale change. I routinely use ctr-enter (habit from working on a laptop), though enter works fine, and clicking somewhere else is probably the most common method. I am not that familar with User Defined Events, so I may be overlooking something obvious here.
    The graphs are a Bode Plot, with a seperate graph for RPM vs Phase Lag, and RPM vs Magnitude. I want them to always be plotted on the same x-axis. The plot is generated when the user doubleclicks on a dataset. After that, it's just the user looking at it. They can change the axis without any new data being generated.
    Thanks,
    Chris

  • How to trigger left_click_run event on ALV GRID

    Hiiiiiiii........
    Can any of u please tell me how to trigger left_click_run event on ALV GRID.
         There is an event LEFT_CLICK_RUN and  its a public accessed event. But the problem is , the corresponding  attribute of this event  "EVENT_LEFT_CLICK_RUN" which is needed to registered that event (We need to register our events through a method set_register_events  using table of type cntl_simple_events...) is protect accessed. So I am unable to use that attribute...Could u please tell  me is there any alternative way to register that event.......ANY POSSIBLE WAY?
    Thanks in advance,
    Rams

    I think you should use event selection_changed. Note that you shouldn't allow multiple selection for the tree at the same time, i.e. use: create object g_tree exporting \[...\] node_selection_mode = cl_gui_column_tree=>node_sel_mode_single.
    For more information, see this thread: Urgently required :  cl_gui_alv_tree single_click event...

  • How to trigger top-of-page in ALV Grid

    How to trigger Top-Of-Page in ALV Grid...
    can any one plese send the sample code...
    thanks.

    here is sample code. try this. u need to build an internal table and then call function commentary write and pass that internal table.
    *&      Form  TOP_OF_PAGE
          Top_of_page
    FORM top-of-page.                                           "#EC CALLED
    *ALV Header declarations
      DATA: lit_header TYPE slis_t_listheader,
            lwa_header TYPE slis_listheader.
    Title
      lwa_header-typ  = 'H'.
      lwa_header-info = text-013.
      APPEND lwa_header TO lit_header.
      CLEAR lwa_header.
    BOM Number
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
        EXPORTING
          input  = p_matnr
        IMPORTING
          output = gv_matnr.
    Pass BOM number
      lwa_header-typ  = 'S'.
      lwa_header-key = text-014.
      lwa_header-info = gv_matnr .
      APPEND lwa_header TO lit_header.
      CLEAR: lwa_header ,
             gv_matnr .
    BOM description
      lwa_header-typ  = 'S'.
      lwa_header-key = text-015 .
      lwa_header-info = gv_maktx .
      APPEND lwa_header TO lit_header.
      CLEAR: lwa_header.
    start/end date format MM/DD/YY
      lwa_header-typ  = 'S'.
      lwa_header-key = text-016 .
      CONCATENATE s_erdat-low+4(2) '/'
                  s_erdat-low+6(2) '/'
                  s_erdat-low(4) ' - '
                  s_erdat-high+4(2) '/'
                  s_erdat-high+6(2) '/'
                  s_erdat-high(4)
                  INTO lwa_header-info.
      APPEND lwa_header TO lit_header.
      CLEAR: lwa_header.
    Run Date of Report format MM/DD/YY
      lwa_header-typ  = 'S'.
      lwa_header-key = text-017 .
      CONCATENATE  sy-datum+4(2) '/'
                   sy-datum+6(2) '/'
                   sy-datum(4) INTO lwa_header-info .
      APPEND lwa_header TO lit_header.
      CLEAR: lwa_header.
    call function REUSE_ALV_COMMENTARY_WRITE to use TOP_OF_PAGE event.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
        EXPORTING
          it_list_commentary = lit_header.
    ENDFORM .                              " FORM top-of-page.

Maybe you are looking for