Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Schema Mapping for XS Components

$
0
0

Hi,

Schema mapping does not work for XS components like .hdbrole, .xsodata, xsjs.

What is the alternative here?

 

The requirement is like

  • Create an .xsodata file to insert/select data from a table.

For example:

service namespace "xyz"  {

   "SCHEMA1"."TABLE1" as "Entity1" ; }

 

  • Create an .hdbrole file like this.

role sap.hba.data::user {

        catalog schema "SCHEMA1": SELECT;

}

 

or may be XSJS, Procedure etc.

 

 

The schema name is SCHEMA1 in development system but it can be different in customer system (say SCHEMA_CUSTOMER). In case of modeling views, we solve this by using Schema Mapping.

But how can we address this issue in case of XS project?

 


Regards,

Raja


Viewing all articles
Browse latest Browse all 6412

Trending Articles