Showing posts with label setup sap bussiness application studio. 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
Setting up SAP Bussiness Application Studio and Run your first SAPUI5 Application

Setting up SAP Bussiness Application Studio and Run your first SAPUI5 Application

Sanjo Thomas•07:52:00

In this blog, we will start using SAP BAS with a free Trial account and build our 1st Simple UI5 Application. 

SAP Business Application Studio is a new SAP Cloud Platform service in SAP Cloud Foundry which offers a modern development environment tailored for efficient development of business applications for the SAP Intelligent Enterprise such as SAP Fiori, S/4HANA extension, and Workflow.

SAP BAS is kind of similar to Visual Studio in terms of command line, so if you are familiar with Visual Studio, then SAP BAS would be ever more easier for you to understand.

I am guessing, you would already have a free trial account in SAP Cloud Platform.

Alright, let's start this tutorial.

Log onto SAP Cloud Platform

1. Enter Your Trial Account to access the Cloud Foundry





Once you enter your trial account go to Subscriptions and Search for SAP Business Application Studio and Subscribe to that.


2. Launch the Application

Click on go to Application or you can click on the shortcut link from the homepage

3. Create a Dev Space and run your 1st UI5 Application

By now, your BAS would be loaded up and the screen would look somehting like this


4. Now to create our first SAPUI5 application, go to File>New Project From Template


Select SAP Fiori freestyle SAPUI5 application template, then select Which type of SAP Fiori freestyle SAPUI5 application do you want to create?


In the Datasource, you can select according to your project requirements, as for this exercise I will select None.


Next, you can set your project description and click on finish.

Once you fill in all the details it will generate the project structure in the Work Space.

Now, the project gets generated like the below structure


5. Lastly, we can run the application

To do so, we need to Create an Application Configuration for running the application

Click on Run Configuration


Click on the Plus button to create an application configuration

Select your Application (UI5 App) –Demo Application (HTML5 Module Name)



Cheers!!






Read more