Sei sulla pagina 1di 6

COMPONENT USAGES Faceless component: A component without a view and a window is consider as faceless component.

Faceless components are used as a global components for the reusability of methods, nodes etc -------------------------------------------------------------------------------------------------------------------------

Summary: This document shall explain how to use a method of component A in component B. Requirement: Create a faceless component and name the component 'COMP A' and define a method 'EXECUTE_METHOD' in the component controller. Call the method of comp A in comp B. 1. Tcode: SE80 2. Create a faceless component. Create an interface node in the component controller-->context Enter name of the Node: Mara Interface Node : Yes Dictionary structure : Mara Cardinality : 0-n and click on the 'Add Attribute from structure' button

Select the fields from the MARA structure and click continue or press enter

Kindly give me your feedbacks for the QUALITY of Training sankargelivi@gmail.com

COMPONENT USAGES Faceless component: A component without a view and a window is consider as faceless component. Faceless components are used as a global components for the reusability of methods, nodes etc ------------------------------------------------------------------------------------------------------------------------If the node is an interface node, then the node will be displayed with F symbol as shown.

Navigate to Methods tab of component controller. Create a method by the name 'EXECUTE_METHOD' and check the check box (To define the method as interface method)

Implement the business logic

Save and active the application Kindly give me your feedbacks for the QUALITY of Training sankargelivi@gmail.com

COMPONENT USAGES Faceless component: A component without a view and a window is consider as faceless component. Faceless components are used as a global components for the reusability of methods, nodes etc ------------------------------------------------------------------------------------------------------------------------Create the 2nd component and define the first component in the 2nd component as shown. Enter the name of the component under 'Component' and alias name under 'Component Use'. once the component is define under the structure of a component, used component will be displayed with alias name under Component Usages

Go to component controller-->context. Click on the Controller Usage button the top of the component controller context.

Select the required interface controller.

Kindly give me your feedbacks for the QUALITY of Training sankargelivi@gmail.com

COMPONENT USAGES Faceless component: A component without a view and a window is consider as faceless component. Faceless components are used as a global components for the reusability of methods, nodes etc ------------------------------------------------------------------------------------------------------------------------Interface controller context is display in the right side of component controller (current controller) with the nodes (which are declared as interface nodes). Define the external context mapping

Define the internal context mapping

Design the view with a table

Kindly give me your feedbacks for the QUALITY of Training sankargelivi@gmail.com

COMPONENT USAGES Faceless component: A component without a view and a window is consider as faceless component. Faceless components are used as a global components for the reusability of methods, nodes etc ------------------------------------------------------------------------------------------------------------------------Go to the properties of view controller, click on the create controller usage

Select the required interface controller

Go the method tab and call the method of comp A. click on the code wizard and select instantiate used component and select the component which is going to be used. Select the Method Call in the used controller and define the parameters and select the method (Interface method) as shown

Kindly give me your feedbacks for the QUALITY of Training sankargelivi@gmail.com

COMPONENT USAGES Faceless component: A component without a view and a window is consider as faceless component. Faceless components are used as a global components for the reusability of methods, nodes etc -------------------------------------------------------------------------------------------------------------------------

create application, save, active and test the application.

Kindly give me your feedbacks for the QUALITY of Training sankargelivi@gmail.com

Potrebbero piacerti anche