Skip to Content

Backend checks and modifications in Fiori apps

Hi all,

i have a question regarding the way to manage inside a Fiori App existing backend checks and modifications done through BAdI or enhancements.

For example, in SRM transactional Fiori App such as "My Shopping Cart", during mini cart creation,update, check and change BAdI are not called: they are triggered only when you order your SC.

So, what is the best practice in this case? Do we code same logic in the OData model or not?

Thank you for any pointers you could have.

Regards.

Laurent.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Apr 26, 2016 at 12:50 PM

    Hello,

    BAdI calls are done only when Shopping Cart PDO instance is created.

    This instance is created when you "transfer" mini-cart items to "real" SRM Shopping Cart by clicking onto cart icon, in the right top corner.

    So, before this action, no BAdI are called.

    For the SRM UI Add-On, as catalog call can be done, BBP_CAT_CALL_ENRICH and BBP_CATALOG_TRANSFER BAdI are called:

    i- during catalog call for the first BAdI,

    ii- during item transfer from catalog to mini-cart, then, a second time from mini cart to review cart as explained in SAP note 1891371 - BBP_CATALOG_TRANSFER BAdI behaviour is SRM UI Add-On 1.0

    Regards.

    Laurent.

    Add a comment
    10|10000 characters needed characters exceeded