on 2023 Nov 16 9:13 PM
Dear all,
I did a search but didn't find a solution.
I have a RAP app which navigates to another app's list report.
The semantic object was created in transaction /UI2/FLPD_CUST, and in CDS the code is:
@Consumption.semanticObject: 'Z_SEMANTIC_OBJ'
(...)
type: #FOR_INTENT_BASED_NAVIGATION, semanticObjectAction: 'display'
This is working fine, but I need the navigation to be done to an object page passing DetailOrder parameter instead of the list report.
Part of current URL:
The URL wich navigates do the object page:
https://xyzwdd.clientname.com.br:12345/sap/bc/ui2/flp?sap-client=123&sap-language=PT#Z_SEMANTIC_OBJ-display&/DetailOrder('35596')
Is this possible?
Thanks!
Request clarification before answering.
As far as I know (based on S4 2021 release) it is not possible to do this using FOR_INTEND_BASE_NAVIGATION using RAP. You can try to create a virtual field with an URL or create a field with concatenate.
The content of the field should be #<semacticObject>-<Intent>?<Keyfield>=<Key> for example:
#SalesOrder-display?SalesOrder=1234567890
Then use #WITH_URL to create the link using the URL field (here outboundNavigationURL):
@UI.lineItem: [{ position: 10, type: #WITH_URL, url: 'outboundNavigationURL' }]
documentNumber;
This will open the object page directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
8 | |
7 | |
7 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.