DATA_CHANGED event handler is not triggered after input.(OO ALV)

Dear Experts,
What I did:
I register Enter as the trigger event for data_changed event, and I put my checking logic in data_changed_handler which is a method of a local class. When the checking fails, I put messages using er_data_changed->add_protocal_entry to show messages.
My checking is simple, if the cell is empty, error messages pops up tells that this cell can not be blank for this row.
My problem:
When there is no entry in the alv list(Only this situation), I insert a new entry, the cell which is required is empty, I press Enter, data_changed event is triggered, the message pops up saying that the cell is required. Then close the pop up message window, I input something in the cell, and press enter. The data_changed event is not triggered.
Is there any1 has any ideas on this problem?
Vicnent
Edited by: Changjiu Tan on Sep 7, 2009 1:33 PM

  METHOD HANDLE_DATA_CHANGED.                               "#EC NEEDED
*<<<  BEGIN MODIFY EXAMPLE CODE
*   u4FDDu5B58u30C7u30FCu30BFu3092u7DE8u96C6u3059u308Bu3000START
    DATA: LW_INS      TYPE LVC_S_MOCE,
          LV_FNAME    TYPE LVC_FNAME,
          LW_MOD      TYPE LVC_S_MODI,
          LV_MAX      TYPE I,
          LV_RES(12)  TYPE C,
          LW_LIST     TYPE ZTSRE012,
          LV_ROWID    TYPE LVC_S_ROID,
          LT_MOD      TYPE LVC_T_MODI,
          LV_COLID    TYPE LVC_S_COL,
          LV_ROW_ID    TYPE LVC_S_ROW,
          LV_COL_ID    TYPE LVC_S_COL.
*   u73FEu5728u306Eu30D5u30A9u30FCu30ABu30B9u4F4Du7F6Eu3092u53D6u5F97
    CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
      IMPORTING
        ES_ROW_ID = LV_ROW_ID
        ES_COL_ID = LV_COL_ID.
    LOOP AT GT_LIST INTO LW_LIST.
      IF LW_LIST-ID > LV_MAX.
        LV_MAX = LW_LIST-ID.
      ENDIF.
    ENDLOOP.
*   u30B0u30EBu30FCu30D7ID
    LV_FNAME = CNS_ID.
    LOOP AT ER_DATA_CHANGED->MT_INSERTED_ROWS INTO LW_INS.
      LV_MAX = LV_MAX + 1.
      CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
        EXPORTING
          I_ROW_ID    = LW_INS-ROW_ID
          I_FIELDNAME = LV_FNAME
          I_VALUE     = LV_MAX.
    ENDLOOP.
    CLEAR: LV_FNAME.
    LT_MOD[] = ER_DATA_CHANGED->MT_GOOD_CELLS[].
*   u30C7u30FCu30BFu30C1u30A7u30C3u30AF
    LOOP AT LT_MOD INTO LW_MOD.
      IF LW_MOD-FIELDNAME = CNS_ZZTTSN.
        LV_COLID-FIELDNAME = LW_MOD-FIELDNAME.
        LV_ROWID-ROW_ID    = LW_MOD-ROW_ID.
        CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
          EXPORTING
            IS_COLUMN_ID = LV_COLID
            IS_ROW_NO    = LV_ROWID.
        CALL METHOD GO_ALV_GRID7->GET_CURRENT_CELL
          IMPORTING
            E_VALUE = LV_RES.
        IF LV_RES IS INITIAL.
          CALL METHOD ER_DATA_CHANGED->ADD_PROTOCOL_ENTRY
            EXPORTING
              I_MSGID     = CNS_MSGID
              I_MSGTY     = CNS_MSGTY
              I_MSGNO     = CNS_MSGNO
              I_FIELDNAME = LW_MOD-FIELDNAME
              I_ROW_ID    = LW_MOD-ROW_ID.
        ENDIF.
        CALL METHOD ER_DATA_CHANGED->MODIFY_CELL
          EXPORTING
            I_ROW_ID    = LW_MOD-ROW_ID
            I_FIELDNAME = LW_MOD-FIELDNAME
            I_VALUE     = LV_RES.
       ENDIF.
      CLEAR:  LV_RES,
              LV_COLID,
              LV_ROWID.
    ENDLOOP.
    CALL METHOD GO_ALV_GRID7->SET_CURRENT_CELL_VIA_ID
      EXPORTING
        IS_ROW_ID    = LV_ROW_ID
        IS_COLUMN_ID = LV_COL_ID.
  ENDMETHOD.                    "handle_data_changed
