Web Dynpro message manager and popups
Hi,
I am using IF_WD_MESSAGE_MANAGER to issue error messages to screen with methods REPORT_ERROR_MESSAGE and REPORT_EXCEPTION. This works fine and the messages appear on the top of the screen. Both methods have a parameter SHOW_AS_POPUP, but setting this to TRUE does not result in a popup being shown. Does anyone have any idea whether this is supposed to work on 7.01 ?
thanks!
HI Frank,
That should work.
please go to the thread link posted by me in my first post.
there go to the last reply.
there what is required is opening the window2 first manually then calling the message manager with view = view2.
means your view will be opened by you only but the message will come only on the second view.
i know it is not a gud approach.
As we can easily get it done without using the message manger at all and just creating the window as popup.
So yeah you are right they need to modfiy this thing.
thanks
sarbjeet singh
Similar Messages
-
Upload File in Web Dynpro Java CO and store it in the context
Hi Guys!
I have developed a web dynpro CO form, and I need to be able to upload a file in an action and then be able to download that file in further actions.. I have evaluated saving the file in the backend via RFC, in KM and also creating a CAF project.. but I think there must be a simpler way : saving it in the context of GP.
Does someone knows if it is possible to do that?
best regards,
Marco.Hi Marco
In webdynpro java, there are UI elements File Upload and File Download. You can use these UI's to upload and download attachments. From NetWeaver 7.0 onwards, you have IWDResource interface which can be used to upload attachments. But in GP if you want to pass attachment to another action you must use Binary as a data source. Bind the File upload UI element to Binary. In addition, you should define input and out parameters in getDescription method.
Thanks
Ghazanfar -
Web Dynpro ABAP: Documentation and help link
Hi,
I'm in the process of creating a Web Dynpro ABAP application and was wondering whether you can maintain Documentation for the application, as you would a standard ABAP report? I see the Documentation option in the Goto menu of the workbench, but it is inactive.
Also, i notice you can maintain a 'Help Link' for the application. Does anyone have any information on this as I can't find anything on the SAP Help website.
Thanks,
NickHi Nick,
here's the link to the corresponding documentation:
http://help.sap.com/saphelp_nw04s/helpdata/en/54/bad1d244b2754bac09ae1558c15984/frameset.htm
If you choose the Change/Edit button at the right side of the input field, you can navigate to the info object to which you want to set the link in the Knowledge Warehouse.
Of course, you need an info object in the correct context in the KW for this as well as a correctly maintained RFC destination to the Knowledge Warehouse system.
Regards, Heidi -
Portal Eventing between Web DynPro Java iView and non-Web DynPro iView
Dear Experts,
I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.
Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event
String param = "test";
WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);
This the code snippet that is in the jsp page
function notifyTest(param)
// Code to print param value here
EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);
Note:
1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.
2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.
Can anyone help to solve this problem?hi
Please write the below code snippet in ur jsp for notifyTestjavascriptfunction
function notifyTest( eventObj ) {
eventParameter=eventObj.dataObject;
// code to print the parameter "eventParameter"
Thanks
Harsimran -
Web Dynpro for ABAP and Floor Plan Manager
Hi.
How can I integrate an ABAP Web Dynpro application in the Java Web Dynpro based Floor Plan Manager (FPM) framework? I'm thinking of the "General Information" page in the MSS Business Package (com.sap.pct.erp.mss.general_information), where the manager use the Employee Search iView com.sap.pct.erp.mss.generalinfo_employeesearch based on the Java Web Dynpro application sap.com/mss~eepro.GeneralInformation to select individual employees.Hi,
See this link:
Re: difference between web dynpro java and web dynpro abap
*Also please have a look to this:
*1) Web dynpro java/abap
2) http://stackoverflow.com/questions/363523/java-or-abap-web-dynpro-sap-web-development-on-netweaver
3) pros and cons for using Java Web Dynpro over ABAP Web Dynpro
I hope this solves the issue!
Thanks and Regards
Pravesh
Edited by: Pravesh Verma on Mar 26, 2009 12:21 AM -
Web Dynpro Java Internationalization and backend ABAP function modules
Friends,
I have a requirement where I want my Web Dynpro Java application to support BRAZIL and CHINESE.
I have been through the sample programs and tutorials and I understand how to support my application in these 2 languages. The challenge I am facing is how to communicate the language to the backend code (ABAP function modules) so that the function modules can written language specific error messages and texts.
I searched SDN but could not find anything. Your help is appreciated.Prashant,
When you are configuring JCo connection in WebDynpro Content Administrator, just left language settings blank for metadata connection (you may do the same for data connection). Now WD will supply language of currently logged-in user when obtaining connection settings from system landscape and you'll get necessary functionality.
By default locale of user determined by parameter sap-locale (sap-locale=de_DE for example), settings of user's browser and lastly preferences of user stored in UME.
Btw, BRAZIL (or Portugees for this matter) is not fully supported language by SAP, so R/3 side may be not translated or partly translated.
Valery Silaev
SaM Solutions
http://www.sam-solutions.net -
System Connection Tests
You can test the connectivity to the backend application represented by the current system object. Choose the relevant tests.
Note: The test is based on the properties currently defined in the system object. It does not check if the system properties are correct.
System Connection Tests
Test Name
Description
Status
SAP Web AS Connection
Tests the connection to an SAP Web Application Server
ITS Connection
Tests the connection to an SAP ITS server
Connection Test for Connectors
Tests the connection to a backend system using an associated connector
Test
Clear Results
Results
SAP Web AS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether a SAP system is defined in the system object
4. Validate the following parameters: WAS protocol; WAS host name
5. Checks if the host name of the server can be resolved.
6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. The system object represents an SAP system
4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name
5. The host name ssprdxi.stylespasapnet.com was resolved successfully.
6. The Web AS ping service was pinged successfully.
7. An HTTP/S connection to was obtained successfully.
ITS Connection
Test Details:
The test consists of the following steps:
1. Checks the validity of system ID in the system object.
2. Checks if the system can be retrieved from the PCD.
3. Check whether the system object has a valid system alias
4. Check whether a SAP system is defined in the system object
5. Validate the following parameters: ITS protocol; ITS host name
6. Checks if the host name of the server can be resolved.
7. Checks HTTP/S connectivity to the defined back-end application
Results
1. The system ID is valid
2. The system was retrieved.
3. Retrieval of the default alias was successful
4. The system object represents an SAP system
5. The following parameters are valid: ITS Protocol (http) ITS Host Name ()
6. The host name ssprdxi.stylespasapnet.com was resolved successfully.
7. An HTTP/S connection to was obtained successfully.
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
regards
AntonyHi Stefan,
This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
Regards,
Leo -
Web Dynpro ABAP, Crystal and ACF
Hi fellow developers,
I am attempting to get an Web Dynpro ABAP application working with an embedded Crystal report.
We are on ECC6, release 702. So far I am just using the stock standard application provided by SAP: WD_ACF_TEST_CRYSTAL.
Unfortunately I get the following errors:
Techincal info:CoCreateInstance error with guid: 2F848BE4-8329-4C09-8613-FC9DFF55C10F
Messagetextid:352 Messageclass info:Integrated control cannot be started
I am using a local installation of the Netweaver Business Client and I have installed Crystal Reports Viewer 2008 locally on my machine.
I have tried WD_TEST_APPL_ACFEXECUTE and after saving the certificate, it works.
I think the problem lies with the Active Controls White List in SPRO.
Thank you in advance,
Jason LanteNevermind, I found the solution.
It appears that you need to install the Crystal Reports ALV Adapter (xSAPCRVAdpt.exe) for this to work.
Refer to note: 1353044.
Jason -
Interactive problem in Web Dynpro for Java and Flex
Hi, all:
Now I'm can use the FlashIsland to embed a flash developed by flex builder 3 in a Web Dynpro View, I have made the data transfer between Web Dynpro View and the flash, also have I got events of the flash in Web Dynpro View. But now the problem is that in the flex flash, how can I get the actions such as button action from the Web Dynpro View?
Is there anybody that has the experience to deal with such a problem ? Can you give me some help ?
Thank you all !Hi
Are you sure it asked for JDK 1.9
Please let me know from where you downloaded JDK 1.9
Regards
Nikhil -
How to use Web Dynpro Java isChanged and isChangedByClient
Hello,
I have read thorugh a lot of documentation, threads, ... --> but the picture is not geting clearer fro me.
We have Web Dynpro Java Application (on Netweaver 7.0 SP12) running in Enterprise Portal. We need to tell the portal work protect mode, that we have unsaved changes (how to do this is clear).
I am struggling with figuring out, that my Web Dynpro Context has unsaved changes. I found the two change-indicators isChanged() and isChangedByClient(), which already confuses me a little bit.
Anyway, this is what I have figured out so far:
I am calling wdContext.currentContextElement().isChangedByClient() to figure out changes and when a Save operation has been completed sucessfully, I call wdContext.currentContextElement().node().getContext().resetChangedByClient(). This works for some of the changes made by the user.
I then tried calling wdContext.nodeABC().getElementAt(i).isChanged() for all nodes of my Web Dynpro Context, but this results in detecting changes before the user ha done any interaction.
Implementing an own change tracking (i.e. by adding a changed-Attribute to each context node) does not seem a viable option for me.
So these are my questions:
- Does anyone now a working pattern relying on those chnage indicators ?
- Does anyone now how to reset the isChanged indicator (or when it is resetted by the framework) ?
Any help appreciated.
Thank you,
StefanHi
Check this link
Re: How to keep isChangedbyClient flag set between roundtrips?
http://help.sap.com/javadocs/NW04/current/wd/com/sap/tc/webdynpro/progmodel/api/IWDNodeElement.html
Thanks -
How to develop Web Dynpro for Java and run it locally
I want to learn Web Dynpro for Java but still struggling with the running it locally in my PC. What software do I need to install in my own PC in order to do that? I have NWDS in place and I can write the code and compile it already. Thanks!
Hi Anthony,
You need to have SAP Web Application server (SAP WAS) to run all the webdynpro applications. WAS can be installed either on your local system or on a server which can act as a central server.
You can download WAS from SDN, which is a trial version. Check this link.
http://www.sdn.sap.com/irj/scn/nw-downloads
For checking the minimul system requirments for installing WAS please check the PAM (Product Availability Matrix).
I hope this solves you issue. Please revert back in case you need any further information on this.
Thanks and Regards
Pravesh -
Web dynpro explorer - deploy and run error
Hi
When we do "new archive and run" from web dynpro explorer we are getting the following error.
windows cannot find "http://sapdev2:50100/webdynpro/dispatcher/local/testproject/Testapp?SAPtestId=10'. Make sure you typed the name correctly, and then try again. To search for a file, click the Start button, and then click search
Kinldy help how to rectify this error.
Thanks and regards,Hi,
Each time you deploy new archive & run, a new test id is generated.
Try after deleting this test id parameter (from ? onwards) or just choose Run aaplication in NWDS.
What I get is that even the browser does not open when you run the application from NWDS, in that case you may try restarting the NWDS.
Kind Regards,
Nitin -
Web Dynpro, ESS/MSS and ERP 2004
Hi
Where may I locate information regarding developing/changing of the new Web Dynpro application for ESS/MSS Business Packages for ERP 2004?
Have anyone had a look in how to change the applications?
Regards
Kay-ArnePost your question in the "Integration with mySAP ERP 2004" forum.
Armin -
Difference between Web Dynpro 7.1 and Web Dynpro 7.0?
Hi Buddies,
I have developed an application for my dissertation using Web Dynpro in Version 7.1. I have encoutered major problems using literature for Version 7.0.
Now that I am actually writing my dissertation, I need some literature pointing on the differences between the two version to have evidence for my statements.
Is there any information pointing on this out there?
Thanks, JohannesThank you, Bud.
-
Uploading CSV File into Web Dynpro Java Table and Write back to a Database
Hi Gurus!
I would like to upload a csv file and read the content into an UI table element.
Then, I need to write the uploaded file back to a database. I'm using NetWeaver 2004s.
could you please provide advice for both, uploading and wirting to databse (e.g. maxDB or oracle), since I'm quite new in WDJ.
thanks in advance.
farid
ps. helpfull answers will be rewarded with points!Hi ,
have look at this blog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/6603. [original link is broken] [original link is broken] [original link is broken]
Have a look at this links.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929.
Re: Popup Internal Window - data type IWDWindow not available
Regards,
krishna.
Maybe you are looking for
-
Adobe 9 - Customization does not work in any way?
Hi all, i have problem with Adobe 9 Standard and the Customization Wizard. I've tried it so many times, but the only thing which will work is the entered serial number ;-) I have created a MST using the Customization Wizard 9. I have configured some
-
Mainstage says my MacBook graphics card isn't supported. Huh?
I just installed Logic Studio on my MacBook 2.2 Intel Duo OSX 10.5.5, and Mainstage won't boot. Says my graphics card isn't supported. Logic Pro works fine. Any ideas, geniuses?
-
Could I be the only Pages user in the world this is happening to?
Is it true that Pages does not recognise page breaks from imported Word documents? Has anyone actually done this? Would anyone try it for me? Just create a Word document with some page breaks in in and import it into Pages. Hello? Hello? Sob...
-
Can't download iTunes, error message "Key not valild for use in specified state"
I can't download iTunes, keep getting error message "Key not valid for use in specified state" I uninstalled and tried reinstalling but same issue.
-
How can I change my phone number for iMessages and FaceTime?
When I am using my iPad for iMessages and FaceTime, it displays a different cell number than my own. How can I change this number to my cell phone? When I log using my Apple ID, it shows the other number and will not let you change it. Is there a