Web Dynpro to link workflow

Hi,
  I have created webdynpro application for employee cliams. if employee clicks 'SUBMIT' button than a mail should trigger to respective superviosr, The mail triggering should be done with workflow process.
can anybody please help me what are the steps i need to flow from webdynpro to wrokflow for triggering mail.
Regards,
Raj

DESIGN LIKE THIS
1. First under the SUBMIT button action call the FM SAP_WAPI_START_WORKFLOW
2. and Design the workflow  for sending a mail.
3. Before step 2 make sure you have done all the SCOT configuration settings which are necessary for sending a mail to outlook (if you want to sent to outlook)
4. if you wan to send  a mail to out look step 3 is necessary else if you want to send a mail to SAP inbox then all you have to insert a mail step in the workflow. and after desiging the workflow copy the workflow ID and pass this ID to the FM in the step1.

Similar Messages

  • Web dynpro application using workflow

    Hi all,
    I have developed a web dynpro application and attached that to the portal, so the user will login into the portal and will access the application. We have a new requirement now, when a user enters the data and hit save button on the web dynpro application, the workflow should trigger and should send the filled out (everything filled in) web dynpro application to his superior, the supervisor should be able to click on a link (which he should get through workflow) and should get the web dynpro application filled in. I am not sure how can I do this, so can you please guide me through.
    Thanks,
    Raj

    Hi Raj,
    could I suggest perhaps that you have a good search of SCN - there have been multiple posts about this sort of thing in the past.
    for example : the wiki article
    [Integrating WebDynpro ABAP applications with UWL for workflow in Portal|http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal]
    is it perhaps that you do not use the UWL at your site? Or do you want to to send an email to the manager with a link directly to the approval application? The last case is one that I've come across many times before - it just means that you'll need to generate an approval task that is ended by a wf event and send an email to the manager with a URL parameter in the launch of the WDA application so that the app can pick up the details required to display and raise the WF event to complete the approval wf task.
    There are all sorts of ways of persisting the information in the form so that the manager can see it in the approval. You can use the workflow container, you can use a db table, you could even use a shared memory area (not that I'd recommend this for this usage). But this is more a case of how to persist information in a workflow and probably a better question (search first, it's probably been answered already) for the WF forum and not the WDA forum.
    Good luck in designing and building your application. Perhaps when you are done you could write a blog about your experience and further share how to do this with others.
    Cheers,
    Chris

  • Web Dynpro ABAP with workflow in EP

    Hi friends..
    I wants my web dynpro application in EP workflow (its a form which needs to be field by multiple users).. can u suggest how to do this , i am new to EP as well webdynpro ABAP.. please suggest how to proceed..
    regards
    siddharth

    Hi Siddarth,
    I can help you through some links are available here...
    https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
    https://www.sdn.sap.com/irj/sdn/ep?rid=/webcontent/uuid/fe7a864d-0a01-0010-5c9f-992510042c41 [original link is broken]
    /thread/113025 [original link is broken]
    Thanks and Regards,
    Prabhakar Dharmala

  • Portal web dynpro form link as email .

    Dear All
    The requirement goes like this:
    We are developing a form in web dynpro and integerating into portal as an iview.
    Whenever the user submits a new form we should send a link of the form in portal to the user as email (with some parameters like form id for the webdynpro to open the correct form)
    How can build this link to the portal form dynamically and send it?
    As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
    Any help will be greatly appreciated.
    PS : Portal and web bynpro are on different system..

    I think this should be possible by passing the parameters via URL. You will have a URL created for your webdynpro application. Now add the URL parameters as name-value pairs separated by "&". Send this URL as the email. For example the URL might look like
    http://<Static URL to the webdynpro application>&FORMID=1234
    Insert the appropriate code in your webdynpro application to read the parameters values from URL. I am not giving the code here as i am not sure if it is WDJ or WDA application but in either case u have separate classes which reads the URL parameters.
    As this web dynpro application will be accessed form different portal .I do not prefer hardcoding the host or url etc.
    Can you please clarify more on this. Irrespective of your application (WDA or WDJ) i believe there shud be a static URL to access your webdynpro application (atleast a blank application without data).
    Thanks,
    Prasath N

  • Workflow integration with Web Dynpro

    Hi Experts,
    I have a strange problem.   below i will explain.
    I created a custom workflow for a custom process.  the workflow contains 3 activity steps and agent is assigned as Initiator.
    I created a BAPI and called the workflow using SAP_WAPI_START_WORKFLOW and the bapi works fine  in R/3.
    When the same BAPI is called from Web Dynpro.  the workflow is getting executed but the activity step is not getting executed.  when i checked in SAP R/3 Workflow Graph. the activity step is showing message as No Agents Ready.  but i assigned the agent as Initiator.
    Could you please let me know what might be the problem.  whether the problem with developement or with configuration in SAP-EP.
    Waiting for your quick reply
    Thanks in Advance.
    Regards
    Santosh Kumaar.M

    Make the workflow and Task as GENERAL TASK for making t he workflow as Genral task cl
    Execute SWDD.
    Click on BAsic Data Cap.
    Click GOTO ---> AGENT ASSIGNMENT FOR TASK ---> Select General TAsk.
    For making Task as general task
    Execute PFTC
    Select Standard task option & enter the task ID, Open in change mode.
    Click ADDITIONAL DATA ---> Agent Assignment ---> Maintain ----. select general task.

  • How to set up environment for web dynpro?

    We want to develop applications in Java Web Dnpro.
    What do I need to configure in SAP R3 to use Web Dynpro Java?
    I can develop applications on the SAP NetWeaver Developer Studio and only perform a configuration  in SAP ECC ?
    Or do I need to install SAP EC Composition Environment ?
    Can I develop and set up RFC connections to integrate with my application in Web Dynpro Java?
    Please help me,
    Regards,
    MIG

    Read Sap standard document:
    http://help.sap.com/erp2005_ehp_04/helpdata/en/fd/ed32a8c9994b4ba4a1645a764814db/frameset.htm
    Getting Started with Java Web Dynpro
    Getting Started with Web Dynpro [original link is broken]
    Before you can develop a Web Dynpro application, you must install the SAP Java Application Server.

  • How to guide for Web Dynpro

    Could u please tell abt "  How to guide for Web Dynpro ".
    Where i can get details for webDynpro
    Regards,
    Vibhuti

    Hi,
    Check with SDN link.
    Getting Started with Web Dynpro [original link is broken]
    Also Check with the SAP Help link.
    http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/content.htm
    Regards,
    Maha

  • Sitemap Web Dynpro issue

    Hi Experts,,
    As I created an sitemap (I used *navigationMethod="byURL"*) for our client portal. It has both portal pages & web dynpro pages under 4 roles.
    In MasterHead i gave the link to sitemap(I will open in PCD Area.)
    When I click any portal page link in the site map, Its  opening in PCD Area.
    But When I click any Web Dynpro Pages  link an erro is comming as
    " An error occured while starting the iview Application /webdynpro/dispatcher/sap.com/pb/PageBuilder;jsessionid=(J2EE94581)ID035........) will run with a wrong client window ID
    Do not continue: please report this problem to your Administartor" 
    Its comming in an alert box.when i click ok ,
    The page is opeing correctily. But I dont know why the alert message is comming.
    *Note:  Portal Server Version is  7.01 SP6*
    Please help me to resolve the problem.
    Thanks
    Rabin
    Edited by: RabinDhas on Jun 20, 2011 1:17 PM

    If the user is using link from favourites of browser, Ask him to delete it and manually enter the url and Try.
    In my case, The user just deleted the saved link from Favorites and tried entering the url manually,
    though it is weird it worked.
    or else try these  Notes 1450543, 1171930 .

  • Launching instant messaging component from web dynpro

    Hi
    We have a requirement to launch instant messaging component from a web dynpro java link. Could you tell me what APIs can be used here? Is it possible to launch the component in a new browser window through some API calls?
    From collaboration launch pad if we take the link of instant message from properties and try to open it a new browser instance, we find a message staing "Session not started" and there is some java script error in the page. Also the Send button is invisible and the other buttons Leave Session, Close Session are inactive. Is it possible to launch the messaging window from a url?
    The url we used to launch it is as below.
    http://host:port/irj/servlet/prt/portal/prtroot/com.sap.netweaver.coll.appl.ui.rtc.RTCComponent?jspName=Chat.jsp&paramIndex=2&initiator=X
    Looking forward for your comments.
    Thanks
    Sudeep

    It's possible. On your alv you have to add botton with action to call bsp.
    You can use the following coding to determine the object type...
    CALL METHOD lr_mapping_srv->determine_ui_object_of_bor
        EXPORTING
          iv_bor_object_key  = lv_bor_object_key
          iv_bor_object_type = ls_orderadm_h-object_type
          iv_logical_system  = ls_orderadm_h-logical_system
        RECEIVING
          rv_result          = lv_ui_object_type.
    Then you have to build bsp...
    lv_orderadm_h_guid_c = ls_orderadm_h-guid.
      CONCATENATE
        lc_par0 sy-mandt
        lc_par1 lv_ui_object_type
        lc_par2 lc_display
        lc_par3 lv_orderadm_h_guid_c
        lc_par4 'nocookie'
      INTO lv_query.
      CALL METHOD cl_bsp_runtime=>if_bsp_runtime~construct_bsp_url
        EXPORTING
          in_application = lc_bsp_application
          in_page        = lc_bsp_page
        IMPORTING
          out_abs_url    = lv_open_url.
      CONCATENATE lv_open_url lv_query INTO lv_open_url.
    and finally you have to call browser...
    lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      CALL METHOD lo_window_manager->create_external_window( EXPORTING url = lv_open_url
                                                             RECEIVING window = lo_window ).
      lo_window->open( ).

  • How to link  web dynpro screen and R/3 ,so that I can build a workflow.

    Hi all,
             I  have to build a workflow for Personnel Administration(PA) in HR module. The document is not standard, so I have to build my own Bussiness object. But the senerio, screeens for particular document are designed in web-dynpro which will be there in separate portal and we suppose to link this in R/3 system. Whenever user fills that particular document (a form or a document in a portal) and clicks on submit button which is provided in the document workflow should get trigger. Also this screen should be used as workitem to a persons SAP inbox as well as in the portal inbox.
      <b>Please help me</b> for what should be my starting point in designing workflows.
    It would be helpful if anyone provides me with detailed describe step for each and everything along with few links and examples. As i m new to sap
    Thanks in advance.............Do reply......]

    /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
    I think this maybe helpful to you.

  • Workflows in web dynpro java

    Hi experts,
    please guide me about the workflows in web dynpro java. i have to implement workflow outside SAP, i dont have any idea about it.

    Dear Shilpi
    For Configuring Workflows outside SAP we need to have a Gateway HUB where it channelizes to connect through Outside SAP. Based on the Tasks available in SWFVISU we can choose either Java or ABAP workflow where the Appropriate Task numbers will be available.
    Check these links
    Gateway Workflow Configuration Problem
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10dfad5a-5398-2b10-568b-d3d999d49b5c?QuickLink=index&…
    Hope this Info will be helpful
    Cheers
    Pradyp

  • Web Dynpro ABAP application's link in UWL.

    Hi Experts,
                     As per my project requirement i need to send the web dynpro abap application's link for another SAP user by using UWL concept.
    My requirements are :
               After triggering the workflow i am getting the tasks inside my SAP inbox ( in SBWP tcode ).But those tasks are not appearing in Portal UWL.
             (ii) After triggering the workflow how to send the link of web dynpro application to portal UWL.
    Please help me !
    Thanks & Regards,
    Gowtham.A

    Hi Gowtham.A,
    Did you set up the system object in the System Landscape Directory on the portal?  Then did you configure the webflow connector in the UWL Administration?
    Please see the following help documentation:
    For the setup in the Universal Worklist you will need the following:
    http://help.sap.com/saphelp_nw70/helpdata/EN/e5/fc550f79ed4131a63c540cddbfe7be/content.htm
    You will need this for the Abap Webdynpro Action Handlers setup...ensure you read the area about SWFVISU setup:
    http://help.sap.com/saphelp_nw70/helpdata/EN/19/bff5c18ba44da4a4ca68cf572dabda/content.htm
    Best Regards,
    Beth Maben
    EP - Senior Support Consultant II
    SAP Active Global Support
    Global Support Centre Ireland
    **SDN Forum Moderator:
    SAP Enterprise Portal: Application Integration
    **SDN Universal Worklist Wiki:
    http://wiki.sdn.sap.com/wiki/x/ehU

  • Calling Web Dynpro ABAP application as work item through workflow.

    Hi experts,
    I want to call a Web Dynpro ABAP applicaiton through Workflow as UWL work item..
    Can anyone please provide me inputs about how can i achieve this?

    Hi Abhishek
    How will tha Task recognize which Web dynpro applicaiton needs to be processed.
    see in the workflow take the task number which you want to do for approval. That task number you register in t-code SWFVISU. so when the workflow trigger the goes to the approver the task is directly linked to the web dynpro screen which you have registered in SWFVISU. So when the task is click the corresponding web dynpro screen tagged to the task will get opened.
    I dont no weather task is available or not. It purly depends on the module and the workflow.
    I think i have answered you question correctly.
    Regards
    vijay

  • Starting existing workflow from web dynpro application (ABAP)

    Hi experts,
        I am working on web dynpro application from which when I click on a button an existing workflow should trigger. This will be used in portal replacing existing iview with jsp. I did lot of reading on SDN maybe too much that I am confused how to get started. Here is what I have currently.
    We have an existing workflow that sends an approval email to manager when ever some unit information changes. In current functionality, workflow is triggered by event which is linked to workflow in transaction "swetypv". We defined scenario in "qisrscenario" that contains all elements to populate workflow container. The methods to get data into workflow container, send email etc are all written in business object methods. We have a class that implements standard SAP BADI "IF_EX_QISR1"(IF_EX_QISR1~SCENARIO_PROCESS_USER_COMMAND method) that probably has all logic. In current functionality when the workflow gets created it sends notification number back to portal jsp page that triggered the workflow on button click. Users look at notification number in iqs23 for workflow log, PCR form data etc. and I need that functionality too. Now I am confused where I should start so that I can use ew web dynpro applciation instead of jsp iview but want all the functionality that we currently have. How can I start workflow and get notification number back to web dynpro so that I can display that to user? The approving manager goes to UWL to approve, reject the workitem and workflow then finishes.
    Any help will be greatly appreciated.
    Thanks.
    Mithun

    Hi.,
    Using FM  SAP_WAPI_CREATE_EVENT  You can Achieve this., try the below piece of code.,
    DATA: OBJECT_TYPE  TYPE  SWR_STRUCT-OBJECT_TYP VALUE 'ZBUS333',   " Enter Your Business Object here
    OBJECT_KEY  TYPE  SWR_STRUCT-OBJECT_KEY,
    EVENT TYPE  SWR_STRUCT-EVENT VALUE 'FIRE'.     " Enter Your Event here
       DATA: lt_cont TYPE STANDARD TABLE OF swr_cont,
             ls_cont TYPE swr_cont.
           ls_cont-element = 'NAME'.       " To Pass Values to business Object you append to container
           ls_cont-value   = lv_name.
           APPEND ls_cont to lt_cont.
           ls_cont-element = 'ID'.
           ls_cont-value   = lv_id.
           APPEND ls_cont to lt_cont.
          CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
            EXPORTING
              OBJECT_TYPE             = OBJECT_TYPE
              OBJECT_KEY              = OBJECT_KEY
              EVENT                        = EVENT
             COMMIT_WORK             = 'X'
             EVENT_LANGUAGE          = SY-LANGU
             LANGUAGE                = SY-LANGU
             USER                    = SY-UNAME
    *         IFS_XML_CONTAINER       =
    *       IMPORTING
    *         RETURN_CODE             =
    *         EVENT_ID                =
           TABLES
             INPUT_CONTAINER         = lt_cont
    *         MESSAGE_LINES           =
    *         MESSAGE_STRUCT          =
    hope this helps u.,
    Thanks & Regards,
    Kiran

  • Direct link to Web Dynpro for ABAP

    Hey everyone,
    I created a web dynpro    for ABAP    application that will list out all the work items for the purchase requisition approval through workflow. I want to be able to have our higher ups be able to access this through our portal. I created an iView    that works and calls the application just fine.  What I want to do now is provide a link in an email to these people so they will be able to log into the portal and go directly to the application (just the application not portal wrapper around it at all) and only the application.  I can't provide a directly link to the WDA app since, I think, it would be to the ECC server and not the portal one.
    I have tried Quick Links but that isn't what I want.
    I did try to put a pcd location link
    http://<server>:<port>/irj/servlet/prt/portal/prtroot/<pcd location>
    but I get an internal error because it's trying to do an anonymous login and I want the login screen to show up first.
    HELP!!!!!
    Thanks,
    Archie

    The PCD path of the portal object is the Navigation target.
    http:/myServer:50000/irj/portal?NavigationTarget=ROLES://portal_content/myFolder/myRole
    This can be hashed and shortened to form the Short URL as shown below
    http:/myServer:50000/irj/portal?NavigationTarget=navurl://b3d6d9ebac16a46574d62757803b05d4
    Short URL can be enabled and disabled depending upon the requirements.
    Check the links below for detail description to enable short URL:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/49/330b66fd695aa8e10000000a42189d/frameset.htm
    NavigationTarget generally shows all the portal roles with the specific object highlighted.
    In the sense it takes you to that Object with the portal header and TLN.
    If your requirement is not to show header and TLN,then try adding &NavMode=3 to the NavigationTarget url you are using as below
    http://<server>.<port>/irj/portal?NavigationTarget=ROLES://<PCD path of object>&NavMode=3
    I( made some testes here, and works fine for worksets and roles.
    Hope it Helps.
    Fabio Sarmento

Maybe you are looking for

  • Transport - Business services and Party components

    Hi Folks ... My SLD has Business systems with different names for each of my environment . e.g. - ECC_DEV -> ECC_QAS ->ECC_PRD and the transport targets takes care of the name changes when the objects are transported. How can I use the same concept f

  • Migrating workflows from a 4.7 system to ECC 6.0 system

    Hi, I have workflows in a 4.7 system which will get used in a newly upgrade to ECC 6.0. Has anyone had problems with this? Is it okey to transport an old workflow to be used in a 6.0 system? What do I have to bear in mind when doing this and is it ea

  • Type2 scd hierarchy change

    I am using OWB10.2. I want to find out the correct way to implement type 2 SCD with hierarchy change. Say I have an employee dimension with two levels: employee (employee id, emp_name) and deparment (depart_id and dept_name). The employee_id and depa

  • Customize the Response Message for Resource Scheduling - Sent by Microsoft Exchange Server 2010

    We have a room mailbox and when one books it the organzier gets response with the following and the very botoom: Sent by Microsoft Exchange Server 2010 I want to remove it as I dont want anybody to know what mail server we are running?  thankx

  • Command feather is unavailable?

    When trying to run some actions, I get this error message in PS CS4: The feather command is not available now." WHy is it unavilable and how can I make it available? Thanks so much for your help.