About webdynpro actions
hi to all
iam little but confusion among
ACTION ,, EVENT., EVENT HANDLER METHODS
can any one give me description about all these
thank u inadvance
ratan
Hi Ratan,
Method can be void and it can be return type.
Method with Event: it perform some system actions such as click, enter etc..
Action it performs system events. for example. You can use actions with UI Elements where as methods are not.
For example: Submit Button
onActionSubmit()
Note: Method with event and Action both are almost Similar
To avoid Confusion:
Use actions when use UI Elements
Use methods if you want write individual methods
Similar Messages
-
A quick question about WebDynpro SLD and R/3 with concurrent users
Hello ,
I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3 for the SLD to use. What I would like to know is when I have concurrent users of my webdynpro, how can I know what one user did in R/3 and what another user did? Is there a way for the users of the web dynpro to use their R/3 credentials so SLD can access the R/3? Like dynamically configuring the SLD for each user?
- I would like to avoid leaving their their passwords open in the code ( configuring two variable to get the users username and password and use these variables as JCO username and password )
Thanks Ubergeeks,
GuyHi Guy
You will have to use Single Sign On to achieve this. In the destination you have defined to connect to R/3 , there is an option to 'useSSO' instead of userid and password. This will ensure that calls to R/3 will be with the userid that has logged into WAS. You wont need to pass any passwords because a login ticket is generated from WAS and passed on to R/3. The userid is derived from this ticket.
For this to happen you will have to maintain a trust relation ship between R/3 and your WAS ,there is detailed documentation of this in help files. Configuration is very straight forward and is easy to perform
Regards
Pran -
HI Experts,
I have small doubt about webdynpro windows.
1) If i have only one application in webdynpro DC , what is use of using multiple windows.
2) If i have multiple windows in a DC which has single application, how i can i navigate between windows?
3)if i have multiple applications with multiple windows, then how will i know which window belongs to which application.
4)If i have multiple windows and multiple applications, then how can we navigate between windows? It means navigation betn windows and navigation betn applications...?
Please explain me, i browsed in SDN, i found the threads but they are explaining my doubts exactly
Thanks in advance.
Regards,
BalaHi.
Simply the Window is part of Web Dynpros public interfaces, and are needed whenever you want to access a graphic component from outside of your web dynpro component.
Web Dynpro uses the MVC design pattern. Model View Control.
In order to reuse components, Web Dynpro exposes the View and Controller to the outside world.
Internally the View and Control in MVC is just that:
Views
Component Controller and Custom Controller.
Externally the View and Control are exposed as
Interface Controller and Interface Views. The Interface View is the external part of a Window. (When a Window is created, an associated Interface View is created).
So, to be able to actually see anything from a Web Dynpro application. The browser would access a Interface View that opens the Window with some view in it.
An other example is that you have two Web Dynpro projects, where the first one have a View with an integrated view from the second Web Dynpro. The integration would be through the Interface View again.
Internally in your Web Dynpro component, you can use the views directly (i.e. navigate between views).
Opening an external popup would generate a new browser window. In order for the new browser window to display anything it would need to access an interface view. That's why you need to create a separate Window when you want to use a popup.
Regards.
Edited by: Mikael Löwgren on Feb 15, 2008 12:58 PM -
FYI. Problem about webdynpro embedding
Dear Expert:
I encountered a problem with webdynpro embedded in portal.
Let's make it simple,
the source of a UI element Image in the webdynpro binds to a link -> ftp://...../test.jpg
in my program I change the link dynamically after some action.
Everything works fine if I run this webdynpro.
But the strange thing is when I embed the webdynpro into portal, the image could not be displayed, even
it could not be shown if I bind it to the fixed link. (ftp:///)
I tried other source like http://///test.jpg, it works in portal, but how FTP source fails? I check there is no cache.
Thanks very much for your insight.
RayRay Lei wrote:Hi Ray,
>
>
> I tried other source like http://///test.jpg, it works in portal, but how FTP source fails? I check there is no cache.
>
Please check your application log and/or default trace to see what exactly happened. It might have something to do with security (depending on your landscape between portal, Web AS, FTP site), how you generated the URL in your WD application. Please refer to this doc (p.18)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b031c874-9616-2a10-cfb5-ac936df54efa?QuickLink=index&overridelayout=true
Hope it helps.
Regards,
Dao -
Explain me briefly about Dynamic Actions in PA
HI Experts kindly let me know about the Dynamics actions in Personnel Administration.Am just confusing about this concept.In real time scenario what will be the use of this concept.How it will work ?Why we have given the 0077 as target infotype.Kindly describe me in detail.Actually i heard like this concept will be an added advantage in interview point of view.
Hi, Dynamic actions in real time is merely a event triggered processing that can be configured to do a required job in the back ground automatically. For example when you hire an employee (IT0000 gets created -> can be considered as a trigger). Now this creation of IT0000 can be configured to automatically create date specfications in the background or say can be used to create IT2006 -> all quota types which zero hrs.
Have a look at the following link:
http://wiki.sdn.sap.com/wiki/display/Snippets/Dynamic+Action -
WebDynpro Action Types : Validating vs Non Validating Action Types
Hi
Can someone tell me the difference between Validating and Non Validating Action Types in webdynpro. I read it through, but its not very clear.
regards
SaurabhHI Maksim,
Thanx it helped !!
I need some more help. I have a PAR file which displays an employees CV in an IView. I want to print only the content in the iView (i.e the CV) not the complete page with Roles and worksets, is there some code that can do this.
I need to place a button on the CV (in the iView) and on the click of the button the CV (iView) gets printed.
A workaround for this is that I open the CV (from the iView Personalization ) in a new window and then from the File menu of the new window fire the Print option. But I dont want to do it this way.
I want to Print the CV from the parent window only.
Plz suggest !!
Regards
Saurabh -
Give me description about WEBDYNPRO
give me description about WEBDYNPRO
Hi,
https://www.sdn.sap.com/irj/sdn/developerareas/webdynpro
There is a separate section for Webdynpro on SDN.
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
Web Dynpro is available both in the Java and the ABAP development environment.
Regards,
Bhavesh -
I have 2 folders and Each folder has a folder action attached.
When manually drag a file in the folders both scripts work.
But the intention is that the first folder move files to the second folder and the second folder does the folder action script.
But (Only) when the files are moved by the first script the second folder action does nothing.When I drag an other file in the second folder it does the action on all files within that folder.
intention:
Folder 1 : Check files and move the selected files to other folders
Folder 2 : Make report and move file to another folder
How I can improve this?
start of the second folder action... if that's the problem.
on adding folder items to this_folder after receiving these_items
try
tell application "Finder"
set numFiles to (number of files of folder this_folder)
repeat with i from 1 to numFiles
set curFile to the item 1 of this_folder
set curFilename to name of curFile as text
thanksHello
Perhaps you're seeing a long standing defect of Finder, which often fails to udate its internal cache of file system objects in time.
One method to try is to use 'update' command of Finder. Like CODE1 below.
--CODE1
on adding folder items to this_folder after receiving these_items
try
tell application "Finder"
update these_items -- # added
update this_folder -- # added
set numFiles to (count files of folder this_folder)
repeat with i from 1 to numFiles
set curFile to item 1 of this_folder
set curFilename to name of curFile
-- # rest omitted
(* Since curFile is always assinged to item 1 of this_folder,
curFile is supposed to be removed from this_folder within this repeat loop. *)
end repeat
end tell
on error errs number errn
display dialog errs & " " & errn with icon 2 giving up after 5
end try
end adding folder items to
--END OF CODE1
By the way, your original code is not using these_items that is passed by Folder Action Server. However, from Folder Action's point of view, you should solely use these_items to process them because there's NO guarantee that 'item k of folder this_folder of application "Finder"' at the time of its execution is the item k of these_items. (E.g. Suppose there's another group of files newly added to the folder while an instance of Folder Action is running to process a group of files already added.)
So I'd rather recommend something like CODE2 below.
--CODE2
on adding folder items to this_folder after receiving these_items
try
tell application "Finder"
repeat with i from 1 to (count these_items)
set curFile to item i of these_items
set curFilename to name of curFile
-- # rest omitted
end repeat
end tell
on error errs number errn
display dialog errs & " " & errn with icon 2 giving up after 5
end try
end adding folder items to
--END OF CODE2
Good luck,
H
Message was edited by: Hiroto (fixed typo) -
it's very simple.
Let's see bellow:
result_lv = new LoadVars();
result_lv.onLoad = function (success)
if (success)
total_txt.text = unescape(this.result1);
else
total_txt.text = "ERROR";
//here is end of Flash action script 2.0
bellow is PHP code
<?php
$chan = 'title';
$num = 80;
echo("result1=$chan&received1=$num");
?>
Can you guess what flash presented?
$chan was printed in "total_txt"
Can't flash bring the value of $chan in php?
I expected "title" would be printed in "total_txt".
but how could it be so foolish?
flash just brings text following "=" until it meets another "&";
I got so surprised. it can't be told communication with php. it is just "File IO" function.
if you know a way to communicate with php, bringing a value of peculiar variable, please let me know it.
my email address is [email protected]
Thank you!!Hi Gupta,
There are 2 ways to debug a script.
1.Go to Se38 ,Enter the program name "RSTXDBUG' & then press Execute.
2.Go to se71,enter the form name .In the same page,go to Utilities -->Activate Debugger.
In both the cases,the debugger will b activated.Then u run the print program,automatically the form will b in debugging mode.....
Actually,while configuring,we will mention the print program & the form to a transaction,so both of them will b linked to the transaction,no need to link them explicitly again.
Reward points if useful.....
Pavan. -
Finding information about mmo-action game
I want to bulid a flash game which is an online action game ,
can be allowed at least 4 players play at the same time
however I cannot find any information on the books store ,
internet & the help of flash
Could anyone tell me where can I get the related information
please?Hey there, running the test produced this:
FAQ
Test1 comprises of Best Effort Test: -provides background information.
Download Speed
2383 Kbps
0 Kbps
7150 Kbps
Max Achievable Speed
Download speedachieved during the test was - 2383 Kbps
For your connection, the acceptable range of speeds is 600-7150 Kbps.
Additional Information:
Your DSL Connection Rate :8128 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
IP Profile for your line is - 7150 Kbps -
When creating a custom smart action, I want to send an automatic response text message to certain people but not all people.
For instance
- I can set a TRIGGER for "I miss some calls"
- Then I can choose who I receive calls from
- Next I can set the ACTION "Send a text message" and choose what I want the text message to say
Is there a way to download a trigger for "I miss some text messages"? That way I can put in the numbers of the people I receive the texts from and it will automatically respond with what I need it to say. If not, does anyone know of another method I could use to do this?
ThanksHi, Thanks for the response,It's more the fact that my boss is a micromanager and has decided to contact me using my cell phone via text. i was hoping that if she sent me a text, i could set it up so it would automatically respond with a message like,"i'm right in the middle of something but will get back to you ASAP"because if i don't respond back with something, then i get a ton of emails and phone calls
<< Personal information removed. Please edit personal information when replaying via email. >>
Message was edited by: Verizon Moderator -
hi guysfirst of all i thank u all guys out there..
for extending ur support.
here i have a doubt
we can develop webdynpros for abap on following environment
1. ecc6 or crm 5( i mean which are on was abap 7)
2. the two files which i have downloaded from sdn.sap.com
that is was 7 + webdynpro UI
so here my doubt is what is the difference in therse two environments
ok.. some how we have developed webdynpros for abap then what we do with that webdynpro for abap? do we need publish its url so that people can have access to our server which is ecc6 or crm5?hi,
I suggest you to kindly go to the elearning link in sdn.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/b1203f5e-0501-0010-bb88-915402c954f2 [original link is broken]
there are a lot of documentation and saptutors available.
you do not require to publish webdynpro abap applications.
If you are providing it as iview links in portal.
Or if you check sicf transaction you will get the node of your webdynpro abap application.
Regards,
Manish
reward points would be appreciated -
Need a help about init action in HttpServlet
I provided a new class MServlet which extends HttpServlet.
I want to use the Mservlet class for my all servlets. My Mservlet must do some thiggs.
For example i have a class:
public class ListNews extends MServlet
So now i need some things would be done automaticaly. For example
response.setContentType("text/html;charset=windows-1257"); must be setted
that i do nor need to write this line in all servlets?
How i can do it?
If i am using public void init method in servlet and put there the string
response.setContentType("text/html;charset=windows-1257");
This does not work
ThanksJust a minor switch with the previous post...
Use the MServlet to implement the doGet and doPost methods, make them final so that the subclasses can override them.
Provide a 'responseSetup' method that sets things that you want.
Provide your own 'doGetWork and doPostWork methods that the subclass overrides with its own stuff:
public MServlet extends HttpServlet {
public final void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
responseSetup(response);
doGetWork(request, response);
public final void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
responseSetup(response);
doPostWork(request, response);
//Default implementation does the same as HttpServlet.doGet()
public void doGetWork(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
super.doGet(request,response);
//Default implementation does the same as HttpServlet.doPost()
public void doPostWork(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
super.doPost(request,response);
//Do your init stuff here
private void responseSetup(HttpServletResponse response) {
response.setContenType("text/html;charset=windows-1257");
}Then subclasses would use doGetWork and doPostWork like notmal HttpServlet subclasses would use doGet and doPost... -
About webdynpro techniques!
I have to read data from reference database(read-only) (SAP) by calling Function to access database then I have to calculate and store it somewhere and other person can access and get this data. I wonder where can I store these data. Does web-dynpro support any techniques to do this?
Edited by: Dinh Thieu Thien on Jun 26, 2008 11:05 AMYou can find information at "Component-based development from Database Table to Web Dynpro using NWDI"
-
Hi, All
How can i get the NET310 for Web Dynpro ABAP?
Thanks for your help!hi,
you can get all related tutorials and materials in this link..plz go thru all the links..
https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=webdynproabap+tutorials&adv=false&sortby=cm_rnd_rankvalue
thanks
jaideep
*reward points if useful..
Maybe you are looking for
-
No internet in Windows XP Pro SP2 under Virtual PC on PowerBookG4.
No internet in Windows XP Pro SP2 under Virtual PC on PowerBookG4. Unknown ethernet device in Device Manager. Need drivers. No more icons in Network and Internet Connections. In Mac OS X 10.4.8 i'm using Wi-fi internet connection. In Virtual PC I'm u
-
TS1292 My iTunes card is not working ??
My iTunes gift card is not working I don't know why ?? I need help with it please.
-
Bugs in JDeveloper 11.1.1.2.0
I encountered the below issue. Hopefully it will be resolved in the next release 1) I have two SOA projects A & B, while project A is opened in the Application Navigator, I opened project B and open a bpel file. I did not make any changes to it. I cl
-
Can't keep first background from displaying throughout the project
I have a project that uses a different background image for the first slide. I'm not using a master slide. When I look at any slide, I see the correct background, but when I paly the the project, all of the following slides use the background image f
-
Grey screen (no spinning logo) - does boot as able to operate cd
Hi, There seems to be a fair bit of information about regarding this but nothing I have tried so far has worked. Basically, over a protrcted period of about 3 months, my imac G5 has occasionally booted up to a grey screen. It has corrected itself on