on 2023 Aug 16 2:58 AM
Hi,
I am developing a custom app in Fiori.
There will be a table or a popover that show certain number of purchase requisition.
I have a requirement to have a hyperlink of Purchase Requisition Number and when click, it will open a new tab to view the details of the PR (something like ME53N).
Looking the solution in the internet and there is no any similar requirement. Maybe someone out there has ever done this before in Fiori ?
Thanks
Request clarification before answering.
If you already have a Fiori tile and target mapping created for ME53, just trigger navigation to the same using the semantic object and action for the ME53 target mapping, on clicking the PR number. You can refer to Configuring Navigation which explains how to configure navigation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
to add on what Saurabh already said. You need to perform navigation to the #SemanticObject-Action [for ME53 if there's a Tile already then you should see this in the URL] with a Parameter. You can use below link for code snippet and samples.
Cross Application Navigation between SAPUI5 applic... - SAP Community
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Jacky,
You can use an attribute target="_blank" in XML view to open any link in a new tab
Example :
XML View : <Link text="OPEN LINK" href="<URL>" target="_blank" />
Controller :
sap.m.URLHelper.redirect("<URL>", true)
second attribute in above snippet 'true' will open the provided link in new tab.
FYR :
Link: https://sapui5.hana.ondemand.com/#/api/sap.m.Link%23controlProperties
URLHelper: https://sapui5.hana.ondemand.com/#/api/sap.m.URLHelper%23methods/Summary
Hope this helps
Regards,
Farooq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.