cancel
Showing results for 
Search instead for 
Did you mean: 

Another SAP FIORI APP Error (A problem occurred while reading the data)

Former Member
0 Kudos

Hello everyone,

While going through the configuration of SAP Fiori, I faced some errors, and still am not done. I think I have solved the first errors, so maybe someone else gets some help from reading what I did. And I could use some input on how to progress...

Here's what I have done so far: I only wanted to test "Approve Purchase Orders" and "Approve Requisitions". So I installed the components, configured them and got the error message: "No service found for namespace /IWPGW/, name TASKPROCESSING, version 0001".

Question: Do you need the "taskprocessing" service ("Approve requests" - which I understand to be used for a custom workflow"), if you only want to use "Approve Requisitions" and "Approve Purchase Orders"?

I installed the component IW-PGW 100 for Approve Requests, activated the service and configured it according to 2.4.1 in the guide with the link to backend system.


After activating this service, I got I got the same error that some other SCN member already did mention: "Task Facade not implemented for provider. [/IWBEP/CX_MGW_TECH_EXCEPTION] (error)". (For details from transaction /n/IWFND/ERROR_LOG see the image at the bottom of this post.)

I read that the problem tends to be a wrong System Alias. http://scn.sap.com/community/mobile/blog/2013/06/25/sap-fiori-ll06--define-system-alias-for-the-task...

(Question: What is the right "software version" to chose for the copied system alias? IWPGW/BPM, /IWPGW/BWF, or maybe ERP, since I want to connect an ERP? How can you tell which one to chose?)

My taskprocessing service had, as mentioned above, the original system alias with DEFAULT software version and local not checked.

So, I configured the "local" system alias as a copy of the ERP backend alias as described, deleted the original taskprocessing service with the default connection into the backend and replaced it with a service that has the "copied" system alias.

Now, I get the error message: "

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

The scenarios for Approve Purchase Order and Purchase Requisition should be configured according to the guide. What's NOT configured is the "Task definition for Scenario" for the "Approve Request" service, since I don't know which workflow to define. We don't want to use a custom workflow so far.

The System Alias is the original system alias with connection to ERP, "local" not checked" and Software "Default". After changing the system alias in the taskprocessing service, I can't chose them anymore but only am offered the copied "local" alias. When I change that to the copied system alias (local) I don't get anything: no error message, no data, just the gray loading screen.

So, I would really appreciate some help what to do next to get something besides than this grey screen...

With best regards,

Thorben.

Accepted Solutions (0)

Answers (1)

Answers (1)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thorben,

Please upload the screenshot of system alias definition.

What is your support package for gateway and IW_PGW?

Have you implemented all SAP notes mentioned in the install guide?

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Dear Masayuki,

thanks for your response. Here are the screenshots:

System Alias Defintion:

System Aliases for TASKPROCESSING services:

Gateway 7.40 and SP0005, I guess. Here's screenshot


Support Package for IW_PGW 100 is SP 5.

The ERP has 7.02 "Level 10" and IW_BEP 200 on SP8.

I tested the TASKPROCESSING service v1 and v2 with GATEWAYCLIENT --> ADD URI OPTION $METADATA --> F8 and got STATUS 200, should be fine then?!

We should have implemented all relevant notes from the configuration guide, yes.


Best regards, Thorben.

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thorben,

Setting looks OK.

What is current app runtime issue?

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

I am not quite sure what you need. What is a "current app runtime issue"?

When I load the page, there is only the "loading circle" and after aprox. 5 minutes of waiting, I get the error 500. The service error reads " http://sapgw1s.camelot-idpro.de:8000/sap/opu/odata/IWPGW/TASKPROCESSING;mo/…e%20eq%20%27TABLET%27))%... 500 (Internal Server Error) "

There is no entry in /IWFND/Error_log

But the service TAKSPROCESSING seems active in SICF:

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thorben,

Please copy the OData URI and test it in the transaction /iwfnd/gw_client.

/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection?$filter=((ConsumerType%20eq%20%27TABLET%27))%20and%20((UniqueName%20eq%20%27PR_APPROVAL%27%20))

What is the test result?

Regards,

Masa

SAP Rapid Innovation Group - RIG

Former Member
0 Kudos

Hello Masa,

I found the problem(s): First of all, I had a typo in the Scenario Definition in Customizing.  In "Technical service names", I had GBAPP_POAPROVAL instead of GBAPP_POAPPROVAL.

Then I had to change the system aliases for ZGBAPP_POAPPROVAL Service in "/iwfnd/maint_service" back to the "default" system alias, not to the one for TASKPROCESSING (which I tried before finding the type).

Testing the URL 

/sap/opu/odata/IWPGW/TASKPROCESSING;mo/ConsumerScenarioCollection?$filter=((ConsumerType%20eq%20%27TABLET%27))%20and%20((UniqueName%20eq%20%27PR_APPROVAL%27%20))

in transaction /iwfnd/gw_client gives status 200, looking good.

Now, the websites for PR and PO load fine, I just don't have any data. Will check ERP backend and services tomorrow and give feedback here. Only one more question:

In http://scn.sap.com/community/mobile/blog/2013/11/13/sap-fiori-ll11--consultants-should-know-about-od... step 5, you give hints for debugging. If I want do debug the approval for requisitions, do I use method  /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_EXPANDED_ENTITYSET
or /IWBEP/IF_MGW_APPL_SRV_RUNTIME~GET_ENTITYSET from class CL_GBAPP_APV_PR_RDP?

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Thorben,

You can look at the SE80 GBAPP002 package.

The methods are SET_DECISION_RELEASE and SET_DECISION_REJECT in the class CL_GBAPP_APV_PR_API. Those are called from method /IWBEP/IF_MGW_APPL_SRV_RUNTIME~EXECUTE_ACTION.

Regards,

Masa

SAP Rapid Innovation Group - RIG

nthsol
Participant
0 Kudos

Hi Thorben,

did you manage to solve the error in th meantime?