You are on page 1of 3

call _SYS_REPO.GRANT_ACTIVATED_ROLE ('sap.hana.xs.lm.

roles::Developer','GSTRMDCDB');
GRANT MODELING TO GSTRMDCDB;
GRANT HCP_PUBLIC TO GSTRMDCDB;
GRANT HCP_SYSTEM TO GSTRMDCDB; GRANT SELECT ON SCHEMA _SYS_BIC TO "GSTRMDCDB";
GRANT UPDATE ON SCHEMA _SYS_BIC TO "GSTRMDCDB";
GRANT EXECUTE ON REPOSITORY_REST TO GSTRMDCDB WITH GRANT OPTION;
Logout from GSTR1DB.

Login as GSTRMDCDB.
Choose the Catalog tab. Click the Open SQL Console icon.
Run the following SQL statements:
GRANT SELECT ON SCHEMA GSTRMDCDB TO _SYS_REPO WITH GRANT OPTION;
GRANT UPDATE ON SCHEMA GSTRMDCDB TO _SYS_REPO WITH GRANT OPTION;
5. #DCS140 Assigning Roles to ITC04DB:

Important Note on ITC04DB:


ITC-04 Return support was introduced in DCS 1.4.0. So for customers upgrading from DCS 1.3.0 or below
versions, these steps are mandatory.

Login with GSTR1DB. Choose the Catalog tab. Click the Open SQL Console icon.

Run the following SQL statements:


call _SYS_REPO.GRANT_ACTIVATED_ROLE ('sap.hana.xs.lm.roles::Administrator','ITC04DB');
call _SYS_REPO.GRANT_ACTIVATED_ROLE ('sap.hana.xs.lm.roles::Developer','ITC04DB');
GRANT MODELING TO ITC04DB;
GRANT HCP_PUBLIC TO ITC04DB;
GRANT HCP_SYSTEM TO ITC04DB;
GRANT SELECT ON SCHEMA _SYS_BIC TO "ITC04DB";
GRANT UPDATE ON SCHEMA _SYS_BIC TO "ITC04DB";
Logout from GSTR1DB

Login as ITC04DB.
Choose the Catalog tab. Click the Open SQL Console icon.
Run the following SQL statements:
GRANT "EXECUTE", "SELECT","UPDATE","INSERT","SELECT METADATA","SELECT CDS METADATA"
ON SCHEMA ITC04DB TO GSTRMDCDB WITH GRANT OPTION;
GRANT "EXECUTE" ,"SELECT","UPDATE","INSERT","SELECT METADATA","SELECT CDS METADATA"
ON SCHEMA ITC04DB TO GSTR1DB WITH GRANT OPTION;
GRANT SELECT ON SCHEMA ITC04DB TO _SYS_REPO WITH GRANT OPTION;
GRANT UPDATE ON SCHEMA ITC04DB TO _SYS_REPO WITH GRANT OPTION;

8
2.3 Download the Software Components

#DCS190

For every release, below three Software Components have to be downloaded from the Software center .

Software Components Download Page link Support Package Version


SLHGSTR1DU 100 Link (#DCS190) SP 09 Patch 0

SLHDCSAPPL 100 Link (#DCS190) SP 09 Patch 0

SLHDCSUI 100 Link (#DCS190) SP 09 Patch 0

Please download all three software components in a local folder in your desktop/laptop.
Note: Please download the proper Support Package Version as mentioned in the above table.
Sample Screenshot:

Read again: Important Note on Upgrades.

2.4 Installation and Configuration of the Software Components

#DCS190

2.4.1 Hana Delivery Unit (DU) Import (file type: tgz)

In the SAP Cloud Platform cockpit, choose SAP HANA / SAP ASE -> Databases & Schemas.
Click on the DB/Schema ID column, Click on SAP HANA Web-based Development Workbench.
Login as GSTR1DB
Import the SLHGSTR1DU delivery unit following the steps mentioned here.

2.4.2 Java Deployment (file type: zip)

Extract the SLHDCSAPPL archive in to a folder on your laptop/desktop.


Download and install the latest Java SE.
Download and extract Java Web Tomcat 8 SDK from https://tools.hana.ondemand.com/.
For more information, see Installing the SDK for Java Development.

Using the Console Client, run the following Neo command tool to deploy the Java application into the SCP
account
neo deploy --host <<landscape host>> --account <<account number>> --application gstrapp --source
<<location of the extracted folder>> --user <<P/S SCP account user with Administrative Role>>

9
Example: neo deploy --host ap1.hana.ondemand.com --account a9ef421ca --application gstrapp --source
\Users\john\Desktop\ --user S111223344
After successful deployment, you should see the gstrapp Java application in your SCP cockpit in stopped
status.

2.4.3 Fiori Content/ UI Deployment (file type: mtar)

Deploy the Multi-target Application (MTA) archives following the steps mentioned here.
After the deployment of the MTA is complete, Install the Fiori Site following the below steps:
Go to the Services panel and search for portal services.
Select the portal and click the Go to Service link. This opens the home page in a new window.
Click Site Directory and choose Edit for the Digital Compliance Services - GST India site.
Choose the dropdown icon (V) against Edit and choose Publish.
In the resulting dialog box, choose Publish.
In the Site Directory, click on the URL present in the Digital Compliance Services - GST India site.
This opens a Fiori Launchpad.

Note on the Fiori Launchpad URL:


Share the Fiori Launchpad URL with your business users as this is the URL for the application.

2.5 Data Source Binding


This step binds the Java application to the DB Users created in Step 2.2.1.
In the SAP Cloud Platform cockpit, choose Java Applications -> gstrapp -> Configuration -> Data Source
Bindings -> New Binding.
Create 5 Data Sources as given below. Use the DB user password set in Step 2.2.2 for the corresponding
DB Users

Data Source Custom Logon (DB User) Release Tag

jdbc/dcscommdb COMMDB #Initial

jdbc/dcsgstr1db GSTR1DB #Initial

jdbc/dcsgstr2db GSTR2DB #Initial

jdbc/gstrmdcdb GSTRMDCDB #DCS130

jdbc/dcsitc04db ITC04DB #DCS140

10

You might also like