Skip to Content
avatar image
Former Member

Unable to use Annotation Modeler with oData Service containing slashes

I created a project in SEGW entirely with the following namespace: /abc/, now I'm facing some problems due to "/" (slashes) in the oData Service.

I'm trying to build an application based on a list report template (using SAP Web IDE) and when I try to make use of the Annotation Modeler, it shows me an error msg:

"Unhandled Error: Cannot read property 'addChild' of undefined".

After a few tests and some googling, I found out that the problem is within these "/" on my namespace.

I know that there is a recommendation where I can't use "/" on oData Service name, but I have to use that namespace. What can I do to solve my problem? Is there a way to solve it?

Prerequisites to work with Annotation Modeler:

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 24, 2017 at 08:53 AM

    Hi Andrew,

    You have to remove "/" of the schema namespace for the Data Model in the project. For example: /abc/project => abc_project.

    The link below explains how to do that. Let me know if it works for you.

    Add comment
    10|10000 characters needed characters exceeded

    • In case the help page get's buried:

      1. Open the gateway project.
      2. Right click Data Model folder.
      3. Select Details.
      4. In the field "Schema Namespace" enter a schema namespace for this project. If this field is left blank, Schema Namespace is generated and populated after runtime generation based on Technical Name of the project

      Note: Special characters (apart from '.' and '_') are not allowed.

      A colleague was trying to use a service created under a namespace with slashes (/XXX/<SERVICE_NAME>) and the solution was to basically change the schema namespace into XXX(dot)<SERVICE_NAME>.

  • Oct 24, 2017 at 11:46 AM

    its a bug ... we had the same issue, there's a note to fix it, search OSS.

    Add comment
    10|10000 characters needed characters exceeded