Saturday, 15 February 2020

Using CDS views in ABAP code – Part 1 (data selection)

Introduction


In this blog post we will look at how and when to use CDS views in ABAP code to select data.

The standard SELECT statement in ABAP includes the ability to reference a CDS view. This addition is defined as follows in the SAP help:

Friday, 14 February 2020

Centralised Transport Naming Standards

Background


The company I work for has a sizeable and complex SAP estate with dozens of production SAP systems and therefore an equally complex development environment.  Although development standards have been in place for a number of years, it is always a challenge to ‘encourage’ developers to adhere to them.

Wednesday, 12 February 2020

Proof of Concept: Deploying ABAP in Kubernetes

This blog post describes our experiences and findings while doing a proof of concept (PoC) in the SAP LinuxLab where we containerized the SAP ABAP application server components and deployed them on various Kubernetes environments. It will also point out potential benefits and challenges.

Please note that this document is neither a complete solution, nor does it provide any current product or development status.

Monday, 10 February 2020

Create REST APIs secured with XSUAA in Cloud Foundry environment and call REST APIs in ABAP environment

ABAP programming is still the most powerful development tool in SAP core ERP, while we will find some cloud native features (ex. JWT relevant techniques) are not fully supported in ABAP environment in near future. If developers work on NetWeaver as well as Cloud Foundry environment, a workaround is to deploy REST APIs with cloud native functions in Cloud Foundry, and use ABAP programming to access the REST APIs.

Saturday, 8 February 2020

Simulation of ITSMobile Applications from Chrome browser

Introduction 


Data entry and update operations in a enterprise generally requires modern hand held gadgets like  RF devices, fork terminals for easy and synchronous update to the enterprise systems. SAP provides flexibility and solutions for integrations of RF devices and terminal with ECC systems for warehouse related operations. Internet service solutions are provided to for easy usage of ECC transactions in remote devices. The large warehouses which requires detailed tracking and monitoring of warehouse stock uses RF technology and constantly reviews procedures to further adopt the technology to improve operations. With the usage of BR codes, QR codes the error percentage due to manual intervention is reduced.

Friday, 7 February 2020

Convert Emoji Characters in Unicode String to equivalent Unicode Code Points using SAP ABAP

Preface:


Character encodings are no alien to SAP systems or any computer systems for that matter, as they form the basis for data storage in and communication between computer systems. In the recent times, Unicode has become the dominant encoding scheme, of which UTF-8 representation is quite popular, especially with web content.

It is very rare that we get to deal with encoding schemes directly in ABAP. But, recently, there was a unique requirement, wherein it was required to convert the emoji characters in a unicode string to their equivalent Unicode code points in Hexadecimal so that they could be properly displayed in a HTML compliant client.

Wednesday, 5 February 2020

CRM Bol programming Debugging Tips and Code Snippet on how to read & populate values

This blog explains on how to do basic debugging and write code in CRM. It covers the below topic areas

1. Requirement: To disable one specific field in an Address section

2. Find the UI component

3. Find technical object to do code changes

4. Get value using IF_BOL_BO_PROPERTY_ACCESS

Tuesday, 4 February 2020

FM to retrieve data from excel into an internal table of any type

I have developed an FM ‘Y_EXCEL_TO_ITAB ‘, which takes an excel file name and a structure/table name as inputs. And parses the excel content into an internal table with the same structure given as input.

Background:


SAP has provided us the means to create data at run-time. We can use various RTTS (Run Time Type Services), Data references, Field-Symbols to achieve this.