I have a requirement to create an mobile application for vehicle tracking in SAP TM. I am not sure on what is SAP's strategy for ODATA service implementation. It's a big app with many screens and looks like it involves multiple standard BOPF objects. Now I am confused with some of the below points.
1. First approach is to Define entities manually and then implement CRUD operations in DPC_EXT methods by calling existing BOPF object like we do in reports n all ==> It looks like better option and GO to option.
2. Second option is to create custom BOPF and directly consume it in ODATA service using Redefine "BOPF Option". However creating this BOPF will be difficult tasks since data/operations involved here involves multiple standard BO's.
3. How to handle attachments when uploading file from UI5 application in case of TM. In other Fiori apps we have standard ODATA service CV_ATTACHMENT_SRV. But not sure if we have something similar ODATA service to handle attachments in TM.
Therefore I just wanted to understand how SAP is approaching in case of Fiori apps from TM.