![]() ![]() ![]() LO_EL_NODE1 = LO_ND_NODE1->GET_ELEMENT( ). LO_ND_NODE1 = WD_CONTEXT->GET_CHILD_NODE ( NAME = WD_THIS->WDCTX_NODE1 ). DATA: LS_NODE1 TYPE WD_THIS->ELEMENT_NODE1. DATA: LO_EL_NODE1 TYPE REF TO IF_WD_CONTEXT_ELEMENT. DATA: LO_ND_NODE1 TYPE REF TO IF_WD_CONTEXT_NODE. The attributes can be accessed using the below code. For Ex: if there exists a Node NODE1 with cardinality 1:1 and has 3 Attributes to it Att1, Att2, Att3. How do you access a Context Nodes and elements programmatically?Īns: Code required for accessing the Context Nodes can be written using the Web Dynpro code wizard. 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.ġ0. All the context nodes defined in the component controller are visible in all the views and windows of the component. Attributes/methods declared in the component controller are visible through out the component and they are accessed using the attribute WD_COMP_CONTROLLER outside of component controller (like views, windows etc). What is the Usage of Web Dynpro Component Controller?Īns: Component controller is used to the store the Global attributes and Methods of the component. Parameters can be passed using the plugs similar to interface parameters of function module or a class method.ĩ. How do you navigate between Different Views in Web Dynpro?Īns: Navigation between Views is achieved through Plugs (Inbound and Outbound).Īns: Plugs are used to Navigate between the views. What is an Assistance Class and how is it Instantiated in Web Dynpro?Īns: Assistance Class is the model class which would act as the data provider for the Web Dynpro component and it is instantiated by the Web Dynpro component during the run time and no explicit instantiation is required.ħ. The Model class can be accessed in Web Dynpro component using the attribute WD_ASSIST->.Ħ. It contains the Business logic in the form of methods, Global data & Constants in the form of Class Attributes. No Java stack required to run Web Dynpro applications.Īns: Model Class is the Assistance class in Web Dynpro. Reuse of the WD components possible (Component Usage).Ħ. Reuse of the existing back end programs (ex: function modules, classes).ĥ. Complete integration of web based framework into ABAP workbench.Ĥ. Here the flow logic is written in the views, windows, components and the business logic is mostly written in Assistance class.ģ. ![]() ![]() Clear separation between the flow logic and the business logic. Web Dynpro programming model uses MVC (Model View controller) design paradigm.Ģ. What are the Advantages of ABAP Web Dynpro?ġ. Business logic is held in the Model which is in the form of Assistance class in Web Dynpro context.Ĥ. View holds all the UI elements that are visible in the UI, Controllers have the flow logic. MVC Architecture Concepts and usage of the same in ABAP Web DynproĪns: As per the MVC Architecture there is a clear separation between flow logic, view and the Business Logic. ABAP Web Dynpro Components and Design tools can be accessed using the ABAP workbench transaction SE80.ģ. SAP ABAP Web Dynpro Interview Questions and AnswersĪns: ABAP Web Dynpro is the SAP UI technology used to develop the Web based applications in the SAP environment. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |