cancel
Showing results for 
Search instead for 
Did you mean: 

Semantic Object Action for Extended Purchase Order application.

archit_wahi
Participant
0 Kudos

Hi All,

We have extended Fiori Approve Purchase Order application and now are trying to upload the application to our gateway server.

The issue we are facing is w.r.t the Semantic Object action that is to be provided to the Approve Purchase Order application in Launchpad designer.

The standard action is approve which if provided in extended app loads the standard PO application on clicking the extended tile.

We also had previously extended the leave application where the Semantic object action was zcreateLeaveRequest and the app is working fine.

We tried entering zapprove, approveExt etc for PO app but it fails showing the below errors.

Kindly help resolve.

Following is the error seen in console

Many Thanks

Archit Wahi

Accepted Solutions (1)

Accepted Solutions (1)

archit_wahi
Participant
0 Kudos

please suggest. We're getting this error unable to resolve intent. We believe its cause of semantic objects action. We also have leave extension working fine by using zcreateLeaveRequest as action, the same isnt working with PO approval.

Also  if we give the same action as standard app i.e approve it opens the standard application from the custom tile.

Best Regards

Archit Wahi

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Archit,

Semantic object and action should be same as original app, because you want the extended app is called from other apps.

Only you need to change the Application Alias, Target mapping and LPD_CUST.

This helps you to understand the objects relationship.

Regards,

Masa / SAP Technology RIG

archit_wahi
Participant
0 Kudos

Hi Masa,

When we do as you've suggested its opening the standard application.

When we test application from sicf the extended application runs fine.

Please find the lpd_cust & launchpad designer screenshots below. zpo_role is the new launchpad in lpd_cust.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Archit,

Are there the tile and the target mapping in a custom category? It should be in different category from the original category.

Regards,

Masa / SAP Technology RIG

archit_wahi
Participant
0 Kudos

we created dynamic tile, and gave them properties,

what is custom category, and you are talking about lauchpad or lpd_cust?

please elaborate

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Archit,

Sorry, I meant that a "catalog" in SAP Fiori launchpad designer.

Another try is ZPO_POLE in upper case.

Regards,

Masa / SAP Technology RIG

archit_wahi
Participant
0 Kudos

Yes its a new catalog that has been created. we tried ZPO_ROLE yet its not working.

The standard app opens by clicking on the extended tile we get following errors in console

core-min-0.js:85 2016-04-22 16:19:18 INTEROP service's ResolveLink operation returned 2 targets for hash '#PurchaseOrder-

approve', first one is used. - used target: {"id":"PurchaseOrder-

approve~62H","shellType":"FLP","postParameters":"","text":"Approve Purchase

Orders","applicationData":"SAPUI5.Component=ui.s2p.mm.purchorder.approve","applicationAlias":"ApprovePurchaseOrders","appl

icationType":"URL","url":"/sap/bc/ui5_ui5/sap/mm_po_apv","xappState":"","iappState":""}

ignored target:

{"id":"PurchaseOrder-approve~632","shellType":"FLP","postParameters":"","text":"PO Extension

applciation","applicationData":"SAPUI5.Component=ui.s2p.mm.purchorder.approve.po_dumpExtension","applicationAlias":"zpo_al

ias","applicationType":"URL","url":"/sap/bc/ui5_ui5/sap/zpo_ext","xappState":"","iappState":""}

sap.ushell_abap.adapters.abap.NavTargetResolutionAdapter

former_member182645
Participant
0 Kudos

@archit

i think interop confusing to hit on which application alias. remove other po extend application role and recheck again.

you will get success.

former_member182645
Participant
0 Kudos

@archit some time problem with role

we have some problem

remove mm roles on gateway

dont give sap_mm_tcr_t_x1 role.

it will solve youur problem.

but it confusing.

unable to give both role same time

Answers (2)

Answers (2)

archit_wahi
Participant
0 Kudos

yes the tile opens the standard application if we give both

standard zsap_mm_tcr_t_x1 role and custom extended app role.

If we remove the zsap_mm_tcr_t_x1 role then the tile opens the extended Fiori application. and it got resolved.


Many thanks to all

Archit wahi

Chantele
Active Participant
0 Kudos

please can you show the details of your semantic object and lpc_cust values?

Chantele
Active Participant
0 Kudos

You shouldn't need to change your semantic object values you should only need to change the application alias value, to match the application alias value you have in lpd_cust

The image below is from our custom leave request app.  lf you look the only reference to the extension app is the application alias

archit_wahi
Participant
0 Kudos

hi thanks for reply

this are all values

archit_wahi
Participant
0 Kudos

its showing old application,

i have made changes in original application,

added some filed in s3 view, but seams that its not reflecting

Chantele
Active Participant
0 Kudos

Have you tried clearing the broswer cache?

archit_wahi
Participant
0 Kudos

is this all setting ok?

tried to clear by, firfox,setting,privacy and thorugh se38 with all cache programs

archit_wahi
Participant
0 Kudos

in sicf , tested  service ... showing right changes

Chantele
Active Participant
0 Kudos

So are you working now?

former_member182645
Participant
0 Kudos

hi still have problem,

there two mapping

tile and target

i think all depend on tile mapping, and its semantic object and action, deselect semantic object on tile mapping and give application's SICF url

/sap/bc/ui5_ui5/sap/zpo_extend

it will work but on desktop , it will open into new window and on mobile its open in as popup

archit_wahi
Participant
0 Kudos

this screenshot is of your extended application or the standard app.

the custom Ext application alias is to be given in our new lpd_cust setting.and In launchpad designer of the extended app right?? not in the standard apps lpd_cust & the standard catalogue