Skip to content

Commit 8b1f44c

Browse files
authored
update
1 parent b25eaa9 commit 8b1f44c

File tree

5 files changed

+42
-3
lines changed

5 files changed

+42
-3
lines changed

docs/.vitepress/config.mjs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ export default defineConfig({
107107
{ text: 'Logging', link: '/development/logging' },
108108
{ text: 'Device Capabilities', link: '/development/ndc' },
109109
{ text: 'CDS, EML', link: '/development/cds' },
110-
{ text: 'Custom JS', link: '/development/custom_js' },
111110
]
112111
},
113112
]
@@ -152,7 +151,11 @@ export default defineConfig({
152151
{ text: 'Renaming', link: '/advanced/renaming' },
153152
{ text: 'Launchpad KPIs', link: '/addons/kpi' },
154153
{ text: 'Remote App Calls', link: '/addons/rfc' },
155-
{ text: 'Extensibility', link: '/advanced/extensibility' },
154+
{ text: 'Extensibility', link: '/advanced/extensibility' , items: [
155+
{ text: 'Custom JS', link: '/advanced/extensibility/custom_js' },
156+
{ text: 'Custom Controls', link: '/advanced/extensibility/custom_control' },
157+
{ text: 'Frontend', link: '/advanced/extensibility/frontend' },
158+
] },
156159
{ text: 'Technical Background', link: '/advanced/insights/insights' , items: [
157160
{ text: 'General', link: '/advanced/insights/insights' },
158161
{ text: 'open-abap', link: '/advanced/insights/open_abap' },

docs/advanced/extensibility.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22

33
You can integrate your own JavasScript code into abap2UI5 by implementing new UI5 Custom Controls. Call for example third party libraries or extend your ABAP apps with additional functionalities.<br>
44

5-
Check out [this guideline](https://community.sap.com/t5/technology-blogs-by-members/abap2ui5-11-extensions-ii-guideline-for-developing-new-features-in/ba-p/13576797) to learn more.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Custom Controls
2+
3+
You can develop your own UI5 custom controls and integrate them with the ABAP backend. Check out [this guideline](https://community.sap.com/t5/technology-blogs-by-members/abap2ui5-11-extensions-ii-guideline-for-developing-new-features-in/ba-p/13576797) to learn more.
File renamed without changes.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
outline: [2, 4]
3+
---
4+
# Frontend
5+
6+
The abap2UI5 frontend artifacts are stored in the app folder. If you want to make adjustments, follow these steps:
7+
8+
#### Setup
9+
Open VS Code or an editor of your choice, use the terminal:
10+
```
11+
git clone https://github.com/abap2UI5/abap2UI5
12+
cd app
13+
```
14+
Replace the backend with your abap system in all three files:
15+
16+
<img width="400" alt="Code 2024-11-22 07 44 12" src="https://github.com/user-attachments/assets/155c9a3f-8a0a-494b-8fc4-a4bba2bf0e90">
17+
18+
19+
#### Develop & Test
20+
Set the correct backend system in the yamls <br>
21+
Replace "/sap/bc/z2ui5" with your endpoint in the manifest
22+
```
23+
npm i
24+
npm run start-noflp
25+
```
26+
This is the output in the terminal:
27+
28+
<img width="1000" alt="Screenshot 2024-11-22 at 07 45 55" src="https://github.com/user-attachments/assets/b7df2e48-7bf4-4454-9d05-d2bc8c4a6b49">
29+
30+
#### Before PR
31+
Transform UI5 App to stringified ABAP
32+
```
33+
npm run transform
34+
```

0 commit comments

Comments
 (0)