Reg: MDM workflow in webdynpro

Hi,
I am using MDM java API (Version: 5.5 SP 06 Patch 2) for webdynpro. I am creating a record in MDM using MDM java API. Once the record gets created in MDM i need to call the MDM workflow. Is there any java API available to call the MDM workflow into webdynpro. If that is not possible, what is the alternative to call the MDM workflow into webdynpro.
Kindly suggest.
Thanks,
Prasanthi.

Hi
Check the following doc for workflow
1.[Workflow for SAP NetWeaver MDM|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60559952-ff62-2910-49a5-b4fb8e94f167]
2. [Extending MDM 5.5 Business Package functionality with Web|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/12195312-0e01-0010-a392-debbd32e39d4]
Best Regards
Satish Kumar

Similar Messages

  • Trigger MDM workflow from Webdynpro Java

    Hi All,
    After updating records in MDM, I want to trigger an MDM workflow from Webdynpro Java and pass those updated records to workflow. Any inputs on how to accomplish this. Workflow has already been developed using MSVISIO by the MDM team.
    Thanks,
    Tom

    By following steps, it is possible to integrate  workflow (or any workflow designed in MDM) within portal:
    1. UWL (Universal Worklist): The UWL gives users unified and centralized way to access their work and the relevant
    information in the portal. It collects tasks and notifications from multiple provider systems. One can expose MDM
    workflow functionality on Portal using UWL.
    2. JAVA APIu2019s: MDM Java API consists of set of classes related to MDM workflows through which one can create an
    application that provide the MDM workflow functionality and expose the application as an iView in the portal.

  • Trigger MDM Workflow in Webdynpro

    Hello,
    I want to execute a MDM Workflow from Webdynpro using Java API's. I have the WorkflowId,session Id and the RecordId in the Webdynpro. Can somebody please send the code for the same.?
    Any help would be highly appreciated.
    Thanks.

    Hi,
      Check the pdf at the below link.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/600333e0-9bf7-2c10-1f99-bf5dcf661949?quicklink=index&overridelayout=true
    Try using this code for calling MDM workflow:
    RetrieveWorkflowTasksCommand task_command = new RetrieveWorkflowTasksCommand(connections);
    task_command.setSession(sessionId);
    task_command.setTableId(new TableId(1));
    try {
    task_command.execute();
    } catch (Exception e1) {
    // TODO Auto-generated catch block
    e1.printStackTrace();
    //Retrieving the tasks after execting the command
    WorkflowTask [] task = task_command.getWorkflowTasks();
    for(int i = 0 ; i < task.length ; i++)
    WorkflowJob job = task.getJob();
    job_id= job.getId();
    System.out.println(job_id.getIdValue());//This is will give the Job ID of all the workflows in MDM.
    Thanks
    Pawan

  • Call MDM Workflow for Item Record

    Hello,
    We are implementing MDM 7.1 on Portal and want to trigger MDM Workflow through Webdynpro Java when a user edits a record for Item and clicks on 'Save'. I have captured the 'Post Save Event' in Webdynpro Java and received the Record Id of the Item being edited.
    Now I want to execute the Workflow based on the RecordID. Can somebody send me the code for the same for connecting to the MDM Repository and starting the workflow for the Item record.
    Any help would be highly appreciated.
    Thanks

    Hi,
    Please refer the SAP MDM Portal Content Development Guide - http://help.sap.com/saphelp_mdm550/helpdata/en/45/c87d0243e56f75e10000000a1553f6/frameset.htm
    You can check the section - Connecting with the repository using System Object.
    If you are using MDM workflow on Portal then refer this guide -
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/902a77c2-9bf7-2c10-7f83-df61e131e770
    Thanks,
    Shambhu.

  • How to work with a workflow in Webdynpro

    Hi Team,
           I am new to webdynpro ABAP, i have a scenario
    I have a work flow id with me, i want to start this workflow from a webdynpro application,
    1. wedynpro application contains a list of inputs and user1 inputs this data that i have stored node, So node contains full data.
    2. Now i have a workflow id, i want to pass this node data to this workflow on a button click
        I have the button action, what code is required to pass this?
             (I sow few FMs in fourms but i dont know how exactly i can use it)
    3. When the approver gets the workitem, he should be able to approve,reject or send backToAuthor option he will get
         how to read this data back to approver screen for the approver to take correct action ?
    Please help me with some code sample, i sow few things but i am not sure about the parameters which required for this.
    Thanks,
       PP

    Hi,
    1)  In order to trigger the workflow from webdynpro and pass the list of inputs and your workitem id  , i will suggest you to go for    a   business object.
    2) If you have a business object than you can just trigger the workflow through the event (provided your workflow should be an event trigger workflow). As well as you can pass your parameters through it.
    3) In order to trigger the workflow through your business object event u can use the following function module.
    in the below code:-
    it_container- contains the parameter u want to pass like workitem id in your case.
    ZPOC_LEAVE- is my business object.
    OPTIONAL- is my event which will trigger the workflow.
    ty_object_key:- structure type of key fields of business object.
    Note:-you have to define these values as per your business object.
    * Trigger the event ZPOC_leave-CREATE to start the workflow
      DATA: it_container TYPE TABLE OF swr_cont,
                 is_container LIKE LINE OF it_container.
      DATA: g_return_code TYPE sy-subrc,
                 glf_event_id TYPE swr_struct-event_id.
      DATA : ls_objkey TYPE ty_objkey.
      DATA : ls_objtype TYPE swr_struct-object_typ VALUE 'ZPOC_LEAVE'.
      DATA : ls_objectkey TYPE swr_struct-object_key.
      DATA : ls_event TYPE swr_struct-event VALUE 'OPTIONAL'.
    CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
        EXPORTING
          object_type             = ls_objtype
          object_key              = ls_objectkey
          event                   = ls_event
          commit_work             = 'X'
          event_language          = sy-langu
          language                = sy-langu
          user                    = sy-uname
    *   IFS_XML_CONTAINER       =
       IMPORTING
         return_code             = g_return_code
         event_id                = glf_event_id
       TABLES
         input_container         = it_container
    *   MESSAGE_LINES           =
    *   MESSAGE_STRUCT          =
    4) You also need to define the parameter(workitem id in your case) under the parameter option of your event in your business object. (you can use the transaction SWO1 for business objects).
    5) Now in swdd transaction in the basic data u can mention your start event.
    This should be enough to trigger your workflow  and pass your workitem id to it.
    Thanks and regards,
    Mayank Gupta
    Edited by: Mayank Gupta on Feb 4, 2011 5:52 AM

  • MDM Workflow Expiry message

    Hi Experts,
    I have a scenario in which MDM workflow is active, workflow is working fine and there are absolutely no issues. The only problem is, For workflow owner, I am getting following message everyday (If workflow is not clear or executed).
    The following workflow step is overdue because it has exceeded its expiration timeout:
    Assignee:                ; MDM System
    Job:                    10565
    Job Owner:              MDM System
    Records:                1
    Start time:             04/14/2011 00:22:19 GMT
    Expiration time:        04/24/2011 00:22:19 GMT
    Workflow:               Workflow Name
    Step:                   ABC
    Description:   
    Repository:             MDM Repository
    May be some setting missing, I want to deactivale this workflow reminder. Can you please guide and help?
    Regards,
    Maddy

    not sure on why you want to take the notifications out - for the sake of receiving harmless emails
    u can direct them to the spam folder easily
    but still if u wish
    go to the workflow visio diagram -- find notify step -- and remove ur emai id from the settings.
    thanks
    -Adrivit
    This will stop ALL email notifications pertaining to THIS workflow to ur id.
    Edited by: Adrivit on May 23, 2011 1:42 PM

  • Max number of records in MDM workflow

    Hi All
    Need urgent recommendations.
    We have a scenario where we need to launch a workflow upon import of records. The challenge is source file contains 80k records and its always a FULL load( on daily basis) in MDM. Do we have any limitation in MDM workflow for the max number of records? Will there be significant performance issues if we have a workflow with such huge number of records in MDM?
    Please share your inputs.
    Thanks-Ravi

    Hi Ravi,
    Yes it can cause performance overhead and you will also have to optimise MDIS parametrs for this.
    Regarding WF i think normally it is 100 records per WF.I think you can set a particular threshold for records after which the WF will autolaunch.
    It is difficult to say what optimum number of records should be fed in Max Records per WF so I would suggest having a test run of including 100/1000 records per WF.Import Manager guide say there are several performance implications of importing records in a WF,so it is better to try for different ranges.
    Thanks,
    Ravi

  • How to integrate SAP HR Workflows with Webdynpro ?

    Hello All,
    Could you please drop some hints for the below points please ?
    How do we trigger SAP workflow from Webdynpro DC? Usually if its a RFC we import RFC through Model and trigger the RFC. Can that be done only through Adobe forms? If yes,how do we trigger work flow through Adobe Forms?
    Many Thanks,
    Dhanya

    Hi, Dhanya
      Of course via RFC! Usually these workflow related RFMs are called WAPI
    (Workflow API).
      Please refer to this thread.
      Workflow and Trigger Event
      And Adobe forms is not relevant to SAP workflow at all. Usually, Adobe forms
    + workflow scenarios are achieved via the above workflow APIs.
      Best Regards.
      Sejoon

  • MDM Workflow - Scenario

    Hi All,
    I am supposed to work on MDM workflow.
    I have done a primary scenario of adding record.. when a record gets added, it will go through stages of approval through workflow.
    Can you please suggest some more scenarios to be implemented using workflow?
    Thank You,
    Mugdha Kulkarni

    Back again
    Have a decision making workflow where some records are sent back and some forwarded.
    Also consider workflow after workflow in sequence.
    Also can consider validating data in workflow.
    Just read email notification as well.
    Hope this helps too and others will feed business scenarios,
    - An

  • How to trigger MDM Workflow  from ABAP Program.

    HI
    I have requriment  to trigger MDM Workflow(Design in MDM) from My Module pool program. Suggest how to do it?
    Thanks in Advance.
    Regards,
    Shyam Babu Sah.

    Hi,
    This question is for forum SAP Netweaver --> Workflow. There are functions and programmes that SAP delivers for this.
    [Example here|Re: How can I trigger workflow from my report]

  • MDM Workflow Launch Problem version SAP MDM 7.1.2.59

    Hi All,
    I have installed SAP MDM 7.1.2.59 on SUSE Linux Server 64-bit m/c. And installed all Clients on Windows XP.
    MS-Visio is also installed on my windows Box.
    But when i open data manager i am seeing the workflow icon disabled. Also not able to add a workflow.
    Any one knows what is the reason for this?
    Please  let me know if i need to add any specific patch at Server side.
    Srinivas

    Hey -
    Checkout your visio setting
    In MDM Data Manager, make sure the Workflows table is the current table. In the Records pane, select any workflow record.
    In the Record Detail tab, then double-click on the Workflow property to open Microsoft Visio. Choose Tools > Options from the Visio main menu.Choose File Paths to open the File Paths dialog.  In the File Paths dialog, set both Add-Ons and Start-Up to the folder where the Worklfow.vsl file is installed (the Data Manager installation folder, by default). Click OK to close the File Paths dialog. 
    also go through the links below for similar issue
    for MS visio version
    MS Visio version with MDM 7.1
    MS Visio 2007 for MDM Workflow
    MDM workflows and MS VISIO
    Re: MDM workflow.
    Hope that Help
    thx
    Deep

  • Best Practice to transport MDM Workflows trough a 3-tier Landscape

    Hello Experts,
    I wanted to ask you for some Best practices to transport MDM Workflows from D-to Q/P?
    Well besides the Archive/Unarchive method because we want to keep the Data of P in the repository
    and do not want to import the whole.
    Any ideas? Points are for sure!!
    Best regards
    Carsten

    Hi Carsten,
    Currently with the MDM 5.5 version the only transport mechanism that will allow you to export your Workflows from the development server to the Production or Quality is the Archieve/Unarchieve method.
    but this methods archives the data as well along with the workflow.There is no such method to exort the workflow alone.
    But with the onset of the MDM 7.1 there are new transport mechanism included and hopefully they address this issue.
    A work around that i can think of at this moment:
    - If you have your development server as your Master rep and the Production server as your slave
    - Then you can call the workflow from the D to the P.If you do not have any data presntly in the dev.
    -  and then Normalize the Productions server to make it an individual master rep with its own data.
    I am not sure how well this solution will help but just a suggestion....
    Hope It Helped
    Thanks & Regards
    Simona Pinto

  • ABAP APIs for MDM Workflow Modification

    Hello All
    I require a help from all of you. Currently I have a particular business case where I need to configure the MDM workflow & do changes & modifications in it via ABAP APIs. Currently we are having Java APIs in plcae.
    Can you please tell me whether we have some ABAP APIS for this MDM Workflows, if yes what are their EXact names & functionalitites.
    Also can we download them from Service Marketplace.
    Please reply ASAP.
    Regards
    Madhurim Basu

    Hi Madhurim Basu
    ABAP API(SAP MDM 5.5.-7.1) are'nt support workflow management
    SAP MDM(5.5-7.1) JAVA API  are support workflow
    More about JAVA API you can read from:
    http://help.sap.com/javadocs/MDM/current/
    Regards
    Kanstantsin

  • ABAP API - MDM Workflow execute

    Hi,
    Do we have any methods/function modules available to access MDM Workflow using ABAP API?
    I have checked through the 19 tutorials of MDM ABAP API available at service.sap.com but was not successful.
    Regards,
    Subramanian V.

    Up to now the MDM workflow is not supported by the MDM ABAP API.
    Regards
      Andreas

  • How to send records to the MDM workflow using Java APIs

    Hi All,
        Using Java APIs i want to send group/single records to the backend MDM workflows for further processing. Can this be acheived? Please provide me with some code samples if you have any
    Regards
    Suresh

    Hi,
    Just go through this URL
    https://help.sap.com/javadocs/MDM/current/index.html
    In this <b>com.sap.mdm.workflow.commands </b> will Provide u commands for managing workflows.
    I hope this helps you.
    Regards
    Nisha
    Message was edited by:
            Nisha Lalwani

Maybe you are looking for