Skip to Content

Fiori: Reuse Components not found

Hello guys,

I have a S/4HANA FPS02 instance and trying to get the best practice content running.

To be more specific, I want to create a purchase order using the fiori app "create purchase order".

Unfortunately I always get the error message that the app cannot be startet.

Using the developer tools I can see that this is the issue:

abap.js:2 GET https://[myhost]/sap/bc/ui5_ui5/ui2/ushell/resources/~20160504081100~/sap/se/mi/plm/lib/attachmentservice/library.js 404 (NOT FOUND)

and also

core-min-0.js:92 2016-07-28 11:35:08.310479 Failed to load UI5 component with properties '{"name":"ui.ssuite.s2p.mm.pur.po.create.s1","self":{"name":"ui.ssuite.s2p.mm.pur.po.create.s1"},"messages":[{"severity":"error","text":"Anwendung ui.ssuite.s2p.mm.pur.po.create.s1 hat Fehler und wird möglicherweise nicht richtig ausgeführt."}],"componentData":{"startupParameters":{}},"asyncHints":{"libs":["sap.ca.scfld.md","sap.ca.ui","sap.me","sap.ui.unified"],"waitFor":[]},"url":"/sap/bc/ui5_ui5/sap/mm_po_cres1/~D672144C1827143B3DE185FC96F9A4AD~C","async":true,"id":"application-PurchaseOrder-create-component"}'. - Error: failed to load 'sap/se/mi/plm/lib/attachmentservice/library.js' from /sap/bc/ui5_ui5/ui2/ushell/resources/~20160504081100~/sap/se/mi/plm/lib/attachmentservice/library.js: 404 - NOT FOUND

So basically the app is trying to load sap/se/mi/plm/lib/attachmentservice/library.js, but since there is no resource-path registered, it is trying to load it from the ushell/resources directory.

In transaction SICF I found the plm_ath_cres1 ("Attachment Service Reusable Component") and it is activated. This means that the command

jQuery.sap.registerResourcePath("sap/se/mi/plm/lib/attachmentservice","/sap/bc/ui5_ui5/sap/plm_ath_cres1/");

Would need to be executed. When I execute it manually, the attachment service library is loading without any issues, but then I immediately get the next problem, since it is load

/sap/bc/ui5_ui5/sap/sd_prc_reusecom/sap/cus/sd/lib/pricing/library.js

while in SICF I can see that the sd pricing reuse component is called sd_prc_reusels1 in my system instead of sd_prc_reusecom. It would need to be

/sap/bc/ui5_ui5/sap/sd_prc_reusels1/library.js

instead.


What is the issue here? Do I need to update a component?

All BSPs are in Component UIS4HOP1 where my Release is 100 SP2.

I didn't find any (further) SAP Notes on this...

Any help is appreciated!

Fabian

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Aug 09, 2016 at 10:33 AM

    Hello Fabian,

    You could try implement instructions which be contained in SAP note 2288841.

    On our system this steps, helped resolve problem.

    Best Regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Fabian Krüger

      Fabian,

      We had the same issue with the Manage Purchase Order Fiori app on a S/4 HANA system.

      Scheduling the report "/UI5/APP_INDEX_CALCULATE" fixed this issue for us too so please mark this question as answered.

      Thanks!