Showing posts with label sapui5 github. Show all posts
GIT in SAP Bussiness Application Studio

GIT in SAP Bussiness Application Studio

Sanjo Thomas•04:19:00

What is SAP Business Application Studio?

SAP Business Application Studio is a new SAP Cloud Platform service in SAP Cloud Foundry which offers a modular development environment tailored for efficient development of business applications for the SAP Intelligent Enterprise.

Capabilities

In SAP Business Application Studio, the developer is provided with one or more Development Spaces. As a developer, you can chose which tools will be installed on your dev space by selecting the suitable extension pack.



These tools covers the end-to-end development cycle:

·       Clone an existing project with a Git client or create new project using various templates.

·       Use editors for SAP specific technologies.

·       Easily test your application on your dev space while consuming services from remote sources.

·       Build and deploy the application as multitarget applications (MTA).

GIT Issue

There is no provision to set the Git Repository for new project we create. Like WebIDE , there is no provision to assign GIT repository URL.

Solution

For git, simply type “git” and a list of git commands will be filtered. Git clone is one of the commands,

Please follow the below GIT Commands.

1.       Initialization of GIT

git init ​

2.       Set Remote Origin URL

git remote add origin https://github.com/user.name/test.git If already exist then use below command git remote add origin https://github.com/user.name/test.git

3.       Staging the Changes of Project

git add .

4.        Commit your changes

git commit -m "GIT Comment"

5.        Push your changes into GIT

git push origin master

6.       Pull your latest changes from GIT

git pull origin master

If you wish to know more about SAP Bussiness Application studio, visit my blog on getting started on SAP BAS

You can also learn about creating fiori application in SAP BAS through this blog.

 


Read more
How to export SAP Web IDE Workspace projects all at once in zip file

How to export SAP Web IDE Workspace projects all at once in zip file

Sanjo Thomas•23:15:00

In this blog, I will list down all the steps required to download all your SAP web IDE projects as a zip file. 

As an administrator, we can export a .zip file containing the projects from all of a user's SAP Web IDE workspaces.

Note: This would work for S-User as well as for P-Users too.

1) First of all, the user must be assigned to the DiAdministrator role.

To do this, open SAP Cockpit and go to SAP WEB IDE Full stack service





Next, click on configure service.



Next, on the Configure Service Tab, you would be able to see multiple Roles. Click on DiAdministrator Role.



Now assign your user id to the role.



Once done, as an administrator you can export a .zip file containing the projects from all of a user's SAP Web IDE workspaces

2) In your browser address bar, enter:

https://{SAP Web IDE service URL}/di/workspace/export-all/{userid}

As a result all your webIDE projects would be downloaded as a .zip file on your local system.


Read more