Saturday 30 September 2017

ABAP Ray Tracer – Part 3 – The Skeleton

Objectives


In this third blog I am going to get the most rudimentary ray tracer running. The book calls that the skeleton ray tracer.

I’m gonna explain the basic concept behind a ray tracer and give you code examples from my implementation to highlight this concept.

Wednesday 27 September 2017

Overview of ABAP in SAP Cloud Platform

SAP Cloud Platform is SAP’s strategic Platform as a Service (PaaS) offering for SAP customers and partners to build, integrate and extend SAP’s business solutions and services. Today, SAP Cloud Platform applications and extensions can be built with different development environments like Java or Node.js, but SAP’s own environment for business applications, ABAP, has not yet been available so far.

ABAP in SAP Cloud Platform is SAP’s new Platform as a Service (PaaS) offering for ABAP. Since many years, ABAP has been the foundation for SAP’s on-premise solutions. With ABAP in SAP Cloud Platform, ABAP developers can make use of their existing ABAP know-how to develop and run ABAP applications in the Cloud.

Tuesday 26 September 2017

Time-dependent attributes and language-dependent texts in ABAP CDS views

In the post post I would like to consider how to model time-dependent attributes and language dependent texts in ABAP CDS views.


1. Sales Model Tables


1.1. Table of sales transactions. It contains time characteristics, sales manager, customer and amount. Number of records is 133 848.

Monday 25 September 2017

ABAP Ray Tracer – Part 2 – The Overloader

Objectives


In this blog you’re gonna get to know the infrastructure powering this project, the content of the chapters, which I have read so far, plus certain C++ language features explained, which are missing in ABAP.

Friday 22 September 2017

abapGit Branching Strategy Discussion

My team and I are reaching out to you to discuss some development questions which popped up after introducing abapGit in our company, which creates SAP 3rd party software, consisting mainly of ABAP and UI5 code.

This article deals exclusively with the ABAP side.

First of all we love abapGit, and we believe many do…

Thursday 21 September 2017

ABAP News for Release 7.52 – Virtual Sorting of Internal Tables

It is mainly a “major step on the way to efficient development of SAP HANA optimized SAP Fiori apps is the use of the new RESTful ABAP programming model which includes technologies such as CDS, Business Object Processing Framework (BOPF), SAP Gateway and SAPUI5.”

But there are some news in the ABAP language too.

ABAP Development in Eclipse – Part 2

If you need to connect to any system, you have to create a Project.

Project can be created based on the type of implementation Eclipse will be used.

In our case, since we are connecting to SAP system , I am going to create an ABAP project.

Tuesday 19 September 2017

ABAP Development in Eclipse – Part 1

As we all know that ABAP and SE38 has been a mainstay for SAP’s code development and most of the companies run their businesses on SAP solutions written in ABAP. All these years ABAP development and SE38 has continuously evolved into what we see in latest and improved SE38 editor.

1990 – First ABAP Editor came

1999 – ABAP Workbench was introduced

2004 – Syntax coloring and Code compilation added

Adding custom tab to billing document Part - 1

1. Requirement


In order to fulfill some requirement, we may need a custom tab for transaction VF01/VF02/VF03 with some custom field(s) in that sub screen, in this document we take GTI (Golden Tax Invoice) for example.

Saturday 16 September 2017

How to develop a transactional app using the new ABAP Programming Model for SAP Fiori

Introduction


The purpose of this how to guide is not to simply duplicate the content of the SAP Online Help, but to provide guidance for the participants of a SAP CodeJam event. Participants of a SAP CodeJam event shall be guided to create their own repository objects and services in one system without messing up the implementation of the other participants. Therefore, all repository objects contain the participant / group number indicated by a hash # as a suffix.

Thursday 14 September 2017

Wednesday 13 September 2017

SAP AS ABAP – Authentication using X.509 Client Certificates

This document shows how to configure SAP AS ABAP for authentication with x.509 client certificates. It shows the procedure used to create a simple Certification Authority (CA) using OpenSSL and how to generate client certificates from this CA.

Enabling SSL


Install the SAP Cryptographic Library. The following are minimal parameters to enable SSL

Simplify your life: Searching text strings in SAP code - enhancements, SAPSCRIPT, SMARTFORMS or ADOBE forms

Introduction


A recurrent issue is to search all kinds of ABAP code for text strings. SAP standard program AFX_CODE_SCANNER does a great job, but lacks the search in code of enhancements, Sapscript, smartforms and Adobe forms and interfaces.

I will post the code for ZAFX_CODE_SCANNER, an adjusted copy, which does have those options, and can search the other areas. Please use at your advantage.

Tuesday 12 September 2017

ABAP Continuous Integration with Eclipse

Short read


As an add-on for ABAP in Eclipse the plugin ABAP Continuous Integration  contains some features for a Continuous Integration environment. The plugin can be downloaded from the Eclipse Marketplace.

To access the unit test data of the ABAP system a specific Gateway Service is needed, which delivers the information whether all tests of an ABAP package are valid or not. The creation of this backend service is described here.

Saturday 9 September 2017

Adding multiple transport requests to import queue

Introduction

A good habit is to clean up import queues (STMS), so the overview of all that remains to be done is best. You can always search the histroy for what has been done.

SAP provides the menu function to remove already imported requests, and maybe soms old and obsolete transports, that have not been imported, from before the acceptation environments new client copy, can be removed also.

Thursday 7 September 2017

ABAP Continuous Integration – the backend

Short read


In this blog the creation of an Odata Service is shown which can be used to get the unit test data of an ABAP Netweaver system.

To get the information whether all tests of a package are valid or not the ABAP class cl_aunit_adt_res_test_runs is used. The code to extract the package status is available on github: https://github.com/andau/zabap_ci and can be imported with abapGit.