cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Fiori Approve Requests error

shiangli
Explorer
0 Kudos

Hi,

I have just installed SAP Fiori app - Approve Requests. After completing the steps outlined in the Fiori install guide. I am receiving the following error in the browser:

"A problem occurred while reading the data

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."

I followed the steps for scenario definition in the install guide:

Scenario Defintion

Scenario Id: FIORI_APPROVE_REQUESTS

Technical Service Name: /IWPGW/TASKPROCESSING
EntitySet External Name: Task
Property External Name: TaskDefinitionID (I also tried 'Task Definition ID' which yielded the same results)

Assign Consumer Type to Scenario

DESKTOP (I am using google chrome browser to test)

Task Definition for Scenario

Task Type: TS00008267
SAP System Alias: LOCAL2

NOTE: This is my LOCAL2 system alias setup >> Local GW = Not checked; For Local App = X; RFC Desintation = NONE (this is an embedded scenario); Software version = /IWPGW/BWF;

I tried the Odata service using REST Client, and was able to receive the TaskCollection. So I am certain that TASKPROCESSING service is working properly.

This browser error doesn't record anything in /iwfnd/error_log.

The chrome developer tool only shows the following error, which seem to be normal according to another thread:

GET http://clklabvm29.lab.clockwork.ca:50000/sap/bc/ui5_ui5/sap/ui5_ca_all_apv/resources/sap/ca/common/u...

GET http://clklabvm29.lab.clockwork.ca:50000/sap/bc/ui5_ui5/sap/ui5_ca_all_apv/resources/sap/ca/workflow...

Any thoughts?

Thanks,

Shiang

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hello Shiang & Everyone,

I faced the same problem & found below working solution for this problem. I also deployed this app in embedded environment and found problem in the step of "Scenario Definition => Task Definition for Scenario" as shown below from Shiang's example scenario:

Task Definition for Scenario

Task Type: TS00008267
SAP System Alias: LOCAL2

Here the same 'System Alias' need to be set which is created & set for TaskProcessing service in 'Activate & Maintain Service Transaction (/IWFND/MAINT_SERVICE)' as per below link from Masa's lessons learnt blog.

http://scn.sap.com/community/mobile/blog/2013/06/25/sap-fiori-ll06--define-system-alias-for-the-task...

As the environment is embedded, so I created a RFC destination pointing to itself and maintained that in 'Activate & Maintain Service Transaction' as well as maintained the same in above step for "Scenario Definition => Task Definition for Scenario => <SAP System Alias>".

This step resolved the scenario.

PS: Reward points if your problem get solved with the solution provided.

Thanks,

Sudhanshu

Former Member
0 Kudos

Hi Shiang

Please check the the approval procedure in ECC system, If it is working fine then show me Scenario ID definition and Error log in NW server, else check the MM configuration for approval process.

Regards

Prasanth SV

former_member182874
Active Contributor
0 Kudos

Shiang,

Please provide the Inspect element link :

sap/opu link in Network tab,which you get while this popup error comes up.

Also, Have you followed Adding Custom workflows to Approve request application guide ? Because in Fiori install guide ,we see only for Formabsence, which is just a layout.

Please follow this guide as your workflow is custom

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0ab2463-4e16-3110-b08e-d93918e51...

Is the BADI implementation step done ?

Your task id is custom. So please follow this guide

Regards,
Tejas

Former Member
0 Kudos

Hi All,

   I got the same issue and below is the solution which worked for me.

   Added "&scenarioId=FIORI_APPROVE_REQUESTS" to the link which you are executing; Basically, Generic Call App needs to know which scenario it needs to execute. 

https://<hostname>.<domain><port>/sap/bc/ui5_ui5/sap/ui5_ca_all_apv/index.html?sap-client=100&scenarioId=FIORI_APPROVE_REQUESTS

Hopefully, this helps!

Thanks

Sri

0 Kudos

Hello

I am getting the exact same error while trying to configure Approve requests.

I double checked all the configuration and the alias set up as per the install document and everything seems to be in place. Does anyone have a solution yet?

Regards

Puneet

Former Member
0 Kudos

Hi Masayuki,

I have created the new thread below is the link:

http://scn.sap.com/thread/3409327

Please help me in resolving the issue. we have raised the OSS ticket.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Have you applied all notes mentioned in the install guide before starting configuration?

If you set scenario definition before applying notes, delete the scenario definition entry and re-create it.

shiangli
Explorer
0 Kudos

Hi,

I checked over the notes required. They were all implemented.

Thanks,

Shiang

Former Member
0 Kudos

Hi Masayuki Sekihara,

we are implementing FIORI for our big customer where we have started with PO tracking application. When we execute the application it takes 20 mins to fetch only 10 records from ECC. We also debugged the application and we find that time is taken in fetch next cursor statement in PO track application api methods.

Kindly help us in resolving the issue. we have applied all the notes.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

It is not related with this thread. Please create new post.

former_member190313
Active Participant
0 Kudos

Hello Shiang,

How did you resolved the problem?

I am getting same error that can not read the data.

Sheetal

shiangli
Explorer
0 Kudos

Hi Sheetal,

I have not been able to find a solution.

Sorry,

Shiang