You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Log onto SAP Business Application Studio (BAS) and access your SAP Fiori development space.
62
-
2. Expand the *Projects* folder and right-click on the adaptation project you created in Tutorial 1 and select *Open Adaptation Editor* from the context menu.
61
+
1. Log onto SAP Business Application Studio (BAS) and access your SAP Fiori development space.
62
+
2. Expand the *Projects* folder and right-click on the adaptation project you created in Tutorial 1 and select *Open Adaptation Editor* from the context menu.
63
63
3. The List Report of the Manage Credit Accounts application is displayed in *UI Adaptation* mode. Switch to *Navigation* mode.
64
-
4. Choose the `Go` button to populate the table with data.
64
+
4. Choose the `Go` button to populate the table with data.
65
65
5. Select a business partner by choosing the chevron button to navigate to the Object Page.
66
66
67
67

@@ -70,32 +70,27 @@ Object Page:
70
70
71
71
Working with Adaptation Editor:
72
72
73
-
1. On the Object Page, switch from *Navigation* to *UI Adaptation* mode and select the entire Object Page. After you’ve selected the Object Page in its entirety, choose the `Extend With Controller` button from the visual context menu.
73
+
1. On the Object Page, switch from *Navigation* to *UI Adaptation* mode. Choose from the *Object Page Quick Actions*the action *Add Controller to Page*.
74
74
75
-

2. In the *Extend With Controller* popup, enter a name in the *Controller Name* field (e.g. OPExtensionController) and choose *Create*.
77
78
78
-
2. In the *Extend Controller* popup, enter a name in the *Controller Name* field (e.g. OPExtensionController) and choose *Extend*.
79
+
- A corresponding .js file is generated in your workspace in the webapp folder under changes –> coding –> *OPExtensionController.js*.
79
80
80
-
- A corresponding .js file is generated in your workspace in the webapp folder under changes --> coding --> *OPExtensionController.js*. This file opens automatically in the main window of SAP Business Application Studio.
3. Before you edit the .js file generated in step 2, add a coding fragment to the Object Page layout. Select the *ObjectPageLayout* area (outlined in blue) and choose the `Add: Fragment` button from the visual context menu. (Tip: Click the left-hand border to select the Object Page.)
83
+
3. Before you edit the .js file generated in step 2, add a coding fragment to the Object Page layout. Choose from the *Object Page Quick Actions*the action *Add Custom Section*.
83
84
84
-
- You want to add a new section to the Object Page in which you can include a chart visualization of the Payment Trends. New sections are defined in the sections Aggregation of the ObjectPageLayout control, so you’re going to add a new XML coding fragment to this aggregation.
85
+
- You want to add a new section to the Object Page in which you can include a chart visualization of the Payment Trends. New sections are defined in the *sections* aggregation of the ObjectPageLayout control, so you’re going to add a new XML coding fragment to this aggregation.
85
86
86
-

87
+
4. In the *Add Custom Section* popup, enter a name for the fragment (e.g. extension_chart) and choose Create.
87
88
88
-
4. In the *Add Fragment* popup, you will see *Control type: sap.uxap.ObjectPageLayout, Target Aggregation: sections.* (This is only visible provided you’ve correctly selected the *ObjectPageLayout* area in which to add the fragment.)
89
+
5. Press *Save*.
89
90
90
-
5. Select `Create New`.
91
+
6. A corresponding .xml file is generated in your workspace in the webapp folder under *changes –> fragments –> extension_chart.fragment.xml*.
91
92
92
-
6. In the *Add Fragment* popup, enter a name (e.g. extension_chart) and choose `Create`.
93
-
94
-
- A corresponding .xml file is generated in your workspace in the *webapp* folder under *changes --> fragments --> extension_chart.fragment.xml*. This file opens automatically in the main window of SAP Business Application Studio.
95
-
96
-
7. Press *Save*.
97
-
98
-
8. In the *extension_chart.fragment.xml* file generated in step 6, enter the following code:
93
+
7. In the *extension_chart.fragment.xml* file generated in step 5, enter the following code:
@@ -133,8 +128,9 @@ Working with Adaptation Editor:
133
128
134
129

135
130
136
-
9. In the *OPExtensionController.js* file generated in step 2, enter the following code:
137
-
- Hint: `<your initials>` needs to be replaced by the initials chosen for your project name. E.g., if the project name is creditaccounts.appvar.cl1 then you need to replace `<your initials>` with *cl1*.
131
+
8. In the *OPExtensionController.js* file generated in step 2, enter the following code:
132
+
133
+
>`<your initials>` needs to be replaced by the initials chosen for your project name. E.g., if the project name is creditaccounts.appvar.cl1 then you need to replace `<your initials>` with *cl1*.
0 commit comments