Professional Documents
Culture Documents
Fiori App Based On Abap
Fiori App Based On Abap
AGENDA
Give the Entity, Structure and the EntitySet create option as below.
We are going to use the already created employee table structure here.
Select all the Data source parameters and press Next.Press Finish to complete the Data
Model reation.
The Entity and EntitySet are created now, and we can see the entity type has been created
with reference to the given ABAP Structure.
Select the Function Module for Create Option and press Continue, then the below window will
be open with the Data Source Parameter and the Data Mapping has to be done as follows.
Also we have an option “Propose Mapping”, which does the data mapping automatically
CREATE
Drag and drop the Data Source Parameter as shown below for the Mapping Operation.
Similarly, we have defined the mapping for Delete, GetEntity, GetEntitySet and Update
operation using the Function Modules we have already created.
Delete
Get Entity
We have added one more Property, Empid to fetch the records from the backend based on the
Key.
SAP FIORI - ABAP
GetEntity Set
We have added one more Property, Empid to fetch the records from the backend based on the
Key.
Update
Once the mapping is completed, generate run time objects ( Ctrl+F3 ) and go to your Data
Provider Class(DPC) to find the ABAP coding has been generated automatically.
Once the above all activities are completed, we have to register the OData service to consume
them.
Select the Service and press the Register button to complete the Registration of
the OData service and press yes to continue.
SAP FIORI - ABAP
Select the package assignment as local object and continue the process.
SAP FIORI - ABAP
Select Call browser and check the xml response for your OData Service
SAP FIORI - ABAP
4) Consuming OData Service SAP UI5 Application
Login to web IDE and choose New Project from template
From Service Catalog Choose your ABAP Server name and Choose your OData URL for
further process
Once Deploying Process is over you can check in BSP application in ABAP server using T-
Code SE80 and SICF for ICF service.