on 12-14-2005 6:58 AM
Hi all
i have 3 queries
1) How to create sessions in the webdynpro applications?
2) if we run the webdynpro application, at the runtime
how it run internally how it will be executed
3) sum of two numbers , how can we done this sample application in the webdynpro,please tell the steps how to do this example
regards
Sunil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sunil,
For session in webdynpro check this thread
and this link too
http://help.sap.com/saphelp_webas630/helpdata/en/61/e176cb3fd64848966ecb58f8eecba2/content.htm
hope this help u better,
Regards,
Arun.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sumil,
<b>The order of execution interanllytakes place as follows:</b>
1)<b>DEBUG</b> -- Information only valuable for developers to analyze the internal status of a program.
2)<b>PATH</b> -- Information for developers and support engineers to understand the execution flow of a program. entering() and exiting() as well as throwing() and catching() method calls will supply their information on this severity level.
3)<b>INFO</b> -- Informational text to record information valuable for support engineers and developers to understand and trace the business logic, for example, business document numbers, status changes and so on.
4)<b>ERROR</b> -- Uncorrectable error conditions in program execution, which terminate the current application without fulfilling the desired task. The application remains usable afterwards. assertion() method calls may be used to test a Boolean expression and stop with an error if it is not fulfilled. Also technical context information in exception handling situations must use severity ERROR.
Hope this helps u,
Regards,
Nagarajan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sunil,
This link contains what r think can developed by webdynpro.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/web dynpro tutorial and sample applications.faq
Then u check out the help.sap.com/nw04 for further.
first of all study about netweaver.
This is question 2
how to bulid webdynpro application
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/how to build a web dynpro application.pdf
Web Dynpro V/s other web technologis
Check this first http://www.sappro.com/downloads/OptionComparison.pdf
And some material about dynpro itself and comparison of different available technologies:
http://help.sap.com/saphelp_nw04/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/15/0d4f21c17c8044af4868130e9fea07/frameset.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/bd/48fc3f8fc2c542e10000000a1550b0/frameset.htm
/people/thomas.jung3/blog/2005/10/02/sap-teched-2005-boston-a-look-back
for the question 3
adding two nos:
create two textview ,input field and a button.create a two value attribute of type integer and map to the two inputfield and create a textview for o/p and create a value attribute of type result and bind to textview.
in the eventhandler of the button
OnactionButtoneventhandler()
{
int a=wdcontext.currentcontextelement.getvalueattribute1();
int b=wdcontext.currentcontextelement.getvalueattribute();
int c=a+b;
wdcontext.currentcontextelement.setresult(c);
}
hope this helps u,
regards,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi sunil
3) sum of two numbers , how can we done this sample application in the webdynpro,please tell the steps how to do this example
go to this link this gives a number of tutorials about webdynpro
tutorials on
Creating Your First Web Dynpro Application (1)
Context Mapping
Action Event Handler
Data Binding
and on ui elements like inputfield and button might be useful to you.
regards
saravana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>3) sum of two numbers , how can we done this sample application in the webdynpro,please tell the steps how to do this example</i>
A simple way can be: create two input fields, one text view and a button. bind the input field to the attributes ( create corresponding context attributes to those input fields )
In implementation u may write a simple java code to add those variables under "onaction button".
bind the result in text view to display.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi sunil,
<b>For adding two nos:</b>
1) create two input boxes, textview and a button.
2)bind the input prop. to two sep context att and change the type of it o integer,also the text view att to integer..
3)say u have binded to no1 and no2 to i/p 1 and 2 and text view to result.
In ur implementation
OnactionButton()
{
int a=wdcontext.currentcontextelement.getno1();
int b=wdcontext.currentcontextelement.getno2();
int c=a+b;
wdcontext.currentcontextelement.setresult(c);
}
Hope this helps u,
Regards,
Nagarajan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi
create the value attribute in context tab. The default type is string. right click the value attribute and select properties and change string to integer.
in the layout tab u have inputfield select that and right click and select properties (or in the outline view select that particular input field and right click and go the properties) and there u have "value" select the dotted button and dialog will open and select the corresponding value attribute.
hope this helps,
Regards,
Arun
hi,
create 2 input field and three text view and a button
1)textview1 -In the property tab.set the "text" to this enter first value
2)inputfield1 -map this to valueattribute 1 of type integer
3)textview2- In the property tab.set the "text" to this ex:enter first value
4)inputfield2 -map this to valueattribute2 of type integer
3)textview- map this to valueattribute result of type integer
u create contextattribute in the context tab.
create the action name and text in the property view for the button.
go to implementation and enter button action (as mentioned in previous post)
First study this tutorial it will clear all ur doubts
it explains u about
*Create a project for a Web Dynpro application and its associated development objects
*Create views and define a navigation scheme for the application
*Create actions for the views and implement simple event handlers
*Design a simple view layout
*Define data binding for UI elements using context attributes
*Deploy and run a Web Dynpro application
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/a-c/creating your first web dynpro application.pdf
And clear all ur doubt and gives good idea on the context mapping and data binding
hope this help u better,
Regards,
Arun
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.