Wednesday, 31 October 2018

A simple REST Web-service from ECC called from a HTML5 screen

Introduction


Recently we were directed to design OS agnostic RF screens for one of our business partners. We envisioned a web browser based screen which can be called from both our android & windows based RF guns. We did not want to take the module pool ITS approach & our ECC system is one of the lower level versions so we could not do a UI5-Gateway solution. After reading across these forums we decided to implement a standalone REST based web-service in ECC which can be called from a HTML5 screen.

Monday, 29 October 2018

ABAP Recursive Code to Identify root nodes in Hierarchy fromTable Data

I have come across a scenario where I need to find out the root entry from a hierarchy. I would like to share the approach which I followed for the same. It might not be the best one but hope will help you in one or the other way.

Wednesday, 24 October 2018

How to deal with SAPGUI controls in a generic way

A few days ago I wrote a blog post about one of my favorite learning projects that taught me a lot about GUI programming: guidrasil

Today I would like to explain some of the techniques that I used in this project.

Friday, 19 October 2018

Dynamic Selection Screen with ALV IDA and Excel

Introduction


In this Blog, we will combine an Excel upload, Dynamic Select Option generation, display on a Popup Screen and show the results in ALV IDA created for HANA. Continuing this blog series, the goal is to focus on comparing older ABAP language features with a detailed explanation of the new ABAP syntax and S/4HANA features.

Thursday, 18 October 2018

ABAP Object Services Technique

ABAP Object Services

1. Creating Persistent Object with single-table


SAP Community has introduced excellent Professionals to SAP world as well as providing opportunity for all to writing blog posts which has helped us to improve SAP knowledge.

Monday, 15 October 2018

View Cluster – Default selection of table

Agenda


To default the selection of table on view cluster maintenance screen for the filter values given on the initial screen.

ABAP is Evolving

I had the privilege of attending SAP TechEd in Las Vegas last week as part of the SAP Bloggers Program.

In the keynote Bernd Leukert announced that the SAP Cloud Platform ABAP Environment was Generally Available. When you say it like that it seems like an impenetrable wall of SAPanese – but the announcement was still greeted with spontaneous applause from the audience.

Friday, 12 October 2018

SAPGUI is dead – long live SAPGUI

I realized that the SAPGUI will come to an end. That makes me pretty sad. But I think the new technologies and Cloud applications will conquer the SAP planet.

So I decided to make a project public that a former colleague and I started years ago. I have the feeling that if I do not publish it, it will be totally useless and unineteresting the next two years. But I want this project to survive.

Wednesday, 10 October 2018

Use of Test Environment in ABAP Unit Test Class

Introduction:


ABAP Unit Test class, a simpler way to verify the behavior of our code. The unit test class not only check the code coverage but helps a developer to cover all possible scenarios of a code leading to more reliable code with less chances of rework.

Monday, 8 October 2018

Accessing Local File in Background Mode

Introduction:


This blog covers how to access a local file in background job in SAP. Basis knowledge of ABAP is required to understand the concept.

Its applicable for SAP Netweaver 7.4 onwards.

Ideally when the background job is running, it can access the file from application server. It can’t access the file from presentation server. But let’s say there is a requirement where i am getting the file in email. Then I am placing the file in my local PC. After that my need is that a program which is running in background on application server, should process the file.

Saturday, 6 October 2018

Register XSOdata servies into SAP Gateway

Complete procedure for registering xsodata services which are developed in HANA to SAP Gateway.

For any requirement in which if we develop xsodata services and use it while creating UI5 application in web ide, We can directly take that xsodata service URL from WEB ide or we can also register the service into SAP gateway and select the specific URL as a odata service URL to avoid issues while deploying app to SAP UI5 repository.

Wednesday, 3 October 2018

Deployment options with SAP Gateway

There are 4 deployment options provided by SAP which ensures the enablement of gateway framework and it can be chosen based on business needs.

1. Central hub deployment (Routing will be easy in case of multiple system)

2. Central Hub deployment with Development in hub (Routing will be easy in case of multiple system)

3. Embedded deployment (Routing is should not possible-as per framework)

4. HCP or HCI deployment

Tuesday, 2 October 2018

How to find a predefined VDM for a selected S/4HANA table

Purpose 


This blog illustrates how to find the predefined VDM (template of the CDS View for business entities  in S/4HANA)  for a table, e.g. finding the VDM “I_ProfitCenter” for the table CEPC.

This method should help reduce the development effort, by using a predefined VDM instead of creating custom CDS Views for the business entities in S/4HANA.