0% found this document useful (0 votes)
60 views

ABAP RESTful Application Programming Model (1)

The document outlines the steps to create and deploy an ABAP RESTful application on Cloud Foundry, including creating a database table, interface, consumption file, metadata file, behavior definition, and service binding. It details the process of implementing these components and deploying the application using SAP Business Application Studio. The presentation is aimed at guiding users through the development and deployment phases of an ABAP application in a Cloud Foundry environment.

Uploaded by

amani bougossa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views

ABAP RESTful Application Programming Model (1)

The document outlines the steps to create and deploy an ABAP RESTful application on Cloud Foundry, including creating a database table, interface, consumption file, metadata file, behavior definition, and service binding. It details the process of implementing these components and deploying the application using SAP Business Application Studio. The presentation is aimed at guiding users through the development and deployment phases of an ABAP application in a Cloud Foundry environment.

Uploaded by

amani bougossa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 46

ABAP RESTful Application

Programming Model
Cloud Foundry : Basic App
deployment

Presentation by Anis Zaâtour


February 2024
Content

1. Create Database Table


2. Create Interface
3. Create Consumption
4. Create Metadata File
5. Create Behaviour Definition
6. Implement Behaviour Definition
7. Define Behaviour Projection
8. Define Service Definition
9. Define Service Binding
10. Deploy App on Cloud foundry

ABAP RESTf ul Application Programming Model


PwC 2
Create Database Table
Right Click on your Package ➔New➔Other Abap Repository Object

PwC 4
Search for Database ➔Click on

PwC 5
The Structure of ZTPERSONTABLE

PwC 6
Create Interface
Right Click on your Package ➔New➔Other Abap Repository Object

PwC 8
Search for Data Definition ➔ Click on Data Definition ➔Fill all the
required fields ➔ Select the transport Request

Presentation Title Date


PwC 9
PwC 10
Create a consumption file
Same steps as create an interface but here we are going to make a projection on
the interface ZIPERSONRAP

Presentation Title
PwC 12
PwC 13
Create Metadata file
Right Click on your Package ➔New➔Other Abap Repository Object

PwC 15
Search for Metadata Extension ➔

PwC 16
PwC 17
Create Behavior
Definition
Right Click on your Interface ➔New Behavior Definition

PwC 19
Fill in the required fields

PwC 20
Create Abap Class
Right Click on zbp_ipersonrap ➔Create behavior implementation
class zbp_ipersonrap

PwC 22
Fill in the required fields

PwC 23
Fill in the required fields

PwC 24
Define Behaviour
Projection
Right click on your consumption file ➔New
behavior Definition➔ Fill in the required fields

PwC 26
PwC 27
Service Definition and
Service Binding
Right click on your consumption file ➔New Service
Definition➔ Fill in the required fields

PwC 29
PwC 30
Right click on your Business Services ➔New
Service Binding➔ Fill in the required fields and
select the Odata V2 for the Binding Type

PwC 31
Click On Publish then Click on Preview

PwC 32
Output
Click On Go

PwC 34
The Data

PwC 35
• You can Edit , Delete or Set him/her as Active

PwC 36
Application
deployment to Cloud
Foundry
Click on SAP Business Application Studio

Presentation Title Date


PwC 38
In your BAS development space, run command ‘cf login’ and enter your credential to login. Make sure to choose
the right CF space if you have more than one.

Date
PwC 39
Create MTA project
Go to View->Find command and run ‘Fiori: Open CF Application Router Generator’. Enter
the parameter as follows and finish.

• ➔

Date
PwC 40
Date
PwC 41
Create Fiori element project
Next, generate an app based on ABAP RAP Odata. View->find command and ‘Open Template Wizard’ Choose Fiori application from template and
choose Fiori element. Choose List report object page and enter the followings.

Parameter Value

Data source Connect to a system

System Abap-cloud-abap-free-trial-*********

ABAP Environment Your ABAP Environment

Service Z_SERVICE_BINDING_V2

Main entity Team

Date
PwC 42
Project attribute

Parameter Value

Module name zpersonmaster

App title DemoMASTER

Project folder name /home/user/projects/ZPERSON

Minimum UI5 version 1.117.5(source system version)

Add deployment configuration to MTA Yes


project
(/home/user/projects/ZUSER_MASTER_M
TA/mta.yaml)

Deployment configuration

Parameter Value

Target Cloud Foundry

Destination Your CF name

Date
PwC 43
Date
PwC 44
Date
PwC 45
Thank you

pwc.com

© 2024 PwC. All rights reserved. Not for further distribution without the permission of PwC. “PwC” refers to the network of m ember firms of
PricewaterhouseCoopers International Limited (PwCIL), or, as the context requires, individual member firms of the PwC network. Each member
firm is a separate legal entity and does not act as agent of PwCIL or any other member firm. PwCIL does not provide any services to clients. PwCIL
is not responsible or liable for the acts or omissions of any of its member firms nor can it control the exercise of their professional judgment or bind
them in any way. No member firm is responsible or liable for the acts or omissions of any other member firm nor can it contro l the exercise of
another member firm’s professional judgment or bind another member firm or PwCIL in any way.

You might also like