Posts

Running Fiori elements App on local VM with SAP Developer Edition

Image
    I would recommend to start reading this topic with my previous article    Getting started with ODATA      In the previous part I have created a CDS view and exposed it as OData service. Now I want to build frontend as Fiori elements list report object page on this OData service. Using the standard tutorials for setup Visual Stusio Code and setup the prerequisites for SAP Gateway, the first fiori app was generated.      But it was too early to be glad, because the preview of the application in the browser did not show any data.       Good, F12 says for the error request that we have to look into /IWFND/ERROR_LOG (do not forget to put /n before the transaction name, othervise it says "no such transaction"). Error log contains the error: No service found for namespace '', name 'ESH_SEARCH_SRV', version '0001'. After some googling I found and implemented the following solution from the help article: Activate OData ser...

OOpenFirends - Sprint 1 Review/Retro and Planning Sprint 2

Image
     Two week ago I have started the project. The first sprint is completed and now is the time to review what we achieved and plan the second sprint. Sprint 1 Review     Let us summarize what was done in the first sprint:     - GitHub repository was created and binded to IDE     - Developers Environment was prepared for the project     - First classes were written and documented     - First CDS View and OData Service was created and exposed     - Many manuals, articles and learn videos were processed :)     So I would say, the first sprint was successfull. But there are also two uncompleted tasks for ABAP ALV program and first Fiori elements UI. They will be moved to the next sprint.      Sprint 1 Retro Well done: many problems solved, high motivation, get used with blogging To improve: work-life balance, better sprint planning (include risk planning)     Sprint 2 Planning ...

Getting started with SAP Fiori and OData on local SAP ABAP Developer Edition VM

Image
    I continue developing the OOpenFriend project and the next step should be the first fiori elements list page for accounts as proof of concept. But does my local developer environment support fiori at all? Lets clarify this. From the OpenSAP course we can get following architectural overview Fiori elements app need OData services to work, s o we need to implement OData services first. And also I need SAP Gateway, where these OData services may be placed and run. OData services may be developed in Cloud using CAP and on-premise using RAP - ABAP RESTful Application Programming Model. Lets take a look on requirements of RAP and here is the first problem:  We need Application Server ABAP 7.55 SP03, but I have only ABAP 7.52 SP04 on my developer edition VM. And there is no later versions of ABAP Server VM on SAP Trials and Downloads since 2018, so I suppose later versions will be avaiable in Cloud only.       Okey, lets use, what we have. There must be a...

OOpenFriends - first classes as MVC pattern

Image
       The first sprint will end at 10 Nov and most of the tasks are almost completed. The accounts table is created and first ABAP classes are written. I have used the following article to get myself familiar with the ABAP implementation of most usefull design patterns  http://zevolving.com/category/abapobjects/oo-design-patterns/        In spite of the fact that the article seems to be old it will give a good overview about. I have choosen classical MVC pattern for OOpenFriends classes, but with some differencies from the article code. So I have moved the attributed to the private section, adding corresponding "getter" and "setter" to implement some incapsulation. Objects of model class will get the data from database and controller class is aggregating the objects of model classes (only accounts at the moment but also other entities in the future).      Now w e have Model and Controller parts implemented in classes. View par...

Installing SAP AS ABAP 7.52 SP04 Developer Edition on VMWare

      Actually the installation already happens in the past, but I just want to post some notes regarding this installation here in case that somebody will looking for it. First of all here are three guides:      Installation Guide      https://www.sap.com/documents/2019/09/c86f9218-687d-0010-87a3-c30de2ffd8ff.html      Getting Started      https://www.sap.com/documents/2016/07/468b612a-807c-0010-82c7-eda71af511fa.html      Configuration Guide for Back-End Tools      https://help.sap.com/doc/2e65ad9a26c84878b1413009f8ac07c3/201909.000/en-US/config_guide_system_backend_abap_development_tools.pdf      and some post- installation steps (registration in atlassian is free): https://minakovwiki.atlassian.net/wiki/spaces/SAP/pages/229378/Installing+SAP+AS+ABAP+7.52+SP04on+Oracle+Virtual+Box+Developer+Edition     After upgrade of VMWare Player my guest VM was unable ...

Binding ABAP ADT and SAP GUI with GIT (GitHub)

Image
      In order to bind my dev IDE (ADT in Eclipse and SAP GUI) with GitHub I have used ZABAPGIT Project. All the installation instructions may be found here  https://docs.abapgit.org/ Note tat you need also configure SSL for working wit Git, installing Git certificates as described here https://docs.abapgit.org/guide-ssl-setup.html Not everything has worked fine from the first start.  I have registred the repository on GitHub:  https://github.com/msminakov/OOpenFriends After that I have created the ZOO_ACCOUNTS table with one Id Field and corresponding domain and dataelement.      There were some troubles by authentication which must be done with security token since Aug 2021, so I had generated security token and used it for commit. Also the profile parameters must be updated to enable HTTPS on the SAP side. I have used transaction RZ10 to find out where the default.pl profile is stored on my NPL VM and after that have added following lines ...

OOpenFriends - first sprint planning

Image
      The first sprint is planned and as it usual for scrum projects some plans has been already changed. I think it would cost me lot of time to biuld up the HANA database in docker and to bind it as RFC other in other way to my local NetWeaver Developer Edition installation. So I decided to start creating tables in the local dev database (this is ASE in my case). And then, when the project will reach some valuable state, I will migrate it to HANA.     So lets start with the easy things, this are the tasks, planned for the first sprint: So each task has a prefix showing the thema. Prefix "KnowHow" means I need more knowleges about, before I can plan any todo tasks for that.      As I can see in  https://activate-hr.de/hcm-berechtigungen/fiori-architekturueberblick-onpremise-vs-cloud/  Fiori app can run on-premise in so called Embedded SAP Gateway System. Last KnowHow task is to get sure, it may run on my local dev VM with NetViewer...