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:
Note:
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
Thanks Prakash. Very useful document.
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.
Hello,
I have the same problem. Do find a solution?
Thanks.
Hi Prakash Saurav,
i followed this blog to extend my travel request V2 oData service SEGW some of the strings are missing from the annotation.
Please refer below mentioned my blog for more info about the error.
After Extending Standard Odata Service strings are missing in Annotation meta data
https://answers.sap.com/questions/13667709/after-extending-standard-odata-service-strings-are.html
Please help us to sort this issue.