Integrating Webdynpro Application process into UWL
Hello Everyone,
Can anyone help me to create an application that gives an option for the managers to enter "Reason for Rejection" when they click on "Reject Purchase Order" in the UWL of the portal. I hope you can understand my requirement. Please let me know if you need more clarification. I would greatly appreciate your help.
Regards,
Gopal.
Hi Lekha,
Thanks a lot for your reply. Let me explain you my whole scenario.
I have created a WD Application for "Create Purchase Order". After creating a purchase Order, SAP Workflow will be triggered and an E-mail will be send to the Approver to Approve/Reject the PO. The Approver will login to Portal and look at the UWL. In the UWL, on clicking the Task, it should display the Purchase Order Details with two button Approve/Reject.
Now, is it possible to acheive my above requirement. I completed the "Create PO" and "Display PO" Applications seperately. But, I don't know how to integrate the "Display PO" in to the UWL. Could you please explain/suggest me a way of acheiving this requirement. I would greatly appreciate your help.
Regards,
Gopal.
Similar Messages
-
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 PMHi,
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 -
Webdynpro Applications not opening in IE7
Hi,
We are using Netweaver 7.0 with SP 14. I have integrated Webdynpro applications on anonymous portal along with the PDK applications. I am able to see all the applications properly in my desktop having IE7. But in some systems I am getting "Web page can not be displayed" while PDK applications are visible properly. I feel its a Browser issue. What settings are needed to be done in IE 7.
Thanks.
Regards,
SwatiHi Swati,
Please check the compatibity in server market palce PAM.
Open http://www.service.sap.com/pam and select SAP NetWeaver 7.0 and wait for PDF to open.
Hope it helps
Regards
Arun -
Integrating WebDynpro ABAP applications with UWL for workflow in Portal
Dear
We want to integrate an abap webdynpro application as task in the workflow with UWL.
More information was found in /people/ginger.gatling/blog/2005/12/14/create-new-uis-for-existing-workflow-tasks-with-abap-web-dynpro-and-universal-worklist
But no answer on the following issue:
We use the transaction SWFVISU to prepare standard setting for our task. This defines how a task is executed, once you select the task subject line on the worklist.
Task TS91700001
Visualization Type ABAP Web Dynpro
APPLICATION z_wd_pas
DYNPARAM IV_WIID=${item.externalId}&period=${item.PERIOD}
NAMESPACE SAP
SYSTEM_ALIAS SAP_BSP_EREC
But we want to start the abap webdynpro application with a dynamic parameter: period 07.2010 or 08.2010 or MM.YYYY. This parameter is a container element of the task, filled when the task is created. Also other parameters are available in the abap webdynpro application.
Component Z_WD_PAS
Interface View PAS
Plug Name DEFAULT
Help Menu Text
Help Link
Package Z_PAS
Language EN
URL http://saperpd1.imec.be:8000/sap/bc/webdynpro/sap/z_wd_pas
with parameters
IV_WIID 000000000000 SWW_WIID
ORG_UNIT 00000000 ORGEH
PERIOD SPMON
PERNR 00000000 PERSNO
Can we set the dynamic parameter list DYNPARAM from the task
or should we read the container in our abap webdynpro application described in http://wiki.sdn.sap.com/wiki/display/WDABAP/IntegratingWebDynproABAPapplicationswithUWLforworkflowin+Portal?
More information: The task is a webservice
Standard task 91700001 Z_PAS_CC
Object Category BOR Object Type
Object Type WEBSERVICE WebFlow Service
Method PROCESSDIALOG Dialog Service
with the following standard program code for this method:
begin_method processdialog changing container.
DATA: l_wi_objkey TYPE swotobjid-objkey.
DATA: l_wiid TYPE swwwihead-wi_id.
CALL FUNCTION 'SWE_WI_GET_FROM_REQUESTER'
IMPORTING
requester_workitemid = l_wi_objkey.
l_wiid = l_wi_objkey.
CALL FUNCTION 'SWF_WSC_START_LH_DIALOG'
EXPORTING
i_wiid = l_wiid
EXCEPTIONS
url_creation_failed = 1
browser_launch_failure = 2
OTHERS = 3.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
exit_return '1000' space space space space.
WHEN 2.
exit_return '1001' space space space space.
WHEN OTHERS.
exit_return '1002' space space space space.
ENDCASE.
ENDIF.
end_method.
Before calling the function SWF_WSC_START_LH_DIALOG the parameters for the abap webdynpro should be defined. Is this possible ?
Thanks for your suggestions.
Best regards
Luc MarentI added below sources .
> <ItemType name="uwl.request.webflow.WS91000001" connector="WebFlowConnector" defaultView="WorkItemRequestsView" defaultAction="launchWebDynPro" executionMode="default">
> <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" 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="ZWD_WF_002" />
> <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no" />
> <Property name="DynamicParameter" value="wi_id=${item.externalId}" />
> <Property name="openInNewWindow" value="yes" />
> <Property name="System" value="WDSETXXX" />
> <Property name="WebDynproNamespace" value="sap" />
> <Property name="display_order_priority" value="5" />
> </Properties>
> <Descriptions default="" />
> </Action>
> </Actions>
> </ItemType>
> <ItemType name="uwl.request.webflow.decision.WS91000001.UWLSETXXX" connector="WebFlowConnector" defaultView="WorkItemRequestsView " defaultAction="viewDetail" executionMode="default">
> <ItemTypeCriteria systemId="UWLSETXXX" externalType="WS91000001" connector="WebFlowConnector" />
> </ItemType> -
To get login details of portal into webdynpro application
Hi All,
How to get the portal login details(user name) into my webdynpro application.
Thank you,
Harsha P.Hi,
If you want to have portal login details from backend system (with ABAP) you should ask this question in some portal forum and ask if it is possible. This has nothing to do with workflow or UWL. Even if you get the portal user ID to the backend system, then what? Do you want to manipulate the portal roles etc. from your ABAP WD application? Then you will have even more complicated requirements to achieve with ABAP. It is not that straightforward to call different portal functionalities from backend system. You might need to do some "portal development". And eventually your ABAP WD application might come just an unnecessary wrapper component for calling some web services or whatever in portal.
Regards,
Karri -
Issue in webdynpro application while calling from UWL
Hi All,
I am working on APPRAISAL workflow in HCM module.
In new version of SAP has provided ABAP web dynpro application HAP_MAIN_DOCUMENT (component HAP_MAIN_DOCUMENT)
but it is not integrated with workflow. Earlier insted of this application there was a BSP application and this was integrated with workflow.
Now to integrate ABAP webdynpro application with workflow I have created new web dynpro application and calling HAP_MAIN DOCUMENT application and when I test through SE80 transaction then I am just passing Work Item ID and it is opening HAP_MAIN DOCUMENT application. I have done it as follows.
In swfvisu I am passing Work Item ID and In application I am getting business object details using this I am createing a URL and then using exit plug I am calling HAP_MAIN_DOCUMENT application
*METHOD exit1 .*
* DATA lo_nd_new_url TYPE REF TO if_wd_context_node.
**DATA lo_el_new_url TYPE REF TO if_wd_context_element.**
**DATA ls_new_url TYPE wd_this->element_new_url.**
**DATA lv_url TYPE wd_this->element_new_url-url.**
**DATA: l_cmp_api TYPE REF TO if_wd_component,**
**result TYPE REF TO if_wd_window,**
**l_window1 TYPE REF TO if_wd_window_manager.**
*** navigate from <CONTEXT> to <NEW_URL> via lead selection**
**lo_nd_new_url = wd_context->get_child_node( name = wd_this->wdctx_new_url ).**
*** @TODO handle non existant child**
*** IF lo_nd_new_url IS INITIAL.**
*** ENDIF.**
*** get element via lead selection**
**lo_el_new_url = lo_nd_new_url->get_element( ).**
*** @TODO handle not set lead selection**
**IF lo_el_new_url IS INITIAL.**
**ENDIF.**
*** get single attribute**
**lo_el_new_url->get_attribute(**
**EXPORTING**
**name = `URL`**
**IMPORTING**
**value = lv_url ).**
**wd_this->fire_exit_plg( url = lv_url ). "abap_true**
*** l_cmp_api = wd_this->wd_get_api( ).**
*** l_window1 = l_cmp_api->get_window_manager( ).**
*** result = l_window1->create_external_window(**
***url = lv_url ).**
*** result->open( ).**
**ENDMETHOD.**
In SE80 it is opening application perfectly in same session of new Z webdynpro application.
But when I click on UWL workitem it is not opening.
In dubugging I checked that workitem ID is passed correctly also URL is created correctly for HAP_MAINDOCUMENT but it is not opening.
Please let me know is there any setting in UWL config.
Edited by: Akshay Kale on Nov 17, 2009 11:51 AM
Edited by: Akshay Kale on Nov 23, 2009 10:07 AMHi akshay,
Check the following links ,
Workitems, UWL and Web Dynpro for ABAP
http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20f4843e-314f-2a10-2a88-8c4afa20dda6
another that talks about swfvisu
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a002d1eb-33f0-2b10-f391-e1e0c3057c17&overridelayout=true
hope this helps.
Thanks,
Sahiba -
Embedding an existing Adobe Form into a Webdynpro Application
Hi Everyone,
I have an existing adobe form created thro transaction SFP and its working well.
I need to launch the form with a Webdynpro application now. I was able to embed the adobe form into the Webdynpro View. The View's context is supposed to pick up the context of the adobe form automatically.
However I am getting the following error - Either your Interactive form UI element is not bound to a context or a corresponding context does not exist.
I am not sure how to proceed coz the I executed the Adobe from in SFP and its working perfectly and obviously its bound to a context/ interface.
Any Ideas?
thanks for your suggestions in advance !
LizPradeep,
You are right. This time I could bind the context from my interface (even though it was ABAP based).
I have one quick one for you - you mentioned earlier that when we embed an existing form into Web. View, we cannot have an Interactive form even when we check the 'enabled' property. Can you throw more light onto this pls?
The runtime error that i am encountering now says :
Adobe Processing Exception: PDF is not interactive. Data can be only imported into Interactive forms.
the source text of error is:
get result
m_pdf_object->get_document ( importing pdfdata = pdf ).
catch cx_fp_exception into lr_fpexc.
raise exception type cx_wd_general
exporting
previous = lr_fpexc
and this exception is not caught ! I am still lost
thanks again for your help!
Liz -
Hi All,
I want to develop a workflow application in webdynpro which contains a stationary request form by an employee. This stationary request is send to his leave approver in his UWL task list. I want to know that this is possible through webdynpro java and if yes than how.
Rewards will be awarded.
Regards,
Bharat Mistry.Hi Bharat,
I have no idea of how to integrate any custom application into UWL.
But surely alternative way for this kind of scenrio could be building custom workflow separately i.e Once requestr sends a request to partiucular approver, an email is triggered to approver.
A separate iView is created for apporver which will be populated based on approvals pending against this approver. He can approve the requests, based on which backend flag will be updated.
Regards,
Ganga. -
How to immigrate Webdynpro application into EP ?
Hi all.
Is there any example to describe how to immigrate one webdynpro application into Enterprise Portal ?
I need to develop some application in Enterprise Portal. I think I have 2 ways to achieve it.
1. develop the application in webDynpro, then migrate it into EP.
2. develop it directly in EP.
I prefer 1st way, because in this way my maintenance job will becomes easy.Hi,
See this tutorial for integrating webdynpro with portal
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on integrating web dynpro in portal - 19.htm
Hope this helps you
Regards
Rohit -
How To Get GP Process Parameters in a Webdynpro Application runtime
Hi ,
Iu2019 ll hope you can help me to solve my problem with GP process.
Iu2019 m trying to get GP process parameters from a Webdynpro application.
I have to get parameters during the process runtime in every step of the process using
a webdynpro application with the following code:
IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
try {
IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
userContext.getSAPUser());
IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
} catch (GPEngineException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
manager.reportException("GPEngineException:"+getStackTrace(e), false);
} catch (GPInvocationException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
manager.reportException("GPInvocationException:"+getStackTrace(e), false);
But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
GP view of the portal, the values are those that I have set in the start process wizard.
Have you a solution for this question?
Thanks in advance
Lucahi Abhimanyu
I believe originally access to session was deliberately not made available inside WDA.
Growing security concerns due to misuse of session information and
perhaps other reasons as well.
X.509 is considered a better approach.
This may not help you in your problem.
But you may see a trend in WDA pushing more robust and client independent
approaches.
Full x.509 access should remove the need for session fiddling.
Also when developers access such session info directly, there is a possiblity
when they dont understand the technology exactly that they create a security hole.
You may know how to do safely, it is however discouraged.
Im not aware of a way to get at the session info inside the WDA framework.
Well not without a mod to the framework.
It may be possible without a mod, but I dont know the trick.
If someone has a little trick... please post.
You may need to use BSP, if your only solution requires access to the session info.
regards
Phil -
Need help in developing a webdynpro application using UWL API
Hi developers,
Iam developing a new WebDynpro application for UWL using UWL API.the functionality is to dispaly the summary of UWL like number of unread items, total items.
Iam getting the problem while deploying the application, iam getting warning while deployed the application.
I have given all possible ways mentioned in the below forum link
Re: Accessing PortalRuntime at runtime?
The exact problem is coming at reference file.
Please giude me how to move forward.
1. Below is the error when given "tckmcbc.uwl~api" in the service entry
deployed with warning :
Finished with warnings: development
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to prepare application local/UWLCountDemo for startup. Reason=Clusterwide exception: Failed to start dependent service ''tckmcbc.uwl~api'' of application ''local/UWLCountDemo''. Status of dependent component: STATUS_MISSING. Hint: Is the component deployed correctly on the engine?
2.Below is the error when i gave PORTAL:sap.com/tckmcbc.uwl~api in the sharing refernce entry
Finished with warnings: development
Caught exception during application startup from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Error occurred while starting application local/UWLCountDemo and wait. Reason: Clusterwide exception: server ID 21763550:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application local/UWLCountDemo cannot be started. Reason: it has hard reference to resource tckmcbc.uwl~api with type application, which is not active on the server.
Thanks in Advance
Sekhar.
Edited by: sekhar c on Mar 21, 2009 11:24 AMPlease see Kenichi Unnai in his blog "How to use UWL API for NetWeaver BPM Tasks"
How to use UWL API for NetWeaver BPM Tasks
The .sca-file can be found on the sap service marketplace, afterwards you need to import the .sca-file, add the SC to your "MyComponents" and then you can select your necessary DC's. -
Error when retreiving UWL items in webdynpro application
Hello,
I am getting nullpointerexception when retreiving the items from the UWL in webdynpro application in java.
error is throw at the following line
NullpointerException
at com.sap.netweaver.bc.uwl.core.ItemCacheManager.internalGetItemsForView(ItemCacheManager.java:56)#
at com.sap.netweaver.bc.uwl.core.ItemCacheManager.refreshCacheAndGetItems(ItemCacheManager.java:1351)#.
Thanks.Hi
probably you need to check the alest read permissions on all the folders and Iview.
OR try to give restart to yours "UWL Service " and also check this SAP note 676253
Thanks -
Webdynpro Application is not Deploying into Netweaver 2004s From NWDS CE
Hi,
I Developed Webdynpro Application in NWDS CE 7.1 SP5.
I Am using Netweaver 2004s AS JAVA .
After Deploying application i will get page can not be displayed and in the browser url is following below
http://localhost:-1/webdynpro/dispatcher/demo.sap.com/firstapp/FirstApp?SAPtestId=2
my actual port is 50000 but it gives -1.
and also i need one clarification NWDS CE 7.1 Applications Supports the Netweaver 2004s or
it requires Netweaver CE 7.1 AS JAVA.
We have to develop applications using webdynpro,mobile perspectives in NWDS CE 7.1 SP5
Is it Supports Netweaver 2004s.
Thanks
SubbaraoHi
NetWeaver CE 7.1 uses Java 5 and so does the NWDS CE 7.1 by default. The server you have is NW 2004s SP 9 which runs on Java 1.4. So you simply can not build with Java 5 and deploy it to a server with JRE 1.4, you will get a class unsupported version error.
Next you are using NWDS CE 7.1 to connect to server 2004s. The architecture of the Java servers in SAP is changed. 2004s has SDM and dispatcher and a server process at its simplest form. In CE theres an ICM and server. (SDM & Dispatcher combined). You no more give the message port number when you set up the JEE server of NWDS 7.1 instead you would use instance number. When you register a NW 2004s server with NWDS 7.1 (instance numbers are available for 7.0 servers as well), the studio fails to find the deploy mechanism (SDM or ICM) hence you see a port -1.
Lastly the architecture of WebDynpro is greatly changed from NW 7.0 to NW 7.1 so dont even think of deployment to previous versions.
Regards
LNV -
On-click of the UWL link ,No WebDynpro application is launching
Hi,
I am having a problem while developing a multiple level application.This application will send a link to UWL in portal for the approver.When the applicaton is sending something to workflow,it is creating a link in the UWL.But when I click on this link,it showing "There are no items to display".And also when I look for the properties of the page I am getting
http://itdep1.itcportal.com:50000/irj/servlet/prt/portal/prteventname/navigate/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2fdefaultDesktop!2fframeworkPages!2fframeworkpage!2fcom.sap.portal.innerpage?System=SAP_WebDynpro_XSS&TCode=SWK1&UseSPO1=false&AutoStart=true&DynamicParameter=p_nosecm%3DX%26wi_id%3D000000747411&HistoryMode=0&windowId=WID1254805388838
There is nothing about my WebDynpro application.For other WebDynpro application I am geting this properties as below
http://itdep1.itcportal.com:50000/webdynpro/dispatcher/local/Car/Carhr_App;jsessionid=(J2EE7656800)ID1973397150DB01647030228036343671End?sap-ext-sid=FWxZT%2BxoLzZaTLdsMY%2BZaw%3D%3D7aMjquvJhFYjn6FSMAm9ww%3D%3D&sap-wd-cltwndid=WID1254805388838&sap-wd-tstamp=1254803969799&sap-locale=en_US&sap-accessibility=&sap-rtl=&sap-ep-version=6.4.200610270247&sap-cssurl=http%3A%2F%2Fitdep1.itcportal.com%3A50000%2Firj%2Fportalapps%2Fcom.sap.portal.design.urdesigndata%2Fthemes%2Fportal%2Fitc_theme%2Fur%2Fur_ie6.css%3F6.0.16.0.20&sap-cssversion=6.0.15.0.0&System=SAP_WebDynpro_XSS&wi_id=000000748089&WI_ID=000000748089
I think I have done some wrong configuration for the workflow,but I am not able to find it out.
Please HELP me......
Regards
SukalyanHi,
Will you plz provide more input on the issue. Are you able to launch other WebDynpro application from UWL. Please chekc the XML for the UWL and try work for the tag item type and check the page value.
In the SDn you can easily find XML code for the launcher of WebDynpro Application.
Deepak!!! -
Import BPEL process into integration repository ???
Hey all,
I know that it's possible to export an integration scenario to BPEL4WS.
My first question is if it's also possible to import such a BPEL4WS process into the integration repository?
Second question: Somewhere I read that it's optional to design integration scenarios with the graphical designer. Is that true and is there another way to create such a scenario?
Thanks for your help!
Regards
Matthias>My first question is if it's also possible to import such a BPEL4WS process into the integration repository?
Yes you can import BPEL4WS, in IR.
1. Create Integration process
2. Switch to BPEL4WS display sceen and import your BPEL.
go through the following link
http://help.sap.com/saphelp_erp2004/helpdata/en/9f/7a7440036f6d1de10000000a1550b0/frameset.htm
>Second question: Somewhere I read that it's optional to design integration scenarios with the graphical designer. Is that true and is there another way to create such a scenario?
Aris is a tool to configure your Integration scenario other than graphical scenario.
I dont think it is available today with XI3.0.
There is lot of documentation available on ARIS with SAP.
Best regards,
Satish
Maybe you are looking for
-
Do you have the same light spot behind thinkpad logo? Please see the picture: http://tinypic.com/r/2iv0jgk/5 Solved! Go to Solution.
-
I want to get data from only RESB table without loss of any deltas
i have to fetch the reservation details for the production orders. we are using descrete manufacturing method to keep track the Work in process and cost . for addition of components manually in the production order we can track thru change date i.e F
-
HT5634 how to keep boot camp from changing time?
As I go back & forth between Mac and BootCamp, the operating system time changes. How can I make it consistent between the two?
-
Hi, Can any one please tell me dat how to achieve next, back and autoplay for my XML image viewer that i have created. I have a loader component in which i am calling the images from an XML file through XML Connector component. And i have three butto
-
Downconver​sion from LabVIEW 2011 to 2010
Please help convert to 2011 project to 2010. Thanks! Attachments: TestSolution.zip 320 KB