cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to see extended Entity in My Inbox app

Former Member
0 Kudos

Hi,

I have extended the My Inbox and this is what i did -

  • Created a new project in SEGW
  • Used the Redefine OData service option to include TASKPROCESSING v2 service.
  • Added my entity and inserted the code in the generated class. During generation, I chose the option tooverwrite the original service.
  • Registered the service with the G/W system using a normal RFC
  • While maintaining the service in G/W in the /iwfnd/maint_service transaction, I used the system Alias which points to /IWPGW/BWF s/w version

Now my original service works fine but does not show the added entity whereas the newly created service does not show any entities at all.

If I change my Alias to point to the default s/w version, I can see all entities in the newly created service but it gives a different error.

Any help on what could be wrong, will be highly appreciated.

Accepted Solutions (0)

Answers (2)

Answers (2)

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

Have you cleared the metadata cache in both frontend server and backend server?

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Thanks for your response, Masa. Yes, we have cleared the cache many times over but it did not resolve.

However we did make some progress and now can at least see the entities in the extended service however it keeps giving "No service for namespace /sap/.."  error even for the std entities .

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

Please share $metadata response. Is there additional entities in the $metadata response?

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Hi Masa,

Today when we tested after invalidating global cache we realized that we can not even see the entities. So we are back to 1st step as stated in the initial issue

Following is what has happened...

  • We have the following Aliases defined -

  • We go to txn  /iwfnd/maint_service - We can see the extended service in the backend only when we Add Service using GW1 
  • If we add using GW1, we can see all the entities... including the newly added one. However on executing we get 'Task Facade not implemented' 
  • We go back to txn  /iwfnd/maint_service - Change the Alias to GW1_BWF
  • Invalidate cache and execute service ->  we see no entities. Not even std. ones.


Could you kindly point us to where we are going wrong.

Thanks much,

Amit

masa_139
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Amit,

Correct system alias is GW1_BWF.

You need to start troubleshooting from $metadata in Gateway Client. You can set external breakpoints in backend methods.

Regards,

Masa / SAP Technology RIG

Former Member
0 Kudos

Thanks Masa, a quick question, in our backend system we just have an Alias pointing to a Trusted RFC. Unlike in our Gateway system, we do not have the backend service registered against an Alias which points to /IWPGW/BWF s/w version. That is not needed, right ?

By the way,when i run $metadata with GW1_BWF, below is the data i see (no entities) -

---------------------------------------------------------------------------------------------

<?xml version="1.0" encoding="utf-8" ?>

- <edmx:Edmx Version="1.0" xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:sap="http://www.sap.com/Protocols/SAPData">

- <edmx:DataServices m:DataServiceVersion="2.0">

- <Schema Namespace="ZMYINBOX_SRV" xml:lang="en" sap:schema-version="0" xmlns="http://schemas.microsoft.com/ado/2008/09/edm">

<EntityContainer Name="ZMYINBOX_SRV_Entities" m:IsDefaultEntityContainer="true" sap:supported-formats="atom json xlsx" />

<atom:link rel="self" href="http://abc.xyz.com:8000/sap/opu/odata/sap/ZMYINBOX_SRV/$metadata" xmlns:atom="http://www.w3.org/2005/Atom" />

<atom:link rel="latest-version" href="http://abc.xyz.com:8000/sap/opu/odata/sap/ZMYINBOX_SRV/$metadata" xmlns:atom="http://www.w3.org/2005/Atom" />

</Schema>

</edmx:DataServices>

</edmx:Edmx>

Former Member
0 Kudos

Anybody ?

Former Member
0 Kudos

Are you also facing the same issue ?

Former Member
0 Kudos

Slightly different .. in the sense that we are able to see the Entities, existing and the added one however when we run the z- odata service, we get the error "No service for namespace /sap/z....."

I have checked the SICF node and can see the service there. So while i can execute the metadata of the service successfully...when i add an entity to the URL, it gives the above error.