0% found this document useful (0 votes)
115 views5 pages

Integrating WebDynpro With UWL

Integrating Webdynpro with UWL

Uploaded by

ashukenna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
115 views5 pages

Integrating WebDynpro With UWL

Integrating Webdynpro with UWL

Uploaded by

ashukenna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
‘is072015 Inwgraing WebdDyrpro ABAP applications with UW for worktow in Petal - We Dynpro ABAP - SCN Wiki Welcome, Guest Search the Community Tn Products, Services & Support ‘About SCN Downloads Industies Training & Education Parnership| Developer Center Lines of Business University Alliances Events & Webinars Innovation Web Dynpro ABAP Integrating WebDynpro ABAP applications with UWL for workflow in Portal ‘Added by Guest, last edited by Craig Cmehil on Dec 28, 2009 “This big wihelp you understand how the SAP Enterprise Portal workflow intgrats with WebOynpro for ABAP applicaton. Prerequisites ‘You have accass to Portal Universal Worklst Mow ‘You have access tothe Universal Works Administraton View. ‘You have implemented an alterative work tem visualization and executon (or exampb, through a custom Mew) Portal UWL Administration Each UWL Mew can retieve work tems from mute business workfow back-end systems. 1. On the porta. choose System Administraon->System Coniguration- UWL Administration 2. Choose UWL Systems Configuration © Universal Worklst Systems To add a new entry choose New. 53. Here you can define connectors and systems as item providers forthe Universal Worl. 4. Choose Regster em Types for Al Systoms to perform the registration forall conigure systems. “The work tam regisvalon process involves idontlying each system by ts alias, and thon genoraing tho XML description of how to process the work tem types tobe received by UWL from each system. hip dhwik son. sap.comfvikisplayV/DABAPIILerating*WebD yrprov ABAP® applications with’ UWLMfore workflow +in¢ Portal 16 Incgraing WebdDynpro ABAP applications with UWI for worktow in Petal - Web Dynpro ABAP - SCN Wiki hive Vref tin ops Sj Peo Tse Sona | Emi tan Sot EHUD tran Se Sat cults enc J nt cnet Retest ea ny 1 (sal a) ‘WebDynpro Launch System s the Portal System for which the system objects created as shown below with the system alas of Sap_WebDynpro_XSS! a 553) PD =Citicntee 2 || wos) (ese) Gree) Cem) ain nosy [ome 9] > Qeom sepip cotasoretion (Reementy Bion Slemsreesensodaaee »entrroniel one Resetycao Ws Mae See HOS) > ert onset SA Baers Fveocus00,p00 Cet > Grins ‘Task Launch Customizati ee ion -teode SWFVISU hip dhwik son. sap.comfvikisplayV/DABAPIILerating*WebD yrprov ABAP® applications with’ UWLMfore workflow +in¢ Portal sia02018 Igy ating WebDyrpro ABAP applications wih UWI. for workflow in Portal - We Dynpro ABA - SCN Wik Us transaction SWFVISU to prepare standard sting for your Worktom inthe UW. It defines how a task s executed, once you selec he task subject neon the work. “The UWL connects to the registered system and generates fem types from the Business Worklw task deftons. Each system defines new WebFlbw configuration namespace. ‘When you successfully registra work fem type, the XML text that defines the execution ofthe task is made avaible, The item type Inks the task defntion withthe em execution by UWL 1 Start Transaction SWFVISU, Choose New Enties 2nter your Task ID ex. 1580000033 and defn the visualization type as ABAP WebDynpro forthe ask Dialog Structure || task ‘Ts9e060833 = Crtaskvisuaization | veuaization Te \WO_ADAP ABAP Web Dynpro ‘EBvisualization Parame| en PE __A eee © Ciobject Visualization Givisuatization Parame| Ds0CLNTSO0 8. Appteaton Nam 4. Dynamic parameter isthe work tom ld that receives from UWL. 5, Nemespac ap 6. Systom_atas = Alas name of th systom where the application is deployed, Note ako, that specifying the SYSTEM_ALIAS (optional parameter) overrides the WebDynpro launch system alas defined while configuring the UWL in portal 11s tla il gi ‘Resource not found exception as it wilnot find the WDA appcation inthe Portal WAS, Register your system in UWL Administration after any changes in the above parameters Integrating the WDA Application withthe Workflow 1. Create a Web Dynpra ABAP Component using Transaction S=80, 2. Inthe Web Dynpra ABAP appication parame define the parameter WL_ID1 Application hip dhwik son. sap.comfvikisplayV/DABAPIILerating*WebD yrprov ABAP® applications with’ UWLMfore workflow +in¢ Portal ‘02015 Inwgraing WebdDyrpro ABAP applications with UW for worktow in Petal - We Dynpro ABAP - SCN Wiki 3. Go to the Main Wow, switch to the tab Inbound Pligs, double clck onthe Default Plug, which wil take you tothe HANDLEDEFAULT method. ‘Ad a Parameter to this method caled WL_ID1 of ype String window ‘Ate : Swett [SB Method ale] Event Handler HANDLEDEFAULT | ¥| efi] (Ole [eh[c)) Parameter _ [ea [=a] iS | importing, [|| [) _ CL_WO_CUSTOM_EVENT IDI mooning, CJL) [STRING 0 T Gmethod HANDLEDEFAULT . 2p | *etocal types “The above method is called when the WDA Application s launched which in turn calls the interface view and te WI_ID1 is passed toil as parameter. 44, Get he value of W_ID1 in the HANDLEDEFAULT method ofthe window of your application and store itn component contra go as to use in views fo process the work tem, “aFetch the work Rem id ofthe current work tm of child work tem “navigate from to via lead selection lo_nd_worklowdala = wd_context>gel_child_nade( name = wd _this->wdetx_workflowdata). lo_nd_workowdata->sol_atiribute, val = w itt name = WL). IWch_wid = wi iat 5. In Web Dynpro ABAP we can use the RFC FM's for retrieving the Work tem ID, to change and read the Task Container Elements, to complete or cancel the Work Kem et. “The folowing FM's are used to process the worktems according tothe user decision “Fetch the work lem id of parent ofthe current work tem ‘SWP_TOP_LEVEL_WORKFLOW_GET “To reas work tem ID and to read container values ofthe workflw header for current work fem ‘SAP_WAP|_READ_CONTAINER “Change Task Container ‘SAP_WAP|_WRITE_CONTAINER “Trager Event on user submit or approve hip dhwik son. sap.comfvikisplayV/DABAPIILerating*WebD yrprov ABAP® applications with’ UWLMfore workflow +in¢ Portal ‘is072015 Inwgraing WebdDyrpro ABAP applications with UW for worktow in Petal - We Dynpro ABAP - SCN Wiki ‘SAP_WAP|_CREATE_EVENT “To complete the decision ‘SAP_WAP|_DECISION_ COMPLETE “To.cancel the work tem ‘SAP_WAP|_ADM_WORKFLOW_CANCEL uwl) [webdynpro | abap | workflow | | portal Follow hip dhwik son. sap.comfvikisplayV/DABAPIILerating*WebD yrprov ABAP® applications with’ UWLMfore workflow +in¢ Portal

You might also like