Friday, 28 February 2020

ABAP with Coffee and Chain of Responsibility(CoR) OO Pattern

Let me ask you, what do you think about the flow diagram below?

SAP ABAP Tutorial and Material, SAP ABAP Guides, SAP ABAP Certification, SAP ABAP Exam Prep, SAP ABAP Learning

Left most image is often called “spaghetti wiring mess” , second one is an “organized and labelled wiring” and last two are the SAP icons for ‘Code’ and ‘Coffee’ respectively. Obviously I am at the last stage in this flow ! So let me explain a little bit about ‘Code’ while having this ‘Coffee’.

Tuesday, 25 February 2020

Using Texts in Fiori Apps

Introduction


Texts describe objects in SAP. When texts are language dependent they are are stored in a separate table from the object itself. An example of this would be the Dimension Texts table T006T which gives a text per language for the dimension objects in table T006D.

When the texts are language independent they are usually stored in the same table as the object they describe. For example t001W defines plants along with their name.

Monday, 24 February 2020

RRI: Jump from BW Reports based on SAP PPM to PPM WebDynpro Applications

In this post I would like to share how to create RRI to Portfolio and Project Management WebDynpro Applications from BW reports. This solution is based on creation a customer target with use of BADI RS_BBS_BADI.

In this post there are 3 custom targets:

◉ Go to item master data details
◉ Go to item financial planning
◉ Go to cProjects master data details

Friday, 21 February 2020

How to create ABAP proxies using eclipse

ADT in Eclipse has been a boon for us developers. Everything is so easy to develop in perspectives of ease of accessing the development objects when you don’t have to type different tcodes for different types of objects. One such important object type is proxy. Service consumers or service provider proxies are fairly common in ABAP landscape where we use SAP PI/PO to connect with other third parties. In traditional development environment we would use tcode SPROXY to find the relevant service in Enterprise Service Browser.

Wednesday, 19 February 2020

BDC – Batch Data Communication in SAP ABAP

BDC – Batch Data Communication in SAP ABAP


BDC means Batch Data Communication, not Batch Data Conversion. Moreover, it was renamed Batch Input at least 20 years ago (the term BDC is still widely used though).

In this blog, I am gonna discussed the SAP DATA Migration tools mainly BDC- Batch Data Communication to export data from non-SAP environment to SAP ERP.
I will create BDC (Upload) Program for cheques with Payment doc.i-e; the BDC Program for transaction code FCH5 – Create Check.

Tuesday, 18 February 2020

Implementation of SAP Odata V4

In SAP terms, Odata a platform/framework that can be used to create SAP objects or services that can be consumed from outside of SAP box to read or write data. A service can be called an API that SAP provides to their consumers.

Any consumer or provider of SAP who can call REST APIs can use it. It’s OOP based, faster, secure and having nice trace tools.

Monday, 17 February 2020

CDS based data extraction – Part I Overview

Anyone interested in the state of the art extracting data in the SAP universe and beyond? This blog (series) is meant to provide a comprehensive overview of the topic, highlight the main features but also make sure you understand the meaning and implication of all available annotations related to the topic. I am aware of the fact that various documents/blogs have been published on the topic already, but for sake of completeness I will repeat parts here which you might already know.

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: