Logical Destinations in Web Dynpro Java
Hi!
Is it possible to access logical HTTP destinations maintained in SAP NetWeaver Administrator via Configuration Management -> Security ->Destinations in Web Dynpro Java source-code.
I would like to use such a destination to configure an URL target for a IWDFrame UI element.
Thank you very much in advance!
Regards,
Thomas
I found out that there is a [Destination Service API|http://help.sap.com/saphelp_nwce711/helpdata/en/8b/8e7dac1e661d44bf2a676fd3948cc6/content.htm] for this purpose. Unfortunatly I am still not able to provide the required components security.class and tc/sec/destinations/interface to the web dynpro component. Maintaining them via Project Properties -> Web Dynpro is not allowed any more, and I couldn't find them in the DC perspective to add them as DC dependency.
Has anybody got an idea where these two libraries have gone?
Regards,
Thomas
PS: The 7.0 procedure, which can be found in various posts, doesn't seem to work any more for CE 711.
Similar Messages
-
Consuming External Web Services in Web Dynpro Java
Hi All,
I an trying to consume external web service in Web dynpro java using Adaptive Web Service Model.
But getting below mentioned error while executing the web service
Exception on execution of web service with WSDL URL 'D:\Web Service Project\CurrencyConvertor.asmx.xml' with operation 'ConversionRate' in interface 'CurrencyConvertorSoap'
Steps i followed are as below:
1. Created Adaptive Web Service Model for this i select WSDL source as "Local File System or URL"
In next step i select No logical destination radio button and click on next
In next step, browse the WSDL file and successfully import the WSDL file.
2. After successfully importing the WSDL file i wrote below code in Init method:
WebModel modelweb = new WebModel();
Request_ConversionRate reqConversion = new Request_ConversionRate(modelweb);
ConversionRate conversion= new ConversionRate(modelweb);
reqConversion.setConversionRate(conversion);
wdContext.nodeRequest_ConversionRate().bind(reqConversion);
3.After that execute the model - code is given below :
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try
wdContext.currentRequest_ConversionRateElement().modelObject().execute();
wdContext.nodeResponse().invalidate();
wdContext.nodeConversionRateResponse().invalidate();
catch(Exception e)
manager.reportException(e.getMessage(), false);
Please let me know how to resolve this.
Thanks
SandyHi,
You need to use destinations for metadata and modeldata.
Configure those destination in Visula admin.
you can refer to following link.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2bc0932-0d01-0010-6d8e-cff1b2f22bc7
Regards,
Shruti. -
Problem in connecting JCO destination in web dynpro
HI all,
I was installed sneak preview of Net weaver 6.4,
I want to do some web dynpro (java) programs which connect to back end systems.(R/3 system).
The R/3 system which I want to connect is at remote place, i have connectivity to that R/3 system using VPN connectivity. With this I am not having any problem. Since I am able to connect using User name and password, and able to do some transactions like RZ70, etc.
I developed an application which calls COMPANY_CODE_GET_LIST (BAPI function).
for the above requirement what I did was
(1)I created SLD setting.
(a)Web as Java (I am not having any problem to
Create this.
(b) Web as ABAP.
When i am trying to create
This, there are some steps like i need to go to SAP log in and I need to run the transaction RZ70. For this i need to create an enter in visual administrator>JCO RFC Provider>runtime-->Bundles i need to create an entry for RFC destination as well as Repository.
under RFC destination there are some fields which i need to enter those are (a)Program ID as mySLD (b) Gateway Host as 10.10.10.125 (c)Gateway service as sapgw00 (d)Number of processes as 1
Under Repository (a) Application server host 10.10.10.125 (b)system number as 00 (c)Client number as 100 (d)Language as en (e)user as ABCD (f)password as 1234
I haven't choused the check boxes Local bundle and Unicode and pressed the set button. So like this i created the RFC destinations. under the properties tab there is a property called RFC_DEFAULT_DESTINATION by default it was false so i made it as true. .
I also went to SLD Data Supplier,under Runtime tab , HTTP Settings , I mentioned
(a)Host: pava-vis75
(b) Port: 50000
(c) user: administrator
(d) password: abcd1234
RFC Settings, I mentioned as
(a)Gateway Host: 10.10.10.125 (which is SAP R/3 system)
(b)Gateway Service/Host: sapgw00
CIM Client Generation settings, as
(a)Host: pava-vis75
(b)Port (http/https):50000
(c) user: administrator
(d) Password : abcd1234
I tested the CIMClient Test by click the the button. I got the successful message.
Then I came back to HTTP settings and clicked the button with tilted arrow mark [This triggers data transfer to system landscape directory], for this also I got a successfully message.[data transferred successfully]
Next I been to SAPLOGON and went to RFC Destinations by using sm59 transaction. There under TCP/IP connections i been to SLD_NUC , opened this by double clicking that and under Technical settings for Program ID I had given the ID which I created at visual administrator [JCO RFC Provider] which is mySLD , under gateway options for Gateway Host as 10.10.10.125and Gateway service as sapgw00 then i tested the connection, it was also successfully.
Then I opened the SLDAPICUST and i created a new entry for maintaining the SLD Access Data by giving some couple of entries as
(a)Alias: vissldtest
(b)Host Name: pava-vis75
(c)Port: 50000
(d) user: administrator
(e) password: abcd1234
Then saved it.
Next I created sapmsUV0 3600/tcp entry at
WINDOWS\system32\drivers\etc\services file, and also there are some required entries which are already existing those are sapgw00 3300/tcp to sapgw99 3399/tcp , another entry starts from sapdp00s 4700/tcp to sapdp99s 4799/tcp , next entry starts from sapgw00s 4800/tcp to sapgw99s 4899/tcp and sapmsJ2E 3601/tcp .
I restarted the system, as well as server.
Now my problem is when I was trying to create JCO destination at web dynpro content administrator. For that I navigated as create JCO Destination Deployed Contentlocal-local/CompanyCodeGetList-Applications CompanyCodeGetList
I Choosed the JCO Connections tab- there are 2 entries those are
(1) COMPANY_CODE_MODEL
(2) COMPANY_CODE_RFC_METADATA
So I started creating connection for COMPANY_CODE_RFC_METADATA.
First one is
General data Name : COMPANY_CODE_RFC_METADATA
Client : 100
I didnt changed any default JCo pool configuration.
J2EE Cluster
There is a check box called Use Local J2EE engine J2E on pava-vis75 so I choosed that.
Connection Type
Dictionary Meta Data and application Data
I choosed the first one.
Then
Msg. Server Connection
Security
After these, I tried to test the connection by clicking the Test Connection.
It is saying the error as
First time
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=v011 GROUP=DEFAULT R3NAME=UV0 MSSERV=sapmsUV0 PCS=1 ERROR service 'sapmsUVO' unknown TIME Fri Jul 01 07:20:41 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1
second time
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=v011 GROUP=DEFAULT R3NAME=UV0 MSSERV=sapmsUV0 PCS=1 ERROR service '?' unknown TIME Fri Jul 01 07:20:41 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -3 COUNTER 1
Can any body please help me to solve this problem.
From past 1 week on wards I have been trying to resolve this. But in vain.It does not necessarily mean that you have to change that parameter. I read that blog as I had a similar problem, and after reading it and understanding the reasons and possible causes for the error, I found that my particular problem was that I was using "PUBLIC" as the logon group in my JCO destinations, but such a group does NOT exist at my backend. I went to transaction SMLG, had a look at Logon Groups, noted that there were none other than SPACE, figured out that I had to include that information in SLD (Web AS ABAP tech. system --> Message Server --> Logon Groups), put it there. Voilá. It works.
Edit: That SPACE logon group is the one I had to use at JCO destinations. Sorry I forgot to mention that one...
Regards,
Eduardo.
Message was edited by: Jesus Cil -
Synchronization in Web Dynpro JAVA
Hi All,
I have a Web Dynpro JAVA application, for which an iView has been created and is assigned to a role. Now I have the below requirement,
If two users tries to access this application at the same time then the second user has to get a message stating that "A user is already accessing this application please try later". Basically the thread concept. Is it possible to achieve this in Web Dynpro JAVA. If yes please provide me some pointers on how to achieve this.
Thanks & Regards,
VishweshwaraHi Vishweshwara,
Create the Custum table with UserID fields.
Create the RFC with UserID fields as input parameters and result field as export parameter.
Write the logic in RFC if Custum table contains any value in UserID Field then return error message like " This application is already using by <UserID>"
else
stor the values UserID and LoginStatus(which you are sending from Webdynpr java app) in custom table and return success message.
Create webdynpro java component and create two iview called main and info view
import the RFC in webdynpro java app and do the binding from model to component controller and component controller to view controller of main.
Write the following code in wdDoInit() method of main view to get the login userid and sending that to RFC.
String userID = null;
IWDClientUser clientUser = WDClientUser.getCurrentUser();
IUser User = clientUser.getSAPUser();
if (User != null)
try
IUserAccount[] acct = User.getUserAccounts();
if(acct[0] != null)
userID = acct[0].getLogonUid();
wdContext.current<RFCNodeName>Element().setUserID(userID);
catch(UMException e)
//Raise some error msg according to your scenario.
//code for calling the RFC
wdThis.wdGet<ComponentControllerName>().execute();
String msg = wdContext.current<OutputNodeName>Element().getResult();
if(msg != null && msg.lenght() !=0)
if(msg.equalsIgnoreCase("This application is already using by <UserID>")
wdThis.wdFirPlug<PlugName>();// code for naivigate from main view to info view
the navigation between main view to info view needs to defined in navigation moduler area.
if you foolow the above specified way u can achive your requerment.
Revert back if you any quaries.
Thanks & Regards,
bhargava. -
Web Service Consumption in Web Dynpro Java
Hi,
I'm using NetWeaver 2004s for Java. I have generated a Web Service out of a BAPI. I use that Web Service in a Web Dynpro Java Application as Model. Model generation works fine. But when I call the Web Service during execution of the corresponding Web Dynpro Application, I get the following Exception:
"java.rmi.RemoteException: Service call exception; nested exception is: java.lang.Exception: Call to returned http code 500 with unacceptable content type (text/html; charset=iso-8859-1). <HTML> <HEAD> <TITLE>Unknown Host</TITLE> </HEAD> <BODY BGCOLOR="white" FGCOLOR="black"> <H1>Unknown Host</H1> <HR> <FONT FACE="Helvetica,Arial"><B> Description: Unable to locate the server named "<EM>us0308.wdf.sap.corp</EM>" --- the server does not have a DNS entry. Perhaps there is a misspelling in the server name, or the server no longer exists. Double-check the name and try again. </B></FONT> <HR> </BODY>"
Testing the Web Service via transaction WSADMIN works fine. Can anybody give me an advise how to solve that problem?
Thanks in advance!
Regards,
FrankHad Exactly same problem with authorization issues on the server hosting the webservices.
Create a CPIC user Id on the server hosting the webservice. The user id should have authorization to execute the webservice.
Create a webservice destination in VA for the said webservice using the user id
1. Log on to the J2EE Engine as an administrator using the Visual Administrator.
2. Expand -> Server ->Services.
3. Select the Destinations service.
4. Under Destinations, select HTTP and choose New
You need to create two destinations one for matadata and another for execution data.
Use the destinations while creating the WS model in NWDS.
if you have issues importing the model using the URL, you can create the model using the WSDL and use the WS Destinations to execute it.
I am following the same approach after i had faced similar issues with webservices on PI7.1 and Portal 7.0
About the option to use _setusername, _set...., not all webservices come with the _set methods.
and moreover if you do that, it would be more of hardcoding in the code, which should be avoided.
Regards,
Nitin
Edited by: Nitin Mahajan on Jun 11, 2009 6:11 PM -
Web Dynpro JAVA VS. Web Dynpro ABAP
Hi,
I'm interested in advantages and disadvantages of WD JAVA & WD ABAP. Could anybody give me some "detailed" information about it?
We need any information you can give us.
regards,
SharamHi,
<b>Web Dynpro for ABAP:</b>
Web Dynpro for ABAP or Web Dynpro for ABAP (WD4A, WDA) is the SAP standard UI technology for developing Web applications in the ABAP environment. It consists of a runtime environment and a graphical development environment with special Web Dynpro tools that are integrated in the ABAP Workbench (SE80).
The use of declarative and graphical tools significantly reduces the implementation effort
1) Web Dynpro supports a structured design process
2) Strict separation between layout and business data
3) Reuse and better maintainability by using components
4) Automatic operation of the Web Dynpro application using the keyboard
5) User interface accessibility is supported
6) Full integration in the reliable ABAP development environment
for more see:
http://help.sap.com/saphelp_nw2004s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
<b>Web Dynpro for Java:</b>
Web Dynpro is a client-independent programming model of the SAP NetWeaver technology platform for developing user interfaces for professional business applications. It is based on the model view controller paradim which ensures that the business logic is separated from the presentation logic. This architecture is visible in the Web Dynpro perspective of the SAP NetWeaver Developer Studio (NWDS).
Web Dynpro helps you with the development of Web applications by:
1) Ensuring platform-independence with the meta model approach
2) Minimizing the implementation effort through declarative programming
3) Supporting a structured design process by applying the model view controller paradigm
4) Providing reuse and better maintainability by using components
5) Providing graphical support with tools in the Web Dynpro perspective
6) Providing the SAP NetWeaver Java Development Infrastructure (NWDI) which supports team work with different services such as source code versioning and the Central Build Service.
for more see:
http://help.sap.com/saphelp_nw2004s/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/content.htm
<i>The concept of Web Dynpro ABAP is identical with Web Dynpro Java and offers more or less the same functions</i>
hope it helps
regards -
Kill the RFC connection as soon as the call is completed in Web Dynpro JAVA
Hi Experts,
Please guide us how to kill the RFC Connection from web dynpro java as soon as the execution is completed.The FM connection (Adaptive RFC) isnt getting closed in IS-U side. Please guide us how to close them explicitly.
We are getting the following error
(102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300)hi suvankar ,
wdContext.current<Modelname>_InputElement().modelObject().modelInstance().disconnectIfAlive();
use this option after executing your rfc, it will remove the connection to the r/3.
adn this
(102) RFC_ERROR_COMMUNICATION max number of cpic clients exceeded (300) -- is occuring because the pool size defined the jco destination is not sufficient, ask your basis team to increase the pool size.
Regards
Govardan -
UWL : Web Dynpro (Java) View
Hi All,
I'm new in development/configuration of UWL. Some requirements I already could realize. But now I'm I need to implement a totally new inputfield to the task creation and some business logic behind some actions e.g. an already filled out assignment to a portal group if a task type is selected.
The only way I see is to re-create and customize the development components from the server node. Please, could you give me some hints to solve this issue in an easier way?
Thank you !!!!!
LasloHello Saar,
Thanks for reply.
I have already referred & seen these links and they doesn't suit to my problem.
Below link from your suggestion talks about custom UWL Connectors, which is not the case with me. I have a SAP Standard AlertConnector.
And code extract I mentioned in my question is already working fine and able to retrieve workitems from other connectors, except this AlertConnector and that's the problem.
http://help.sap.com/javadocs/nwce/ce71/uw/uwl%20custom%20connector%20api.pdf
Also, I couldn't get clear idea from javadocs about how to read workitems from "AlertConnector".
Issue:
I have created a Web Dynpro Java DC that renders custom view for Portal UWL.
I am using UWL API to read workitems from various connectors. This is working fine so far.
Now I created a AlertConnector and alerts are appearing in SAP standard UWL view under "Alerts" tab, but they don't appear in my custom UWL application.
Is there any special way to read "alerts" from UWL API?
Following is code extract that I use currently: -
UWLView uwlView = uwlService.getViewManager(uwlContext).getView("DefaultView", uwlContext);
IUWLItemManager itemManager = uwlService.getItemManager(uwlContext);
QueryResult queryResult = itemManager.getItemsForView(uwlContext, uwlView, null, mycompoundExpression);
ItemCollection results = queryResult.getItems(); -
Can Web dynpro Java application run as background application
Hi Experts,
Is it possible to execute the Web dynpro java application in background without opening the application in a web browser.
We just want the WD java application deployed on the SAP Web AS server to be invoked and get executed as a background application by some external web application. It should not get open at any point of time in a web browser.
Can anyone suggest if it is possible?
Thanks & Regards,
AnuragHi Anurag,
Since Web Dynpro is "SAPu2019s standard UI technology based on MVC for developing user interfaces" (see http://www.sdn.sap.com/irj/sdn/nw-wdjava) it is by design not possible to run 'in the background'.
There are other possibilities to develop server processes per your requirements, such as developing web services or servlet development.
Web services are the de facto standard for executing business logic on a remote server. However, as I understand your external web application is not capable of sending web service requests, have you tried the servlet approach?
See http://help.sap.com/saphelp_nwce711core/helpdata/en/3f/f8bc3d8af79633e10000000a11405a/frameset.htm for more info on how to develop a servlet using NWDS.
Take particular attention to the sub-topic 'Servicing Client Requests' of the above guide
Hope this helps!
Best regards,
Robin van het Hof -
hi I am new to Web Dynpro java, From where should i have to start
where can i find examples and documnets on web dynpro java.
regards
beardenrickHi,
Web Dynpro is the SAP programming model for user interfaces (UIs).
It provides a programming framework within which you can achieve a:
u2022 Clear separation of business logic and display logic
u2022 An application specification that is both:
Client neutral and
Backend neutral
It consists of a runtime environment and a graphical development environment with special Web-Dynpro tools that are integrated in the SAP NetWeaver Developer Studio
The Web Dynpro technology provides a development and runtime environment for Web applications and enhances classical Web development to build easily adaptable user interfaces. SAP's Web Dyn-pro technology closes significant gaps between typical Web development tools and the needs of cost-effective, responsive, easy-to-use, maintainable, and professional browser-based user interfaces for business solutions. Web Dynpro uses design principles similar to SAP's Dynpro technology, but it is a completely new technology geared exclusively towards Web applications. Its main features include the following:
u2022 Usability
u2022 Abstract modelling
u2022 Personalization and customization
u2022 Separation of presentation layers and business logic
u2022 Generic services
u2022 Portability
Web Dynpro applications run in the SAP Enterprise Portal.
See https://www.sdn.sap.com/irj/sdn/nw-ui for more information.
please refer this beloe link for web dynpro java.
Introduction to Web Dynpro Java?
Basics of WebDynpro ( What is WDPro? )
https://www.sdn.sap.com/irj/sdn/?rid=/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143
Sample Applications and Tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d#32
More Links On Web Dunpro
The following links will give you introduction to Web Dynpro,Getting Started with Web Dynpro & WebDynpro Benefits
/thread/358673 [original link is broken]
/thread/353819 [original link is broken]
Tutorials and PDFs
Also see:
WEB DYNPRO?
what is webdynpro?
What is Webdynpro?
What is Web Dynpro?
Webdynpro Sample Applications and Tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/49f2ea90-0201-0010-ce8e-de18b94aee2d
SAP WebAs Samples And tutorials
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7d646a6c-0501-0010-b480-bf47b8673143
Basic Webdynpro tutorials....
http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/e9/1fc0bdb1cdd34f9a11d5321eba5ebc/frameset.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/3a/d08342a7d30d53e10000000a155106/frameset.htm
http://searchsap.techtarget.com/searchSAP/downloads/SAPPRESS.pdf
Go through the following documents for step by step procedure for developing an application in wdjava.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a361a890-0201-0010-c0bc-8f16de527cde
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/efe7a790-0201-0010-7894-cfd79d02bb7e
the following document will give you some idea of webdynpro concepts
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a815cf90-0201-0010-8481-da495d68294c
The following document gives some introduction in nwds
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f637ae90-0201-0010-ccab-81f3ec35f85e
the following document will give you some idea of WAS concepts
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1515a37-0301-0010-b2bb-99780cb4cafa
Check the following thread u can get lot of materials,
WeB Dynpro Documents
All Web Dynpro Articles
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/7082f9fc-070d-2a10-88a2-a82b12cea93c?startindex=221
Refer these linkshttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web%20dynpro%20tutorial%20and%20sample%20applications.faq
Why WebDynpro ?
Why WebDynpro ?
Why webdynpro and not BSP or JSP?
What kind of applications are being developed with Web Dynpro?
http://www.sappro.com/downloads/OptionComparison.pdf
Developing Java Applications using Web Dynpro Configuration Scenario
http://www50.sap.com/businessmaps/8F5B533C4CD24A59B11DE1E9BDD13CF1.htm
Integrating Web Dynpro and SAP NetWeaver Portal Part 1: Creating Web Dynpro-Based Portal Content
http://www.octavia.de/fileadmin/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Tutorial_1.pdf
The Structural Concepts of Web Dynpro Components
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a048387a-0901-0010-13ac-87f9eb649381
Web Dynpro:Context Mapping & Model Binding
http://wendtstud1.hpi.uni-potsdam.de/sysmod-seminar/SS2005/presentations/14-Web_Dynpro_dataflow.pdf
Web Dynpro:Getting Involved
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c193252d-0701-0010-f5ae-f10e09a6c87f
Refer the following links also
1.Tutorials & Samples for Web Dynpro Java
2.https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60e5add3-8349-2a10-9594-bcb7d1b4bd2d
3.http://help.sap.com/saphelp_nw04/helpdata/en/80/c12041aa7df323e10000000a155106/frameset.htm
4.https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d599690-0201-0010-12bb-b9ea3ea32d22
5.http://help.sap.com/saphelp_nw70/helpdata/EN/dd/0e2a41b108f523e10000000a155106/frameset.htm
6.What is Web Dynpro? What is the use?
7.Everything you wanted to know about Web Dynpro but were afraid to ask, including...
Elearning Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/ui-elearning
Articles On Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/webcontent/uuid/4005b711-9f9b-2a10-ebae-a1c7ab7ed39d
Blogs On Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/43
Wiki's On Webdynpro For Java
https://www.sdn.sap.com/irj/sdn/wiki?path=/x/iau
Documentation On Webdynpro
https://www.sdn.sap.com/irj/sdn/nw-wdjava
The following links will give you introduction to Web Dynpro:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/28113de9-0601-0010-71a3-c87806865f26?rid=/webcontent/uuid/8921447c-0501-0010-07b4-83bd39ffc7be
WebDynpro Benefits
The following link will give you basics of how to build applications in Web Dynpro:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/efe7a790-0201-0010-7894-cfd79d02bb7e
Following link is the comprehensive link for numerous tutorials on Web Dynpro from SDN itself:
Tutorials & Samples for Web Dynpro Java
Following are some threads where you can get links to practice examples on Web Dynpro:
/thread/358673 [original link is broken]
/thread/353819 [original link is broken]
Tutorials and PDFs
Also see:
WEB DYNPRO?
what is webdynpro?
Regards,
H.V.Swathi -
Date Column not getting sorted in a table in web Dynpro Java
Hi All,
I am facing an issue while sorting the date column in a table in my web dynpro java application.
When the date is displayed in the sql format in tha table, I am able to sort the date column successfully but when we convert the date field from sql format to util format in our table and then sort it does not work.
Kindly let us know the steps to be followed in this case to sort the date column of a table in Simple Date format as we do not want date in the sql format to be displayed.
Thanks & Regards,
AnuragHi,
You might want to check whether both your browser's language settings are identical. The browser language could also determine the date format.
As a workaround, you could add an extra attribute to your context, and set the calculated property to 'true'.
In your table, add a new column and bind to this new attribute, and hide your original date column
If you sort using the date column that's hidden now, you could use the calculated field to fixed-format your date the way you prefer (by using the SimpleDateFormatter class for instance)
Cheers,
Robin -
How to create a user in UME Database using web dynpro java custom application
Hi,
Can you please suggest me how to create a user in UME Database using web dynpro java custom application.
My Requirement is user can register his/her user id in SAP Portal 7.3 UME database.
Please suggest me.
Thanks and Regards,
AmitHi Amit,
Generated Documentation (Untitled)
This is what you're looking for, there's no real cook-book -- though Amey mentioned there might be some material on SDN, perhaps some tutorials.
You should be looking into com.sap.security.api.IUserFactory, methods newUser(String) which gives you and IUserMaint and commitUser(IUserMaint, IUserAccount) -- IUserAccount can be obtained using com.sap.security.api.IUserAccountFactory, method newUserAccount(String)
Hope it helps,
D. -
How to configure SSO for web dynpro ABAP (not web dynpro Java)
Hi Experts,
I am testing SSO in IDES for web dynpro ABAP (Not for web dynpro Java / not for portal). When I am entering url of web dynpro application in web browser like internet explorer, then it should ask for user id and password first time, after login whenever user would access that url, it must not ask for user ID and password (url would be access web browser in mobile). For this I select to configure single sign-on for web dynpro ABAP. I have done below works:
1). I have created a web dynpro application having url: http://susws076.sap.swk:<port>/sap/bc/webdynpro/sap/zadb_hello_world2
2). I run TCode SICF and access service node to "Zadb_hello_world2". Double click on it, hit change. pressed "logon data" tab, select "Alternative logon
procedure"
Then deleted all logon procedure other than "SSO Authentication" and saved.
3). Go to "STRUST" and create certificate, choosed "Environment==> Logon Ticket" fill the required parameters and execute. It is OK (no red traffic
signal).
4). Execute TCode "RZ10" to change profile parameter, insert new parameter (indicated by red arrow)
After all this settings I opened a browser enter above URL and hit enter but there is an error
There is no login page. It directly showed this error page. No cookies is saving.
Can anyone tell me what all the settings/configuration other than this I have to do. And is there any wrong setting done by me?
How to set the for single sign-on?
Thanks in Advance
Regards
PiyushHi Piyush,
Pls refer below links,
Single Sign On with ABAP WebDynpro
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/5e/6c85c3edf942f39349a1e337434d29/content.htm
Regards
K.N -
How to set a variable in portal session using web dynpro java.
Hi,
I have created a web dynpro application, which is running inside portal. I have created a role called "R1". Inside role R1, i have created 3 workset W1, W2 and W3. and inside each workset i have some pages and iviews.
My requirement is when user logins to the portal , and when he clicks on role R1 for the first time, a login page should come (so that we can do revalidation), and when he enters his password again in that login page , then only workset W1, W2 and W3 should be visible/accessible to him and after successful revalidation, if he clicks again on role R1, in that particular portal session, than that login page should not come.
for this, i thought i will set a variable in portal session, whenever user successfully revalidated himself, and if after successful revalidation he clicks again on role R1, i will check in doinit method of webdynpro whether variable is set or not (which i already set on successful revalidation), and if it is set then i will do Donavigation else i will present login page to the user.
Can anyone tells me how to set a variable in portal session using web dynpro java.
thanks
ArushHi,
Try this:
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE, key, value)
WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE, key)
Ex:
WDScopeUtil.put(WDScopeType.CLIENTSESSION_SCOPE,"Key1","Value1");
String value1=WDScopeUtil.get(WDScopeType.CLIENTSESSION_SCOPE,"Key1").toString();
/people/william.cui/blog/2007/02/12/sharing-session-context-between-parent-and-external-windows-running-on-same-host
Regards,
Charan -
Web Dynpro Java - Light Portal Desktop
Hi Guys... I have a web dynpro java application that I want to display on a Light Portal Desktop, but when I display the iview... it gets cut. I mean I can see only part of my application and there is also a right scroll bar... It looks like the height size of the iview is set to "FIXED" but it's not. I Actually modifed all values for size even on the Light Framework Page used...to FULL_SCREEN. I don't know what's wrong. If I display the same iview using a Default Framework Page it looks fine... I'm using SAP EP 7.00 SP 16.
Is there any restriction for using Web Dynpro iviews for Light Porta Desktops?
Thank you.
DavidDavid,
Webdynpro content is considered heavy and I dont think we can use it in LPD.
Update:
Note 916545 - Central Note for External-Facing Portal (NW 7.0)
Check under application.
Regards,
Sandeep Tudumu
Edited by: Sandeep Tudumu on Sep 17, 2008 8:56 PM
Maybe you are looking for
-
My ipod touch isn't turning the screen off or letting me get off an app
I was recently on my settings trying to delete things to create more space, and all of the sudden I try to get back home (using the home button) and it won't go anywhere. Then I tried resetting it pressing the home and power button and that didn't wo
-
Itunes is taking up too much hard drive space on pc? what do I do?
I love the 20 gb ipod i recently got but it now with just 120 songs seems to have taken up too much space on pc hard-drive (ibm) If i allow it to compress to library what will happen to those songs when i re sync? Guess Im afraid theyll disappear fro
-
Acrobat Pro XI created pdfs won't send in Outlook. Other pdf makers work. Help!
When I create a pdf in Acrobat XI Pro and attach it to an email (Outlook 365), the email will not send. It will sit in the outbox forever generating an error in sending. When I create a pdf with another program (e.g. pdf Complete), it attaches and
-
[T410] Problem with sound system
When I press the Mute button on the keyboard (near Esc button), the light on the button is on and the sound is muted correctly. However, when I press it again to allow the sound, it does not. The light on the button if off, but the sound is still mut
-
i'm travelling to the Philippines to bring my mac book pro, do i need an adapter for the 220 v outlet?