Image in Webdynpro Java Application
Hi All,
I have created a webdynpro application
i kept imaage Lotus.jpg in src/mimes/components/component
created a value node image attached this node to image ui source property
in implementation
weContext.currentcontextelment.setImage("Lotus.jpg");
i am not abel to see image
where am i going wrong
Regards,
Murali
Hi Murali,
I hope the above mentioned answers have solved ur problem. If yes then please close this thread else in webdynpro to show an image is very easy. As you mentioned you need to copy the image and paste it at Project>src>components>application copmponent>paste it. now you just need to got to the properties of the particular UI element in which you want to show the image. Then go to the imagesource property give the name exaclty similar to that of your pasted file for example if it's Lotus.jpg then give Lotus.jpg or if its Lotus then need not to add .jpg only add Lotus. This will definately work.
Warm regards,
Gaurav
Similar Messages
-
Image disappears - WebDynpro Java
Hi All,
I have a WebDynpro Java application, which has image, and other UIs. There is a image displayed in the image UI. When there is some actin in the UI, by clicking any of the UI, the image disappears, after other action it comes back again. Where could be the problem ?
Thanks,
Prabhakar.I am giving here the hierarchy of the Layout.
RootUI
|___TransparentContainer_1 (child of RootUI)
|___ImageUI_1 (child of TransparentContainer_1)
|___TransparentContainer_2 (child of RootUI)
|___ScrollContainer (child of TransparentContainer_2)
|___ImageUI_2 (child of ScrollContainer)
There is a drop down which has values 'Fit to Window' and '100 %'. Either one of the UI's 'ImageUI_1' or 'ImageUI_2' will be visible based on the drop down value.
Regards,
Prabhakar. -
Problem while deploying a webdynpro java application in NWDS 7.1 version
HI All,
I got the below error when i deploying the webdynpro java application in NWDS 7.1 version..help me out...........................................
Exception:
com.sap.ide.eclipse.deployer.api.APIException: ConnectionException,cause=[Ecc]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:64)
at com.sap.ide.eclipse.sdm.threading.DCDeployThread.run(DCDeployThread.java:118)
Caused by: com.sap.engine.services.dc.api.ConnectionException: [ERROR CODE DPL.DCAPI.1118]
NameNotFoundException.The SAP J2EE ENGINE service 'tcbldeploy_controller' is not available
because of deployment or down engine( service ).
Reason: Object not found in lookup of
tcbldeploy_controller.
at
com.sap.engine.services.dc.api.session.impl.SessionImpl.createCM(SessionImpl.java:320)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.<init>(DeployProcessorImpl.ja
va:136)
at
com.sap.engine.services.dc.api.deploy.impl.DeployProcessorFactoryImpl.createDeployProcessor(
DeployProcessorFactoryImpl.java:26)
at
com.sap.engine.services.dc.api.impl.ComponentManagerImpl.getDeployProcessor(ComponentManager
Impl.java:46)
at
com.sap.ide.eclipse.deployer.dc.ComponentManagerImpl.getDeployProcessor(ComponentManagerImpl
.java:58)
... 1 more
Caused by: com.sap.engine.services.jndi.persistent.exceptions.NameNotFoundException: Object
not found in lookup of tcbldeploy_controller.
at
com.sap.engine.services.jndi.implserver.ServerContextImpl.lookup(ServerContextImpl.java:649)
at
com.sap.engine.services.jndi.implserver.ServerContextRedirectableImpl.lookup(ServerContextRe
directableImpl.java:80)
at
com.sap.engine.services.jndi.implserver.ServerContextImplp4_Skel.dispatch(ServerContextImplp
4_Skel.java:555)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200)
at
com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136
at
com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.pro
cess(ApplicationSessionMessageListener.java:33)
at
com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)First check is Java stack is running ?
make sure J2EE_ADMIN user not locked.
Ans please check password in secure area. check password in secure store should be correct.
may be you can try with restart of SAP and DB.
All the best
regards
nag -
When deploying the webdynpro java application , showing error message
Hi Masters,
when deploying the webdynpro java application , showing error message. Please reply why this problem showing and what is the solution
But Iogin to sdm tool ( remote gui .sh) with same password, which password i am using for deploy the webdynpro java application.here in sdm tool i am able to login. and i restart the sdm , and again trying to deploy the same problem it showing.
URL to deploy : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
Result
=> deployment aborted : file:/C:/DOCUME1/ppuser/LOCALS1/Temp/temp30925rupa.com~sales.ear
Aborted: development component 'sales'/'rupa.com'/'LOKAL'/'0.2010.02.13.14.32.39':Caught exception during application deployment from SAP J2EE Engine's deploy API:com.sap.engine.deploy.manager.DeployManagerException: ERROR: Cannot connect to Host: [devsap] with user name: [J2EE_ADMIN] Check your login information. Exception is: com.sap.engine.services.jndi.persistent.exceptions.NamingException: Exception while trying to get InitialContext. [Root exception is com.sap.engine.services.security.exceptions.BaseLoginException: No login module succeeded.] (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).DMEXC)
Deployment exception : The deployment of at least one item aborted
Edited by: sujana mullapudi on Feb 13, 2010 2:52 PMHi Sujana,
For deploying Web Dynpro for Java application, J2EE_admin correct password must be stored in the scured area of config tool.
Your error show that J2EE_admin information is not correct.
So, Please ask your basis team to update new J2EE_ADMIN password or you can do it in scured area of config tool.
Hope this will helps you.
Thanks
Arun Jaiswal -
How to track session in Webdynpro Java application
Hi All,
How to get the session reference of any Webdynpro Java Application . My purpose is that thr is one WD application is getting launched , now if suppose user didn't perform any action on it and session for that application got expired . After the session got expired i have to update the table with the status . So to track that i need the session reference of WD application which i m looking for .
How could i get the same . Kindly help me on this .
Thanks & Regards,
Mitul.Hi ,
HttpSession session = request.getSession(false); //get the current session, if there is no session yet, return null
if (session == null) //forward to first page
else //do normal work
Then u can update ur session right ,
Regards ,
Venkat -
Calling Webdynpro Java Application from Webdynpro ABAP Application.
Hi,
We have developed one Application using Webdynpro Java and I m in need to call the Webdynpro Java application from Webdynpro ABAP.
Require Suggestions to acheive this.
Thanks In advance.
Reg,
Ajay.Dear Ajay,
Assuming that both your applications WDA & WDJ are in the portal & you don't have to pass any parameters to the WDJ application.
Write the following code on the action where you would call the WDJ application.
DATA:
lr_compcontroller TYPE REF TO ig_componentcontroller,
l_component TYPE REF TO if_wd_component ,
lr_port_manager TYPE REF TO if_wd_portal_integration ,
wa_navigation TYPE navigation.
lr_compcontroller = wd_this->get_componentcontroller_ctr( ).
l_component = lr_compcontroller->wd_get_api( ).
lr_port_manager = l_component->get_portal_manager( ) .
* The value inserted into the navigation-target field can be found in the Portal
* content administration tab of your portal. It is the ID or PCD Location field
wa_navigation-target = pcd. " Please provide the PCD Location of the WDJ Application here.
wa_navigation-mode = '0'. "0 = INTERNAL(same page) and 1 = EXTERNAL(new page).
CALL METHOD lr_port_manager->navigate_absolute
EXPORTING
navigation_target = wa_navigation-target
navigation_mode = wa_navigation-mode.
You can get the PCD from the Page properties of the WDJ application page in the Portal.
Hope it helps!
Warm regards,
Upendra Agrawal -
How to integrate webdynpro java application in HTML pages?
hi EP GUrus
i need to re design an Webdynpro java application into web home page. there is one home page designed is wd java . now i have to redesign the page and i have make some web content like training calender new schemes and all which they manually update daily
thanks in advance
johnyhii sir
currently we have an application which is accessing through internet using url .that applicalion is wd java application which is need to redesign with dynamic contects -
Providing sorting filters for a table in webdynpro java application
ho to provide sorting , filters , for a table in webdynpro java application .
Hi Pradeep,
Please go through the following article on implementation of filtering and sorting:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f024364b-3086-2b10-b2be-c0ed7d33fe65
The article contains a link to a sample application using the TableSorter and TableFilter Class.
The same classes can be used by any other web dynpro application. Download the sample application and copy the classes. In case of a specific requirement, modify the TableSorter and TableFilter classes.
Regards,
Kartikaye -
Access ABAP table in Webdynpro Java application
Hi All
Is it possible to access ABAP table in Webdynpro Java application
Please provide your input
Thanks
Karthi D.Hi you will connect to the remote SAP system, the
backend, using an Adaptive RFC MOdel. To access database tables, you can make use of existing functions in terms of RFC function modules. For each function module you need, the system generates a corresponding Java proxy class. All the generated proxy classes and interface are bundled together in the RFC model and treated as part
of your Web Dynpro project
In WebDynpro java you RFC by using Model :
Adaptive RFC Model
1. automatically adapts to changes in function module signature
2 provides support for data types and extensibility
3.support for different structure definitions in different backend
systems (release dependent structures, custom adaptation)
Basic principles and guidelines
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/11c3b051-0401-0010-fe9a-9eabd9c216de
See this blog
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq%2b-%2bmodels%2b-%2badaptive%2brfc
http://help.sap.com/saphelp_nw04s/helpdata/en/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
Thanks,
Tulasi -
Lauching webdynpro java application
hi gurus
our scenario is like this..
when employee fills the educational assistance form (customized webdynpro java application) and clicks on the submit button , it should go for approval..while manager opens the workitem it should lauch the same WD form in display mode with approve and reject button. and when he approves ..it should update the data base & it should sends a intimation mail to the employee that his application has been approved...
MY QUESTIONS :
1) how to trigger a event from WD java application to start this workflow ...
2) how the values can be passed from WD application container to workflow container .i got some ideas by reading some forums for this i want to use SAP_WAPI_READ_CONTAINER , where i want to use this function module
3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step, how it can be achieved ?
4)what all r the other settings i want to maintain .3) it is better to use the user decision step for the approval process ? . if i am using this then i want to send the form as a attachment in user decision step, how it can be achieved ?
I would definitely prefer to open a form with "Approve" and "Reject" buttons instead of having it as an attachment in a user decision step. Especially if it is a application where a user never approves without opening the attachment. For example i may not prefer to approve a leave requisition without viewing it! In that case it will just be an overhead for the user to open the form manually everytime before approving. So make a decision on this based on the use of your application.
Moreover it is not that tough either (atleast from a workflow perspective) to launch the webdynpro from UWL. Create a custom task and create appropriate entries in transaction SWFVISU (hope you are on or above ECC 5.0) to link your task and WD application. Thats it your application should be ready and shud be launched from UWL.
But definitely in a custom application your webdynpro developers need to do a lot of work (as we did one in our previous projects) irrespective of whether it is launched directly as a task or as an attachment.
Performacewise providing "Approve" and "Reject" will just increase one RFC call from your application (to complete your workitem).
Thanks,
Prasath N -
Reusability of Adobe form created in SFP in a WebDynpro Java application
Hi Experts,
Can some one advise me how I can use the pdf form created in ABAP side (Transaction SFP) in the WebDynpro Java application?
What is the procedure to include this pdf object in the WebDynpro application development?
Regards,
ShobhitHi,
You can add customised UI elements by a right click in your library pallette/ ot by dragging the ui elelments into the pallette. Like wise you can put your layout into the library pallette and reuse them. You may refer the Adobe life cycle designer (ALCD) help for it.
the second option i meant was after designing the layout in the SFP transaction, click on the PDF preview tab in the layout. Save the PDF.
NOw on developing the Java application, open the ALCD and use tools-> import to import the PDF you have saved.
Regards,
Anto. -
Pass a table from my webdynpro JAVA application to an RFC in R/3
Hi All,
I need to Pass a table from my webdynpro JAVA application to an RFC in R/3. How can I do that?
Regards
SarathHi,
Please have a look at this thread,
Pass Table as Input to Adaptive RFC
Regards,
Saravanan K -
How to assign the Thems into Webdynpro Java Application
HI All,
I Downloaded the plugin for them editor and i add those plugins and i created the Them. Please any one can help me how to add that Them into Webdynpro java application.Hi ep bhargav,
You can check this link.....
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ccb6bcf4-0401-0010-e3bc-ec0ef03e13d1
Re: webdynpro theme editor
Thanks.
Venkat. -
How to transfer parameters to Webdynpro Java application ?
Hello guys,
I had developed a Webdynpro Java application "ZWD", it's URL is
"http://jt-pldev:50000/webdynpro/dispatcher/local/ZWD_FLIGHT/ZWD".
"ZWD" had 2 input parametere "InputField" and "InputField1" .
Accroding to SAP Online Help document, we can transfer parameter Webdynpro application .
I want to transfer parameters to application "ZWD" via URL
"http://jt-pldev:50000/webdynpro/dispatcher/local/ZWD_FLIGHT/ZWD?InputField=Frankfurt" .
But it failed.
My questions:
1. How to transfer parameter to Webdynpro Java application "ZWD" ?
2. Does it possible that transfer input parameter to Webdynpro application and run the applicaiton via specific URL ?
BR,
LouisHi Louis,
You can refer to the following Bertram's article:
[Inter-Application-Navigation in Web Dynpro|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/library/user-interface-technology/wd%20java/wdjava%20archive/inter-application-navigation%20in%20web%20dynpro.pdf]
The process of accessing the Application URL parameters is explained for Target Component.
Regards,
Alka. -
Is it possible to use the JS coding in webdynpro java application!!!
Hi Experts,
Is it possible to use the JS coding in webdynpro java application by any means?
If yes, kindly suggest the procedure or any pointers for the same.
Thanks in advance.
Regards,
AnuragHi,
I'm not an expert in this matter, but I will post here what I know:
In NW7 releases (at least 7.01.05) it is possible to run JS, also to capture any WD Event and run your own JS code after that, using IFRAME. I have jQuery running here, it would take some time till you create a "framework" to enable some easy usage. I just want to highlight that is possible, thou I think it's a lot of effort.
Not sure about CE7.1 it seems iFrame is deprecated. Still, being deprecated should not "block" the usage, thou it's not recommended since this functionality can be removed in next releases.
I've read that CE7.2 has JS support, and I think you should try having a word with Armin maybe..
Hope it helps,
Daniel
Maybe you are looking for
-
GR/IR Clearing not happening SAP
Hi Experts, I am facing a problem in GR/IR Clearing. When i run the program SAPF124, at first i got the error message entry missing in table TF123 and then i made necessary changes in OB74, but still the problem is not solved, i get the message "Only
-
Export data from a table to text file using srcipt task
Hi i am new to SSIS i have to export data from a table and append it into a existing file through SSIS script task please help Thanks Umesh
-
Pictures and texts are not displayed properly
Hello Apple users, I've the 15 inch Macbook Pro with retina display, running Mountain Lion. I have noticed that when I chat with my friends in Facebook, the texts in the chat window are not displayed properly. This also happens when flipping through
-
Cannot open e-mail in Hotmail through Firefox. I have Vista installed on the pc and Windows 7 on the laptop, but neither can access any features in Hotmail. I have tried clearing the cache and restarting Firefox, but I still can't use Hotmail. No suc
-
Um... where'd the ID3 tag option go?!?
What happened?! When did this disappear!?? ...I've read the other posts on this issue, but there's been NO SOLUTION. And, NO, it's not in the contextual menu. Seriously. This is crazy... WHERE IS IT!?