Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
17Activity
0 of .
Results for:
No results containing your search query
P. 1
SAP ABAP Webdynpro Interview Questions and Answers

SAP ABAP Webdynpro Interview Questions and Answers

Ratings:

3.0

(1)
|Views: 1,804 |Likes:
Published by krrish.kalyan

More info:

Published by: krrish.kalyan on Mar 02, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

02/07/2013

pdf

text

original

 
SAP ABAP Webdynpro Interview Questionsand Answers
1) Types of ABAP UI Technologies Ans: Webdynpro for ABAP, BSP2) MVC Architecture Concepts and usage of the same in ABAP Webdynpro Ans: As per the MVC Architecture there is a clear separation between flow logic, view and theBusinessLogic. View holds all the UI elements that are visible in the UI, Controllers have the flow logic.Controllers are of different kind (Component Controller, View Conroller,Window Controller).Business logic is held in the Model which is in the form of Assistance classin webdynpro context.3) Difference Between the View Container and the Transparent Container Ans: View Container holds the views, there can be multiple views assigned to the view container but only one view can be active(viewed) at a time. Transparent holds the webdynpro UI elements, A layouttypecan be associated with it.4) What does a Model Class Consists of  Ans: Model Class is the Assitance class in webdynpro. It contains the Business logic in the formof methods, Global data & Constants in the form of Class Attributes. The Model class can be accessed in webdynpro component using the attribute wd_assist->. Note: All the visibility properties of theClass are applicable when accessing the class using the object wd_assist.5) What is an Assistance Class and How is it Instantiated in Webdynpro Ans: Assistance Class is the model class which would act as the data provider for the webdynprocomponent and it is instantiated by the webdynpro component during the run time and noexplicatinstantation is required.6) Design Patterns in Webdynpro(GAF,OIF,QAF Etc)Refer to the link:FPM Concepts in Webdynpro 7) How do you debug an web based Application(Could be from ABAP Webdynpro, BSP or CRM Web UI) Ans: External break-points should be used to debug web UI's.8) How do you create a ALV Report/Editable ALV in Webdynpro Ans: ->
Add the Standard ALV component to the web dynpro Component.
 
->Use Components tab: Ex: ALV_MATS type SLV_WD_TABLE
 
->
Create a context node with the table field information to be displayed
 
->Write the ALV Default Code for table display
 
->Set the read only attribute to false to switch to editable mode using
 
the method set_read_only of the interfaceIF_SALV_WD_TABLE_SETTINGS implementing classCL_SALV_WD_CONFIG_TABLE).
 9) How do you Navigate between Views in Webdynpro Ans: Navigation between Views is through Plugs(Inbound and Outbound),10) Usage of Plugs in Webdynpro Ans: Plugs are used to Navigate between the views. Parameters can be passed using the plugssimilar tointerface parameters of function module or a class method.
 
11) Usage of Webdynpro Component Controller Ans: Component controller is used to the store the Global attributes and Methods of the component. Attributes/methods declared in the component controller are visible through out the componentand they are accessed using the attribute wd_comp_controller outside of component controller(like views,windows etc) All the context nodes defined in the component controller are visible in all the views and windows of the component.Ex: if a variable called gv_count is defined in the component controller, it can be accessed in the view using the syntax wd_comp_controller->gv_count.12) How do you access a Context Nodes and elements Programmatically Code required for accessing the Context Nodes can be written using the webdynpro code wizard.For Ex: if there exists a Node Node1 with cardinality 1:1 and has 3 Attributes to it Att1, Att2,Att3.Theattributes can be accessed using the below code.data: lo_nd_node1 type ref to if_wd_context_node.data: lo_el_node1 type ref to if_wd_context_element.data: ls_node1 type wd_this->element_node1.lo_nd_node1 = wd_context->get_child_node( name = wd_this->wdctx_node1 ).lo_el_node1 = lo_nd_node1->get_element( ).**Read Node1lo_el_node1->get_static_attributes(importingstatic_attributes = ls_node1 ).**Write to Node1lo_el_node1->set_static_attributes(exportingstatic_attributes = ls_node1 ).13) Message Areas in WebdynproMessage areas are created in views to display messages (Error,Success,Warning,Info). WD allows to have multiple Message errors in a view but throws an error when the view isdisplayed.Use the code wizard to get code for raising error messages. Few of the message classes andmethodsare: Interface: if_wd_message_manager.methods: report_t100_message.(used to report message from the message class)14) Concept of OTR(Online Text Repository) and its UsageOTR's are similar to text elements in ABAP. OTR's are created forUI texts and texts can be maintained in multiple language.OTR's can be created using the transaction: SOTR_EDIT15) Concept of Interface ViewsIf the views of a different components are need to be used in a webdynpro component mark the view asinterface view and use it in another component. It's similar to using a include in a program. Interface view of the component can be used in any no of components. this concept supports thereusuability of 
 
the views.16) Sequence of Webdynpro Events:Ex: WDDOINIT,WDMODIFYVIEW,WDAFTERACTION, WDBEFOREACTION etcSequence: WDDOINIT of the component controller, WDDOINIT of the Window Controller, WDDOINIT of the View Controller, WDMODIFYVIEW(On Input/Display on any UI Element). WDBEFOREACTION(Method for validation of user input,Once the user action happens on the UI) WDAFTERACTION(Method for non-action specific operations before Navigation) WDDOEXIT( Exit from the View/Window/Component Controller) WDPOSTPROCESSING(used to perform exception handling for supply function methods)17) Can a Component have Multiple Applications Yes, For a given webdynpro component any no of applications can be created. Applications aresimilarto transactions in SAP. You can associate different Interface views of the component to createdifferentapplications using the same component.18) How do you launch a Webdynpro Application from a TransactionRefer to the previous blog Calling webdynpro application from a TransactionURL: http://sapabapwebdynpro.blogspot.com/2011/04/call-abap-webdynpro-application-from-r3.html 19) How do you Navigate between two Webdynpro Components You can use Interface views to navigate between components or create a navigation class anddo a explicit call.20) Creating a tree in WebdynproTree UI element is used to create Tree in Webdynpro. Tree can be defined as part of the tablecolumn.21) Usage of Exit Plug in a Webdynpro Window Exit plugs are outbound plugs used to close the webdynpro application. they can be called fromthe view  which are embedded in the window Note: Exit plugs won't work in portal environment.Exit plugs can also be used to pass the call to another URL. Here is the sample code snippet of theexitplug call:method onexit .data url type string.data close_window type wdy_boolean.url = 'url_name'.close_window = abap_false. wd_this->fire_to_exit_plg( url = urlclose_window = close_window ).endmethod.22) why FQDN(Frequently Qualified Domain Name) is necessary for running Webdynpro ApplicationsRefer to sap help:http://help.sap.com/saphelp_erp2005/helpdata/en/67/be9442572e1231e10000000a1550b0/cont

Activity (17)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
rajesh98765 liked this
Arun Krishna liked this
Vikram Sap liked this
Zannu Ulla liked this
akkiramreddy liked this
Ricky Mondal liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->