Posted a new wiki on "Developing custom Web Dynpro pplications using GRT"
This article describes how to develop custom Web Dynpro Java ESS applications using Generic Reporting Tool (GRT) / Reporting Framework (RFW)
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=235966686
Hi,
Its an awesome WIKI, lots of inputs and a eye-opener which shows clearly how powerful FPM is and what we can do with existing components.
Thanks for the Wiki.
Regards
Tushar Shinde
Similar Messages
-
HCM Development in Web Dynpro (ABAP)
Hi,
I am working in SRM custom development in Web Dynpro (ABAP). I have to work now with HCM development.
Is it any specific method or procedure to develop/change the Web Dynpro (ABAP) application .I am new to HCM Functional.
Pl help me.
Thanks in advance.
sriHi,
In the HCM(Humaan Capital management) also there are the related FM ie BAPIs and also the corresponding BOR (business objects) where you can use them in the WDA.
Here the data is stored in Infotypes. Where all the historical records for each employee/organization etc are maintained.
It's better to have an idea on the HCM structure that would be enough in understanding the BAPIs etc.
Regards
Lekha -
Time out error on front end ( 60 seconds) developed in web dynpro ABAP
Hi all
I am getting TIME OUT error ( ERROR :- Connection to partner break in 60 seconds) on front end (on web) because in SAP backend there is a function module excuting and taking 3 minutes. But on front end developed in web dynpro ABAP time out is coming in 60 seconds.
Please help me how can i increase this TIME OUT time on front end more than 60 seconds.
Please help as soon as possibleHi,
see the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/7b/72092aaa1342c5a3af7ce0b9a11ff9/frameset.htm">Documentation</a> and
<a href="http://help.sap.com/saphelp_nw70/helpdata/en/78/9852b7c06b11d4ad310000e83539c3/frameset.htm">this</a>
Regards, Heidi -
How to implement result states in custom web dynpro components
Hi all,
My callable objects are custom implemented -web dynpro Componenets
How am i to implement the result states in them so that i can use them to take logical decisions.?
There is decision dialog component in Process Control Callable Object. It has Exit states. I need my component also to have exit states like that
Help me to implement this.
Points assured for helpHi Shobhendra,
You can define the result states of your custom Web Dynpro callable object like this in the getDescription() method:
//add success result state
IGPCOResultStateInfo success = technicalDescription.addResultState("Success");
success.setDescriptionKey("Success");
//add failure result state
IGPCOResultStateInfo failure = technicalDescription.addResultState("Failed");
failure.setDescriptionKey("Failure");
And in the custom comelete() method (which will be called at the end of the execution of the WDP comp from GP) you can set the actual resultstate at runtime:
executionContext.setResultState("Success");
or
executionContext.setResultState("Failed");
The result states defined in the WDP callable object will appear in the the GP design time and you can set target for each result state.
For more info on how to implement the WDP callable object check the doc:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50d74ada-0c01-0010-07a8-8c118d408e59">Implementating Web Dynpro callable Object</a>
Please let me know if you need any further help.
Thanks,
Dipankar
[P.S. Award points for helpful answer] -
Jav Developer role = Web Dynpro Content Explorer
Hi,
When i navigate to Java Developer role => Web Dynpro Content Explorer(Detailed Navigation) in portal I am getting following error. I am getting the same error in ESS and MSS pages also...
<b>
Portal Runtime Error
An exception occurred while processing a request for :
iView : N/A
Component Name : N/A
com/sapportals/portal/pb/utils/RedirectData.
Exception id: 10:45_30/01/06_0023_2755950
See the details for the exception ID in the log file
</b>
When i look at log files ... I am getting the stack trace.
<b>
<< item 0 : >>#1.5#0002553A11CD00520000002D000A316000040B9554A2BD58#1138635904826#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#SMANCHAL#1017##nadcp949_LPD_2755950#SMANCHAL#107dd96091a711da84b30002553a11cd#SAPEngine_Application_Thread[impl:3]_0##0#0#Error#1#/System/Server#Java###Exception ID:10:45_30/01/06_0023_2755950
[EXCEPTION]
#1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:803)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/pb/utils/RedirectData
at com.sapportals.portal.appintegrator.layer.HTTPRenderLayer.getPageRedirectObject(HTTPRenderLayer.java:282)
at com.sapportals.portal.appintegrator.layer.HTTPRenderLayer.processLayer(HTTPRenderLayer.java:101)
at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:173)
at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:71)
at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java(Compiled Code))
at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java(Compiled Code))
at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java(Compiled Code))
at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java(Compiled Code))
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
... 23 more
</b>
Can you please help me with this...Hi Gary,
> Now do I put this back in original directory
Rrrighty.
> do I need to add back .bak or leave as .par?
Leave as PAR. If the server starts, all .par files within this directory get deployed and in the case of success, .bak gets added. So .par.bak files are not deployed again on the next startup.
> do I need to delete original
> then add my updated version?
I think you don't need to delete the original, but just do it. If your changed .par file get deployed successfully, it will overwrite the old .par.bak anyhow.
But make a security copy of the orginal file for the case that you have changed the original PAR in some strange way
Hope it helps
Detlev -
Make custom Web Dynpro java iView properties
Hi All,
Please guide me as to creation of custom Web Dynpro java iView properties in NW 04s .
I have already gone through the music box example but still have doubts .
ANy pointers?
Regards
Radhika Kuthiala
Edited by: Radhika Kuthiala on Dec 13, 2011 9:49 PMI don't think this can be done since WDJ apps can also run standalone (not in a portal)
-
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,
RajHi 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 application using java
Hi Experts,
I am new to netweaver . I developed one web dynpro application in NWDI but input fields are disabled on screen .
please suggest reason why it is happend.
Thanks,
Santosh.Hi Santosh,
Once you create the input fields in NWDS you need to bind input field with context attribute to enable in the display screen.
Refer to this Re: Calendar UI element in NWDS and also refer to Tutorials & Samples for Web Dynpro Java [original link is broken]
Hope it helps
Regards
Arun
Edited by: Arun Jaiswal on May 4, 2010 12:19 PM -
BW Hierarachies in Web Dynpro either using BI java SDK or Not
Hello,
I am working on a requirement to develop a web dynpro Tree for a BW Hierarchy. On This requirement I have following Questions.
1. How can I retrieve Nodes/Hierarchies from BW Hierarchy into the query? Is it Query , Cube or RFC?.
2. What is the standard way to retrieve the Hierarchy onto Web Dynpro?.
I appreciate if somebody can help on this problem.
Thanks,
Raj Peddisetty.Raj,
we used the following delivered function modules to read, add and delete the nodes:
--ZRSBB_NODES_READ_WITH_FILTER
--BX_FAVOS_ADD_OTHERS
--BX_FAVOS_DELETE_NODE
We created some wrapper function modules to call these above delivered fm's.
Hope this helps.
--MLS -
Get URL parameters of Web Dynpro Application using Floor plan manager
Hi Experts,
I have a web dynpro component using FPM. The default window of the application is FPM_WINDOW which is an interface view of component of FPM framework. so I cannot get the URL parameters in handledefault of a normal web dynpro app which is not using FPM. How do I get URL parameters in this case through FPM? Thanks!Hi,
I guess you might have created the application under FPM_OIF_COMPONENT/FPM_GAF_COMPONENT. For that add the pramaters to the PARAMTERS tab of teh application.
Now, you can use
data lo fpm type ref to if_fpm.
lo_fpm = cl_fpm=> get_instance( ).
CALL METHOD lo_fpm->mo_app_parameter->get_value
EXPORTING
iv_key = 'PERNR' "Application param name
IMPORTING
ev_value = lv_pernr.
Regards,
Lekha. -
Appraisal Templates - Custom Web Dynpro developement
Hi All,
I have a requirement to display the new Appraisal document templates created using a Web Dynpro application.
How do I go about doing this? How can the Appraisal templates be exposed to the Web Dynpro application?
Regards,
Ashwini.Hi Bhagat
You have raised a very good point,
As far as i know there is no such option available in NWDS ,there is a separate thread called
POLL: Web Dynpro UI elements - enhancement proposals
Please do post your same query there, hope SAP considers this, we all wait for the same feature in the forthcoming versions of NWDS
Regards
Chaitanya.A -
How-to add a custom Web Dynpro iView to the MSS Employee Profile
Hello everybody,
i have created a small How-to guide of how to add a custom iView/Web Dynpro application to the standard MSS Employee Profile for ECC 6.0.
The How-to guide can be found <a href="https://wiki.sdn.sap.com/wiki/display/profile/2007/04/15/How-toaddacustomWebDynproiViewtotheMSSEmployee+Profile">here</a>
I hope its of any value.
cheers,
MarkusHello Luca,
unfortunatelly it wont work. A WDA Application does not have access to the Floorplan Manager for XSS Applications. So until SAP develop an interface, you have to stick for such a task to WDJ.
regards,
Markus -
Customizing Web Dynpro for CATS Approval
Hi experts,
I would like to implement some additional logics when the CATS is approved by managers in MSS.
After tracing the codes, I located an ABAP class "CL_MSS_CAT_APPR_TR_BUFFER" that performs the approval actions in R/3.
Currently, I am considering to copy and edit a ZCL_MSS_CAT_APPR_TR_BUFFER to add additional logics to the "IF_MSS_CAT_APPR_TR_PROCESSOR~SAVE". But, here are my questions:
1/ Since there is no object delegation in BO, how can I "delegate" the objects from CL_MSS_CAT_APPR_TR_BUFFER to the z-class ?
2/ If no delegation possible, is it possible to change the action mapping s.t. ESS calls to the Z-Class instead of the standard class?
3/ If it cannot be done with action mapping, does it mean that customized Dynpro developments required ?
Sorry that I don't know much about ESS and Dynpro.
Please offer detailed steps when possible.
Many Thanks.I don't believe that your question has been asked in the correct forum. This forum is for questions directly related to Web Dynpro ABAP development only.
However a quick suggestion (although unrelated to WDA). Instead of copying the class, consider using the enhancement framework instead. You can use a pre, post or override method to extend the logic of the SAVE method. -
Embed OVP in custom Web Dynpro
Hi,
I'm experiencing a similar problem as described [here|How to Embed FPM ABAP into a WebDynpro ABAP Application;, but that thread is closed (unanswered).
I want to embed an (ESS) OVP component in my Z Web Dynpro. I defined a component usage for the OVP component, embedded its window in a view container. I also set the configuration 'XYZ' for the OVS component:
1. using code (as in FPM developer's guide)
2. by means of an application configuration for my Z Web Dynpro
Both approaches to set the configuration (1 and 2) yield into the same result at runtime: see B
A) When I run the OVP component directly (OVP app with config XYZ), it works (ESS data is shown in FPM_LIST_UIBB panes).
B) When I run my Z Web Dynpro, only the header of the OVP component is shown (no FPM_LIST_UIBB panes with data).
Following symptoms make me think my Z Web Dynpro set up is correct and it is a FPM/Web Dynpro bug:
1. Something of OVP component is shown (page header), so it is initialized and runs
2. When I open my app while my PERNR is locked, the OVP component shows it in a message (exactly as in case A): "Person is already being processed by user XYZ123")
Did I forget something? Do you think it could be a bug?
Regards
JeroenHi Joachim,
To embedd object selector in your custom UI you can use two interfaces which are implemented by this component. There are ObjectSelectorCI and CommandletCI.
I recommend you to use the ObjectSelectorCI. There are no methods in this interface. So, you need to add this interface to used components from cafuiptn~common dc, the "CommonInterfaces" public part. The only configuration step which you need to perfrom is create component and setup object selector configuration name to context
like this:
String componentName = "com.sap.caf.ui.ptn.objectselector.ObjectSelector" ;
String devComponentName = "sap.com/caf~UI~ptn~objectselector" ;
IWDComponentUsage usage = wdThis.wdGetObjectSelectorComponentUsage();
WDUtils.createComponent(usage, componentName, devComponentName, true) ;
IExternalObjectSelectorCI interface =
wdThis.wdGetObjectSelectorInterface()
IWDNodeElement selectorConfig = interface.wdGetAPI().getContext().getRootNode().getCurrentElement();
selectorConfig.setAttributeValue("configName", configName);
And that's it. Actually, I never done it, if you'll get a problem please let me know.
Best regards,
Aliaksei -
How to Post Xml data into interactive form in web dynpro
Hi,
I want to be creating the xml source for web dynpro programatically.
This is because my adobe form is highly dynamic where even the kind of ui elements and the position is decided at runtime.
It is a highly interactive chart which I am planning.
I want to then bind this dynamically generated xml to the pdf.
Let me know your ideas.
Thanks,
HarishConclusion from my point of view:
1) You cannot have this thing interactive if you want to work with all the features of OM, if you want to cover all the details. In that case you need to create some tool for drawing the pictures for you and then only send the picture into the form. If anybody would like to do the changes you would add the table at the bottom of the page where a guy can say something like "chair A move under the big banana B" or "fire Mr. C, remove the position of Mr. C". That is probably the thing I would go for
2) I am afraid you or your employer do not understand how the Adobe forms work. This is possible, but as I said before, that would be a nightmare for the developer (I cannot tell the price, would start with like 20 MDs).
3) If you would like to mimic some existing solution and don´t want to buy that, then it´s ok for me. But don´t try to re-create the existing .NET or Java stuff in ABAP. I am skilled Java programmer and I can tell the freedom and the speed of the development is quite different. If the customer/ boss insist on developing such thing, use WEB development, go for PURE JAVA (I would go this way), use Java Connector in a JSP/ J2EE stuff and then incorporate the result into the portal.
Hope that clarifies the problem a little,
regards Otto
Maybe you are looking for
-
SCCM 2012 R2 CU2 Clients Will Not Download Anything Using BITS, error 0x801901F4
I built a new SCCM 2012 R2 CU2 suite on Server 2012 R2. Clients will not download anything that require BITS transfers. The root of the problem seems to be in the DataTransferService.log. These lines keep appearing over and over: CDTSJob::HandleErro
-
Unable to download any CC content since the CC desktop app does not show any available. The app worked for a while and I did download some programs but now it isn't working at all. Is there a fix for this or another way to download apps, specifically
-
Problem ContourHD files 720p60fps with FCP 7
Hi, Sorry for my english but I send this message from France. I bought a Contour HD 1080p for my outdoor sports sessions. I record with this cam in the Action Settings. The format of the files is .mov, Ambarella AVC encoder, 1280x720, AAC stereo 48 K
-
How to avoid multiple LOGIN with same user in database.
Hi All, Using database triggers how to control multiple logins of a pertiuclar user. thanks in advance
-
Using an EU macbook pro in USA
Gang, I will move to USA in the next months and I am wondering if I can use my EU macbook pro (we have 230V and 50Hz) with an adapter for the plug EU->USA? It should be safe ... I read the power adapter accepts anything from 50-60Hz and 100-240V. The