Code Monkey home page Code Monkey logo

teched17's Introduction

โœˆ๏ธ Demo Code

alt text

alt text

To install the code onto your ABAP system you will need to use the abapGit project by @larshp.

Steps to Install

Import CDS Objects with abapGit

Go into ZABAPGIT and clone this repo alt text

Create a package for the code

alt text

Assign a transport

alt text

Activate the ABAP Objects alt text

At the end of importing your package should look like alt text

Create OData services and models

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.

alt text

Create Model ZTE_FLIGHT_MDL with Model Provider Class ZCL_TE_FLIGHT_MPC_EXT and Description Model for Flight CDS

alt text

Create 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.

alt text

Create 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

alt text

And assign the Annotation Model ZTE_FLIGHT_ANNO_MDL to the ZTE_FLIGHT_SRV service

alt text

Repeat the same steps above for the OVP Service

Create Model ZTE_FLIGHTOVP_MDL with Model Provider Class ZCL_TE_FLIGHTOVP_MPC_EXT and Description Model for Flight OVP Service

alt text

Create 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.

alt text

Create 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

alt text

Activate Services

Find the "Activate and Maintain Services" entry in the IMG

alt text

Select the "Add Selected Services" button, locate the 2 "ZTE_FLIGHT*" Services and press "Add Selected Services"

alt text

Should see Service Creation in the log alt text

Confirm by finding Services in list "Service Catalog" list alt text

Import SAPUI5 applications

The two SAPUI5 applications are zipped up and need to be imported manually alt text

Download and extract the SAPUI5 zipfile ZFLIGHTLIST to a tmp directory

call report /UI5/UI5_REPOSITORY_LOAD in SE38 and upload from tmp directory alt text

Confirm and Upload alt text

repeat for the ZFLIGHTOVP application alt text

Confirm and Upload alt text

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

alt text

Lastly you may need to create data for the Flight Data Model

Goto Transaction SE38 and run SAPBC_DATA_GENERATOR

Enjoy ๐Ÿ˜ƒ โœˆ๏ธ

teched17's People

Contributors

gregorwolf avatar jasper07 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

teched17's Issues

.abapgit.xml

Hi,
The .abapgit.xml file should be located in the root folder of the project. I think the current setup also works, but it just ignores the .abapgit.xml file

Mistake in Readme for the Flight Annotation Model

In the README steps for creation of the FLIGHT Annotation Model, it had ZTE_FLIGHTOVP_ANNO_MDL listed and the screenshot is incorrect. Also, the following steps to assign the FLIGHT Annotation Model to the Flight Service was listed as "And assign the Annotation Model ZTE_FLIGHTOVP_ANNO_MDL to the ZTE_FLIGHT_SRV service"

Anyway, I attended your TechEd session and it was GREAT!!! Thank you for taking the time to not only prepare the presentation and share your experience but at the same time share the work as well! Thanks!

Btw, I did manage to follow through the steps and got it to work on my local ABAP server. Again, can't thank you enough for taking the time and effort to put this together!

not able to clone

image 907
Hi,
when I try to import to my system, it gives this error, how to solve it?
thanks,
Jun

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.