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.