Work flow triggering

Hi experts,
   I need to trigger an workflow email from my abap program and configure the workflow to get the mail in outlook express.
Can anyone pls help on 1. How to configure the workflow to send an email to outlook express
                                   2. how to trigger an work flow in abap program
I am novice to wokflow pls brief me with details or example.
Thanks in advance
sai

Hello Sai,
You can direct the mail from your SAP mailbox to your outlook or you can do it programatically too.
In SBWP tcode, Goto Settings menu -> Goto Office settings -> Goto Automatin forwarding tab and enter your email id there.
The mails in your SAP inbox will be forwarded to your outlook
If you want to do it programatically,
It first depends how you are triggering your workflow.
If it is by an event, you can use the SWE_CERATE_EVENT to first trigger the event and then the workflow is started. Attach a business object to a task in the workflow which call the function module SO_DOCUMENT_SEND_API1 that will send the mail to your outlook inbox
Here lies the sample code as of how to use this FM, SO_DOCUMENT_SEND_API1.
report yh_email.
data: email type somlreci1-receiver value '[email protected]'.
data: sender type SOEXTRECI1-RECEIVER value 'SAPDEV02'.
data: imessage type standard table of solisti1 with header line,
iattach type standard table of solisti1 with header line,
ipacking_list like sopcklsti1 occurs 0 with header line,
ireceivers like somlreci1 occurs 0 with header line,
iattachment like solisti1 occurs 0 with header line.
start-of-selection.
clear imessage. refresh imessage.
imessage = 'This is a mail from SAP ECC6'.
append imessage.
imessage = 'Thanks and Regards'.
append imessage.
imessage = 'Indu'.
append imessage.
perform send_email tables imessage
iattach
using email
'Mail from Indu'.
* Form SEND_EMAIL
form send_email tables pit_message
pit_attach
using email
p_mtitle.
data: xdocdata like sodocchgi1,
xcnt type i.
* Fill the document data.
xdocdata-doc_size = 1.
* Populate the subject/generic message attributes
xdocdata-obj_langu = sy-langu .
xdocdata-obj_name = 'SAPRPT' .
xdocdata-obj_descr = p_mtitle .
clear ipacking_list. refresh ipacking_list.
ipacking_list-transf_bin = space.
ipacking_list-head_start = 1.
ipacking_list-head_num = 0.
ipacking_list-body_start = 1.
describe table imessage lines ipacking_list-body_num.
ipacking_list-doc_type = 'RAW'.
append ipacking_list.
clear ireceivers.
refresh ireceivers.
ireceivers-receiver = email.
ireceivers-rec_type = 'U'.
append ireceivers.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = xdocdata
put_in_outbox = 'X'
SENDER_ADDRESS = SENDER
commit_work = 'X'
tables
packing_list = ipacking_list
contents_bin = iattachment
contents_txt = imessage
receivers = ireceivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
endform.
Hope it helps you.
Regards
Indu.

