cancel
Showing results for 
Search instead for 
Did you mean: 

Fiori - Shopping Cart App Error

Former Member
0 Kudos

Hi,

We are implementing Shopping Cart Approval app. After doing the configuration when we test the app from the browser, we are getting the following error.

Check the URL parameters and the scenario definition. To check the scenario definition, go to customizing for SAP NetWeaver Gateway and choose SAP NetWeaver -> Gateway Service Enablement -> Content -> Task Gateway Service -> Scenario Definition.

We tested the CartApproval service and it is working fine on /iwfnd/gw_client.  But when we try to launch the app using the direct link we get the above error.

http://xxxxx:50000/sap/bc/ui5_ui5/sap/ui5_srm_sc_apv/index.html?sap-client=810

Any suggestions on where to start looking for resolution? I have added few screenshots of our configuration.

Tags edited by: Michael Appleby

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Some additional screenshots

former_member182874
Active Contributor
0 Kudos

Have you defined Consumer type ?in Scenario definition ?

Like Tablet and assign role for tablet

SAP_SRM001_SRM_SHOP_APR

Also post screenshot for error from Fiori .

please provide the sap/opu link from the inspect element, where you get the error

Regards,

Tejas

Message was edited by: Tejas Chouhan

NareshChittoor
Participant
0 Kudos


Hi Pratheep,

Check did you maintained Role in Gateway Server -->PFCG Transaction

In your SAP NetWeaver Gateway system, call transaction PFCG (Role Maintenance).

Assign users to the predefined launch page role for your SAP Fiori application

My Shopping Cart :  SAP_SRA014_SRM_SC_CR

Regards

Naresh

Former Member
0 Kudos

Hi Naresh,

I do not find this role in PFCG.

FYI - this is the only app from Fiori Suite we are implementing and currently not planned to use the launch page. We are planning to directly launch the app using the direct link.

Regards,

Pratheep

NareshChittoor
Participant
0 Kudos

Yes Pratheep, Even though you have to mainatain the role in PFCG

In context scenario, you might be maintained "SAP_SRA014_SRM_SC_CR" this role.

Same has to be maintained in PFCG, SU01 T.codes for the user.

we too running direct URL and above Roles creation solved our problems..

Former Member
0 Kudos

Thanks Naresh. Will check with our basis team regarding this role creation

former_member182874
Active Contributor
0 Kudos

Hi Naresh,

Pratheep is trying Approve Shopping cart app.

My Shopping cart role is not reqd

Regards,

Tejas

NareshChittoor
Participant
0 Kudos

Ok..I though it was for My shopping cart App.

Hi Pratheep,

if it is Approve shopping cart then below role needs to be created

"SAP_SRM001_SRM_SHOP_APR"

Thanks Tejas for correction..

Regards

Naresh

Answers (3)

Answers (3)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Just FYI.

I see you use old UI components which were released in May 2013.

Important Note: Please use new UI with new SAP Fiori Launchpad

New UI components have UI extension points and work with new SAP Fiori Launchpad.

Please find correct components based on your Backend version.

Regards, Masa

SAP Customer Experience Group - CEG

Former Member
0 Kudos

Hi,

There was issue with the roles. After few hours of debugging, we were able to solve this.

We removed all the other roles and used only the standard roles you mentioned.

We are able to see and approve the SC from browsers now.

Thanks Tejas and Naresh..

Regards,

Pratheep

former_member182874
Active Contributor
0 Kudos

Great

former_member182874
Active Contributor
0 Kudos

Also if you are searching this node in gateway  as per your post in previous thread.

However, i could not find this node in spro.

SPRO->SAP Netweaver->Gateway->OData Channel Development with IW_BEP->Registration->Assign Data Provider to Data Model.


Ask your basis to implement this node, if its missing . Former development should be missing for you

Regards,

Tejas

former_member182874
Active Contributor
0 Kudos

In Scenario definition, Give version as 2.

You have given 1

Former Member
0 Kudos

Hi Tejas,

We already maintained the data in the node Assign Data Provider to Data Model.

In Scenario definition, i changed the version as 2.


Still the same error.


The only difference is the role. Our security team has created a role template using all the docs. May be i will check with them?



Regards,

Pratheep

former_member182874
Active Contributor
0 Kudos

Have you copied standard role in PFCG ?

The Z role which i see here ZS:F_NWG_DEV should be a copy of SAP_SRM001_SRM_SHOP_APR.

Go to PFCG

Enter role name : ZS:F_NWG_DEV

Check User comparison and Authorization , it should be green and given full access.

If this is not possible, remove this z role from Scenario definition and replace this with standard role SAP_SRM001_SRM_SHOP_APR and give full access.

Regards,

Tejas

Message was edited by: Tejas Chouhan

Former Member
0 Kudos

Thanks Naresh and Tejas. I have asked the basis team to create this role. Will update once I get the role assigned

Regards

Pratheep