Skip to Content
Author's profile photo Prakash Saurav

Extend oData Services for My Travel & Expenses Fiori App – Part 2

Extend oData Services for My Travel & Expenses Fiori App – Part 1

1 Logic to read & manipulate Entity Information

In this scenario we are only extending Expense entity type. Therefore we will have to provide logic to read and manipulate only Expense Type data.

Identified Methods:


GET_ENTITY in Super Class of standard method calls GET_ENTITY_SET for individual entity read. Therefore we dont have to take care of GET_ENTITY in extension

1.1 Logical flow for EXPENSES_GET_ENTITYSET

1.2 Logical flow for EXPENSES_UPDATE_ENTITY

1.3 Logical flow for EXPENSES_CREATE_ENTITY


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Shakeeluddin Khaja
      Shakeeluddin Khaja

      Thanks Prakash. Very useful document.

      Author's profile photo Former Member
      Former Member

      Hello everyone.

      I need your help, I am trying to add a new field at the head of the trip, exactly below the dates of the trip.

      Perform the steps in the document, add append to the spaoc_trv_header structure, add the field to the data model and implement the badi.

      In the webide add the extension project TRV_TE_CREE. By extending the S4_belowReportDetailDatesCustom.fragment.xml view, add the input field.

      When saving the trip the value of the input field is not displayed in the method IF_PAOC_MY_TRAVEL_EXPENSES ~ TRAVELANDEXPENSE_GET_ENTITY.

      I do not know what would be wrong.

      I would appreciate the help.

      Author's profile photo Karlyn Mongeau
      Karlyn Mongeau



      I have the same problem. Do find a solution?