Similar Messages

  • Work Flow - Triggering Event through Webdynpro

    Hi,
              I am new to Workflow. I have generated the Workflow related to claim (Objects as ABAP Class). Now I have generated Webdynpro component and through this I need to execute the Workflow. I have used the FM SAP_WAPI_START_WORKFLOW & SAP_WAPI_CREATE_EVENT. To raise the event 'cl_swf_evt_event=>raise'. I have used. But this is not triggering event. So, Any one can help me on this issue.
    In workflow using ABAP CLASS is essential or Business object.
    In my case I have used only ABAP CLASS. In workflow I have generated the Triggering event as SAVE. In webdynpro I have generated the code in 'ONACTIONSAVE'. When ever the user clicks SAVE' button. Workflow shouild trigger and approver should receive the mail as notification and he/she will approve/reject the claim.
    Thanks & Regards
    Kannappan

    After SAP_WAPI_START_WORKFLOW do you have COMMIT WORK?
    Does the SAP_WAPI_START_WORKFLOW return some error message?
    Are you sure that the event is not triggered? Check this with event monitor SWEL (turn monitor on in SWELS).
    Also, ready Jocelyn Dart's blogs about ABAP OO. She have clear instructions about how to trigger ABAP OO events.
    Regards,
    Karri

  • Work Flow RFC

    Hi,
    i have made some changes to the SAP developed webdynpro application as per the requirement,
    when the user changes the personal information in the ESS personal information screen the Standard RFC is getting called but, if the user made any chanegs to the First name or last name or martial status the Z rfc is getting called and the work flow triggers and the notification will go to the corresponding manager for approval once the manager approves the request then the changes will appear in the portal and also saved in the backend system.
    bu while making changes the first name and last name or martial status and clicking the save button the following error is coming,
      Personal Data   
      Critical Error
    A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost.
    Please contact your system administrator.
      An exception occurred that was not caught., error key: RFC_ERROR_SYSTEM_FAILURE   
      An exception occurred that was not caught., error key: RFC_ERROR_SYSTEM_FAILURE:com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException: An exception occurred that was not caught., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101)
         at com.sap.xss.hr.per.ca.personal.fc.FcPerPersonalCA.callWorkFlowFM(FcPerPersonalCA.java:488)
         at com.sap.xss.hr.per.ca.personal.fc.wdp.InternalFcPerPersonalCA.callWorkFlowFM(InternalFcPerPersonalCA.java:681)
         at com.sap.xss.hr.per.ca.personal.fc.FcPerPersonalCAInterface.callWorkFlowFM(FcPerPersonalCAInterface.java:206)
         at com.sap.xss.hr.per.ca.personal.fc.wdp.InternalFcPerPersonalCAInterface.callWorkFlowFM(InternalFcPerPersonalCAInterface.java:242)
         at com.sap.xss.hr.per.ca.personal.fc.wdp.InternalFcPerPersonalCAInterface$External.callWorkFlowFM(InternalFcPerPersonalCAInterface.java:322)
         at com.sap.xss.hr.per.ca.personal.review.VcPerPersonalCAReview.onBeforeOutput(VcPerPersonalCAReview.java:235)
         at com.sap.xss.hr.per.ca.personal.review.wdp.InternalVcPerPersonalCAReview.onBeforeOutput(InternalVcPerPersonalCAReview.java:234)
         at com.sap.xss.hr.per.ca.personal.review.VcPerPersonalCAReviewInterface.onBeforeOutput(VcPerPersonalCAReviewInterface.java:135)
         at com.sap.xss.hr.per.ca.personal.review.wdp.InternalVcPerPersonalCAReviewInterface.onBeforeOutput(InternalVcPerPersonalCAReviewInterface.java:132)
         at com.sap.xss.hr.per.ca.personal.review.wdp.InternalVcPerPersonalCAReviewInterface$External.onBeforeOutput(InternalVcPerPersonalCAReviewInterface.java:208)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.callOnBeforeOutput(FPMComponent.java:603)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:569)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent.access$600(FPMComponent.java:78)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPM.raiseSaveEvent(FPMComponent.java:953)
         at com.sap.pcuigp.xssfpm.wd.FPMComponent$FPMProxy.raiseSaveEvent(FPMComponent.java:1116)
         at com.sap.xss.per.vc.reviewnavi.VcPersInfoReviewNavi.next(VcPersInfoReviewNavi.java:227)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalVcPersInfoReviewNavi.next(InternalVcPersInfoReviewNavi.java:175)
         at com.sap.xss.per.vc.reviewnavi.ReviewNaviView.onActionNext(ReviewNaviView.java:153)
         at com.sap.xss.per.vc.reviewnavi.wdp.InternalReviewNaviView.wdInvokeEventHandler(InternalReviewNaviView.java:173)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doHandleActionEvent(WindowPhaseModel.java:420)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:132)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:733)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:668)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
         at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:860)
         at com.sap.tc.webdynpro.portal.pb.impl.localwd.LocalApplicationProxy.sendDataAndProcessAction(LocalApplicationProxy.java:77)
         at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1299)
         at com.sap.portal.pb.PageBuilder.SendDataAndProcessAction(PageBuilder.java:326)
         at com.sap.portal.pb.PageBuilder$1.doPhase(PageBuilder.java:868)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processPhaseListener(WindowPhaseModel.java:755)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doPortalDispatch(WindowPhaseModel.java:717)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:136)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:321)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sap.aii.proxy.framework.core.BaseProxyException: An exception occurred that was not caught., error key: RFC_ERROR_SYSTEM_FAILURE
         at com.sap.aii.proxy.framework.core.AbstractProxy.send$(AbstractProxy.java:150)
         at com.sap.xss.hr.per.ca.personal.zhw201.model.ZHW201_PERSAPPR.zhw201_Persappr(ZHW201_PERSAPPR.java:179)
         at com.sap.xss.hr.per.ca.personal.zhw201.model.Zhw201_Persappr_Input.doExecute(Zhw201_Persappr_Input.java:137)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:92)
         ... 65 more
    and my problem is that my application is working in the developement portal, but in testing it is giving error. please give me some suggestion s on this,
    i have checked in the backend the RFC is available and executed successfully.
    Cheers,
    Apparao

    Hi
        did you check the RFC in the backend with the same inputs ,  is it working fine .
        RFC_ERROR_SYSTEM_FAILURE An exception occurred that was not caught ,
        this would occur if there is problem from your RFC side , 
        put the code inthe try catch and try to test the application(which you are passing to the RFC) ,
         instead of  application throwing  the runtime exception , you would figure out the exact exception .
         even  check the RFC in the backend with the same values you are passing , and execute the RFC .
         or  even you can put a external debugging where the RFC get called and check whether the
         values are  passed to the RFC , or other thing you can do it test the application inthe webdynpro
         with hard cording the values .

  • Set up Work Flow Email for Bill of Lading Process

    Hello, I am trying to set up work flow for a process that we have within our company. Can anyone direct me in what steps I need to take in order to have the system trigger a automatic email within SAP to a user to approve a delivery transport each time one is saved?
    I would like to have work flow triggered at the save of each transportation document. Is this possible?

    Hi,
    To get the Basics of WF check:-
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/workflow%252bscenario
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/using%252bfunctional%252bmethods%252bin%252bworkflows%252band%252btasks
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=29032626
    Check SAP Technical -> Tutorials -> Business WF
    There you can get a lot of starting material for WF's.
    To trigger your WF u need to find the BO - SWO3 - U can find it here..!!
    would like to have work flow triggered at the save of each transportation document
    WF Trigger Event should be SAVE in the BO ..!!
    To ask for Approval, u should have a User-Decision for the Approver.
    Try these and let me know if you still face any issues..!!
    Regards,
    Kanika

  • Work flow email to SR

    Hi,
    I need to associate the email sent when a work flow triggered as an attachment to Service request.
    i.e add all mails sent as an attachment to created SR
    Edited by: user11170982 on Jun 4, 2009 4:54 AM

    You cannot associated the WF email as an attachment. But you should be able to create a Task with Type as Email and associate with the SR. The same WF rule can be used used.

  • Local Work flow

    Hi experts,
    What is Local work flow.  When it will triggred like when ever the main work flow triggered or it trigger when the local event triggered?
    Thanks,
    Points will be rewarded.

    hi
    local workflow will get trigger when the local event get raised .
    for futher ref
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c6456e89-0a01-0010-0189-a7961fe42034

  • Triggering a sub work flow for multiple users at same time.

    I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
    This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
    How can this be achieved?

    Tyr to do like this,
    1. First include the subworkflow in the main workflow template.
    2. Now include standard Block Step in the main workflow template.
    3. In the block select the block type as ParForEach.
    4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
    5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
    &COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
    Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

  • 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

  • Work flow to be triggered from portal but not from PA30 Transaction

    Hi,
    We have copied a standard workflow to enhance it and attached standart event to that workflow in SWETYPV t-code.
    Now the work flow is triggered from both PA30 and portal whenever changes are made.But we want it to be triggered from portal alone.
    Can anyone suggest how can i restrict work flow start event to be triggered from portal alone.
    Thanks in advance.
    Martina.

    My suggestion is instead of starting the workflow by using EVENT it is better to start by using SAP_WAPI_START_WORKFLOW
    As you are saying that you need to trigger the workflow only from the protal. Now in the portal you might be using a WebdDynpro Application or a BSP application, so in that application after filling all the details you might be having a button like Save or Submit or Create so under this final button you call the FM SAP_WAPI_START_WORKFLOW in the action handler.
    And more over even by using this FM you can even pass the values from WD Application to workflow by using the tables Parameter Simple_container.
    And one more thing is if you start a workflow by using a event then when ever the event is occured then the workflow gets triggered.
    or make use of Start Condition in the basic data of the workflow.

  • Trouble shooting for work flow not getting triggered

    Hi everyone,
    I am doin a work flow for which the zfipp-> created event is the trigeering event.
    I parked a document using FB03,but still the workflow is not geeting trigered.
    I checked SWEL ,i see that the event is trigered.
    Also whe i simulate the event using SWU0
    I see that the workflow triggeres then.
    Any advice where the problem could be..
    regards,
    Aditya

    Hi,
    Have u done the event linkaga?
    If not goto SWE2  and do the event linkage.
    Thanks and Regards

  • See in R/3 to whom this work flow is triggered

    Hi frineds
    Employee sends a leave request and raise a loan request through ESS, I want to see in R/3 to whom this work flow is triggered, where and how to see the next agent (I mean details of approver)
    Regards
    Kumar

    Hi Kumar,
    If you know the business object being used and object instance the use transaction SWI6. You enter the business object and the instance (e.g. Leave Request number) and select all instances. This will give you a list of all workflows associated with this particualr object instance.
    As the other guys mentioned SWIA. SWI1 or SWI2_FREQ with as many selection criteria as possible in order to narrow down the selection. e.g. date and time, workflow, task etc.
    Regards,
    Eddie

  • Urgent : Work flow  in ABAP

    Hi friends,
                  kinkly send me about Work flow. Also send me step by step procedure on how to do work flow. Thanks in advance.

    Hi,
    check the below links
    REfer this link:
    There is a good book from SAP Press that I would
    recommend as a starting point.It's called Practical Workflow for SAP and it is by Alan Rickayzen.
    http://www.sap-press.com/product.cfm?account=&product=H950
    Workflow
    http://www.sap-img.com/workflow/sap-workflow.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/a5/172437130e0d09e10000009b38f839/frameset.htm
    For examples on WorkFlow...check the below link..
    http://help.sap.com/saphelp_47x200/helpdata/en/3d/6a9b3c874da309e10000000a114027/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    http://help.sap.com/saphelp_47x200/helpdata/en/4a/dac507002f11d295340000e82dec10/frameset.htm
    http://www.workflowing.com/id18.htm
    http://www.e-workflow.org/
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Go through the following links on FORK :
    http://help.sap.com/saphelp_nw04/helpdata/en/24/e2283f2bbad036e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/8d/25f1e7454311d189430000e829fbbd/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/c5/e4a930453d11d189430000e829fbbd/content.htm
    http://www.insightcp.com/res_23.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSTART/BCBMTWFMSTART.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMDEMO/BCBMTWFMDEMO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMPM/BCBMTWFMPM.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PSWFL/PSWFL.pdf
    Work Flow
    1) Goto Tcode PFTC : Standard Task > Create Button>Workflow Templete
    For Create Container
    Element : ZBUS1001006
    Name : ANy Name
    Description
    Data Type & Properties
    Data Type:
    select Object Type : BOR Object Type for BUS1001006
    Properties:
    Parameter Settingd : check all Import, Export & Mandatory Checkboxes
    Basic Data :
    Abbr : Create_View
    Name : Some Name
    Work Item Text : Create View Material & -
    Click on DELE Button & Select Material From The List
    Object Catagory : BOR Object Type
    Object Type : BUS1001006
    Method : View
    Triggering Events
    Obj Catagory Object Type Event
    BOR Object BUS1001006 View
    activate it
    Enter on BUS1001006 Object Type you will get Quadratel<> Button after that
    double click on Quadratel<> button you get green button
    after that the system will generate the task No.
    check in the Event linkage Tcode : SWETYPV
    if you find an entry with your Workflow and linkage active
    goto Tcode : SWEC click on New Entries
    Change Doc Obje Obj Cat Obj Type Event on create
    Material BOJ Obje BUS1001006 View Option Button(Checked)
    save this
    goto Tcode : SWEC
    Change Doc Object : Material
    Obj Catagoty : BOR Type
    Obj Type : BUS1001006
    Event : View
    Check with On Create Button
    Goto SWETYPV
    Obj Catagoty : BOR Type
    Obj Type : BUS1001006
    Event : View
    Receiver Type : Some Work Flow No: WS80000431 like this
    Click on Work flow Builder
    ~~Guduri

  • Work flow

    Dear all,
    we need a workflow for creation of material master.
    Say Basic data is created by MM dept.
    then MRP  & work Scheduling views are created by PP dept.,
    then Purchase views are by MM again,
    then inventory dept. creates storage locations,and f
    inally finance dept creates Costing & Accounting views.
    Our requirement is when over one dept. completes creation of their respective view, mail should get triggered to  subsequent dept. to continue the work.
    regards,
    K.Kumaran.

    Dear,
    Use Tcode SWDD for work flow activities....Take help from your ABAP team...Give them the user Authorizations based upon your requirement.
    Hope this will help you.
    Regards
    Utsav

  • Data/Work Flow in SAP

    Hi All,
    Plz. explain the Data/Work Flow in SAP
    Is there any difference between this if so explain,
    and kindly tell me the process.
    thank you,
    Narender

    Hii..
    Work Flow- SAP Business Workflow
    Purpose
    SAP Business Workflow can be used to define business processes that are not yet mapped in the R/3 System. These may be simple release or approval procedures, or more complex business processes such as creating a material master and the associated coordination of the departments involved. SAP Business Workflow is particularly suitable for situations in which work processes have to be run through repeatedly, or situations in which the business process requires the involvement of a large number of agents in a specific sequence.
    You can also use SAP Business Workflow to respond to errors and exceptions in other, existing business processes. You can start a workflow when predefined events occur, for example an event can be triggered if particular errors are found during an automatic check.
    SAP provides several workflows that map predefined business processes. These workflows do not require much implementation. For an overview of these SAP workflows, refer to Workflow Scenarios in Applications.
    Integration
    SAP Business Workflow uses the existing transactions and functions of the R/3 System and does not change the functions. You can combine the existing functions of the R/3 System to form new business processes with SAP Business Workflow. The workflow system takes over control of the business processes. If you are already using SAP Organizational Management, you can use the organizational structure created there to have the relevant agents carry out the individual activities. It is possible to have an activity carried out by a position. This ensures that the respective occupiers of the position can carry out the individual activities during execution of the workflow. This means that personnel changes in your organization are taken into account immediately in the execution of a workflow.
    Features
    SAP Business Workflow provides a number of tools for defining and analyzing workflows as well as for monitoring operation.
    The Workflow Builder is for displaying and making changes to workflows. You can make small extensions directly to the original workflows supplied by SAP, such as carrying out your own agent assignments or changing deadline monitoring.
    There are several Workflow Wizards to support you in the definition of workflows, with which you can create specific parts of a workflow. The Workflow Wizard Explorer gives you an overview of the existing Workflow Wizards.
    In order to make the functions of the R/3 Systems available to a workflow, you use business objects, which you can define and analyze in the Business Object Builder. These business objects are made available to the workflow in reusable tasks. The Business Wizard Explorer gives you an overview of all existing tasks.
    The end user receives information about the activities they are to carry out in their Business Workplace. This provides them with a central overview of all the activities that they are authorized to carry out. They can commence the activities from here.
    Several tools are available to the workflow system administrator, with which they can control and analyze the current workflows. The workflow system administrator is notified of problems automatically by the system.
    DATAFLOW-Data flow means flow of data from one module to another within a sap system.
    Regards,
    Aakash

  • Work Flow in Status Error

    Hi Experts,
    I have a Workflow which triggers on record update.
    After the start step i have 3 assignment Fields and then Some validations etc.
    I can see that this workflow is stopped at First assignment step Some times with Error.
    And when i Open the workflow and close it again, then the next time there is a Update to a Record this workflow works fine...
    This is strange..
    the Workflow entry which is in ERROR will remain the same, Even if i press 'Perform' ..
    DId anyone face this issue earlier!!!
    It works fine for 2 days and suddenly i can see in Workflow table there is a entry with Error at First Assignment step of Workflow.
    when i Open work flow, Edit some description and save it back and the rest of the workflows from then are executing without error.
    But the one with Error in WF table still remains the same even after selecting 'Perform' on it.
    KR
    John

    Hi John,
    Please find details of a SAP Note 1553992 on this issue:
    Symptom
    - Data Manager crashes when trying to click on workflow job line (only    in MDM 5.5).
    - Workflow jobs are in error state due to executing next step such as     syndication step after a job was in error state due to bad assignment.
    Other terms
    - Workflow crash Data Manager, O28627 2011
    Reason and Prerequisites
    o Description of the root cause of the bug and ways to reproduce and/or diagnose the issue:
    Reproducing the scenario can be done by creating a workflow with the following steps:
    1. Start
    2. Bad Assignment (e.g. assignment created unique constraint violation)
    3. Syndication
    4. Stop
    After executing the workflow job, the job is shown in error state in MDM Data Manager.
    Clicking on next -> Syndication step changes the workflow job to a job that only the owner can see. The job is shown in MDM Data Manager in error state, its step description is empty and no user specified in user column.
    Clicking on the workflow job will lead to a crash in Data Manager.
    MDM Data Manager crashes since the workflow job is is in error state but none of his steps is in error state.
    In this mode(unlisted), MDS prepares the workflow list to be send to Data Manager with user name with value NULL.
    Data Manager crashes when it tries to access the user name of the workflow.
    The issue was introduce with MDM 5.5.
    Issue is not relating to a specific platform/DBMS.
    Solution
    o The workaround is:
    Delete workflow job in error state using Java API.
    o The description of the fix is:
    The fix handles two scenarios:
    1. Existing workflow jobs in error state that caused a crash
       in MDM Data Manager. A fix was made in MDS to add the owner as user
       name to the workflow jobs in such scenario.
       As a result users are able to delete the workflow job or show its
       history.
    2. New workflow job will not stay in Error state and the next step will
       be correctly performed.
    o The issue was fixed in the following code lines and versions:
    - MDM 5.5 SP06 Patch05 Hotfix 45 (Build 5.5.65.125) -
        change list #94328
    - MDM 7.1 SP07 (Build 7.1.07.113) - change list #94340
    - MDM 7.11     (Build 7.11.0.146) - change list #94339
    o What areas of the code were fixed?
    Workflow Run Time
    o What areas of the code were affected by the fix?
    Workflow Run Time
    o The following component(s) need to be replaced to correct the specific flaw addressed by this note:
    In 5.5 Version:
    Master Data Server
    MDM SERVER 5.5
    In 7.1 Version:
    Master Data Server
    o Additional component(s), if any, that were impacted and should be regression-tested by the code change:
    In 5.5 Version:
    GUI Clients
    JAVA API
    In 7.1 Version:
    Data Management Clients
    JAVA API
    Hope this helps.
    Thanks,
    Ravi