Edited by: Changjiu Tan on Sep 7, 2009 1:31 PM
Edited by: Changjiu Tan on Sep 7, 2009 1:32 PM

Similar Messages

  • Event Handler is not being triggered- 11G Release2

    Hi all,
    I developed a postprocess event handler which I am expecting to be triggered when my custom task for trusted reconciliation run. I have deployed my event handler using plugin registration utility. I put a static block in my class to see if my class iz being initialized. I see that iti is initialized but event handler is never triggered (execute method is never called). Why it is not triggered? Any help is strongly appreciated... Below is my configuration for the event handler..
    <?xml version='1.0' encoding='utf-8'?>
    <eventhandlers xmlns="http://www.oracle.com/schema/oim/platform/kernel"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.oracle.com/schema/oim/platform/kernel/orchestration-handlers.xsd">
    <action-handler class="com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
    entity-type="User"
    operation="ANY"
    name="PostProcessEventHandler"
    stage="postprocess" order="1002"
    sync="TRUE"/>
    </eventhandlers>
    <?xml version="1.0" encoding="UTF-8"?>
    <oimplugins xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <plugins pluginpoint="oracle.iam.platform.kernel.spi.EventHandler">
    <plugin pluginclass=
    "com.tcmb.iam.plugin.eventhandler.PostProcessEventHandler"
    version="1.0"
    name="PostProcessEventHandler">
    </plugin>
    </plugins>
    </oimplugins>
    Tahnaks in advance,
    BR
    ALİYE

    Hi Nayan,
    I have cheked the plugins table and my plugin is in there.Thenchecked mds_paths table I have four records there (I have deployed and undeployed few times) wich are as follow:
    path element name
    http://www.oracle.com/schema/oim/platform/kernel     action-handler
    http://www.oracle.com/schema/oim/platform/kernel     action-handler
    http://xmlns.oracle.com/schema/oim/platform/kernel eventhandlers
    http://www.oracle.com/schema/oim/platform/kernel     eventhandlers
    Which schema is corrent? Is there something wrong with these records that causes my handler to do not trigger ?
    Thanks a lot
    BR
    Aliye

  • 925685 - Approval process is not triggered after documents are added

    Hi there,
    I was wondering if anyone found already a solution for the following problem.
    According to SAP Note: 925685 - Approval process is not triggered after documents are added.
    Within our SAP application, we want to approve purchase orders for departments based upon the document total.
    I was very astonished that employees are able to add a PO which will not trigger an approval stage and after the document is added, they have the possibility to change the document and at the update moment no approval will be started even if the document meets the approval requirements.
    Therefore I really want the flexibility to give users the possibility to change their PO.
    Meanwhile, documents which are added under approval, are also locked for changes, although this is another question it is also pretty annoying!
    I hope anyone has already found a method or work around for the stated problems above.
    (We are using SAP 8.8 PL 20)
    Thanks in advance.
    Kind regards,
    Marcel

    Hi Kambadasan,
    Thank you for your reply
    I'm sorry but I know how the approval templates work and they are configured correctly, however as SAP also mentioned in their own Note, this is due to the lack of SBO that SAP has such behaviour.
    Hi Gordon,
    Thanks for your reply.
    Unfortunately I have not found the post you mentioned...
    I will post my issue alson on the topic you mentioned.
    Hopefully they found a solution or maybe version 8.81 will solve the problem.
    Thanks a lot!!
    Kind regards,
    Marcel

  • Button's Event Handler Method not getting triggered

    To add a button I have written the following code:
    clear ls_button.
        l_import = 'Mass Upload'.
        l_enabled = 'X'.
        clear ls_button.
        ls_button-on_click = 'UPLOAD'. "IMPORT FILE
        ls_button-text     = l_import.
        ls_button-enabled  = l_enabled.
        INSERT ls_button INTO rt_buttons INDEX 5.
    Created a new Event Handler method for it and wrote the following code:
    gr_file_popup = comp_controller->window_manager->create_popup(
        iv_interface_view_name = 'ZSRQM_INCID_H/FileUploadwindow'
        iv_usage_name = 'ZCufileupload'
        iv_title = l_title ).
      gr_file_popup->set_on_close_event( iv_view = me iv_event_name = 'upload' ).
      gr_file_popup->open( ).
    When i run in th component in debug mode,my event is not getting triggered.
    Please suggest.
    Regards
    Najam

    Try the following code in first part...
    clear ls_button.
        l_import = 'Mass Upload'.
        clear ls_button.
        ls_button-on_click = 'UPLOAD'. "IMPORT FILE
        ls_button-text     = l_import.
        ls_button-page_id  = me->component_id.
        ls_button-enabled  = abap_true.
        INSERT ls_button INTO rt_buttons INDEX 5.

  • PAI is not triggered after I choose value in F4

    Hello experts,
    I fight with the following problem:
    On my screen I use input field (ucf_s_coi_afd03_ct-xrproc_param) and I coded the F4 help for it manually
    PROCESS ON VALUE-REQUEST.
      FIELD ucf_s_coi_afd03_ct-xrproc_param
          MODULE req_xrproc_param_2006.
    After I press f4 on this field, the values are correctly listed but after I choose one value (double click), I would expect that the PAI is triggered but it is not. I have to press ENTER, only then.
    Is there a way how to trigger the PAI after the value is chosen?
    I found one way, but I don't want to use it:
    If I change the input field into "List box" or "List box with key", then I can assign function code to it and if I do that, then it works - PAI is triggered after value is chosen. However, I don't want to use list box, I need standard input field.
    Any ideas?
    Regards,
    Tomas

    >
    Jonathan Coleman wrote:
    > Rather than triggering the PBO in order to fill in other fields on the screen from your POV event, the usual approach I've seen is to call the function DYNP_VALUES_UPDATE (which is quite well documented) e.g. you could get a customer number from your F4 dropdown, then retrieve their name and address and populate that data back into the screen all from within the "process on value-request" module logic.
    >
    > Jonathan
    The original problem (or at least my orignal problem) which was solved by the SUPPRESS DIALOG was how to trigger my PAI validation - not the PBO though that of course follows on afterwards - immediately on selecting a value from a search help in order to carry out a further check on the value selected.  I've used DYNP_VALUES_UPDATE in other situations, but it was not a suitable solution for me here.

  • Event Handler is not getting trigger for Freely Programmed search help

    Hi All,
       I am having a component comp1 defined for value help with one event. In component comp2 i want to call the comp1 but the event handler which i have created is not getting triggered. Any reasons for it.
    Thanks
    Raghavendra

    Hi Kumar,
    Please check these forum threads.
    Re: Help required on Freely Programmed Input help
    Re: Custom search help

  • PO change output not triggered after deletion of line item

    Hello SAP experts,
    I have one issue with PO output
    I have created PO with output type & we are outputing through ME9F( 3- Send with application own transaction)
    Below is the sequence,
    1.PO created & outputed thru ME9F
    2.Now ,i added the line item in the PO,Output triggred but not processed.
    3.I deleted the line item immedietely,Output not triggered.
    (My question is Why the output is not tiggered?)
    4.I outputed it through ME9F,vendor will receive only 1st output & never get the 2nd o/p for the deletion of item.
    I am clear that after processsing the 1st output,then only i can process the 2nd.
    But in business point of view,this scene created the problem.
    Please provide your valuable input.

    Hi,
    In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
    Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
    Now your Output will be triggered with a change indicator and you can process it using ME9F.
    Regards
    Chandra Shekhar

  • Contextual event on table not triggered

    Using Jdev PS4.
    Concider following example: http://www.yonaweb.be/ContextualEvent.zip
    (I know following example can be simplified by using master-detail relation in the data control but it's to illustrate the example)
    I have two taskflows: EmployeeTF and departmentTf.
    The idea is to trigger an event when I select a new record in the department table.
    This is the tree binding:
    <tree IterBinding="DepartmentsIterator" id="Departments">
          <nodeDefinition DefName="model.views.DepartmentsView" Name="Departments0">
            <AttrNames>
              <Item Value="DepartmentId"/>
              <Item Value="DepartmentName"/>
              <Item Value="ManagerId"/>
              <Item Value="LocationId"/>
            </AttrNames>
            <events xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
              <event name="changeTheDept"
                     customPayLoad="${bindings.DepartmentId.inputValue}"
                     eventType="Currency Change Event"/>
            </events>
          </nodeDefinition>
        </tree> I have created a custom java class to use as a data control to find out when the event is triggered. This is my code:
        public void handleEvent(Object payload){
            System.out.println("Event handler");
            System.out.println(payload);
        }When I select a record in the table, the event does not get fired.
    So as a test I added my own custom method to see if contextual events are working properly so I added this method to my DC:
        public void triggerEvent(){
            System.out.println("triggering event");
        }and added it on a commandLink to the DepartmentTF. I also added an event on it:
    <methodAction id="triggerEvent" RequiresUpdateModel="true"
                      Action="invokeMethod" MethodName="triggerEvent"
                      IsViewObjectMethod="false" DataControl="EmpBean"
                      InstanceName="EmpBean.dataProvider">
          <events xmlns="http://xmlns.oracle.com/adfm/contextualEvent">
            <event name="triggerEvent"
                   customPayLoad="#{bindings.DepartmentId.inputValue}"/>
          </events>
        </methodAction>When I trigger this event, my event handler does get called on the employee taskflow.
    So, my question is:
    1) Is this normal behavior that the change row event is not triggered?
    2) if yes, how do I trigger it or what is the purpose of this event?
    Edited by: Yannick Ongena on May 28, 2012 9:03 PM

    I have a similar circumstance: I have a page with two regions, each region contains a table. The two tables share some information so when I update one of them
    I also want the change to be reflected in the other table. I tried to use contextual events to send an event that causes one of the tables to refresh (I do not pass any payload)
    but so far I have not had any success with making this work. I am wondering if the bug you mentioned here would also prevent such a setup to work? I am using Jdev 11g R1 11.1.1.6.2.

  • Release strategy for RFQ's not triggered after change

    Folks,
    Release strategy is active for RFQ's. In case of initial creation, the release strategy is active. After releasal a change is made to the existing RFQ. However, the release strategy is not triggered. Characteristics used are:
    1) document type (AN)
    2) purchasing type (RFQ purchasing document)
    It is obvious that these characteristics will not re-trigger the release strategy. On header level, there is no field in CEKKO available to re-trigger, for example total quantity? Any suggestions for a characteristic that can re-trigger the RS?
    Message was edited by:
            MdZ

    Hi,
    For RFQ Release strategy will be applicable only for Document type.No other characteristics will apply for that.
    As RFQ don't have any specific table where the data is stored related to RFQ.
    So we Use CEKKO which only identifies the document type of RFQ.
    In your case in initial process while creating the RFQ release strategy is active.
    What change you have made to the Released RFQ.
    rgds
    Chidanand

  • Not triggering PBO in OOABAP ALV grid

    Hi all.
    I want to create drop down for Document type BSART.for that iam using OOABAP but my program is not triggering PBO module itself.I have seen so many examples but iam unable to fetch data.what are the changes i have to do here.i have reduced some code here.i have written my final internal table select query before this stataement.
    loop at it_git_final into wa_git_final.
    APPEND wa_git_final TO it_git_final.
    ENDLOOP.
    *Call to ALV
      CALL SCREEN 600.
    MODULE status_0600 OUTPUT.
    SET PF-STATUS 'DISP'.
    SET TITLEBAR 'ALVF4'.
    ENDMODULE.                 " STATUS_0600  OUTPUT
    calling the PBO module ALV_GRID.
    MODULE pbo OUTPUT.
    *Creating objects of the container
      *  SET field for ALV
      if g_custom_container is initial.
      perform create_and_init_alv changing it_git_final
                                             gt_fieldcat.
    PERFORM alv_build_fieldcat.
      endif.
      * Set ALV attributes FOR LAYOUT
    PERFORM alv_report_layout.
       CHECK NOT c_alvgd IS INITIAL.
    Call ALV GRID
       CALL METHOD c_alvgd->set_table_for_first_display
        EXPORTING
          is_layout                     = it_layout
          i_save                        = 'A'
        CHANGING
          it_outtab                     = it_git_final
          it_fieldcatalog               = it_fcat
        EXCEPTIONS
          invalid_parameter_combination = 1
          program_error                 = 2
          too_many_lines                = 3
          OTHERS                        = 4.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
       ENDMODULE.                 " PBO  OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
       ENDMODULE.                    "pai INPUT
    *subroutine to build fieldcat
    FORM alv_build_fieldcat changing pt_fieldcat type lvc_t_fcat..
       DATA lx_fcat TYPE lvc_s_fcat.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
          i_structure_name = 'IT_GIT_FINAL'
        CHANGING
          ct_fieldcat      = gt_fieldcat.
    * To assign dropdown in the fieldcataogue
    LOOP AT gt_fieldcat INTO lx_fcat.
       DATA : lx_fcat TYPE lvc_s_fcat.
      lx_fcat-row_pos   = '1'.
      lx_fcat-col_pos   = '1'.
    lx_fcat-fieldname = 'CHECK1'.
    lx_fcat-ref_field = 'CHECK1'
      lx_fcat-EDIT = 'X'.
      lx_fcat-coltext = 'Check Box'.
    lx_fcat-seltext = text-c01.
    APPEND lx_fcat TO Gt_fieldcat.
    CLEAR lx_fcat.
    lx_fcat-row_pos   = '1'.
      lx_fcat-col_pos   = '15'.
      lx_fcat-fieldname = 'BSART'.
      lx_fcat-ref_field = 'BSART'.
      lx_fcat-ref_table = 'T161P'.
      lx_fcat-coltext = 'Document Type'.
    lx_fcat-drdn_hndl = '1'.
      lx_fcat-outputlen = 15.
      lx_fcat-edit = 'X'.
      append  lx_fcat to gt_fieldcat.
      CLEAR lx_fcat.
       DATA: lt_dropdown TYPE lvc_t_drop,
            ls_dropdown TYPE lvc_s_drop.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '01 ZFC Vesselchart Contract'.
      APPEND ls_dropdown TO lt_dropdown.
      ls_dropdown-handle = '1'.
      ls_dropdown-value = '02 ZQTY QTY Contract(SESA)'.
      APPEND ls_dropdown TO lt_dropdown.   ls_dropdown-handle = '1'.
    *method to display the dropdown in ALV
      CALL METHOD g_grid->set_drop_down_table
        EXPORTING
          it_drop_down = lt_dropdown.
    LOOP AT it_fcat INTO lx_fcat.
        CASE lx_fcat-fieldname.
    To assign dropdown in the fieldcataogue
          WHEN 'BSART'.
            lx_fcat-drdn_hndl = '1'.
            lx_fcat-outputlen = 15.
            MODIFY it_fcat FROM lx_fcat.
        ENDCASE.
      ENDLOOP.
          endform.
    form ALV_OUTPUT .
    *Create object for container
    CREATE OBJECT g_custom_container
            EXPORTING container_name = 'CCONT'.
    *create object for grid
    CREATE OBJECT g_grid
            EXPORTING i_parent = g_custom_container.
      CALL METHOD g_grid->set_table_for_first_display
        EXPORTING
          is_layout       = it_layout
        CHANGING
          it_fieldcatalog = gt_fieldcat
          it_outtab       = it_git_final.
    endform.                    " ALV_OUTPUT
    form ALV_REPORT_LAYOUT .
      it_layout-cwidth_opt = 'X'.
      it_layout-col_opt = 'X'.
      it_layout-zebra = 'X'.
    endform.                    " ALV_REPORT_LAYOUT
    form CREATE_AND_INIT_ALV  changing p_it_git_final
                                       p_gt_fieldcat.
      create object g_custom_container
             exporting container_name = g_container.
      create object g_grid
             exporting i_parent = g_custom_container.
    endform.

    Hello Raj
      Actually all the code is described in PBO module, so you need to invoke this module in PBO when defining the screen.
    For example, access transaction SE51, start in Change mode and inser line
        MODULE PBO.
    Then activate the object
    Best regards
    Carlos Machad o

  • Events listening to Image with map not triggered after DOM manipulation

    Hi again,
    I am rephrasing the issue that I had posted earlier today and assume that reproducing the issue wasn't clearly mentioned.
    ISSUE:
    After the DOM is updated with new image and corresponding image map, events assigned to the div containing the img and map, do not respond or get triggered.
    *TO REPRODUCE:*
    Click on the link below. There appears an image that has image map. Mouse over any of the two boxes and notice that corresponding area ID appears in the red colored box placed below the image.
    (Until here all browsers behave the same. So far so good ...).
    Now click on one of the two boxes (image) and then a new page is loaded that has a new image and corresponding image map to it.
    Now the new image has 4 pink colored boxes. Mouse over any of the boxes and the red colored box should now display the area id corresponding to the box.
    Red colored box below the image is updated with the area id of the box and you mouse over any of the 4 boxes in all the browser EXCEPT IN SAFARI.
    Further, (in all browsers except safari) click on the image and a again a new page is loaded and mouse over and click event are trigerred.
    As long as we mouse over the image, red box gets updated with the area id corresponding to that of the box from the image.
    Also as long as we click a new page is loaded with new image (there are 3 images that are in loop).
    *LINK TO SAMPLE:*
    I recommend you to try this either in Firefox or IE before you do on Safari (to see the normal, expected behaviour first).
    http://www.hivegroup.com/safari/test.html
    All inputs on this issue are welcome and greatly appreciated.
    Thanking you in advance.
    Regards,
    Shashi.

    Thanks for advice Reverse_parn. And I did report the bug to Apple, like you said.
    And, finally did you notice the wrong behaviour in Safari ?
    Regards,
    Shashi

  • DisplayExecution event not triggered after sequencefile execution

    I have a problem now with my customized Test UI developed in C#.
    In my own PC, my codes works well:
    this.axSequenceFileViewMgr1.GetCommand(CommandKinds.CommandKind_ExecutionEntryPoints_Set, 0).Execute(true);
    // Run sequence---> This goes to DisplayExecution event
    private void axApplicationMgr1_DisplayExecution(object sender, NationalInstruments.TestStand.Interop.UI.Ax._ApplicationMgrEvents_DisplayExecutionEvent e)
                this.axExecutionViewMgr1.Execution = e.exec; 
    However, when I run this UI in another PC, which installed same softwares as mine, the DisplayExecution can not be triggered.
    And I found that the count of Executions in axApplicationMgr1 is always 0 after the command execute.
    I'm using TestStand 2014, 64bits version.
    C# in Visual studio 2010.
    Please advise where may go wrong in my code or the PC environment for my problem.
    Thanks alot!

    I figured out the reason of this issue by myself.
    The failure of not doing the GetCommand.Execute() is due to the user login issue.
    During my development I feel the login window is annoying so I disabled it by setting axApplicationMgr1.LoginOnStart to false.
    I'm not sure why it works in my PC but not in others. -> Maybe someone can advise on this point?
    So my current solution is to catch the UserChanged event after the login then to open the sequence file and execute it.
    Hope this is helpful to those meet similar issues.

  • Event CREATED is not triggered for objects of type USER

    Dear all,
    I'm currently configuring a workflow, which should be started when new user account is created. I took event CREATE for object type USER as a start event, but the workflow does not start, when I create new user account via transaction code SU01. If I test workflow in SWUS, everything works fine. I checked the event trace, but it shows no records for events triggered when I use SU01 and create a user.
    Could you please advise how I can activate triggering of this event without using ABAP-developed event trigger?
    Thank you in advance.

    but here the requirement is to trigger workflow after the user account is created in the system.
    One more way to trigger a workflow is by the messages output. I mean when a user account is created successfully then a message will displayed on the screen let say User ABC created Successfully right so, when ever this message is raised then you can start the workflow by using this message. this can be done by using the txn SWUY
    1. Open SWUY txn.
    2. Click on Continue  and in the next screen give the area as the message class name from which the message is getting triggered and its number in the field Message and click on continue.
    3. Then it will open the PFTC txn mention the description and click on the workflow builder button and design the workflow as per you requirement.
    and once this is done , so when ever the message from the above mentioned message class is raised at that time your workflow will also be started.
    In this way I hope you can reduce your development time , searching for the right BADI or User exit and implementing the code and testing..
    Here in the above txn all you have to make sure that from which message class the message is getting displayed once the user is created successfully, I suggest you a way is you create a dummy user and once the dummy user is created succeffully system will display the message right?, so just double click on the message at the bottom of the screen this will let you knwo what is the message class and number it is using. and once you know tyr to approach the above steps....

  • Exception not triggered after 4 acknowledgement failures.

    Hi,
       I have an FTP Sender, When i am sending the file to FTP site. the send step is defined as throwing send exception and send exception is handled in send exception handler where i cancel the process. The send step is defined with acknowledgement as "Transport".
    I have FTP address wrongly spelt.
    So the BPM tries 4 times, with 5 min duration between retires. Then after the 4tn try i am expecting the send step to throw send exception. It does not do that.
    Could you please let me what changes i have to do to catch this acknowledgement exception.
    I also have a deadline exception. but i dont want this to go into the deadline exception. Can i catch this exception in send exception.
    Regards,
    Vinay.

    Hi,
    In IMG - Materials Management- Purchasing-Messages - Fields relevant to Print out of changes
    Enter Table EKPO , Reference Field LOEKZ, tick on change print relevant for purchase order,in routine enter 03.
    Now your Output will be triggered with a change indicator and you can process it using ME9F.
    Regards
    Chandra Shekhar

  • PO release strategy not triggered after PO printout

    Hi Experts,
    I have configured PO release strategy and have given 10% tolerance to PO value.
    When I change PO value (more than 10%) after releasing the PO, but before taking Print out of PO, the system triggers new release strategy.
    But when I change the PO value (More than 10%) after taking PO print out, system do not trigger the new release strategy.
    I want the system to trigger new release strategy after PO print out (if its going beyond the tolerance).
    Please help.
    regards,
    Anand

    Hi Anand,
    you cannot reset the release once the PO is printed.
    When the purchase order is printed/faxed the vendor will deliver the goods. Therefore it would make no sense if the system resets the strategy.
    Please ensure that changeability of the release indicator should be 5 or 6.
    Sanjeev

Maybe you are looking for