Skip to Content

Draft functionality for SAP Free Style app

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 19 at 01:42 PM

    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-much-more../

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

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.