Workflow to UWL to ABAP WebDynpro ( Binding not happening)

Hi All,
I have created Workflow which need to be executed from UWL.
The workitem in UWL will call a ABAP Web Dynpro application for approval Process.
I have registered the my Task in SWFVISU and Maintained the necessary settings (Even Re-registered the new task in UWL ).
When I click the workitem in UWL it successfully calls the ABAP webDynpro application.
But the Parameter WORKITEM id is not transfered from workflow to Web Dynpro Application.
I have created a parameter WORKITEMID in the Workflow and populating it at runtime. But the same is not being passed to WebDynpro Import Parameter.
I see that WORKITEMID is initial at runtime while debugging in WebDynpro Application.
Can you please help me to bind the WORKITEMID from Workflow to WeBsynpro or from UWL to WebDynpro??
Thanks
Praveen

Hi,
You have bind the work item id to the task?
You have added the work item id parameter in SWFVISU?
Can you show us the UWL XML code for your task?
Regards,
Karri

Similar Messages

  • Configuration of UWL with Abap webdynpro

    Hi,
    We are doing configuration of UWL with Abap webdynpro. Our purpose to launch Abap webdynpro application , once clicked to a worlitem in UWL iView. we are unable to do due to following errors.
    We have done in this way.
    1.Created ECC system in EP
    2.register the uwl.webflow
    3.create ABAP iview(for test purpose still getting error when preview) (N/A)
    4.clear cache
    4.import xml file
    <ItemType name="uwl.task.webflow.TS91000006.UWLECCCLNT530" connector="WebFlowConnector" defaultView="urliview" defaultAction="viewDetail" executionMode="pessimistic">
          <ItemTypeCriteria systemId="UWLECCCLNT530" externalType="TS91000006" connector="WebFlowConnector" />
          <Actions>
            <Action name="launchWebDynProABAP" handler="SAPWebDynproABAPLauncher">
              <Properties>
                <Property name="WebDynproApplication" value="em_wipm_app" />
                <Property name="WebDynproNamespace" value="kgo" />
                <Property name="System" value="UWLECCCLNT530" />
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}" />
             <Property name="display_order_priority" value="5" />
              </Properties>
              <Descriptions default="" />
            </Action>
          </Actions>
        </ItemType>
    5.Getting error,when I click task to perform dynpro abap screen.
    6.WI_ID not been received.
    Plz let me know the solution.
    Thanks,

    Hello,
    I think you have to import the xml-file before clearing the cache again. Your new xml-file needs a higher priority then the default view.
    You have just defined a new ItemType in your new xml-file. I am not sure, but I think that you will have to define in this file also a new view for this ItemType. Because otherwise it is not defined how this new ItemType should be shown.
    Regards,
    Iris

  • Problem in retriving workitem id from uwl in abap webdynpro

    Hello,
    Curently, I've a problem similar with this post : Problem in retriving workitem id from uwl in abap webdynpro
    But unfortunatelly there is no answer :/
    I've followed this tutorial : http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal
    And I have a problem in my WD Abap. The WI_ID field is empty (initial).
    Here is my XML :
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE UWLConfiguration PUBLIC '-//SAP//UWL1.0//EN' 'uwl_configuration.dtd'
      >
    <UWLConfiguration version="1.0">
         <ItemTypes>
              <ItemType name="uwl.task.webflow.TS90000087.ED1CLNT100" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
                <ItemTypeCriteria systemId="ED1CLNT100" externalType="TS90000087" connector="WebFlowConnector"/>
                <Actions>
                   <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
                     <Properties>
                        <Property name="WebDynproApplication" value="zps_pnpi"/>
                        <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                        <Property name="DynamicParameter" value="WI_ID1=${item.externalId}"/>
                        <Property name="openInNewWindow" value="yes"/>
                        <Property name="WebDynproNamespace" value="sap"/>
                        <Property name="System" value="ED1CLNT100"/>
                        <Property name="display_order_priority" value="5"/>
                     </Properties>
                     <Descriptions default=""/>
                   </Action>
                </Actions>
              </ItemType>
         </ItemTypes>
    </UWLConfiguration>
    Here are the parameter defined in my application :
    WI_ID     000000000000     SWW_WIID
    WI_ID1     ${item.externalId}     STRING
    And, i've made the test with both the WI_ID and the WI_ID1 in the XML but everytime, no value at all.
    Could you please help me ? It's been three days I'm looking for a solution to get my Workitem ID in my Webdynpro ...

    In fact, it's quite strange, I added the menu and toolbar display and I can see that my url contains the data ...
    http://<begin_of_the_url>DynamicParameter=System%3DED1CLNT100%26wi_id%3D000000629442%26WI_ID%3D000000629442%26WI_ID1%3D000000629442<end_of_the_url>
    So ... how is it possible ?
    And the next question, how can I get the full url so I can parse it myself ?

  • ABAP webdynpro app not redirecting using Outbound plug in portal

    Scenario-
    There is one Abap webdynpro application APP1 calling another abap webdynpro component Comp 2 through outbound plug on a button click. This is working fine if service is tested independantly.
    SAP ECC system is having a webispatcher and the application should be accessed using webdipatcher only i.e. ECC should not be called directly.
    SSL has been configured b/w ECC and webdipatcher.
    The Abap webdynpro application APP1 is integrated into portal using Abap webdynpro iview.
    Setting in Portal system are reffering to Webdipatcher for ECC system instead of ECC system directly.
    Issue-
    App1 is loading successfully into portal and all the data is coming properly but when trying to navigate to second component on button click it is not navigating. iview is getting refreshed but not redirecting to required component and is still on the same application.
    Please suggest the reasons and solutions if anyone has clue about it.
    Regards
    Deepak

    Hi,
    Please refer to these links -
    How to secure WDA over an external facing portal
    WebDynpro ABAP and Portal Navigation
    WebDynpro ABAP and Portal Navigation problem
    Please check for the portal eventing between the applications.
    Regards,
    Lekha

  • ABAP webdynpro CO not showing input parameters

    Folks,
    I know this is strange. But might be that I'm missing something in the ABAP webdynpro creation/configuration.
    Here it is./.
    I have created an ABAP webdynpro application in SE80 with the context declared in COMPONENTCONTROLLER and a view with the context mapped to the COMPONENTCONTROLLER's context.
    The webdynpro application per se is working fine.
    When i created a CO in GP with type ABAP WD Application, and choose this application, all is fine until i reach the Define input screen. Here, i dont see any of those inout fields that are present in my WD COMPONENTCONTROLLER context. Should i do something to make it visible here?
    Cheers,
    Mandrake

    Good question. I'm surprised why this question never came up till now.
    I had a requirement where I had to use WD for ABAP in GP. I did a lot of research on this and found out with the following inferences.
    Pros
    1) It is easier to build and use when compared to WD for JAVA
    2) No deploying needed
    3) ABAP coding can be done in this so as to utilize the power of SAP to the fullest.
    4) No Java knowledge is required
    5) Can embedd any Adobe forms to make it interactive Adobe in GP
    Cons
    1) It can only import values from GP context and cannot export parameters like any other CO.
    2) Not very flexible as WD Java
    3) Comes up with an additional submit button on the GP Process which can supercede all the other checking and data validation functionalities that are built in the other webdynpro buttons in the Actual ABAP WD.
    4) The context visibility is one way from GP and not to GP.
    Steps:
    1) Create the WDA in SE80 and test it.
    2) Create a CO of type WD for ABAP
    3) Map the parameters with the process context parameters
    4) Test the CO and Process
    Hope this clarifies your doubts.
    Cheers,
    Mandrake!

  • SAP SRM Workflow Options: Winshuttle or ABAP WebDynpro

    We are implementing SRM. Our considerations for SAP Workflow are Winshuttle with an MS Sharepoint Site,or,ABAP WebDynpro. Does anyone have any experiences or suggestions that they could share that could help us to make a desicion. Or, another method that is cost efficient and easily supportable?
    Thank-You.

    Hi Tom,
    Workflow component is in built in SRM. You donu2019t need any external component for it.
    There are 2 types of workflow supported by SAP SRM.
    1.     Application Controlled Workflow
    2.     Process Controlled Workflow (BRF)
    You can use BRF if you are implementing SRM 5.0 & above.
    I think you should explore more on SRM workflows; it will certainly give you insight on workflow implementation.
    Regards,
    yaniVy
    reward if helps

  • Automatic cache for ABAP Cache( SXI_CACHE not  happening)

    Hi All
    I have installed the PI 7.0, configuation went well, have developed the sample ineterfacess and these interfacess are working fine...
    The problem i am facing is the ABAP runtime cache is not getting updated automatically, after say10 min of each interface run, when i check SXI_CACHE it shows error (unable to perform Cache, Integreation_directory_HMI error) when i run the delta cache it works and the interfaces works fine....
    i have done the following things to check for solution.
    1. Made sure all the Namespacess in the IR are consistent.
    2. INTEGREATION_DIRECTORY_HIM rfc dest is working fine..
        i have checked no time out option uder special option...
    3. all the servicess releated to the cache under SICF are perfect.
    when i run the cache it works fine, but it is not supporting automatic refresh..
    Kindly let me know the report name which will take care of running the cache in background...
    Any suggestions.
    regards
    Nisar Khan
    Edited by: Nisar Khan on Feb 12, 2008 1:37 PM

    Prateek,
    The user for this RFC dest HMI is PIISUSER, and this user has the role of the IS_Service_User and IS_Service_User_main this roles has the authorization of S_rfc_adm....
    To make sure this is causing the problem when i get the error again i will check the authorization to run the RFC dest: HMI and let you know.....
    i think since i am using the user PIISUSER i should not have this problem but i will confirm it in sometime now..
    there is some  program whihc can be scheduld to do this refresh from ABAP side right?
    any other inputs?

  • Java Portal Event not received correctly by ABAP Webdynpro

    We have a page that contains 2 iviews. 
    iView 1 contains the MSS Employee Search that raises portal event:
    Namespace: "urn:com.sap.mss.employeesearch"
    Name: "selection_changed"
    The second iview contains an ABAP Webdynpro program that subscribes to the Portal event. 
    The issue is that the event in the ABAP webdynpro is not being triggered.  It does get triggered if we first fire the event from the Java program, unsubscribe the event in the ABAP program them subscribe to the event in the ABAP program.  The event gets triggered at this time and the parameter can be retrieved. 
    If the event is fired a second time, nothing happens in the ABAP program. 
    The abap program works fine when another abap program triggers the same portal event.
    Also, the portal event is being picked up correctly by other SAP delivered JAVA programs.  I just cannot get a custom ABAP Webdynpro program to work...
    Any ideas, comments?
    Glenn

    Hi Glenn,
    Are you using https? Is your j2ee stack and abap stack in the same domain? In the past I have found that https can cause issues in the event communication between different applications.
    Cheers,
    Dion

  • Pass pernr from employee search iView to abap webDynpro in Related Activity

    Hi All,
    I have seen many threads explaining how to pass pernr from employee search iView to custom ABAP webDynpro application in the "Employee profile" page. Also seen sap note 1112733.
    I am trying to launch custom ABAP webDynpro application from "Related Activities" view found in the employee information page in MSS.  I want to pass pernr selected from Employee Search iView to the ABAP webDynpro application in "Related Activities" view.
    In the ABAP webDynpro application, I am listening to the portal event (as per note 1112733) but the ABAP webDynpro can not catch the event.
    Anyone has passed pernr from employee search iView to the ABAP webDynpro application launched from "related activities" view?
    Regards
    Ashutosh

    Hi Ashutosh,
    can you tell me exactly what you did? I have the same issue.
    Thanks,
    Joeri

  • Attachments from Workflow to ABAP Webdynpro launched from UWL

    Hi All,
    You might have seen a recent post from me for sending attachments from ABAP Webdynpro to Workflow.
    I could do that by just calling SAP_WAPI_ATTACHMENT_ADD. I didnt have to create an instance of the SOFM object
    by passing the ATT_ID from this function module.
    Now the next task of the workflow which is sent to UWL, automatically carries the attachements in the Workitem.
    I didnt do binding from workflow container to Task container. (I dont know how!!)
    But I need to get those attachments on my ABAP Webdynpro after it is launched from UWL.
    For this I am using SAP_WAPI_GET_ATTACHEMENTS. But this FM is giving me the BOR reference.
    How do use this to get the attachments displayed on my Webdynpro as links?
    Thanks
    Deb

    Hi Debabra,
    I have similar requirement where I want to add new attachment from Webdynpro abap to workflow and again next level want to view it in UWL in another Webdynpro abap from workflow.
    I am trying to attach the document from Webdynpro to Workflow I used FM SAP_WAPI_ATTACHMENT_ADD and looks like it attached in workflow.
    Can you please tell  how the second part was solved where I want to attach document from workflow to Webdynpro abap
    Thanks,
    ST

  • Whether Workflow Program Exit works in ABAP WebDynpro

    Hi,
    I have the custom  workflow in which in each task i have given a program exit to update the status into my custom tables.
    Now i'm in doing the change in workflow, that it should call the abap webdynpro screen, where the user decisions has to be made.
    I'm getting the Workitem id from the UWL and then it lauches the Web Dynpro to choose either Approve, Reject or Change etc along with some other travel expense information.
    Now once i complete the web dynpro by calling the method 'SAP_WAPI_WORKITEM_COMPLETE', the particular work item is completed.
    I want to ask whether before this FM is called,whether the Program Exit which i have written in the Class method and which is called in the Workflow, whether it triggers or not?
    Regards,

    It is calling the workflow program exit before the SAP_WAPI_WORKITEM_COMPLETE function module.
    So closing the thread.

  • Need to open an ABAP WebDynpro application from Portal UWL work item

    Hi All
    I need some suggessions on how to navigate to an ABAP WebDynpo application iview from a mail(Work Item) in portal UWL.
    Requirement in detail:
    Agreements will be created from portal( Agreement Creation Application is developed in ABAP webDynpro and iview has been created with in the portal for this WD application). as and when the agreement is created a mail (ECC Workitem) should trigger to the approver, who has access to portal and check the mail(Work Item) from the portal UWL.
    The mail body should consist the link to the Agreement created in portal ( Link to navigate to the Agreement Creation ivew).
    So, the main requirement is user should navigate to the Agreement creation iview when he open the mail from UWL.
    Mail can be sent from ECC by using ABAP Function modules or by creating a workflow
    Please advice me on how can we achieve this requirement.
    Thanks & regards
    Vijay Bedamsetty
    Edited by: VIJAY BEDAMSETTY on Apr 19, 2011 5:42 PM

    Hi,
    You can call the iView directly by using NavigationTarget..
    http://myServer:50000/irj/portal?
    NavigationTarget=ROLES://portal_content/myFolder/myRole/myIview
    Plz note that the iView you are calling should be part of a Role.
    And the PCD location of the iView in the Role must be given for Navigation Target.
    Check this URL
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    Thanks
    Prashant

  • Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL

    Hi,
    We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro. 
    Examples of these tasks are:
    TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
    TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
    We have two backend systems configured
    SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
    SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
    In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
    In the UWL configuration the system SAP_ECC_Workflow has been registered
    In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
    The system SAP_ECC_Workflow has been re-registered
    The UWL cache has been cleared
    However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
    The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
    If we try the reverse (i.e  register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow)  then the reverse happens.  The java tasks can be launched and the ABAP tasks cannot.
    Does anyone have a solution to this problem.  Surely other people have implemented both ABAP and Java webdynpro workflows?
    Any help much appreciated
    Andrew

    Thanks  a lot for all your replies..
    The workitem type registration has been done already, but still it doesn't work..
    But here is the actual problem...
    There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
    In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
    The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
    Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
    Please can anybody suggest.
    Best Regards,
    Sushmitha

  • How to Trigger a Workflow from ABAP Webdynpro

    Hi All Gurus,
    I have the following urgent requirement, my client is implementing HR and there is a requirement, where is a ABAP Webdynpro component in which we have integrated a Adobe Interactive Form. When the user calls this from through Portal and fills out the relevant data and submits it, a Workflow in the backend ECC system should lauch,
    I am not familiar with, this concept although I have worked in Workflow this is the first time I am interfacind with ABAP Webdynpro and Adobe Interactive From.
    Can you please let me know in steps what needs to be done to make the workflow trigger for my scenario and also the specific settings to be done in the bacckend.
    Regards,
    Pratima Jain

    Hi,
    If you are using HCM Processes and Forms, the Workflow and form are not directly related, thats true.
    But the method in the task calls the corresponding webdynpro application which responds to the action triggered by the user in turn to trigger the workflow and update the data in the HR Master Data.
    There are 3 layers  1. UI (webdynpro which launches Adobe Interactive form based on ISR Framework)
    2. Workflow
    3. Backend framework (used for retrieving F4 helps, default values, save data in the infotypes).
    for more documentation, please refer it on help.sap.com.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/82/b6b94278560c31e10000000a1550b0/content.htm
    hope this helps.
    Best Regards,
    Saujanya.

  • ABAP WebDynpro work item in uwl doesn't work

    Hi,
    an ABAP WebDynpro by itself works. But using it in a uwl work item doesn't work:
    After clicking the button to start the WebDynpro in a uwl work item a browser opens but the site could not be load.
    So something is wrong with the url:
    http://<host>:<port>/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=ROLES%3A%2F%2Fportal_content%2Fevery_user%2Fgeneral%2Fuwl%2Fcom.sap.netweaver.bc.uwl.uwlLaunchWebdynproABAP&System=T70CLNT100&WebDynproNamespace=sap&WebDynproApplication=zwps_bspobj_Ship_set&DynamicParameter=wi_id%3D000000004020%26WI_ID%3D000000004020&CurrentWindowId=WID1181552609217&NavMode=1
    This is the uwl configuration part:
    [code]
    <ItemType name="uwl.task.webflow.TS97300003.T70CLNT100" connector="WebFlowConnector"
              defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="T70CLNT100" externalType="TS97300003" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproABAPLauncher"
                    returnToDetailViewAllowed="yes" launchInNewWindow="yes"
                    launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=yes,
                                             menubar=yes,location=yes,directories=yes">
              <Properties>
                <Property name="WebDynproApplication" value="zwps_bspobj_Ship_set"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,
                                         toolbar=yes,menubar=yes,location=yes,directories=yes"/>
                <Property name="DynamicParameter" value="WI_ID=${item.externalId}"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="WebDynproNamespace" value="sap"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
    </ItemType>[/code]
    What's wrong? Any idea?
    Thanks,
    Susanne

    Hi,
    Your settings seems alright, Can you look at the default trace and UWL log?
    U can find UWL log here
    \usr\sap\<SID>\JC<instance number>\j2ee\cluster\server0\log\applications\sap.com\uwl
    and default trace in \server0\log .. please check the current default trace.
    Cheers!!
    Ashutosh

