Workflow getting triggered even after event deactivation

Hi All,
I have created a copy template of standard workflow and activated event for copied template.
Then I deactivated standard workflow event by clicking in GREEN icon in row where BO and triggering event is linked with workflow.
Problem is even after deactivation, standard workflow is getting triggererd.
Is any step skipped for deactvation of event and workflow?
Kindly guide.
Thanks.

Check the event linkage in transaction SWETYPV (it should be similar as in the workflow builder).
Also make sure that you are testing in the right client. The event linkage is client depended customization. So, if you made your change in client X, they will not work in client Y unless you transport the event linkage customization between the clients.
Regards,
Karri

Similar Messages

  • WorkFlow get triggered even if we set trigger for item update with SPEmailEventReceiver and workflow attached to same Library

    Hi All,
               I have a situation, SPEmailEventReceiver and WorkFlow is attached to same library, WorkFlow is configured to run after item is updated, but soon as the email is received in library the workflow
    is getting triggered, We have a action to create folder with subject and date and put the attachment with the date folder in SPEmailEventReceiver e.g: once a mail is received in library the SPEmailEventReceiver will create a folder with Subject and then Folder
    with Date and then put the attachment in the date folder so hierarchy will be subject folder/Date folder/attachment
    I have tried to alter the SquenceNumber attribute in Feature Element file to 1 and make the Synchronization as synchronous but no luck.

    Hi,
    Here are some articles for your reference:
    Programmatically creating Folders within SharePoint List
    http://www.mindfiresolutions.com/Programmatically-creating-Folders-within-SharePoint-List-487.php
    How to use SPEmailEventReceiver?
    http://kkryczka.wordpress.com/2010/11/05/how-to-use-spemaileventreceiver/
    Attachments disappear with custom email event handler
    http://blogs.msdn.com/b/malag/archive/2009/05/13/attachments-disappear-with-custom-email-event-handler.aspx?PageIndex=2
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Workflow getting triggered many times

    Hi all ,
      I m working on Travel management workflows. I have set the triggering event as BUS2089->Created . But Whenever I m saving a travel request , it is triggering the workflow which is not desired .
      How can this be rectified ???
    Thanks ,
    Sonu.

    See,
    I analysed the problem earlier.
    I switched on the EVENT TRACE and ran one TRIP CREATION cycle. I can find that BUS2089 - REQUESTCREATED event is triggered. Well, as per our scenario, I changed that Created Trip, and I can still find the BUS2089 - REQUESTCREATED event even for this action also.
    And If I am not wrong this workflow gets triggered for BUS2089 - REQUESTCREATED event(refer your Trip WF Basic Data-Start Events).
    So, to avoid this problem, I have used a USER EXIT for TRIP to trigger my WF manually.
    Please refer the enhancement <b>FITR0003</b> for the TRIP Userexit.
    I hope this should clear your problem as myn.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Workitem button is not comming in swel though the workflow gets triggered

    Dear All,
    I have copied the std wf WS20000075 and doing customization for po release as per my clients requirement. Once PO is being created in ME21N i am able to see the event trace in SWEL , but its showing an error , " Import container contains errors (are any obligatory elements missing? " .and no workitem button is comming in SWEL so that i am not able to see the workflow log .
    so that though the workflow gets triggered , i am not able to trace it .
    I have gone through the solutions given in sdn , but i didn't get any solution for my issue.
    Hope to get a positive solution for this soon.
    Thanks
    prabhudutta

    This is error in ECC 6.0 for BUS2012.
    For the time being I am using solution which I have given in this thread but rigid solution is to raise an OSS note.
    I myself will raise an OSS but before would like to debug and find out what it is expecting exactly so i said use SWUE to find what went wrong.
    Cheers
    Jai
    I am having the same error, it goes into error for ECC6.0 version. I have not got chance to see why it is happening?
    any way for the time being you can do this : go to SWE2 and for given business object and receiver type, change the settings of "Behaviour upon error feedback" from "default" to "do not change linkage" so every time atleast event will trigger and so workflow, yeah ofcourse event will be queued in SWEAD. So final solution is an OSS
    NOTE:
    Check this thread, Glauco has given OSS note 797775
    /thread/781604 [original link is broken]

  • How does a workflow get triggered when we create a Shopping cart

    Hi all,
    In SRm how does a workflow gets triggered when we create a Shopping cart...what i mean is that in r/3 we use changedocument object or function modules etc..likewise in srm how the wf gets triggere...can anyone help me.
    Thanks&Regards,
    Hari

    Hi martin,
    yes i accept that in SRM also workflows are all started by event...what i mean is in R/3 we go for Change document object(swec) or some other method for event creation...like that in SRM what is there?Just whenwe create a Shopping cart How the workflow is trigerred...suppose if it is trigerred using fm swe_event_create where they might have called the function module.
    Thanks&Regards,
    Hari

  • Preview of approval chain before workflow gets triggered

    Hi Guys,
         I have a different requirement where users want to see the preview of approval chain before workflow gets triggered. I mean once we enter all the data in transaction, after the data validation is done then they want to see the approval chain. What is the best way to achieve this functionality. your input/ideas are highly appreciated.
    Thanks
    VT

    There is no easy way to do this. Basically the only possibility is to enhance your transaction with a subscreen or a tab where you have to simulate the logic used in your workflow to find agents and show the result of that simulation.
    If you are in a homemade transaction it should be pretty easy to do. If you're in a SAP standard transaction it may become a really tough modification/enhancement.
    Cheers,
    Patrick

  • Index is not getting picked even after providing hint

    Hi All
    The index pk_sku is not getting picked even after providing the hints when executing the query.Please kindly give me such recommendations.I am providing the information.
    select  * from
    (select /*+ index(s pk_sku) */
          to_char(t.dstamp, 'YYYYmmDDHH24MI') as sort_1,
          t.client_id as CLIENT_ID ,
          t.site_id as SITE_ID,
          tz.time_zone_name as TIME_ZONE_NAME     ,
          t.owner_id as OWNER_ID,
          t.sku_id as SKU_ID,
          t.reason_id as ADJUST_TYPE,
          to_char(t.dstamp+tz.diff/24, 'DD/mm/YYYY HH24:MI') as ADJUST_DATETIME,
          t.reference_id as RECEIPT_ID,
          t.batch_id as BATCH_ID,
          t.update_qty as UPDATE_QTY,
          t.lock_code as LOCK_CODE,
          s.description as SKU_DESCRIPTION
    from  mv_inventory_transaction t
          JOIN timezone tz ON tz.site_id = t.site_id ,
           mv_sku s
    where   t.sku_id= s.sku_id
    and     t.client_id=s.client_id
    and   ( :client is null or :client = t.client_id)
    and    ( :site is null or t.site_id  in (:site))
    and    ( :owner is null or t.owner_id in (:owner))
    and    t.code= 'Adjustment'
    and   (t.dstamp+tz.diff/24) between  to_date(:dateFrom, 'DD/mm/yyyy') and to_date(:dateTo,'DD/mm/yyyy')+1
    and      (:sku is null or t.sku_id in (:sku))
    UNION ALL
    (select  /*+ index(s pk_sku) */
         to_char(t.dstamp, 'YYYYmmDDHH24MI') as sort_1,
        t.client_id as CLIENT_ID ,
          t.site_id as SITE_ID,
                          tz.time_zone_name as TIME_ZONE_NAME     ,
          t.owner_id as OWNER_ID,
          t.sku_id as SKU_ID,
          t.reason_id as ADJUST_TYPE,
          to_char(t.dstamp+tz.diff/24, 'DD/mm/YYYY HH24:MI') as ADJUST_DATETIME,
          t.reference_id as RECEIPT_ID,
          t.batch_id as BATCH_ID,
          t.update_qty as UPDATE_QTY,
          t.lock_code as LOCK_CODE,
          s.description as SKU_DESCRIPTION
    from  mv_inventory_transaction_arch t
          JOIN timezone tz ON tz.site_id = t.site_id,
           mv_sku s
    where   t.sku_id= s.sku_id
    and     t.client_id=s.client_id
    and   ( :client is null or :client = t.client_id)
    and    ( :site is null or t.site_id  in (:site))
    and    ( :owner is null or t.owner_id in (:owner))
    and    t.code= 'Adjustment'
    and   (t.dstamp+tz.diff/24) between  to_date(:dateFrom, 'DD/mm/yyyy') and to_date(:dateTo,'DD/mm/yyyy')+1
    and      (:sku is null or t.sku_id in (:sku))
    order by sort_1,2,3,4,5
    version = Release 10.1.0.5.0
    SQL> sho parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.1.0.5
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    sho parameter db_file_multiblock_count_read
    sho parameter cursor_sharing
    SQL> sho parameter optimizer
    NAME                                 TYPE        VALUE
    optimizer_dynamic_sampling           integer     2
    optimizer_features_enable            string      10.1.0.5
    optimizer_index_caching              integer     0
    optimizer_index_cost_adj             integer     100
    optimizer_mode                       string      ALL_ROWS
    SQL>  sho parameter db_file_multi
    NAME                                 TYPE        VALUE
    db_file_multiblock_read_count        integer     16
    SQL> sho parameter cursor_sharing
    NAME                                 TYPE        VALUE
    cursor_sharing                       string      EXACTExplain plan
    | Id  | Operation                              | Name                          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   1 |  SORT ORDER BY                         |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   2 |   VIEW                                 |                               |    56 | 29736 |   345K  (1)| 01:09:07 |
    |   3 |    UNION-ALL                           |                               |       |       |            |          |
    |   4 |     NESTED LOOPS                       |                               |     2 |   984 | 29686   (1)| 00:05:57 |
    |   5 |      HASH JOIN                         |                               |     1 |   326 | 26870   (1)| 00:05:23 |
    |   6 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |   7 |       VIEW                             | MV_INVENTORY_TRANSACTION      |    25 |  7600 | 26866   (1)| 00:05:23 |
    |   8 |        UNION-ALL                       |                               |       |       |            |          |
    |   9 |         FILTER                         |                               |       |       |            |          |
    |  10 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |     1 |    67 | 24327   (1)| 00:04:52 |
    |  11 |           INDEX RANGE SCAN             | IDX_CODE_CLIENTID_690         | 79681 |       |   518   (1)| 00:00:07 |
    |  12 |         FILTER                         |                               |       |       |            |          |
    |  13 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |    24 |  2328 |  2539   (1)| 00:00:31 |
    |  14 |           INDEX RANGE SCAN             | IDX_CODE_646                  |  9269 |       |    46   (0)| 00:00:01 |
    |  15 |      VIEW                              | MV_SKU                        |    37 |  6142 |  2816   (1)| 00:00:34 |
    |  16 |       UNION-ALL                        |                               |       |       |            |          |
    |  17 |        MAT_VIEW ACCESS FULL            | MV_SKU                        |   335K|    10M|  2535   (1)| 00:00:31 |
    |  18 |        MAT_VIEW ACCESS FULL            | MV_SKU                        | 37839 |  1699K|   280   (1)| 00:00:04 |
    |  19 |     NESTED LOOPS                       |                               |    54 | 26568 |   315K  (1)| 01:03:10 |
    |  20 |      HASH JOIN                         |                               |     1 |   326 |   313K  (1)| 01:02:37 |
    |  21 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |  22 |       VIEW                             | MV_INVENTORY_TRANSACTION_ARCH |   576 |   171K|   313K  (1)| 01:02:37 |
    |  23 |        UNION-ALL                       |                               |       |       |            |          |
    |  24 |         FILTER                         |                               |       |       |            |          |
    |  25 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |     1 |    72 | 19258   (1)| 00:03:52 |
    |  26 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         | 36016 |       |   287   (1)| 00:00:04 |
    |  27 |         FILTER                         |                               |       |       |            |          |
    |  28 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |   575 | 55200 |   293K  (1)| 00:58:45 |
    |  29 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         |   367K|       |  3466   (1)| 00:00:42 |
    |  30 |      VIEW                              | MV_SKU                        |    37 |  6142 |  2816   (1)| 00:00:34 |
    |  31 |       UNION-ALL                        |                               |       |       |            |          |
    |  32 |        MAT_VIEW ACCESS FULL            | MV_SKU                        |   335K|    10M|  2535   (1)| 00:00:31 |
    |  33 |        MAT_VIEW ACCESS FULL            | MV_SKU                        | 37839 |  1699K|   280   (1)| 00:00:04 |
    ------------------------------------------------------------------------------------------------------------------------when put in sql tuning advisor,It recommended with better plan using indexes
    | Id  | Operation                              | Name                          | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                       |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   1 |  SORT ORDER BY                         |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   2 |   VIEW                                 |                               |    56 | 29736 |   340K  (1)| 01:08:01 |
    |   3 |    UNION-ALL                           |                               |       |       |            |          |
    |   4 |     NESTED LOOPS                       |                               |     2 |   848 | 26900   (1)| 00:05:23 |
    |   5 |      HASH JOIN                         |                               |     1 |   326 | 26898   (1)| 00:05:23 |
    |   6 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |   7 |       VIEW                             | MV_INVENTORY_TRANSACTION      |    25 |  7600 | 26894   (1)| 00:05:23 |
    |   8 |        UNION-ALL                       |                               |       |       |            |          |
    |   9 |         FILTER                         |                               |       |       |            |          |
    |  10 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |     1 |    67 | 24352   (1)| 00:04:53 |
    |  11 |           INDEX RANGE SCAN             | IDX_CODE_CLIENTID_690         | 79681 |       |   518   (1)| 00:00:07 |
    |  12 |         FILTER                         |                               |       |       |            |          |
    |  13 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION      |    24 |  2328 |  2542   (1)| 00:00:31 |
    |  14 |           INDEX RANGE SCAN             | IDX_CODE_646                  |  9269 |       |    46   (0)| 00:00:01 |
    |  15 |      VIEW                              | MV_SKU                        |    37 |  3626 |     2   (0)| 00:00:01 |
    |  16 |       UNION-ALL PARTITION              |                               |       |       |            |          |
    |  17 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    34 |     3   (0)| 00:00:01 |
    |  18 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     2   (0)| 00:00:01 |
    |  19 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    46 |     2   (0)| 00:00:01 |
    |  20 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     1   (0)| 00:00:01 |
    |  21 |     NESTED LOOPS                       |                               |    54 | 22896 |   313K  (1)| 01:02:38 |
    |  22 |      HASH JOIN                         |                               |     1 |   326 |   313K  (1)| 01:02:38 |
    |  23 |       TABLE ACCESS FULL                | TIMEZONE                      |     4 |    88 |     3   (0)| 00:00:01 |
    |  24 |       VIEW                             | MV_INVENTORY_TRANSACTION_ARCH |   576 |   171K|   313K  (1)| 01:02:38 |
    |  25 |        UNION-ALL                       |                               |       |       |            |          |
    |  26 |         FILTER                         |                               |       |       |            |          |
    |  27 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |     1 |    72 | 19269   (1)| 00:03:52 |
    |  28 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         | 36016 |       |   287   (1)| 00:00:04 |
    |  29 |         FILTER                         |                               |       |       |            |          |
    |  30 |          MAT_VIEW ACCESS BY INDEX ROWID| MV_INVENTORY_TRANSACTION_ARCH |   575 | 55200 |   293K  (1)| 00:58:47 |
    |  31 |           INDEX RANGE SCAN             | QUI_IDX_INVTRANS_ARC1         |   367K|       |  3466   (1)| 00:00:42 |
    |  32 |      VIEW                              | MV_SKU                        |    37 |  3626 |     2   (0)| 00:00:01 |
    |  33 |       UNION-ALL PARTITION              |                               |       |       |            |          |
    |  34 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    34 |     3   (0)| 00:00:01 |
    |  35 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     2   (0)| 00:00:01 |
    |  36 |        MAT_VIEW ACCESS BY INDEX ROWID  | MV_SKU                        |     1 |    46 |     2   (0)| 00:00:01 |
    |  37 |         INDEX UNIQUE SCAN              | PK_SKU                        |     1 |       |     1   (0)| 00:00:01 |
    ------------------------------------------------------------------------------------------------------------------------So ,after checking the recommended plan I tried to execute the query with the hints,even then it is picking up the indexes in the explain plan.So please kindly help in solving the issue
    The pk_sku is the index created on client_id and sku_id columns
    Thanks
    GV

    riedelme wrote:
    My experience is differernt - hints will be followed if the optimizer determines they will be beneficial and not if they will not, including my current project on 11gR2. The example below (unfortunately only 11gR1) disproves your theory, showing the index hint is followed and that the cost increases by a factor of five.
    The most common cases of the optimizer apparently ignoring a hint are due to operator error, the hint is not well formed, or cannot be followed. There are a couple of documented cases where a hint will be ignored - first_rows used in CTAS is one.
    Jonathan Lewis writes a lot about it on his blog showing that the optimizer always acts on a well formed hint if it is at all possible.
    SQL> create table t (n number not null, c varchar2(1000));
    Table created.
    SQL> insert into t select 1, rpad('x',1000,'x')
      2  from dual connect by level <= 50000;
    50000 rows created.
    SQL> create index t_ix on t (n);
    Index created.
    SQL> exec dbms_stats.gather_table_stats(user, 't', cascade => true)
    PL/SQL procedure successfully completed.
    SQL> explain plan for
      2  select max(c) from t where n =1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2966233522
    | Id  | Operation          | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT   |      |     1 |  1004 |  1574   (1)| 00:00:19 |
    |   1 |  SORT AGGREGATE    |      |     1 |  1004 |            |          |
    |*  2 |   TABLE ACCESS FULL| T    | 50000 |    47M|  1574   (1)| 00:00:19 |
    Predicate Information (identified by operation id):
    PLAN_TABLE_OUTPUT
       2 - filter("N"=1)
    14 rows selected.
    SQL> explain plan for
      2  select /*+ index (t t_ix) */  max(c) from t where n = 1;
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 3231292748
    | Id  | Operation                    | Name | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT             |      |     1 |  1004 |  7244   (1)| 00:01:27 |
    |   1 |  SORT AGGREGATE              |      |     1 |  1004 |            |          |
    |   2 |   TABLE ACCESS BY INDEX ROWID| T    | 50000 |    47M|  7244   (1)| 00:01:27 |
    |*  3 |    INDEX RANGE SCAN          | T_IX | 50000 |       |    98   (0)| 00:00:02 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       3 - access("N"=1)
    15 rows selected.

  • Workflow getting triggered when added/replace in Mask

    Hi Experts,
    We are using MDM 7.1 SP09 and we are facing an issue of workflow getting triggered when records are added or replaced in Mask..
    ie whenever i am adding or replacing some records in mask workflow is triggered for most of the records ....IF i check the Workflow tab it will show all the steps maintained for that particular Workflow adn then gets deleted automatically...and strange thing is it is happening to a single user id/role and for other role this does not happen
    Can anyone please help me sorting out this issue..
    Regards
    Nitin

    Hi Ravi,
    Today again I checked the scenario once again in production with both user/role and found that workflow is triggered for both users...
    Also I tested in Test environment and issue is same..
    I checked the Perf Tracing and found the below. Please  let me know if these are triggered because of some Java...

  • IPhone 4 still gets crashed even after ios 7.1 update, & sometimes fails to reboot! However it gets rebooted after 30 to 60 mins later by itself. "HELP" please somebody

    iPhone 4 still gets crashed even after ios 7.1 update, &amp; sometimes fails to reboot! However it gets rebooted after 30 to 60 mins later by itself. "HELP" please somebody

    1: Connect the device to Your computer and open iTunes.
    2: If the device appears in iTunes, select and click Restore on the Summary pane.
    Restoring  >  http://support.apple.com/kb/HT1414
    Make sure you have the Latest Version of iTunes (v11.1.5) Installed on your computer
    iTunes free download from www.itunes.com/download
    Note:
    Also consider Deleting any Apps you have Purchased / Downloaded but you now never use...

  • Not getting internet even after connecting to wifi

    i am not getting internet even after connecting to wifi. this occured after i tried to connect my i pad mini to a public wifi. i dont know weather it is a coincidence. any solutions??

    My problem is solved. Actually i visited the apple autherised service centre. They told it may be because there was too many programs open in the background.the solution was
    1. Swipe up with four or five fingers to multitasking and then close them one by one by swiping up with a single finger
    2.Reseting the i pad by pressing the sleep and home button simultaneously
    the problem was solved on restarting

  • Workflow not getting triggered from webdynpro event

    Hello gurus,
    I have a requirement in which if an employee changes his own information on the ESS portal, then an approval should be done by HR. For this i created a custom webdynpro application in which i fetch the employee data and check it with old data in one view and when user clicks save button the approval workflow should be triggered.
    For this i created a custom BO using transaction SWO1. I added a 'CHANGE' event and 'send_data_to_wf' method.
    In SWDD i created the workflow which is working fine when i test it in SWDD only. But when i trigger it using FM 'SWE_CREATE_EVENT', only the event is getting triggered and not the workflow. I checked the trace in transaction SWEL in which i can see the 'CHANGE' event under Event column but Name of Reciever Type column is emty. It should display my custom workflow ID. Please let me know where i m lacking or going wrong.
    Regards,
    Yayati Ekbote

    Hello Ricardo,
    Thanks for immediate reply. Yes, the linkage is active in SWE2. My custom object type is ZHRAD and event is change. I also tried the FM 'SAP_WAPI_CREATE_EVENT'. But in this FM the event also doesn't get triggered. Using FM 'SWE_CREATE_EVENT' atleast triggers the event. I debugged the FM. The container inside the FM is remaining initial. I am posting my code which i am using.
    DATA: pernr TYPE pa0001-pernr VALUE '40000001'.
      DATA: objtype   TYPE swr_struct-object_typ VALUE 'ZHRADCHO',
            objkey    TYPE sweinstcou-objkey,
            event     TYPE swr_struct-event VALUE 'CHANGE',
            it_wfcont TYPE STANDARD TABLE OF swcont,
            wa_wfcont TYPE swcont,
            event_id  TYPE swedumevid-evtid,
            ret_code  TYPE swedumevid-evtid.
      wa_wfcont-element = 'PERNR'.
      wa_wfcont-value = '40000001'.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'SUBTY'.
      wa_wfcont-value = '1'.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'ENDDA'.
      wa_wfcont-value = sy-datum.
      APPEND wa_wfcont TO it_wfcont.
      wa_wfcont-element = 'BEGDA'.
      wa_wfcont-value = sy-datum.
      APPEND wa_wfcont TO it_wfcont.
      objkey = pernr.
    CALL FUNCTION 'SWE_EVENT_CREATE'
      EXPORTING
        objtype                       = objtype
        objkey                        = objkey
        event                         = event
    *   CREATOR                       = ' '
    *   TAKE_WORKITEM_REQUESTER       = ' '
    *   START_WITH_DELAY              = ' '
    *   START_RECFB_SYNCHRON          = ' '
    *   NO_COMMIT_FOR_QUEUE           = ' '
    *   DEBUG_FLAG                    = ' '
    *   NO_LOGGING                    = ' '
    *   IDENT                         =
    * IMPORTING
    *   EVENT_ID                      =
    *   RECEIVER_COUNT                =
    TABLES
       EVENT_CONTAINER               = it_wfcont
    EXCEPTIONS
       OBJTYPE_NOT_FOUND             = 1
       OTHERS                        = 2
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    COMMIT WORK.

  • Second workflow getting triggered.

    Hi all,
    I have a scenario to reject  a Purchase order. So incorporated a new step to reject the PO(Method used- BUS2012-CHANGE).
    The code to reject the PO is done inside the BADI. Right now the PO is getting rejected and workflow is going to complete state and working fine. But as a significant change is coming in the PO it is triggering a new workflow (Event -Significantly changed). How can i block the second workflow from trigerring? Any Function module from not allowing to trigger the workflow?.
    Thanks,
    Neslin.
    Edited by: neslin on Aug 20, 2009 7:23 PM

    Hello,
    Get the workflow number from event log SWEL which is triigerred for the event 'significantchange'. Open the workflow and deactivate the event linkage to stop the workflow from starting.
    Switch on the event trace SWELS, carry out the process of rejecting the PO. Get the workflows & events that are being triggered in the event log SWEL and carry out the deactivation of event linkage.
    Hope this will help.
    Thanks,
    Samson

  • LSO - Wrong workflow getting triggered

    Hi
    I am using SAP Learning Solution from portal. When the employee applies the course from portal, the system shows a message 'Work flow Cancellation Requested' instead of 'Participation Requested'
    I checked in LSOWF_CUSTOMIZE, the customizing is maintained correctly. The table LSOWF_RUNNING shows that the action type requested as 'CANC' instead of 'BOOK'.
    I checked in SWEHR3 - there is no entry maintained. When I enable the event trace and do the course booking from portal - all I can see is only the even 'ATTENDANCE - CREATED';
    Can you please advice where could be the problem?
    Thanks and Regards
    Kasee Palaniappan

    Thanks for replies. The event linkage is set properly in the transaction SWETYPV.  When I enabled the event trace for workflow and triggered a course registration from portal - there are no events registered in the event trace.
    @ Pavan: I have checked the link, and configuration are maintained as recommended by SAP.
    The problem is, when a course registration is required - it automatically shows - the course is requested for cancellation. This is because the table lsowf_running is having the workitems for those trainingID with WFACTION as 'CANC'
    This means, when I request for a training course and later cancel it - the above said table is maintained with 'CANC' entries. I have not approved the cancellation of the course. If I rebook the course - the course still shows 'Booking Cancellation Requested' because the WFACTION is read for the training ID and the personal from the table lsowf_running.
    Any one has some idea, where could be the problem.

  • Open Sale Order Value (FD33) not getting diminished even after closing SO?

    Hi,
    Upon Executing FD33 and clicking the status view for a Customer say XYZ , and then choosing EXTRAS-Open Sale Order . Say the value of open sale orders being shown is 75000. Even after closing the open sale orders (By Selecting VA05 and Putting reason for Rejection), and then also the Open Sales Order value is not getting diminished.
    What could be the reason ?
    Pls help.
    Regrds,
    Binayak

    Hi Binayak,
    As mentioned by you, running of Credit re-org program 'RVKRED77' is the only solution for this problem and it is known problem in SAP.
    Some precautions
    1. Always run the program in background by scheduling a job.
    2. The idle time is around midnight when no user is working on SAP.
    3. Some time the job fails as some other program may be updating same tables as this program. In such cases re-schedule the job at different time.
    4. You may run the program 'RVKRED88' which will simulate without actual updation of credit values.
    Hope this clarifies..
    Regards,
    Madhu.

  • How to know which workflow is triggered by an event

    Dear all,
    We have a event of a object type.
    Say: EVE1 of obj ZOBJ1.
    And this is used as a triggering event in a workflow.
    We need to identify which is the workflow.
    How should we find that?
    Regards,
    Vivek

    Hi Vivek,
    Consider this simple example.
    Your work flow will trigger whwn ever the purchase order is created.
    So for PO number 600023234 the workflow was already triggered.
    Then go to SWI6 and give the BOR name as BUS2012 and the Object key as  600023234.
    It will displays how many workflows were triggered based on that BOR and the PO number 600023234.
    Thanks.

Maybe you are looking for

  • Issue with Reading data with FOR EACH LOOP.

    Hi Guys, Scenario We Plan Sales of an Article on a half years(fiscal variant MQ with 2 periods of half year each). We also plan the number of Weeks in Sales as a Key figure.  The cummulative Sales for two half years in then distributed to number of w

  • Is there a keystroke combination to delete individual messages in Apple Mail without opening them?

    Can I delete individual messages in the Apple Mail Inbox withhout opening them?

  • Posting only possible

    Hi Profs I was having a issue where posting was only possible between 2007/5 and 2007/4. So I used 'mmpv' and one by one moved the posting to 1 -2008. Now while posting, I get 'posting only possible in periods 2008/01 and 2007/12'. I guess I have ove

  • Cfchart shows different output in 7.0.2 and 6.1

    We had a upgrade of CF MX server from 6.1 to 7.0.2 recently in an AIX platform. After the upgrade, CFCHART output is different than the one from the previous version. Please see the code below. BAR chart is shown as lines in new version that too with

  • Multiple iTunes Libraries - One for Music and One for Videos

    Because my laptop's hard drive's filling up with videos, I'd like to movie them to a library on an external drive. Is it possible to have two libraries, one for music and the other for videos, and have iTunes keep them organized, or will I have to do