Skip to Content

WEBIDE XSA: Deploy "Enable Access to Objects in a Remote Classic Schema" in Productive System

Jan 05 at 08:54 AM


avatar image


after we included a grantor service (cups) in our app (Hana on-premise), we are facing the issue that the deploy to the target system fails.

The grantor service does work fine in our DEV system. We followed all the steps, which are described within this sap document:

In the PROD system (and space) we were creating the cups service again, before we deployed the app. The only difference to the DEV system is the SQL port and the host name, which we changed of course.

We tried it a lot of times, but always the same. The deploying to the target system fails.

The only hint which we found in the logs is that it could have something to do with the hdbgrants file. But I checked everything and really don't understand why this is making us so much trubble.


#2.0#2018 01 04
[PollExecuteTaskStatusStep] [name.db]  [Thu Jan 04 19:31:40 CET 2018]  grantor service: TBRS_CSP-grantor, granting user: TBRS_CSP_GRANTOR (STDERR, APP/2-0/deploy)#

#2.0#2018 01 04
[PollExecuteTaskStatusStep] [name.db]  [Thu Jan 04 19:31:40 CET 2018]  file name: /hana/shared/../xs/app_working/saphana1/executionroot/675b5652-4b7f-4adc-a829-afb79e3cb3dc/app/cfg/TBRS_CSP.hdbgrants (STDERR, APP/2-0/deploy)#

#2.0#2018 01 04
[PollExecuteTaskStatusStep] [name.db]  [Thu Jan 04 19:31:40 CET 2018]   (STDERR, APP/2-0/deploy)#

#2.0#2018 01 04
[PollExecuteTaskStatusStep] [name.db]  [Thu Jan 04 19:31:40 CET 2018]  npm ERR! Linux 4.4.74-92.29-default (STDERR, APP/2-0/deploy)#

To prove this behaviour we were building the same app in a different space of our DEV system. We were creating this grant services again for this space and it worked as expected. We could build it. (Didn't try to deploy it.)

Because we can't include here all of the log files, may be one of you has the chance to watch for it. Its the sap incident 580015 / 2017. There you can find the dmol log file from the deploy and much more.

We are using the latest patches:

XSAC_PORTAL_SERV 1.0.0 1.12.3 1.0.9 2.2.2 2.3.61 
alm-product-installer 1.13.4 4.2.20 1.5.8 4.2.29 0.1.0 2.2.2

Any ideas would be very helpful!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Dirk Raschke Jan 12 at 02:32 PM

It's solved. Forgot to set the Grantor user. :(

Show 4 Share
10 |10000 characters needed characters left characters exceeded

Hi Dirk,

Iam kind of struggling with the same issue. When you say that you forgot to set the grantor, what exactly do you mean?

I have created the role with the access permissions and even added the same with sql port and grantor user.

Requesting your valuable suggestions.




I'm not really sure, but I assume it had something to do with that....

--create user NAME_GRANTOR password XXXX no force_first_password_change; 
grant "NAME::external_access_appuser", "NAME::external_access_g" to NAME_GRANTOR with admin option;


Thanks Dirk. Appreciate your timely response. :)

It looks almost the same, except the schema name user. i will try creating a new user.




My pleasure. :)

..and check the user that it is not locked and the check for the expected object privileges within the created roles.

Good luck!