To install the code onto your ABAP system you will need to use the abapGit project by @larshp.
- Import CDS Objects with abapGit
- Create OData services and models
- Activate Services
- Import SAPUI5 Applications
Go into ZABAPGIT and clone this repo
Create a package for the code
Assign a transport
At the end of importing your package should look like
Once all objects are activated you will need to maintain the MPC, DPC and Annotation locations. The below screenshot shows where to find this in the IMG.
Create the corresponding Service ZTE_FLIGHT_SRV and Assign the above Model to Service
Create the Annotation Model ZTE_FLIGHT_ANNO_MDL
And assign the Annotation Model ZTE_FLIGHT_ANNO_MDL to the ZTE_FLIGHT_SRV service
Repeat the same steps above for the OVP Service
Create Model ZTE_FLIGHTOVP_MDL
Create the corresponding Service ZTE_FLIGHTOVP_SRV and Assign the above Model ZTE_FLIGHTOVP_MDL to Service
Create the Annotation Model ZTE_FLIGHTOVP_ANNO_MDL and assign to the service ZTE_FLIGHTOVP_SRV
Find the "Activate and Maintain Services" entry in the IMG
Select the "Add Selected Services" button, locate the 2 "ZTE_FLIGHT*" Services and press "Add Selected Services"
Should see Service Creation in the log
Confirm by finding Services in list "Service Catalog" list
The two SAPUI5 applications are zipped up and need to be imported manually
Download and extract the SAPUI5 zipfile ZFLIGHTLIST to a tmp directory
call report /UI5/UI5_REPOSITORY_LOAD in SE38 and upload from tmp directory
repeat for the ZFLIGHTOVP
application
now locate and run the ZFLIGHOVP app, should be somewhere like http://server:port/sap/bc/ui5_ui5/sap/zflightovp/webapp/index.html?sap-client=001
Lastly you may need to create data for the Flight Data Model
Goto Transaction SE38 and run SAPBC_DATA_GENERATOR