Workflow in the BW

Hi Experts.
We try to raise event in the ABAP-code to start Workflow chains in BW. To do this we call SWE_EVENT_CREATE function but it doesn't work correct (BW chains doesn't start). The source code of SWE_EVENT_CREATE in R3 and BW is not same, in BW the most of code is commented.
Questions: How should we raise event in BW correct?

Hi there,
Why the decision is to use fucntion module "SWE_EVENT_CREATE"? The main issue is how to trigger Process chain/Workflow, right?
As Daniesh said you can use function module 'BP_EVENT_RAISE' instead. By using it you have to create an Event in BW (SM62) and just trigger this event from R/3 using some ABAP codes. It works. Hope this helps.
Weidong

Similar Messages

  • FM to read the different steps in workflow and the status at each step

    Hi All,
    Is there any FM in SAP which gives the detail roadmap of the steps taken in a workflow and the diffrent status or decision at each step.
    I am looking for something like what you see when you click on the "STARTED WORKFLOW" in the business workplace outbox.
    Which shows up the "steps in the process so far "  and the decision and the agents for each of them.
    Thanks,
    Charan.

    Hi,
      You can get the status according to the task. please check with FM "SAP_WAPI_GET_WI_DELTA".
    Regards
    SM Nizamudeen

  • Errors were found when compiling the workflow. The workflow files were saved but cannot be run.

    Greetings All,
    I am having issues with a SharePoint Designer workflow.  This is a SharePoint 2013 environment, I'm using SharePoint Designer 2013 and working on a SharePoint 2010 workflow.  I'm developing this as a SharePoint 2010 workflow because I need to do
    impersonation.
    The environment and workflow have been running, in the past week, without issue.  I went to add a couple steps and now I cannot publish the workflow.  While in SharePoint Designer, I receive the error:
    "Errors were found when compiling the workflow.  The workflow files were saved but cannot be run."  When I click the Advanced button on the error dialog, the message is "Unexpected error on server associating the workflow." 
    That is all the error information I have available; nothing is in the log files.
    I have investigated this error and tried the following:
    Cleared the SharePoint Designer cache.
    The WebApp.UserDefinedWorkflowMaximumComplexity was at 7000 so I increased it to 10000.  Restarted the servers (which may not have been necessary) and tried again receiving the same error.  I then increased it to 30000 with the same error result.
    Since this is a large workflow, I tried created a workflow with a single action, write to workflow log, with the same error results.
    I reboot the servers and try again and now I can publish the small test workflow but not the original.  However, neither will run.  When I attempt to manually run the small test workflow on an item, I get an error: "Sorry something went wrong.
    An unexpected error occurs.  I checked the log files for the correlation id and nothing, nothing was logged for the error. ~arg~
    Also, now no workflows can be published in this web app.  Not just the one I was working on but none of them!
    Does anyone have a clue what has happened to the SharePoint 2010 workflow service?  Or some suggestions for me to try?
    Thank you in advance for your help!
    Bob Mixon

    try these links:
    http://sp2013.pro/2013/04/solution-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run-cannot-set-unknown-member/
    http://code2care.org/pages/sharepoint-errors-were-found-when-compiling-the-workflow-the-workflow-files-were-saved-but-cannot-be-run/
    http://sharepoint.stackexchange.com/questions/119909/sharepoint-designer-error-errors-were-found-when-compiling-the-workflow
    http://stackoverflow.com/questions/26413125/errors-were-found-when-compiling-the-workflow-in-sharepoint-2013
    Hi Sagar,
    I appreciate it but if you see my original post, this is a SharePoint 2010 workflow that cannot be published; which has now caused all SharePoint 2010 workflows in the same web app to error.
    Your first link is specific to SharePoint 2013 workflows.
    Your second link refers to the UserDefinedWorkflowMaximumComplexity.  If you read my original post, I've already tried this and I've tried to publish a small (single activity) workflow.
    Your third link also refers to large workflows with many approval activities.  My workflow doesn't contain any approval activities.
    And you fourth link refers to 2013 workflows not 2010.
    My issue is with publishing and running a SharePoint 2010 workflow in SharePoint 2013.
    Thank you...

  • How to allocate the workflow to the action defnitions in solution manager

    Hi,
    we are having solution manager with the CHARM configured, and currently we are looking for the trigger of mail and workitem for change of action. the work flow is designed for that, but how to assign the workflow to the condition and processing type .
    please suggest, points are definetly awarded.
    Thanks and regards
    keerthi

    Hi,
    Well, why dont you check the event that gets triggered during the Status change of the user?
    This can be done by switching on the EVENT TRACE using SWELS txn and simulate the BUSINESS PROCESS and then check the event trace using SWEL.
    After getting the required Business Object and event, Please attach your WF to that EVENT in the BASIC DATA-START EVENTS.
    Regards,
    <i><b>Raja Sekhar</b></i>

  • Workflow in the releasing of Credit blocked sales orders.

    Hi All,
    My Client requirement is that they need workflow in the releasing of credit blocked sales orders.
    If once sales order is blocked then it should be approved at 3 levels, then only it should be released.
    Suggestions are highly appreciated 
    Regards,
    Kumar

    Hi Kumar,
    I think you can achieve this by using Authorization Concept.
    Please find the below link
    http://help.sap.com/saphelp_nw04/helpdata/en/52/671285439b11d1896f0000e8322d00/content.htm
    Authorization levels for Credit Rep Groups
    Thanks
    Dasaradha
    Edited by: dasaradha ramireddy on Nov 28, 2011 12:53 PM

  • Can not send mail from PR Workflow to the approver

    Dear all,
    I have issues about send mail from PR Workflow to the approver.
    Now when user create PR and the corresponding user can receive the workflow items in SBWP.
    But no email from the user to approver.
    If I assign authorization SAP_ALL to the user that create PR. The approver can recieve the workflow item PR in SBWP and email to their mail
    Can you tell me about the authorization that can allow the user to send the workflow item PR in SBWP and email to the approver?
    Now user can send mail to external and internal mail and I also configured the mail server in SCOT and can successfully send a mail to users in SO01 by manually creating a message.
    Now the approver not receive any email but can receive a workflow item in SBWP
    Regards,
    Pannee

    Dear all,
    Thank you for all suppport, Now I can solve issues.
    Regards,
    Pannee

  • Triggering a workflow when the payment proposal F110 is confirmed/finished.

    Hi All,
    Please kindly give me your good advices that how can I start to create a workflow for payment proposal F100. The requirement is that after the payment proposal has been confirmed and completed. It needs to be triggered and automatically send out an email notice for the those vendors, the vendor email address is collected from vendor master record FK03.
    I guess it can use REGUH-XVORL, If "X" means that this is proposal record only. If " " means that it's not a proposal record, which should be a confirmed record yet.
    Please kindly instruct me how to get this task done, since I am a fresher SAP and workflow.
    Thank You Very Much.
    JC

    Hi,
    I have exactly the same requirement.  I need to trigger a workflow when the payment proposal is completed. 
    I've been searching for the answer on the internet.  Several people have asked the same question, but I haven't seen any real answer to the question yet. 
    There is no standard SAP business object for payment proposal, there is one for payment request which uses F111.  There is no standard workflow template, the one for payment release is only for releasing individual invoice.  There are answers about restricting the authorisation, it helps, but it doesn't meet all requirements.  We have people create payment proposals in UK for companies in Europe.  We really need a workflow resolution.  Seperating the authorisation will still require the person who created the proposal sending email to people in different countries to approve the payment.
    Two technical problems that we are facing. 
    1. There is no existing business object. I've been told that we should should ABAP Class.  And include the IF_WORKFLOW in the interface.
    2. There is no event created when the payment proposal is completed.  We are working on creating an event.  I've been told to use SWE_EVENT_CREATE function module. 
    If you have more information about how this can be done, or if there is any easier way, please let me know.  I will be very grateful.
    Thanks,
    Manlee

  • How to use the workflow in the pm notification?

    Hi, guys
    who can tell me how to use the workflow in the PM notification?
    ths!

    hi
    you can refer the following links
    [Preparation and Customizing|http://help.sap.com/saphelp_47x200/helpdata/en/7b/b7410e53b211d38abd0000e8284931/content.htm]
    [Operation and Link to Application Functions|http://help.sap.com/saphelp_47x200/helpdata/en/2e/f1ab4456ca11d38ac30000e8284931/content.htm]
    regards
    thyagarajan

  • Using in the workflow process the element of Scenario dimension which conta

    Good day All
    In the Scenario dimension has been created element which include as children the some store elements of the Scenario dimension (Plan, Fact ...).
    This element has been assigned as scenario element for Planning Unit Hierarchy.
    When we start the workflow process the children of its elements (Plan, Fact ...) still available for edit on work form for all users.
    Question. Work form contains several elements of Scenario. As in the workflow process close all of these elements, creating only one Planning Unit Hierarchy and run the process only once (in fact, one Scenario).
    thanks

    The total video bit rate is determined by audio & video. Depending on what rate your video file was encoded at will determine how much room is left for audio. PCM(aiff/wav) audio requires a bigger piece of the pie. Video bit rate too high means your overall(video+audio) rate is going above 9Mbps which the format won't allow. The only way to use aiff would be to lower your video file's data rate. The length of your program is also a factor in all of this.
    I had some problems in the past with using aiff instead ac3. Although there shouldn't be any issue I experienced playback issues on some players that couldn't be explained but were cleared up by ac3.  I have been using the same specs as Dave's suggestion for almost nine years and have not had any issues with mix, quality, or levels.

  • Using in workflow process the element of Account dimension with subordinate

    Good day All
    In the dimension Account has been created element, which contains several shared elements. This element has been added as a Parent member when creating a Planning Unit Hierarchy. When we run the workflow process the child shared elements still open for editing for all users.
    May be we can’t using shared members in this case?
    Thanks

    Are you the one who commented out the code you're looking for ?//String desc = StringFactory.getString(attributes.getValue("desc"));You just have to modify you AttributeObject class to hold a new field : String description. And then, it's up to you to create a new constructor or a new setter method.
    Btw, this is not a Swing related question.

  • Is i possible to trigger a workflow from the creation of an event in iCal

    Is i possible to trigger a workflow from the creation of an event in iCal
    Or is is possible to create a workflow to ad events to an iCal calendar which then triggers the workflow or is combined with the ad events workflow.
    Graeme

    Hmm, nope. Not that I'm aware of. Very few apps allow you to hook scripts directly to user activity. Finder* is a notable exception. iCal's "publish" feature has the ability to auto-update after user activity, but you'll either need dot mac accounts or your own webdav server to get that working.
    I'd re-consider the idea of triggering a periodic workflow with iCal. That way if the computer is shut down or asleep, iCal will wait to run the workflow at its next opportunity. You could hide the unsightly repeating events in a second calendar so they're out of the way.
    The next best thing is to write a faceless AppleScript application with a long-duration idle handler. The user would simply add it to their login items in System Preferences. This would also resume its cycle after sleep or shutdown.
    Yet another option is to write an AppleScript that can register itself in the crontab. This has the advantage of running at a predictable time. If you're careful, you can even set the script to wake up or power on the computer as necessary.
    * Folder action scripts can be triggered when files are created, moved, or deleted, but not when they're merely updated. This probably rules out much of iCal's activities in ~/library/application support/ical/.

  • SAP Business Workflow and The Workflow Reference Model

    Hi Experts,
    I try to map the Business Workflow with the Workflow Reference Model of WfMC.
    Interface 3 represents the communication of SAP's Workflow Engine with "Invoked (external) Applications".
    My Questions are:
    - which applications, tools can be invoked (Webservices, Group Ware Products)
    - and which component realizes Interface 3?
      (can I say that interface 3 is realized with different steps like web-activity,
    or the normal activity-step (WebFlow Service Handler) ? )
    Or is there a certain technology that is representative for realization of interface 3 ?  e.g. WfXML or SOAP?
    Thanks in advance
    Stefen

    Hi Dominique,
    FYI. SAP Fiori Approve Requests uses task processing service. This may help.
    How to display application data in SAP Fiori Approve Requests app
    Regards, Masa
    SAP Customer Experience Group - CEG

  • Load approvers, solicitors & workflows to the CUP (SAP GRC AC 5.3)

    Hello,
    I want to know if there is a way to load the approvers, solicitors & workflows to the CUP (SAP GRC AC 5.3) massively.
    Best Regards.
    Pablo Mortera.

    Most of the configuration screens in CUP have an export button and an associated excel/text upload template. Use this template to mass create/update configuration data.
    Regards,
    Alpesh

  • Approval workflow in the rooms

    Hello to all,
    i need to active the approval workflow for the room's documents.
    One member create a new document, and only he and the leader should see the document, and when the leader approve the document the others members should see this document. And all the members can create and uploat documents at the room.
    Can sombody helpme??

    Hi Anna Maria ,
    you are right... let's see if a user has read/write access to a folder he/she can see any document in any status.
    if another user has read access permission over that folder he/she won't see any document until it is approved.
    Of course you need all the user have read/write access.... so
    I'm thinking about two options:
    1.  once an user upload a file you remove the write permission over that file.. you need to develop your own upload app.
    2.  this is the tricky one...
    create a folder for every user in your room, give them read/write permission over their own folder
    for example, user01 ---> read/write over the folder named user01 in this room
    everyone else only read access
    activate the approval process over every single folder.
    This way, every time a user upload a document, only he/she and the people in the approval workflow can see it, not his/her partners.
    Ok, but now maybe you don't wanna navigate for every folder to see the approved documents, so..
    create an index over the root folder
    create a query-base taxonomy with a public folder
    for the public folder create a query something like
    property
    Folder IS your <rootfolder>
    Finally, create an readonly iView to this folder taxonomy
    for example
    /taxonomies/<your index>/<your taxonomy>/public
    In this iView all the people in the project will see only the approved documents.
    You can read about the query based taxonomies here
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bd1db090-0201-0010-eaab-82bcdf1c85ae
    Regards
    DV

  • Workflow in the future

    Do you have any idea for Workflow in the future

    Hi SharpLj,
    Welcome to workflow forum.
    According to current information, the .NET Framework 4.6 preview introduces the .NET Framework 4.6 Preview and .NET Core. 
    Some new features apply to both, and other features are specific to .NET Framework 4.6 Preview or .NET Core. See:
    What's New in the .NET Framework
    At the same time you can also pay attention to
    Microsoft .NET Framework Blog, we an get latest information about .NET Framework there.
    Please let me know if there is anything that I can do to help.
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Workflows within the SAP environment

    Hello,
    for my diploma i'm evaluating the different workflow technologies within the sap environment. Therefor i set up a list with the different technologies and want to know if i'm missing something.
    1) ALE
    2) MDM Workflow
    3) Business Workflow aka Adhoc Workflow
        (CRM Workflow, SCM Workflow are synonym to the Business Workflow)
    4) SAP Webflow aka SAP Workflow
        (kind of a successor of Business Workflow)
    5) Guided Procedures
    6) Business Process Engine aka ccBPM
    Are these the most used Workflows within the SAP environment or is something missing?
    And what is the difference between <i>SAP Business Workflow</i> and <i>SAP Webflow</i>? Some source say these two are nearly the same, except the "web-capability" of Webflow...
    btw: Sorry for posting this question in the Coffee Corner but its a farreaching area and i dont know which other forum it would fit better...
    thx for replys
    Matthias

    Matthias -
    Please be assured that there was no irony or sarcasm intended - if you can complete the evaluation task that you have set for yourself, it will not only be a wonderful achievement but also something that I'm sure many here would want to read and comment on.
    The one thing to keep in mind - perhaps the most important thing - is that technological alternatives are never pursued rationally.  Rather, they are generally pursued for the worst of reasons - someone's opinion of where "the market" is going at any given point in time.
    So unless you can get an SAP "insider" to explain to you why SAP's workflow alternatives developed the way they did, you will not really have a complete picture.
    Of course, it's also true that sometimes good things can happen for the worst of reasons, so perhaps the "inside" history of workflow at SAP is irrelevant.
    The reason I'm going on about this is because I still don't think "the powers that be" at Walldorf have realized yet that the way to get pre-NW clients to NW200nx (NWDS, WDA, WDJ, GP, VC) is to get them to use regular old workflow first.
    There is <i><b>nothing</b></i> in NWDS, WDA, WDJ, GP, and VC that can't be done in a pre-NW environment using a combination of user exits, BAdI's, BAPI's, and workflows.
    And if SAP customers were to start using these older techniques to implement "integrated" and "process-driven" applications, then they would get into a "state-of-mind" that would make them much more confident of their ability to handle NW techniques, and much more aware of the benefits resuling therefrom.
    As the old saying goes -
    <i><b>you've got to take folks from what they know to what they don't</b></i>
    i.e. you can't simply "shock and awe" customers into what you want them to start using.
    Sorry to go on like this, but all these matters are tied up in the project you are about to undertake ...
    Regards
    djh

Maybe you are looking for