Event Linkage for custom Workflow and Custom BO

Hi Friends,
I have created one Custom Module Pool, Business Object and Workflow Definition. In Business Object I have created one Business Event and the event is triggered from Custom Module Pool using function module SWE_EVENT_CREATE. I have created event linkage in transaction SWETYPV and receiver type given Workflow Template No: (WS*) and receiver function Module SWW_WI_CREATE_VIA_EVENT_IBF and checked Event Linkage Active checkbox. Finally I have activated the Triggering Event in the Workflow basic data section. But the Workflow is not getting triggered. Can anyone of you give me a solution for this or tell whether i missed any of the setting for the workflow?
Regards
Sujith

Hi Sujith,
Did you include a commit work statement after the call to SWE_EVENT_CREATE?
Regards
Gareth

Similar Messages

  • Integration for Business Workflow and SAP Interactive forms by Adobe

    Hi
    Is any of you able to watch the following SDN eLearning Session ?
    <i>Integration for Business Workflow and SAP Interactive forms by Adobe (RIG session 7)</i>
    I can play nearly all the other eBooks, but not this one. Any idea ???
    Regards, bernhard

    I solved the problem.
    It is not possible to view the ebook with IE 7.0. So I removed the new Internet Explorer and everythink is working fine.
    Greetings, Bernhard

  • Vendors for e-workflow and Portal

    Hi All,
    I would like to know SAP partner vendors for e-Workflow and Portal.
    Thanks.

    I can't get the short URL to work within a workflow.  There is something with the combination of letters and numbers and other characters that when the link gets created, it fails. 
    Short URL just comes from the Portal.
    Refer to this link
    http://scn.sap.com/thread/3615332
    Kevin

  • Tcode to check the event linkage for a terminating event

    Hi ,
    Can some one plzz let me know the transaction code for checking the event linkage for a terminating event
    Thanks
    Sheetal

    And yes the FM RH_GET_TASKS_OF_EVENT gives you the list of tasks for a given BO-terminating event combination. Pass the parameters for this FM as folllows,
    CLSTYP = 'BO'
    CLSNAM = '<BO name>'
    EVENT = '<terminating event name>'
    GET_START_EVENTS = ' '
    GET_TERM_EVENTS = 'X'
    you will get the task list in the table TASKS_OF_EVENTS.
    Thanks,
    Prasath N

  • How to ensure the event linkage of the Workflow active/enabled?

    Dear Experts,
    Iam new to the Workflow. We have one Workflow event linkage not activated/Enabled in the production system eventhough it was active in DEV as well as QA. We have transported the Customising request to enable event linkage in Production.
    my question is why the event linkage is deactivated/disabled in Production?
    is there any way to ensure that it (event linkage) will not be disable in production system? (please answer to this)
    Please suggest .
    Warm Regards,
    Murthy.

    Hi
    When there is an error in event, then linkage often gets broekn. In SWE2 or SWETYPV settings, Behaviour error upon feedback make it as do not change linkage.
    This will sure that when there is an error, only that workflow will be in error mode and event linkage is not broken.
    Regards
    Sachin

  • Report for outstanding workflows and the agents responsible

    I need a report that shows all leave request workflows , with userid who created them and approver (agent), and approver's org unit and personnel number.
    is there a standard SAP report that can show that? or I need to develop one?
    I was looking at the SWI2_FREQ, this report shows the leave request workflows and userid who created them, but it does not report on the agent.
    Regards,
    Tiberiu

    Hi
    I think by making use of SAP_WAPI_WORKITEMS_TO_OBJECTS you can get all the workitems who created the leave wokritems.
    Regards
    Pavan

  • NO Event created for Customer Billing Document (VF01) in Work Flow

    Hi expert ,
    I would like to trigger a work flow from the customer invoice created event.
    Bus Object should be "VBRK" or "BUS2037" ( Customer billing document )
    But ,I cannot get any event after the billing transaction in VF01.
    I use the "SWEL" transaction to monitor all events triggered, but I don't see any event related with billing ( I only see events for sales order creation ).
    Also in "SWO1" BUS2037 has only one event  : "ItCustBillingDoc.assigned"; but It doesn't make any sense to me .Why isn't there a created event for invoice ?
    Has any of you been thru that problem ?
    Thanks for advising .
    Sincerely
    Yvon.

    Hi thanks for your answer.
    SWELS is activated.
    PB still remains :
    In  SWEL i see no event triggered after the creation of a billing invoice .
    I can only see an event related to BUS2032 which is the sales order creation .
    But nothing related to the billing document although the doument is created in SD ( I have the record in VBRK ).
    Any idea Why ?
    Thanks again

  • Event trigger for PO release and cancel

    Dear Experts,
    In tcode ME29N i have created a PO and i have defined 3 approver levels for it. I have turned event trace on and checked what events are triggered when i click release button. In SWEL i can see 4 entries - 1) RELEASE STEP CREATED 2) RELEASED
    3) CHANGED EVENTS (first  three events from BUS2012 ) and 4) CHANGED EVENT from FREBUS2012. Now i tried with cancelling PO release at a level. Now in case of cancelling release which i do by clicking the same release button i see 4 entries in SWEL
    1) RELEASE STEP CREATED 2) SIGNIFICANTLY CHANGED 3) CHANGED (first three events from BUS2012) 4) CHANGED EVENT from FREBUS2012.
    I want to trigger my workflow in case of PO release as well as PO cancellation. What should be my workflow's start event. Please help me in this regard.
    Kind Regards,
    S Bharath

    hi
    Are u using std WS20000075? you can refer that .
    there in TS20000166 : terminating event
    you can see  event RELEASED : Purchase Order Release
    SIGNIFICANTLYCHANGED :  when cancled.
    if you want to do seperate steps , in some zWF ,then I think you may create 2 diff wf , with the diff start event .
    let me know if it is helpfuly or any query
    thanks
    kakoli

  • How to handle event structures for two buttons and two counters.

         *I have two buttons A and B, and have to compare the difference in hits between them.  So do I place an event structure within a while loop for each button (2 buttons, 2 event structures, 2 while loops), or does it need to be one event structure with cases for both buttons whithin one while loop? 
         *How do I pass the values of buttons A and B's hit counters out of the while loop in order to calculate the differences between them after each increment, not just the final count after the stop button is hit? 
         *How would I make one stop button work to handle both buttons A and B?   I tried to place the actual stop button in one button A's structure and its global in B's structure, but It wont seem to let me use a local variable for a latchable control
    Checker

    You should probably have not started a new thread and waited until your question in the original thread was answered. You can modify altenbach's example for a second button. You have a single event structure with a new event for the second button. You have a second shift register to track the number of times the second button is pressed. Inside the while loop but outside the event structure, you just have a subtract function in or to report the difference. do not modify the posted example for the stop button. It works perfectly as is.

  • Table event listener for both columns and rows

    My table listener only gives me the printed values when I click on different rows and not when I click on different columns. Do I need 2 listeners (one inside the other one) to get a change recorded each time I click on a cell in the table? Here is the listener code:
          ListSelectionModel rowSM1 = jTable1.getSelectionModel();
          rowSM1.addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
              System.out.println("I am here");
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              if (e.getValueIsAdjusting()) {
                return;
              if (lsm.isSelectionEmpty()) {
                //no rows are selected
              else {
                selectedSiteRow = new Integer(lsm.getMinSelectionIndex() + 1).toString();
                System.out.println("selectedSiteRow = " + selectedSiteRow);
                SetupNum = selectedSiteRow; // row that the user selected
                ObjectNum = "1";
                objnum = "1";
                dataModels.remove("O"); // remove the object tables from the dataModels hashtable
                dataModels.remove("P"); // remove the object tables from the dataModels hashtable
                for (int i = 0; i < wholefile.size(); i++) {
                  setupnum = selectedSiteRow;
                  if (wholefile.elementAt(i).toString().charAt(0) == 'O') {
                    processLine(wholefile.elementAt(i).toString(), columnNamesO);
                    String keyO = "O";
                    DefaultTableModel modelO = (DefaultTableModel)dataModels.get(keyO);
                    jTable2.setModel(modelO); // change the table to the new table model
                  if (wholefile.elementAt(i).toString().charAt(0) == 'P') {
                    processLine(wholefile.elementAt(i).toString(), columnNamesP);
                    String keyP = "P";
                    DefaultTableModel modelP = (DefaultTableModel)dataModels.get(keyP);
                    jTable3.setModel(modelP); // change the table to the new table model
        );The words "I am here" only appear when I click on rows and not when I click on columns of that same row. Anyone know why?
    Also, each time I click on a row, "I am here" appears 2 times. I know I read that someone else had that problem. I will try to find the solution to that one in the forum.
    Thanks.
    Allyson

    I found out how to get the column, but I can't seem to get them together. Here is the listener for the column:
          ListSelectionModel colSM1 = jTable1.getColumnModel().getSelectionModel();
          colSM1.addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
              if (e.getValueIsAdjusting()) {
                return;
              ListSelectionModel lsm = (ListSelectionModel)e.getSource();
              if (lsm.isSelectionEmpty()) {
                //no columns are selected
              else {
                SelectedC = lsm.getMinSelectionIndex();
          });These are 2 different listeners and I really want to find out what row,column has changed. Is there any way to combine these somehow? Thanks.
    Allyson

  • DataGrid tooltip doesn't work for customized itemRenderer

    I have a DataGrid with one column is a customized renderer,
    when I try to use the dataTripFunc, it is not showing tooltips,
    same function works for the other non-customized column, here is
    the code:
    <mx:DataGrid id="myDataGrid" dataProvider="{dataContent}"
    width="100%" height="100%">
    <mx:columns>
    <mx:DataGridColumn dataField="name" headerText=""/>
    <mx:DataGridColumn dataField="DateTime"
    headerText="DateTime" showDataTips="true"
    dataTipFunction="cellDataTipFunc"/>
    <mx:DataGridColumn dataField="ImgBar" headerText="ImgBar"
    itemRenderer="ImgBarCell" minWidth="40" showDataTips="true"
    dataTipFunction="cellDataTipFunc"/>
    </mx:columns>
    </mx:DataGrid>
    public function cellDataTipFunc(item:Object):String {
    return "hello world";
    Where the itemRenderer -- "ImgBarCell" is a customized HBox
    component with a label and image on it.
    The tooltip -- "helloworld" shows up for column "DateTime",
    but not for customized ImgBar.
    Does this one have anything to do with event generation for
    customized itemRenderer? Or a bug in flex2?

    Hi
    The TREX server (service) must started and be contactable by RFC - this can be checked by carrying out the actions listed above. (Refer OSS Note - 866547 Error when accessing TREX server for more details )
    <b>Please have a look at the following SAP OSS Note, which will help -></b>
    Note 851106 - Search in catalog from SRM leads to "Service not reachable"
    <u>Other related OSS Notes</u>
    Note 973594 Cross Catalog Search - Configuration
    Note 894717 Items from Cross Catalogs Result does not appears in step 2
    Note 803731 Cross-category search returns no result
    Note 847137 OCI, cross-catalog search: detail display
    Note 996885 Cross Catalog Search - Timeout while accessing MDM Catalog
    1023487 cross-catalog-serach in portal opens up a duplicate window
    1020025 Item detail display in Cross Catalog Search
    1027352 Item detail display in Cross Catalog Search
    Note 866547 - Error when accessing TREX server
    Note 988427 - Update to TREX 6.1 Rev 27
    Note 994623 - Hierarchy Buffer and BIA
    Note 1030056 - Improvement in the Search within Results feature of CSE
    Note 798988 CCM/CSE: Sorting sometimes returns no results
    Note 778688 TREX_INDEX_MANAGER unit test update_view(): incorrect search
    Note 808754 Display sequence of the characteristics is not changeable
    Note 794325 - Error in OCI transfer in the BAdI /CCM/OCI_SCALEPRI
    Note 745235 Search ability changes to cross-catalog characteristics
    Note 724097 - Search of the comp. in case of structured characteristics
    Note 743643 Search ability change in cross-catalog characteristics
    Note 847551 Displaying date, time, and timestamp in the CSE
    Note 750756 Program for the deletion/clean up of TREX indexes
    Do update me as well.
    Regards
    - Atul

  • Building a PC for faster rendering and real time workflow

    Hi guys - need help if possible since I'm not into hardware all that much...
    I have a few problems when using Premiere Pro CS6 which resulted in thinking of buying a new computer:
    1) Exporting a one hour full HD video takes about 23 hours (no effects except color correction)
    2) When making a color correction it is impossible to preview it on timeline even in 1/4 resolution - video starts to jitter so I have to export it to realize that some scenes are too dark, too light, too something, etc. And, as said, it takes around 23 hours... So this makes it 46 hours...
    3) Using a multicam view is extremely jerky and so - pretty useless
    All in all - I need a computer with a lot more muscle. So, I went through many forum discussions, read on the Internet, blah, blah.. and decided to build a PC rather than MAC since I get more "bang for the buck" when considering the same budget (around 3000$). Speaking of this, please consider that I live in Croatia and 3K$ here are not the same as in USA or many parts of Europe - it's a little more pricey here...
    So, here's the setup so review it if you're into hardware and CS6 compatibility/optimization and please comment/advise, having in mind the problems I have previously stated out.
    Just one thing - please, please, please don't get too complicated because I really don't know that much about hardwareing and I'm pretty fed up with exploring hundreds and hundreds of posts, opinions, forums, etc....
    Make it simple - is it a good choice or not for CS6 workflow and which component should I potentially change for a better one (but staying in budget).
    I use Premiere for editing full HD videos (sometimes I get nearly 500GB of raw material) and I frequently use After Effects for various animations.
    Thanks a lot!
    Intel core i7 3930K (3.2 GHz, hex, 1.5 MB, 12 MB, Socket 2011, box)
    MSI x79-GD65-8D
    Asus GTX 690 - 4GB
    Kingmax SSD 60BG (for windows and cs6)
    Seagate HDD Desktop Barracuda 7200 (3TB, 64MB, Sata III-600)
    Corsair 32GB, DDR3, 1600 MHz
    Spire 750W Black Eagle

    Intel core i7 3930K (3.2 GHz, hex, 1.5 MB, 12 MB, Socket 2011, box),  good choice
    MSI x79-GD65-8D, consider Asus
    Asus GTX 690 - 4GB, wrong choice. a 670 is more than enough
    Kingmax SSD 60BG (for windows and cs6), consider a Corsair PP 128 GB
    Seagate HDD Desktop Barracuda 7200 (3TB, 64MB, Sata III-600), make that 3 or 4 disks
    Corsair 32GB, DDR3, 1600 MHz, as long as they are max 1.5V and 8 GB sticks
    Spire 750W Black Eagle, better look at Seasonic or Corsair Gold+ rated PSU's and maybe increase W to 850.
    Look here for other approaches: http://ppbm7.com/index.php/intro-part-1

  • EmailRecieved Event handler for incoming email in Sharepoint 2013

    Hi,
    I am developing custom event handler to enable incoming email for custom document library.  i have couple of questions.
    1. Once i attached the event handler, i could see incoming email settings for the custom document library, but it displays only 2 options as below :
                  1.   Allow this document library to recieve email
                                 Yes       No
                    2. E-mail address
    All other properties are not displaying. Is this normal behaviour on custom event handler for custom document library or any issue anywhere?
    2. So i have given other properties using powershell as below:
    $list = $web.lists["invoice Documents"]
    $list.EmailAlias ="TestDocument"
    $list.EnableAssignToEmail = $true
    $list.rootFolder.Properties["vti_emailusesecurity"] = 1
    $list.rootFolder.Properties["vti_emailsaveattachments"] = 1
    $list.rootFolder.Properties["vti_emailattachmentfolders"] = "root"
    $list.rootFolder.Properties["vti_emailoverwrite"] = 0
    $list.rootFolder.Properties["vti_emailsavemeetings"] = 0
    $list.rootFolder.Properties["vti_emailsaveoriginal"] = 0
    $List.RootFolder.Update();
    $list.Update();
    here i have given vti_emailusesecurity as 1, so it should allow incoming email for the user who has permission for the list.
    But any user from the domain is sending mail to this list, the Emailrecieved event handler is triggered. I am expecting that this event handler should not be triggered and expecting access denied error in the ULS Log. But that is not happening, and emailrecived
    is triggered and email is delivering to this address successfully.
    Can you please anyone help if experience on this?
    Thanks
    Sathya

    http://www.coretekservices.com/2012/01/26/sharepoint-content-organizer-%25e2%2580%2593-emailing-your-drop-off-library-and-getting-it-to-work
    Central Administration > Monitoring > Review Job Definitions (under Timer Jobs) > Content Organizer Processing
    Also check below:
    http://tutorial.programming4.us/windows_server/SharePoint-2010---Content-Organizer-as-a-Document-Routing-Tool.aspx
    If this helped you resolve your issue, please mark it Answered

  • N level-Approval for contract workflow (WS14000148) in SRM

    Hi SDN'rs
                  I want to activate N level-Approval for contract workflow (WS14000148) in SRM  
    When I am creating the contract in SRM I can see the approvers in the approval preview.
    But when I release the contract and look at the approval privew there are no approvers
    and the status of the contract is released.
    We are on SRM Server 5.5 and SP 07.
    Here what I did
    1. I implemented the BADI 'BBP_WFL_APPROV_BADI' using the sample implementation and populated the approvers.
    2. I activated events SAVED,CHANGEVERSIONSAVED for WS14000148 in OOCU transaction.
    3. I see event linkages for WS14000148 for both events SAVED,CHANGEVERSIONSAVED in SWE2 transaction.
    4. I assigned role SAP_EC_BBP_PURCHASER to for subworkflow N step for contract WS14000147.
        ( User who is creating contract has this role)
    5. Consistency check for WS14000148 is green and WS14000147 is yellow in SWUD
    6. Event simulation for BUS2000113 and events SAVED,CHANGEVERSIONSAVED shows WS14000148 successfully started.
    I see dump in ST22 with errors TSV_TNEW_PAGE_ALLOC_FAILED and SYSTEM_NO_SHM_MEMORY with WF-BATCH is this any thing to do with that?
    If any one know what are the steps I am missing please let me know.
    Thanks
    A S

    Hi
    Please refer to these OSS notes which might help.
    <u>Refer to following OSS Notes -></u>
    Note 735026 - Memory problems at BBP_GETLIST_INDEX_FILL
    Note 932836 - BBP_GETLIST_INDEX_FILL: Activation not possible
    879528 WS14000148: Send mail to initiator incorrect
    901200 WS14000148 dia wrk item despite NO_FURTHER_APPROVAL_NEEDED=X
    879873 BUS2000113: The Object_ID attribute may be empty
    903015 BAdI Workflows: Events and parallel steps
    901068 BAdI Workflows: Enhancement of Note 896556
    769458 Dynamic workflows: No adjustment after document change
    972757 Occurence of the SYSTEM_NO_SHM_MEMORY runtime error
    741864 FinBasis: Termination TSV_TNEW_PAGE_ALLOC_FAILED
    864473 Deactivating the shared memory when searching by prefix
    928642 Container factory: Shared memory dump update
    Refer to these links.
    <b>http://help.sap.com/saphelp_srm50/helpdata/en/2c/e68d406b305537e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/26/0f8b41ed891609e10000000a155106/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/f7/a6a3415e34b05fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_srm50/helpdata/en/6b/eca441eea7ef0be10000000a1550b0/frameset.htm
    </b>
    <u>Also raise an OSS message with SAP as well.</u>
    Regards
    - Atul

  • How to create new starting conditions for a workflow of shopping cart

    Hi all,
    How to create new starting conditions for a workflow of shopping cart
    SATYA

    Excecute SWB_COND
    Creating New:
    Click on Create button. If you cannot see that it could be a authorization issue
    then Business Object:  BUS2121
    Double Click the event linkage for one step workflow
    Define the expressions, Check Consistency and click on Traansfer
    Start Condition is created. If it is not Active click on the Red Button to make it Active
    Editing Already existing:
    Click on Edit Button If you cannot see that it could be a authorization issue
    then select Business Object:  BUS2121
    Click on the condition part (White area) of the start condtion needing editing
    Change the expressions, Check Consistency) and click on Traansfer.If it is not Active click on the Red Button to make it Active

Maybe you are looking for