Maybe you are looking for

  • ERROR IN SOLUTION MANAGER4.0

    WHILE INSTALLING CENTRAL INSTANCE FOR SOLUTION MANAGER 4.0, AT "CREATE USERS FOR SAP SYSTEM" GIVES FOLLOWING ERROR "unable to create account \dbdb2mnt" host name : solsrv sap sid: sm4 db id: db2 i m not getting the where is to create \dbdb2mnt accoun

  • Reader 10.1.0 will not open PDF files

    Hi Reader 10.1.0 will not open PDF files in windows 7 64 bit using IE9 However it open using firefox? Is it my settings ? Is this version not compatible with IE9 ??? Please advise Thanks Perry

  • Graph Prompt Error?

    Hello All, I am trying to use a year in the graph prompt and when i am trying to change the year it is giving me the error as below> i tried to use another columns as graph prompts it is working fine. please advice View Display Error Error generating

  • IDVD will not burn iMovie

    I prepared an iMovie, "shared" into iDVD, and waited the roughly 3 1/2 hours while processing occurred. The burn cycle never started. I got a message indicating something like "multiplex errors". I also tried to burn using Disk Utility - also unsucce

  • Feedback form script in RH8

    My form (see below) triggers a PHP script (see below) which is supposed to send the form data to my email address. It works perfectly in a regular web page, but when I've integrated into my WebHelp project the form fails to send anything and show a s