TechEd recording for New Features in Web Dynpro ABAP session
This week's SAP TechEd lecture of the week is New Features in Web Dynpro ABAP - hence this posting in the WDA forum. It covers heavily the new features that came in NetWeaver 7.01 as well as giving a bit of a preview of some of the new features in 7.02. This session was recorded in 2009 at TechEd Phoenix.
http://www.sdn.sap.com/irj/scn/index?rid=/media/uuid/80726482-3d07-2d10-009c-c5a4db525ff0
These TechEd Lectures of the week only last for free for one week and then you need a subscription to the Virtual TechEd to be able to view them. So this session will only be available until June 17th.
you can use link to action in table.So that when you click link you can see the message in window or where ever you want.
check this link how to insert link to action in ALV Table.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproABAP-UsingUIelementsinALVcomponentcells
thanks
Suman
Similar Messages
-
Excel download feature in Web Dynpro Abap using OAOR document
Hi Friends,
I am facing an issue in implementing excel download feature in Web Dynpro.
Problem: I have stored an excel document in OAOR. I am displaying data on screen using ALV display in WDA.
I will provide a button to download excel in toolbar of ALV. When user clicks on this button i need to pick the document from OAOR and fill that with my screen values and download it to users desktop.
Please help me in this. Problem is when i am calling these classes c_oi_container_control_creator=>get_container_control and cl_gui_custom_container from my View's method they are returning error.
Thanks & Regards,
SaudHI,
You cannot use GUI classes and methods in web dynpro . That will dump.
Instead you can use file down load UI element or..
If you have the content in xstring format use ATTACH_FILE_TO_RESPONSE method of CL_WD_RUNTIME_SERVICES class.
Regards,
Madhu -
Disable Technical Information for UI Element in WEB DYNPRO ABAP
Hi expert,
I want to disable Technical Information for UI Element in my web-dynpro application i am alredy disable in user setting by parameters WDDISABLEUSERPERSONALIZATION by i want to disbale other two options 1 Display quick help.
2 More field help.
KINDLY GIVE ME SUTIABLE SOULATION.
REGARD'S
VikashHi Vikash,
Check this thread, may be you'll get some clues from here.
[How to restrict right click to show user setting in WebDynpro ALV?;.
Regards
Manas Dua -
Data validation for Date Field in Web Dynpro ABAP
Hi ,
In my WDA i want to perform data validation for date filed. (i.e. While creating a new record i have to check the Start Date should be always lesser than End Date.)
If u ll enter the wrong date it should validate the Date and throw an error message.
Please Reply soon its urgent.
Thanks,
DeepikaHi,
First read the two attributes start date and end date.
Then write the following condition.
IF item_start_date > item_end_date.
Error message.
Endif.
For pop up error message you need to use Create_window method of the Interface if_wd_window.
Thanks. -
Using alv features in web dynpro abap
Hi Gurus,
I am new at WDA. I have an wda program which shows query results as ALV. This results give me some information about user messages but normally i can't display all of the message text because it is too long.
Now i want to give "hotspot" property to a cell(message text) and thus when i click it, i will see all of the message.
How can i enable these and another functions of ALV?
Thanksyou can use link to action in table.So that when you click link you can see the message in window or where ever you want.
check this link how to insert link to action in ALV Table.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproABAP-UsingUIelementsinALVcomponentcells
thanks
Suman -
EREC: theme for Web Dynpro ABAP pages (external candidate)
Hello,
I have created a custom theme in the SAP Netweaver Portal for my customer and now I have the requirement to use the same theme for my stand-alone Web Dynpro ABAP applications (pages for the external candidate). Is it possible to use the same stylesheet as in the portal, without having to recreate a theme?
I tried several options, but none of them did work:
A. Downloading the portal theme as a ZIP file and then uploading it in ERP using the report BSP_UPDATE_MIMEREPOS (after unzipping) to a location /SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME. After that, I call my application with the additional URL parameter sap-wd-themeroot=/SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME but it does not work (the app is displayed with the default sap_tradeshow stylesheet)
B. I also tried calling my app using the URL parameter sap-cssurl=/SAP/PUBLIC/BC/UR/nw5/themes/CUSTOM_THEME but here again, it does not work (the app is displayed with the default sap_tradeshow stylesheet)
C. Downloading the portal theme as a ZIP file and then uploading it (zipped) using the report WD_THEMES, but here I receive the error "no themes found in the ZIP file". I have the same error if I upload only the ur.zip I receive from the portal (instead of uploading the whole *.zip file)
I checked the UR versions both in portal & ERP, and we had a lower version in the portal than in the ERP, so we upgraded the portal version according to SAP note 1446099. Now we have a higher version in the portal than in the ERP. We regenrated the portal theme and downloaded it again, but with the same result.
Does anyone have an idea what could be the solution to our problem?
Thanks in advance!I would recommend to try another way. If it is possible to access any SAP Portal from outside you can use two URL Parameters to integrate the Portal style sheets in a standalone WDA application. The parameter sap-cssurl contains the absolute URL address to the style sheet and parameter sap-cssversion the current SAP Portal style sheet version. For all external facing scenarios it is important to use the whitelist mechanism to block unknown URLs.
Example
?sap-cssurl=http://myportal.myserver.com:50000/irj/portalapps/com.sap.portal.design.urdesigndata/themes/portal/mytheme/ur/ur_ie6.css
&sap-cssversion=7.11.5.20.0
I canu2019t recommend to raise manually the version number. You will not get an consistent system this way. The meta data (project.zip) are outdated and of course you will get an outdated theme. -
ADOBE INTERACTIVE FORMS in Web dynpro ABAP
Hi
Iam new to this Web dynpro ABAP.I can able to import the pdf file in the Web dynpro ABAP.While i was taking the values in the "Data View"....Iam getting
"Adobe live cycle designer" has encountered a problem.we are sorry for the inconvinience..."
Please help me where i went wrong.
Regards
SushmaHi,
i am getting warnings in the pdf.
"Field f1 may not work properly.Using Normal Data Binding when the default data connection is defined and produces undefined data results.
can you give more details...so that i shall try to help you.
any how one more advise we have sepate forums for adobe forms try in this too.
[Web Dynpro ABAP;
Regards,
Mahesh.Gattu -
How to do the feild validations in web dynpro abap
dear all,
how to do the feild validations for the screen in web dynpro abap.
thanks,
jyothi.hi jyothi,
There are diffrent ways of doing validations for fields of screen in webdynpro abap depending on the requirements.
I am giving simplest way of doing this validation(it may fullfil your requirement also)
For e.g you want that without entering value in particular field user should not proceed to submit the data in screen.
DATA lo_message_manager TYPE REF TO if_wd_message_manager.
DATA lo_api_controller TYPE REF TO if_wd_controller.
lo_api_controller ?= wd_this->wd_get_api( ).
lo_message_manager = lo_api_controller->get_message_manager( ).
DATA var1 type string.
DATA: node TYPE REF TO if_wd_context_node.
node = wd_context->get_child_node( 'DATA' ).
node->get_attribute( EXPORTING name = ' VALUE'
IMPORTING value = var1 ).
IF var1 IS INITIAL.
CALL METHOD lo_message_manager->report_error_message
EXPORTING
message_text = 'Please enter the value'.
EXIT.
ENDIF.
Now in above code VALUE is the attribute with whome your input field is bound .So if user doesnt enter any value into it he will get above msg (u have to use message are ui element to use this method)
If you have any other doubt feel free to ask.
regards
Panky -
Authorization about Web Dynpro ABAP
Dear all:
I have some problem withs the authorization about the web dynpro for abap.Please give me some advices.
For example: In my web dynpro abap,i have two tabs,one is "upload",anthor is "preview".Now there are two users,
in this example ,i assume user A and user B.If user A have the authorization of "Upload",and the user B have "Preview".
Now how can i solve the problem ? If i do not want to use the code to implement it , is there any solution for it ? Thank you ~
Best wishes !Hi,
There are many ways to achieve this, but without code changes I guess this would be the easiest route:
Create 2 application configurations: one with Upload button Hidden and other with Preview Button Hidden.
Now to run you application you have 2 URL's by vritue of 2 application configurations.
Give the appropriate URL to required set of people.
Learn more about [App Configuration Here|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/af5e19e7-0b01-0010-37af-bc816f9a240c]
Hope this helps.
Regards
Manas Dua -
New Web Dynpro ABAP Related eLearnings Available
Although not a question, I thought using a forum thread to let everyone know about some new Web Dynpro ABAP realted eLearning sessions might be useful. These focus on new features in NetWeaver 7.01 and give a little sneak preview to some features coming later this year in NetWeaver 7.02. I try to publish new sessions twice a month.
Web Dynpro ABAP: Dynamic Context Creation, Mapping, and Data Binding (NetWeaver 7.0)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/201ddd3b-b4ce-2b10-8883-880ae8147f89
Web Dynpro ABAP: Defaulting Select-Option Values (NetWeaver 7.0)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
Web Dynpro ABAP: Drag and Drop (NetWeaver 7.01)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0760510-a2d5-2b10-de9f-d897679696e3
Web Dynpro ABAP Flash Islands Tutorial: Google Maps (NetWeaver 7.01)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f16eef-91ef-2b10-4fb5-d709436f3cc3
Web Dynpro ABAP Flash Islands Tutorial: Multiple File Upload (NetWeaver 7.01)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50d42644-91ef-2b10-228c-9e0ae75b274e
Tutorial on ABAP HTTP Client REST Service Calls (using Polestar OnDemand)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/608ef65d-1ff9-2b10-b582-d6445b691719
Web Dynpro ABAP Tutorial: ACFUpDownload and ACFExecute (NetWeaver 7.01)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/109b9b52-bc00-2c10-8786-e4c5e96d7e04
ABAP Language and Tools 7.02 Preview (Also shows new features in WDA - 7.02)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90db53c4-812d-2c10-0789-dc18f6c9c725
Web Dynpro ABAP - Islands Revisited (NetWeaver 7.01)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0c91fc0-932d-2c10-4ca7-f5774950c8e3
NetWeaver Business Client 3.0 Preview (NetWeaver 7.02)
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/207c3b88-8c2d-2c10-00bc-bf10a7158f2b
Future topics coming later this month: "How to do Long Polling/Reverse AJAX in Web Dynpro ABAP 7.02" and "Database Locators and Streams for large STRINGs and XSTRINGS in 7.02".
I'm also always looking for suggestions for future eLearning topics.Hello Thomas.
I got some questions for you.
I think you are a great expert on SAP Development Subject.
I saw the webdynpro tutorials that you appended on this board.
When I saw the tutorial there were some persons work with me.
And they were suprised with the beautiful graphics. It's M~uch better than the webdynpro Screens( like colours or Designs) that I use until now.
So. I want to change my webdynpro development enviroment excatly the same thing as the tutorial's one.
And I found there is URLS. That means Unified Rendering Light Speed.
It changes Some of webdynpro's development attributes.
And I also think it can spoils some or all the webdynpro components that existed before I applied URLS.
I have two questions.
one of the questions is this. If I apply URLS on my system, whether the system does get any negative effedcts from the applying.
The other question is this. I have a experience that use NWBC. And the Tutorial's GUI looks similar to NWBC. I want to know the GUI's name and What should I do if I use it on my system.
Component Version - ECC 6.0
Enhencement Package Version 3
Thank you for your concern and reading.
I deeply Appreciate you,
Regards,
Jonghwan -
Hi All ,
Can anyone please send me the Docs or link for Web Dynpro ABAP .
Thanks in advance
RahulHi,
Web Dynpro ABAP
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/db22242d-0701-0010-28a2-aeaa1fefd706
Also, I have the official Web Dynpro for ABAP documentation. Please let me know if I should send it to you.
Hope that the following also helps you.
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).
Web Dynpro offers the following advantages for application developers:
? The use of declarative and graphical tools significantly reduces the implementation
effort
? Web Dynpro supports a structured design process
? Strict separation between layout and business data
? Reuse and better maintainability by using components
? The layout and navigation is easily changed using the Web Dynpro tools
? Stateful applications are supported that is, if the page is changed and the required
data remains intact so that you can access it at any time throughout the entire
application context.
Note that stateless applications are not possible.
? Automatic data transport using data binding
? Automatic input check
? Automatic operation of the Web Dynpro application using the keyboard
? User interface accessibility is supported
? Full integration in the reliable ABAP development environment
Web Dynpro Architecture
Definition
Web Dynpro is the SAP NetWeaver programming model for user interfaces (UIs).
The Web Dynpro model is based on the Model View Controller paradigm, and has the
following features that build on the classic dynpro model:
? Clear separation of business logic and display logic
? Uniform metamodel for all types of user interfaces
? Execution on a number of client platforms.
? Extensive platform independence of interfaces
Structure
Metamodel Concept
Web Dynpro provides support for developing Web representation of a business application.
You use specific tools to describe the properties of a Web Dynpro application in the form of
Web Dynpro metadata. The necessary source code is then generated automatically and
executed at runtime. In addition to the events offered by the framework, you can also define
your own events for a Web Dynpro application. However, the event handling must always be
programmed in separate source code areas which are executed automatically when the event
is triggered at runtime.
In Web Dynpro, each user interface is always made up of the same basic elements. These
elements of the metamodel can be statically declared using Web Dynpro tools.
It is also possible to implement elements of the metamodel at runtime and to change them or
reintegrate them at runtime. Using these implementations, you can make any changes or
enhancements to a user interface that has been created by declarative methods by
generating new interface structures at runtime.
This means that you can combine declarative processes and the implementation of source
code.
Graphical Development Tools
To support this declarative concept, both the SAP NetWeaver Developer Studio and the
ABAP Workbench contain a range of Web Dynpro tools. You can therefore generate a large
proportion of a Web Dynpro application using the tools provided, without having to create your
own source code. This applies to the following parts of the application:
? Data flow between the front end and back end
? Layout of the user interface
? Properties of user interface elements
The Web Dynpro tools enable you to create source text areas manually within generated
source texts. These areas are not changed if the source code is regenerated.
Separation of Business and Application Logic
Using Web Dynpro enables a clear separation of business logic and display logic. A Web
Dynpro application runs on the front end and has local or remote access to the back end
system via a service. This means that the display logic is contained in the Web Dynpro
application, while the business logic and the persistence of the business objects run in the
back end system. The following options are currently available for connecting Web Dynpro
applications and the back-end system:
? An interface generated using adaptive RFC, through which BAPIs of an SAP system
can be called
? An interface for calling Web services
? A self-generated interface
The source code required for connecting the Web Dynpro application can be generated
from a UML definition of the Web Dynpro interface. A UML definition can be imported
into the Web Dynpro tools as an XML file.
Conversion of the Model-View-Controller
Conversion of the Model-View-Controller Programming Model
Every Web Dynpro application is structured according to the Model View Controller
programming model:
? The model forms the interface to the back end system and thus enables the
Web Dynpro application access to data.
? The view is responsible for the representation of the data in the browser.
? The controller lies between the view and the model. The controller formats
the model data to be displayed in the view, processes the user entries made by the
user, and returns them to the model.
/people/thomas.jung/blog/2006/06/20/web-dynpro-abap-demonstration-videos
http://help.sap.com/saphelp_nw04s/helpdata/en/77/3545415ea6f523e10000000a155106/frameset.htm
Reward points if useful
Regards
Anji -
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 -
Problems creating new Web Dynpro ABAP application
All,
I am following this tutorial to create my first Web Dynpro ABAP application
http://help.sap.com/saphelp_nw70ehp1/helpdata/en/fc/501b42b5815133e10000000a155106/frameset.htm
In this tutorial I was asked to create a component as Local object.
But after giving the name of the component, I get an alert saying
"Object can only be created in SAP Package"
When I confirm this, I was shown a "Create Object Directory entry" dialog box which asks for attributes like Package.
And this box has Local Object button, when clicked I get the message "Test Objects cannot be created in foreign namespaces".
I found some other article through Google
http://www.octavia.de/fileadmin/octavia_files/content_bilder/Hauptnavigation/SAP_NetWeaver/WebDynpro/Web_Dynpro_Part_I.pdf
According to this, I tried to give $TMP as Package. But still have the same error
"Test Objects cannot be created in foreign namespaces"
Where am I and what should I do to create a new project?
Thanks.Thanks Abinav.
My problem is with naming convention only. Component name starting with Z solved my problem. -
Event handling for closing a browser window on portal in web dynpro abap
Hi,
I am new to portal as well as web dynpro. Is it possible to handle portal events in web dynpro abap? My requirement is whenever a browser window is closed on portal, if any new system messge has been added I want to display them in a pop-up. I checked examples from the package 'SWDP_TEST' but they trigger events in web dynpro and pass them to portal. I want to subscribe to the close event of portal and handle it in my web dynpro abap application. How can I achieve this? Please suggest.
Thanks and regards,
AmruthaAmrutha S wrote:
Is it possible to handle portal events in web dynpro abap? My requirement is whenever a browser window is closed on portal, if any new system messge has been added I want to display them in a pop-up. I checked examples from the package 'SWDP_TEST' but they trigger events in web dynpro and pass them to portal. I want to subscribe to the close event of portal and handle it in my web dynpro abap application. How can I achieve this? Please suggest.
Hi,
I dont think that you can code to close IE browser window as you cannot access MS IE APIs in WD ABAP. I looked into closing IE browser and got http://p2p.wrox.com/general-net/16588-handling-ie-close-event.html . reading this, it seems the coding can be done in C#(asp) etc.
also refer Closing of IE window
I hope this is useful for you.
Thanks,
Chandra -
How web dynpro abap is used for snc
Hi folks,
I am new to web dynpro abap.Some one told we can upgrade snc from lower version to higher version but i dont have any knowledge on snc.For upgrading snc what we must have 2 know. How web dynpro abap is used for upgrading snc.Pls provide any links related to web dynpro abap with snc.
Thanks in advanceHello Ravidanda,
I have found a link that provides some information on how Web Dynpro ABAP is used in SAP SNC in the SAP Help. Here you go:
http://help.sap.com/saphelp_snc70/helpdata/EN/46/7256ce7fde01dde10000000a1553f7/frameset.htm
I hope this will help you.
Maybe you are looking for
-
Problem with WRT400N and Comcast
I have a Zoom cable modem and WRT400N modem. When I hook the modem directly to the computer I gain access to the Internet. The problem is when I try to use the router, the Internet does not work. I can access the router GUI no problem. I have tried
-
Does anyone know how to create a page curl effect on the screen of a mobile phone? The effect I am trying to create is to show screen with a screen protector on.
-
Insatance on another OS version
Hi, Im using the instance R12.0.0. with database 10.2.0.2. and another instance 11.5.10.2 with database 9i. We using this instances as single node.... And the OS is RHEL version 4 update 2. Question 1: Now is it possible to move these instances to sa
-
Know any good books on OO design in Java?
Can any one recommend a good book on OO design in Java. I want a book that explains the best practice on method sizes, what to make member varibles or local variables, when to pass parameters, etc... I have a fair bit of java programming experience,
-
ERM overwrites backend role without warning.
We are on version 5.3 - SP13. I have uploaded roles to our ERM installation. The upload was performed with the bulk download file collected via the /VIRSA/RE_DNLDROLES - program in backend in combination with the role information file which we have m