{"id":15148601,"url":"https://github.com/jasper07/teched17","last_synced_at":"2025-10-24T05:30:20.548Z","repository":{"id":147253476,"uuid":"100005965","full_name":"jasper07/Teched17","owner":"jasper07","description":"Code for the demo I gave at SAP TechEd 2017","archived":false,"fork":false,"pushed_at":"2020-10-10T09:07:25.000Z","size":11366,"stargazers_count":48,"open_issues_count":1,"forks_count":13,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-01-30T22:51:32.201Z","etag":null,"topics":["abap","cds","fiori","sapui5"],"latest_commit_sha":null,"homepage":"","language":"ABAP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jasper07.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-11T07:41:30.000Z","updated_at":"2024-07-27T18:48:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"7d951e1a-6f0f-4f0d-bedb-d6e8601e1357","html_url":"https://github.com/jasper07/Teched17","commit_stats":{"total_commits":40,"total_committers":3,"mean_commits":"13.333333333333334","dds":"0.22499999999999998","last_synced_commit":"e8e3d3ce953e48487912b78d5c9b862334e3956a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasper07%2FTeched17","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasper07%2FTeched17/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasper07%2FTeched17/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasper07%2FTeched17/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasper07","download_url":"https://codeload.github.com/jasper07/Teched17/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237915423,"owners_count":19386724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abap","cds","fiori","sapui5"],"created_at":"2024-09-26T13:20:58.056Z","updated_at":"2025-10-24T05:30:19.808Z","avatar_url":"https://github.com/jasper07.png","language":"ABAP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# :airplane: Demo Code\n\n![alt text](img/ovp2.gif \"ABAP Git\")\n\n![alt text](img/abapgit.png \"ABAP Git\")\n\nTo install the code onto your ABAP system you will need to use the [abapGit](https://github.com/larshp/abapGit) project by [@larshp](https://github.com/larshp).\n\nSteps to Install\n=========\n\n* [Import CDS Objects with abapGit](#import-cds-objects-with-abapgit)\n* [Create OData services and models](#create-odata-services-and-models)\n* [Activate Services](#activate-services)\n* [Import SAPUI5 Applications](#import-sapui5-applications)\n\nImport CDS Objects with abapGit\n=========\n\nGo into ZABAPGIT and clone this repo\n![alt text](img/clone_repo.png \"Clone Repository\")\n\nCreate a package for the code\n\n![alt text](img/create_package.png \"Create Package\")\n\nAssign a transport\n\n![alt text](img/transport.png \"Assign Transport\")\n\nActivate the ABAP Objects\n![alt text](img/activate_objects.png \"Activate Objects\")\n\nAt the end of importing your package should look like\n![alt text](img/package_contents.png \"Package contents\")\n\nCreate OData services and models\n=========\n\nOnce 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.\n\n![alt text](img/img_gw.png \"IMG settings\")\n\nCreate Model **ZTE\\_FLIGHT\\_MDL** with Model Provider Class **ZCL\\_TE\\_FLIGHT\\_MPC_EXT**\nand Description **Model for Flight CDS**\n\n![alt text](img/create_model1.png \"Create Model\")\n\nCreate the corresponding Service **ZTE\\_FLIGHT\\_SRV** with the Description **Service for Flight CDS** and Data Provider Class **ZCL\\_TE\\_FLIGHT\\_DPC\\_EXT**. Then assign the above Model to Service.\n\n![alt text](img/create_service1.png \"Create Service\")\n\nCreate the Annotation Model **ZTE\\_FLIGHT\\_ANNO\\_MDL** based on the Annotation Model Provider Class **CL\\_SADL\\_GW\\_CDS\\_EXPOSURE\\_APC** with the description **Annotation for Flight CDS**\n\n![alt text](img/create_anno1a.png \"Create Annotation Model\")\n\nAnd assign the Annotation Model **ZTE\\_FLIGHT\\_ANNO\\_MDL** to the **ZTE\\_FLIGHT\\_SRV** service\n\n![alt text](img/assign_anno_service1.PNG \"Assign Annotation Model to service\")\n\nRepeat the same steps above for the OVP Service\n\nCreate Model ZTE\\_FLIGHTOVP\\_MDL with Model Provider Class **ZCL\\_TE\\_FLIGHTOVP\\_MPC\\_EXT**\nand Description **Model for Flight OVP Service**\n\n![alt text](img/create_model2.png \"Create Model\")\n\nCreate the corresponding Service **ZTE\\_FLIGHTOVP\\_SRV** with the Description **Service for Flight OVP CDS** and Data Provider Class **ZCL\\_TE\\_FLIGHTOVP\\_DPC\\_EXT**. Then assign the above Model **ZTE\\_FLIGHTOVP\\_MDL** to Service.\n\n![alt text](img/create_service2.png \"Create Service\")\n\nCreate the Annotation Model **ZTE\\_FLIGHTOVP\\_ANNO\\_MDL**  based on the Annotation Model Provider Class **CL\\_SADL\\_GW\\_CDS\\_EXPOSURE\\_APC** with the description **Annotation for Flight OVP** and assign to the service **ZTE\\_FLIGHTOVP\\_SRV**\n\n![alt text](img/assign_anno_service2.PNG \"Assign Annotation Model to service\")\n\nActivate Services\n=========\n\nFind the \"Activate and Maintain Services\" entry in the IMG\n\n![alt text](img/activate_service_img.jpg \"locate Activate Service in IMG\")\n\nSelect the \"Add Selected Services\" button, locate the 2 \"ZTE\\_FLIGHT*\" Services and press \"Add Selected Services\"\n\n![alt text](img/add_selected_services.png \"Add Selected Services\")\n\nShould see Service Creation in the log\n![alt text](img/add_selected_services2.png \"Service Creation Log\")\n\nConfirm by finding Services in list \"Service Catalog\" list\n![alt text](img/add_selected_services3.png \"Confirm in list of Active Services\")\n\nImport SAPUI5 applications\n=========\n\nThe two SAPUI5 applications are zipped up and need to be imported manually\n![alt text](img/zipfiles.png \"Location of the SAPUI5 apps\")\n\nDownload and extract the SAPUI5 zipfile [ZFLIGHTLIST](https://github.com/jasper07/Teched17/blob/master/ZFLIGHTLIST.zip?raw=true) to a tmp directory\n\ncall report /UI5/UI5_REPOSITORY_LOAD in SE38 and upload from tmp directory\n![alt text](img/zflightlist_upload.PNG \"Create new SAPUI5 app\")\n\nConfirm and Upload\n![alt text](img/zflightlist_upload2.PNG \"Confirm and Upload\")\n\nrepeat for the [ZFLIGHTOVP](https://github.com/jasper07/Teched17/blob/master/ZFLIGHTOVP.zip?raw=true)\napplication\n![alt text](img/zflightovp_upload.PNG \"Create new SAPUI5 app\") \n\nConfirm and Upload\n![alt text](img/zflightovp_upload2.PNG \"Confirm and upload\")\n\nnow locate and run the ZFLIGHOVP app, should be somewhere like\nhttp://server:port/sap/bc/ui5_ui5/sap/zflightovp/webapp/index.html?sap-client=001\n\n![alt text](img/run_ovp_app.PNG \"Confirm and upload\")\n\nLastly you may need to create data for the Flight Data Model\n\nGoto Transaction SE38 and run SAPBC_DATA_GENERATOR\n\n## Enjoy :smiley: :airplane:","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasper07%2Fteched17","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasper07%2Fteched17","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasper07%2Fteched17/lists"}