Work flow - Event problem

Hi,
When I am executing Workflow-program, by calling function module <b>'SWE_EVENT_CREATE' and this function module returining EVENT ID always "00000000000000000002"</b> (always same).
And also I am not able to see SAP mail in SO01.
I think Workflow is not triggering properly.
Any suggessions / ideas / help will be appreciated and rewarded.

Hi,,,please check whether the event is defined in the container properly.
Reward points if helpful,
regards,
jinesh.

Similar Messages

  • Error Un wanted work flow event triggering

    Hi Folks,
       I am facing a high priority issue in work flow in PRD, User has created certain PR's for which system has raised required events to tirgger the workflow items and the whole approval job is completely done. Accidentally, the same work flow events are re-triggerd to raise the work item the very next day, when it is observerd for the trace no clues where thrown to explain the situation to client.
    Can any one suggest me with this type of rescheduling / retriggering of events, why they have retriggerd ?. The situation created problem by getting the work item's triggered un-wantingly.
    Please Help me ASAP I am left with no clue from Last 2 days.
    Thanks and Regards,
    Krishna Mukthineni

    Hi Krishna,
    may i know which BO and which event you are using? are you using the event RELEASESTEPCREATED? in the log did you check the workflow is triggered by which user?
    In case to avoid this, you can use start conditions in your workflow. This will avoid unwanted triggering of the workflow.
    Regards,
    Raj

  • Bus2014 Work flow display problem

    Hi Folks,
    In my work flow I am using BUS2014, when I am trying to interpet the process for decison step, the process should display the purchase contracts, In some users its diaplaying and in some users its not displaying even though the same authorisations are there for all the users.
    What could be the problem.?
    Secondly,
    I am using one more decision step down the branched work flow to stop for user decision to change the purchase contracts, the  problem is when I am trying to call method display and when user is changing the contracts into change mode, saving and returning back the whole session is comming back to Easy access rather than staying in deision step of the user in workflow inbox. is there any alternative that I can deal with.
    Thanks and Regards,
    Krishna Mukthineni

    Hi folks,
    The second problem lies with the application displaying.. It cannot go to some other transaction like change mode and come back as in Njoy tranctions... so I have adjusted the code to make the display of the method in change mode i.e. Me32k so it is working fine.
    But still I have the first problem .. some times the display through method dont reflect for the user.. please help in this regard...
    Edited by: krishna mukthineni on Oct 10, 2008 4:26 PM

  • Work Flow Attachments Problem

    Hi all,
    i have to create a work flow to send notifications along with attachments. I am successful in sending when there is one attachment. But i couldn't make out how to send more than 1 attachment. The attachment number may vary from 0-10. How to keep the wf in aloop? can any one help me?
    Regards
    --Raj                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Hi please check the link below.
    https://app.primecontract.com/ua/webhelp/webwfp/wf_attachments_bg.html
    http://www.uiowa.edu/hr/imfo/workflow/attachment.pdf
    Murthy.

  • Work Flow EVENT - SM58 Entries are not executing automatically

    Hi Experts,
    I have used the standard BOR2034 for creating PO after saving the contract.
    I have developed an RFC enabled FM refering to the Standard FM SWW_WI_CREATE_VIA_EVENT.
    Inside the custom FM I am calling the BAPI_PO_CREATE1 for creating PO.
    After creating a contract using VA41 I am able to see in Event trace that my Event with corresponding custom FM is triggering.
    and the two entries are created in SM58 - Transactional RFC one is my Custom FM name and another is SWF_EVT_HANDLER_START_INTERNAL.
    When I execute the LUW by selecting execution, PO is getting created. Where as this entries are not picking automatically.
    I want to know, whether I have missed any step in process or do we need to schedule any job for automatically clearing the SM58 queue entries.
    Please help me in resolving the issue.
    Responses are highly appreciated..
    Warm Regards...

    Hi Natasha,
    As you say that you see the below entries in TRFC monitor, you need have a commit work after the below FMs are called(just one will do),
    the two entries are created in SM58 - Transactional RFC one is my Custom FM name and another is SWF_EVT_HANDLER_START_INTERNAL.
    How and from where are the above FMs called?
    Regards,
    Chen

  • Work flow approvers problem

    HI
    I have created a document library with 3 specific columns of where I pick 3 people to be approvers when uploading a document.
    I then have a approval workflow set to route the document to each approver in serial once they have added their content.
    The issue I have that as soon as I set the workflow process participants using the "workflow for lookup" option and choose my 3 fields the workflow returns immediately as rejected. 
    if I don't use these fields and select the approvers in the workflow then it works fine but the people might change so would rather choose them when uploading the document using the form.
    Here's what I have as my workflow.
    Step: Step 1
     Start Approval (22) process on Current Item with Current Item:Tech Lead
    Please can someone let me know why this doesn't work or point me in the right direction of doing this.
    Thanks

    Hi Rick,
    Let me explain the case clearly to you first.  In this workflow parellel processing is being used. Between the start and end of the block the first step is a case step then the user decision is used . In the user decision step a program exit is used and in the create of that workitem a table is updated with the details of the worlitem . The problem ocuurs here only.  In some of the workflows that are hanging (because of SWF_RUN 611), the log shows that the workflow has processed upto the case step. But the workitem table has been updated with an entry correspondingly. so when i try to read or complete or cancel the workitem it throws me a error that the workitem cannot be read. And when i use the workitem table entry in SWIA it shows no workitem exists . I am not able to figure out what has happened. So please let me know what has happened .... and i need to close those worklfows and as well as updated the table .....
    Regards,
    Kevin.

  • ***URGENT*** Time Based Work Flow ERROR/PROBLEM

    Knowing that the PRE() function doesn't work smoothly with the wait function. We went ahead and added it in the conditions statement and disabled the reeval check box, but the problem is it appears that it is still checking the condition. Anyone have this problem or possible solution?
    Edited by: 783027 on Jul 26, 2010 3:49 PM

    See answer to your previous post.
              Jai wrote:
              > Hi ,, I am trying to use time based delivery of message in WLServer7.0. After going
              > through the various posts I figured this is the snippet required to send time-based
              > messages. But i havent had any luck on it as yet. Can someone please point out
              > where am I going wrong in this or send a snippet of code which does this.
              >
              > here is snippet of code ....
              >
              > /*initialization */
              >
              > qconfactory = (QueueConnectionFactory) ctx.lookup(JMS_FACTORY);
              > qcon = qconfactory.createQueueConnection();
              > qsession=qcon.createQueueSession (false,Session.AUTO_ACKNOWLEDGE);
              > queue = (Queue) ctx.lookup (QUEUE);
              > qsender = qsession.createSender(queue);
              > msg = qsession.createTextMessage();
              > qcon.start();
              >
              > /* actual bit which does sending */
              > Date later = new Date();
              > long now = System.currentTimeMillis();
              > GregorianCalendar cal = new GregorianCalendar();
              > cal.getTime().toLocaleString();
              > System.out.println("The current time is: " + cal.getTime().toLocaleString());
              > now += 10*1000; later.setTime(now); cal.setTime(later);
              >
              > msg.setText(message);
              > ((WLMessage)msg).setJMSDeliveryTime(cal.getTime().getTime()); ((weblogic.jms.extensions.WLMessageProducer)
              > qsender).setTimeToDeliver(cal.getTime().getTime());
              > qsender.send(msg);
              >
              > Many Many thanks for your swift response ...
              

  • Work flow Event Creation.

    Hi All,
    I would like to create a custom event in object type BUS2038 to send notification if extra information is required on the Order.
    can you please take me through the procedure of creating an event and linking it to an object type and field on the transaction screen.
    Please advise.
    MM

    Hi,
    First create a subtype ZBUS2038 for the business object BUS2038 by copying it from SWO1 Tcode.
    then define acustom event for this custom object. save and activate.
    If you want a custom method for this create a method also.
    release the Method, event and then the Object.
    Create a Task in PFTC and add this ZBUS2038 object and the relavent method
    then define the triggering event which you have created and define the binding and event linkage and build the workflow builder and use it.
    reward if useful
    regards,
    ANJI

  • Which table stores the created work-flow event?

    Hello,
    When am executing FM of 'SWE_EVENT_CREATE' in my custom program, its executing with SY-SUBRC = 0, but, am not getting any email to my SAP inbox!
    1) pls. let me know the reason?
    2) Atleast how to know that (where to see, any table) an EVENT is created each successful execution (SY-SUBRC = 1) of this FM/my custom prog?
    Thank you

    Halo Raju
    1 Switch on the event trace using the transaction SWELS. 
    2 Now execute your  program developed . Now switch-off the event trace using the same transaction SWELS. 
    3 Now go to transaction SWEL. Here you can list out the events triggered in the particular period of   time. Here is the event-trace list:
    Regards
    Arshad

  • 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 linkage deactivated after executing the work flow

    Hi Experts,
    We are facing a problem in the production with Event linkage activation.After Event linkage was activated (ENABLED = u2018Xu2019 in the table SWFDEVENA) and if we execute the workflow then again this linkage is deactivated(Enabled value is cleared).if we activate the linkage and execute the work flow again after work flow exectution event linkage will be deactivated.Could you please  give the solution if any one face this issue.
    Thanks and Regards,
    venkat

    Hi Rickk baker,
    Thanks for your answer.Now my issue was resoved .This is because of some mandatory work flow container parameter value is missed in the programme.This was traced throgh event trace(swel and swels)
    Thanks and Regards,
    Venkat Marisetti

  • Event linakge for PO work flow not transporting to Qualty system

    This is Sudhakar ,
    I have a problem in Event linkage for PO Release strategy work flow.
    I have created a work flow for PO release strategy and done the event linkage through SWETYPV transaction code.
    I have added a new entry in SWETYPV transaction code and tick the 'Linkage Activated' check box. I have done this in development server. When I saved it prompted for a request and I have saved this Under the request( Customize request).
    When I create the purchase Order  for the first time the work flow is getting triggered. When I run the second time its not triggering.
    If I observe the reason is 'Linkage Activated' check box  is getting unchecked  when I create the PO. If I check it again it is asking for a request again.But after next run the linkage is again deactivated.
    Can you please help why this is happening.
    I have created another request in Customize client and transported first the development client, next the customise client request. When I observe in quality system an entry is created in SWETYPV transaction code for my work flow but 'Linkage Activated' check box is not checked.
    How to transport 'Linkage Activated' check box  to quality.
    This is an urgent one. Any body please help me
    Thanks
    Sudhakar

    Hi Imthiaz,
    What you said is correct. Its throwing one error in event trace
    Feedback after error - The message is.
    The mandatory input parameters of the workflow must be set.
    I think I am missing some input parameters.
    One more queation, I had transported this already to Quality
    But the linkage activation flag is not moved.  What could be the reason.
    Thanks
    Sudhakar

  • Issue regarding [Work Flow] Business Object Event Raise in ABAP Program

    Hi All,
    I have one issue regarding [Work Flow] Business Object Event Raise in ABAP Program.
    Actual TDS is as below:
    If E message type written, raise Business object BUS2005 (Production order) Event PickShortage for production order passing warehouse, transfer request
    (BUS2065 Object key) in event container. Also include table of text version of error
    messages for this set of Transfer
    Request.
    Can anybody tell me how can i write it technically in ABAP Code.
    Can anybody solve this issue!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    Can anybody solve above posted issue!
    Thanks,
    Deep.

  • Work flow in Traing & Event Mgt

    I need to create a work flow in Traing & Event Mgt, ESS
    Is there any standard way to creat work flow in T & E Mgt?
    pls mail

    Hi,
      Wrokflows in HR :Training and Event Management
    Regards
    Bala

  • Oracle Work flow/e-Biz Events

    Hi All,
    Need some info regarding Oracle Workflow and E-Business Suite R12 events.
    We have defined a business event in a E-Biz R12 and its subscription is of type ‘Launch Work Flow’ to launch a node(activity) of the work-flow. This activity is not the start node(activity) of the wf. Name of the activity is ‘Receive data’
    ‘Receive data’ is defined as an ‘receive-event’ type of activity. We’ll invoke the workflow from back-end, it will halt at the ‘Receive data’. When e-Biz event is raised, workflow will be resumed.
    We’ll be running different instances of work-flow. So, how do I inform e-Biz event to resume a particular instance of work flow?
    My assumption is:
    Work-flow (wf) instances are distinguish based on item-key while e-Biz event takes event-key as an input parameter when it is raised. E-Biz event will match the event-key with item-key of workflow and resume the correct instance of wf. Is it correct?
    All pointers are appreciated.
    Thanks,
    MK
    Edited by: MK on Apr 12, 2012 11:18 PM

    So to do this:
    1. Create an activity in the WF process so that it is a event-receiving activity and specify the event name that will make it resume
    2. Define the event and subscription in BES Studio. Create a subscription for the event so that it resumes/starts a workflow process
    3. Raise the business event by specifying its EVENT_KEY as the WF process item type
    When the BES gets the event it will identify the item type from the event subscription and will look for an activity waiting for an event and will resume that activity if the process item key corresponds to the event EVENT_KEY.
    Regards

Maybe you are looking for

  • Is there a way to rotate video on export through Media Encoder?

    My company produces a fair amount of content for vertical screens (i.e. 16x9 screen rotated 90º clockwise).  All the content is produced and delivered as 1920x1080p video (with the content rotated 90º counter-clockwise) so that we can work with stand

  • After upgrading to Lion blue screen appears at start up have to reboot to log in

    I have been having issues when I first downloaded and installed Lion it installed then when it rebooted a blue screen would appear and nothing would happen. I rebooted the system and it came up. Now I installed the latest software update and the same

  • Count the rows in a list-component

    Hi, How can I count the rows with a value in a list component? I thought it would be RowCount but as I figured out that shows the number of shown rows, not the number of rows with a value.

  • R/3 Table

    Hi Guys, There is an R/3 table which maps the clients of development to that of Test and to production. I had an issue earlier with one of the transports. The DataSource in that request was pointing to client 100. In Test, we do not have a client 100

  • Why are moves in FCPX so awful?

    I can't believe how silly making moves on graphics and whatnot in FCPX is. What happend to handles and being able to ease in/out the way you want instead having some default end-eases that make your moves look ridiculous. Everytime I make a move and