on 03-25-2023 3:07 PM
Hello,
We have a requirement in the Fiori apps - Manage Credit Accounts > Credit Segments and in the Manage Credit Limit Requests.
We have added a Business Partner field in the app by creating an extend view of standard BO C_CRDTMGMTACCOUNTTP and C_CRDTLIMITREQUESTTP. We have annotated the field with WITH_INTENT_BASED_NAVIGATION and kept semantic object as BusinessPartner to navigate the user to a custom Fiori element app which will show data from custom tables based on the business partner and credit segment.
The solution that we need is that when the user navigates from app Manage Credit Accounts to the custom app, the custom app must not allow CUD operations, but when the user navigates from Manage Credit Limit Requests to the custom app, he should be able to do CUD operations.
The exposed BO of custom app is not a Custom CDS entity, but a projection of a root view fetching data from custom Z tables. We have deployed the custom app and also created tile and target mapping to make it visible in the launchpad.
How can we achieve this? Thanks in advance.
not sure if I fully get it but you can try to make two tiles for the custom app, each with his unique semantic object and action. Based on the hash (semantic object and action) you’ll know where the navigation is coming from and dynamically allow certain actions or not
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Wouter, Thanks for the response. I had this in mind to keep two tiles with different hash, but I am troubling with the next part on where can I write the logic in my custom app to make CUD operations enable or disable by reading the hash from URL. If there's any reference document you could help me with.
User | Count |
---|---|
72 | |
8 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.