Maybe you are looking for

  • Mail server prefiltering of junk mail

    I am wondering if there is an Apple service, software, etc. or another approach offered by a third party that allows a mac user to filter junk mail before it gets to Mail from any email server. For example, Yahoo! Mail uses something to filter and co

  • Re: Satellite U940 keeps turning itself on and draining power

    I love the quick start-up of this laptop and my understanding has always been that pressing the power button (or physically closing the computer) is all I need to do in order to put it to sleep. I know that sleeping computers can still use a little b

  • How to creat background user.

    How to creat background unser in BW? I inputed transaction code: SBIW ,and SPRO.But I haven't found 'Creat Background users for link to SAP'.How to creat this user? thanks.

  • 12779543 DASHBOARD ERROR CATALOG OBJECT SCHEMA VALIDATION FAILED AGFIXBO2:E

    I'm receiving the above-referenced error on OBIEE 11.1.1.6.0. I'm only seeing it when I try to access OOTB segments. I haven't seen it on any customized reports. Can anyone shed light on this issue? I know it existed in version 11.1.1.5.0 but I thoug

  • HTTP Upload Problem

    I have an JSP application that uses a JSP component to upload files onto any location on the web server. The component has a saveAs method to save the file on the web server. This functionality works great on the iFS Apache Server(solaris). It will n