cancel
Showing results for 
Search instead for 
Did you mean: 

Draft functionality for SAP Free Style app

PoojaThareja
Participant

Hi All

I need to create a transactional Fiori app. I need some advice as being a beginner I am confused between fiori elements and freestyle…. Is it possible to create a free style app using Draft functionality without BOPF as I am creating my app on BW query or BW cube. As I am not using CDS view I am not sure how can I add annotations for BOPF framework. My actual requirement is create a transactional Fiori app on B4Hana system and I want to give Draft functionality. If you can please guide what approach I should follow it will be great help.

Thanks

Pooja

Accepted Solutions (0)

Answers (1)

Answers (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert

Hi Pooja,

though it is in principal technically possible to develop a service that would behave like a normal draft enabled service leveraging the SAP Fiori Programming model I would not recommend to try it out.

Trying to rebuild a functionality where several teams at SAP side have been working on for several years seems to me not a feasible approach ;-).

Rather check out the following blogs whether these are helpful:

https://blogs.sap.com/2019/01/09/abap-programming-model-for-sap-fiori-draft-based-for-non-guid-keys-...

https://blogs.sap.com/2018/06/24/abap-programming-model-for-fiori-transactional-apps-with-draft-capa...

If this doesn't help, you can try out to built a "draft poor mans approach".

That means you create an app that persists the data in database tables.

Then you add an action that would then save the data into the "real" database tables.

So it would not automatically store the data and would not offer other draft capabilities but it would allow you to add some logic before "really" saving the data.

Hope this helps

Best Regards,

Andre