Displaying Different Messages in Web Browser
Displaying Different Messages in Web Browser
By Sowmya Thadakamadla
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Description:
This application provides developers to display error messages in the Web Browser. The
messages are displayed as hyperlinks. Clicking on links, we can correct the error in the
corresponding UI Element.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
♦ Enter Simple Type name FirstName and Simple Type Package com.yash.dynpro.
♦ Click on Finish.
♦ Repeat the same for LastName, BeginDate and EndDate.
This screen shows the Simple Type Definition for the Created Simple Type Begin Date.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Creation of Structure to define values of the Context using the Simple Types created
above.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
♦ Enter Simple Type Package in the second Column by pressing the Button in the
Corresponding Column.
♦ Expand com.yash.dynpro and choose corresponding simple type.
♦ Click on OK. Simple Type and Built-In Type displayed automatically.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Defining a new Value node for the Context of the view FirstComponentView having the
name Person with Structure binding to the Structure Person.
ContextNewValue Node.
♦ Enter Name as Person and Check the Create with structure binding.
♦ Click on Next Button.
♦ Expand Local Dictionary.
♦ Select the structure Person.
♦ Click on Next.
♦ Check the Structure Person.
♦ Elements below the Structure Person automatically checked.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Click on Finish.
♦ RootElementContainerInsert Child
♦ Select Group and click on Finish button.
♦ Give the Values for the Properties height and width.
♦ Click on Group.
♦ In the Properties tab enter the values for height and width and also change the layout
Property to MatrixLayout.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
♦ Groupinsert child
♦ Select InputField.
♦ Chose Finish.
♦ Click on Inputfield.
♦ Right side you find Properties tab.
♦ You find a Red Cross mark in value property.
Click on Ok button.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Button Creation:
♦ Groupinsert child
♦ Select Button. Click on Finish.
♦ Click on button, Right side you find Properties tab.
♦ Change the layout data property as MatrixHeadData
♦ Enter the text property as Submit.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
When you expand the nodes you can find actual context mapping between FirstComponentView
and Component controller.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
♦ Component ControllerEdit.
♦ Below you find Context for Component Controller.
♦ PersonProperties.
♦ Change the cardinality property and selection cardinality property to1..1 From dropdown
displayed to each property.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Creating Action for the Submit button and fire the outplug.
♦ FirstComponentViewEdit.
♦ In the Outline you find Button under RootElementContainer.
♦ Click on it.
♦ In the right side you find properties.
♦ Click on the end button corresponding to onAction corresponds to Events.
♦ Enter Name and Text and choose Fireplug as outplug from the dropdown.
♦ Click the button Finish.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Implementation.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
♦ Chose Text View for all elements form the corresponding dropdown.
♦ Click on Finish Button.
Save all changes we made by clicking the icon save all Metadata in the application toolbar
Enter Name and Chose Package from Browse button. Click on Finish.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
Rebuilding Project.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
By clicking on the Corresponding links the Control will go to the Corresponding UiElement.
♦ By entering appropriate values in the corresponding fields the application will navigate to
the Second View.
♦ There you can find the Correct Output, which you have entered in the First Screen.
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com
Displaying different messages in Web Browser (Web Dynpro for Java)
For more tips, tutorials, Interview questions, certification questions, please visit
SAPTechnical.com