Wednesday 31 March 2021

Making columns and rows in proper manner (Length, Height and Width) in SAP Adobe form.

This blog used to save more and more time and give efficient output in a single execution, when  required to design multiple columns and row fields.

Aim: When you design columns and rows in adobe form, length of the field, width and height calculations are important for each and every column.

Whenever we use columns and row fields in an adobe form drag and drop, below following are the common issues will be faced:

Monday 29 March 2021

RFC Gateway security, part 6 – Logging

With this blogpost series i try to give a comprehensive explanation of the RFC Gateway Security:

Part 1: General questions about the RFC Gateway and RFC Gateway security.

Part 2: reginfo ACL in detail.

Part 3: secinfo ACL in detail.

Part 4: prxyinfo ACL in detail.

Part 5: ACLs and the RFC Gateway security.

RFC Gateway Logging

What about logging functionality of the RFC Gateway in general?

The logging in RFC Gateway is event based. The various event types are specified by letters which are also used to configure the to be logged events.

Friday 26 March 2021

Use CDS view to get company, account, and monthly gains and losses and balances from ACDOCA.

Introduction

From SAP ERP 6.0 to SAP S / 4, the standard table structure has changed significantly.

I mainly understand it as a change to accommodate reporting.

On the other hand, I feel that there are a minority of developers who can imagine the concrete source code of CodePushdown.

This time, we will introduce a sample program that outputs a monthly increase / decrease amount and balance as a report.

Wednesday 24 March 2021

Benefit from Using Code Templates When Creating Data Models

This blog informs you how to work with source code templates when developing data models in ABAP Development Tools (ADT) a. k. a. ABAP in Eclipse.

When creating a data definition, do you always add the same parts of DDL source code to your CDS objects?

Use

You can benefit from SAP’s templates or create your own templates when creating a data model. Templates help you to reduce effort from repeating work.

You can use templates providing the whole structure of a CDS object (respective the CDS entity) or  source code patterns that are frequently used.

Tuesday 23 March 2021

SAP SRM ECS: MASS Update the Purchase Order in SAP SRM to ECC

INTRODUCTION

In the Extended Classic Scenario of the SAP Supplier Relation Management module, we know that the Purchase Orders are created in the SRM system and is then replicated or copied back to the ECC system. In other words, in an extended classic scenario, the procurement process takes place in the SAP SRM system. The purchase order is created in the SAP SRM system and a read-only copy of the purchase order is replicated to the backend system.

Now suppose that the client’s SRM consultants want to have a custom program to update the Purchase Order(s) in the SAP SRM system in MASS, where one would pass the excel file as input to the program with the details like PO Number, line item number and the columns/fields which they intend to change through the program.

Monday 22 March 2021

CDS NUMERIC FUNCTIONS

Introduction

This Blog post Gives the basic over view of  the numeric Functions , syntax ,data types  accepted for that numeric functions , screenshots of output and observations .

Paragraph Body

I have took the simple example of SPFLI table Paymentsum Field To Numeric Functions.

Saturday 20 March 2021

What is Workflow and Simple example on Workflow for approve and reject and then send an email to User

Introduction:

This Blog is about to Basics on Workflow and how to create an Workflow for approval and rejection and then send an email to user. Before doing that I will explain about the basic terminology used in Workflow and when we will use this concept.

We generally use this concept in any module as per their business requirements in SAP. For Example, Employee submit his Leave Request to manager, manager needs to approve or reject the request. On this scenario we can use this concept by using work flow.

Friday 19 March 2021

SAP S/4 HANA Custom Fiori app for Project & WBS using CDS View Table Function, SmartFilter & Tree table

In this blog, I would like to present the custom Fiori app that I developed for searching for Projects, WBS elements, and settlement cost centers. This blog will present details on how to read Project and WBS data using CDS views and table functions and then render the data in a tree table with a smart filter.

Here is a snapshot of the custom Fiori application showing Project, WBS element and settlement cost center data in a nice tree view table with a smart filter bar:

Thursday 18 March 2021

Dynamic scripts in ABAP? Where and How

Where

Even if you don’t familiar with JavaScript templating engines which of the following statements is more straight forward and clear?

SAP ABAP Tutorial and Material, SAP ABAP Certification, SAP ABAP Exam Prep, SAP ABAP Preparation
JavaScript language in templating engine & LiveCycle Designer

In the left part of the image is easy to find IF statement. On the right part we have to “drilldown” to the source code and then try to refresh our memory JS syntax (or even FormCalc). Maybe in SAP world instead of these scripting languages ABAPScript would be more suitable?

Wednesday 17 March 2021

RFC Gateway security, part 5 – ACLs and the RFC Gateway security

With this blogpost series i try to give a comprehensive explanation of the RFC Gateway Security:

Part 1: General questions about the RFC Gateway and RFC Gateway security.

Part 2: reginfo ACL in detail.

Part 3: secinfo ACL in detail.

Part 4: prxyinfo ACL in detail.

ACLs and RFC Gateway security

In the previous parts we had a look at the different ACLs and the scenarios in which they are applied. Maybe some security concerns regarding the one or the other scenario raised already in you head. So let’s shine a light on security.

Tuesday 16 March 2021

RFC Gateway security, part 4 – prxyinfo ACL

With this blogpost series i try to give a comprehensive explanation of the RFC Gateway Security:

Part 1: General questions about the RFC Gateway and RFC Gateway security.

Part 2: reginfo ACL in detail.

Part 3: secinfo ACL in detail.

prxyinfo ACL

Please make sure you have read at least part 1 of this series to be familiar with the basics of the RFC Gateway and the terms i use to describe things.

Monday 15 March 2021

Archiving Business Partners using a custom Function Module

Perhaps you have to archive and delete some Business Partner (BP) because its creation is a mistake and you need to re-create it again with the same Business Partner Number, or you could simply need that this BP disappears from the standard BP tables and BP transactions.

Actually doesn’t exist a standard Function Module or BAPI to archive/delete BPs, and only we have available the transaction BUPA_PRE_DA (to set archive/delete flag) and SARA (to execute archive/delete background jobs).

The functional process of archiving is based on SAP Notes 2491026 and 2640553. Also, note 2599676 is relevant stating that Transaction BUPA_DEL is obsolete (instead of this we can use transaction BUPA_PRE_DA).

Sunday 14 March 2021

Standard Notifications – SAP Financial Closing Cockpit

In this blog post, I would like to explain how standard notifications work for SAP financial Closing Cockpit.

Introduction


What is Financial closing cockpit?

SAP Financial Closing cockpit supports you in planning, executing, monitoring, and analyzing financial closing tasks for the entities of your group.

The Financial Closing Cockpit Add-On offers the following features to facilitate the optimization of your entire closing process:

Friday 12 March 2021

RFC Gateway security, part 3 – secinfo ACL

With this blogpost series i try to give a comprehensive explanation of the RFC Gateway Security:

Part 1: General questions about the RFC Gateway and RFC Gateway security.

Part 2: reginfo ACL in detail.

secinfo ACL

Please make sure you have read at least part 1 of this series to be familiar with the basics of the RFC Gateway and the terms i use to describe things.

What exactly is defined in the rules in the secinfo ACL?

The secinfo ACL contains rules related to ‘Started external RFC Servers’.

Wednesday 10 March 2021

Extra sub segment E1EDP05 for Idoc Type ORDERS05

So when one requirement needs to show only one extra price from the sales order item’s specific price condition (which has a statistics flag), I jump into the solution by extension of IDoc type ORDERS05 directly with inserting the new customized segment under item segment E1EDP01.

SAP ABAP Exam Prep, SAP ABAP Certification, SAP ABAP Career, SAP ABAP Preparation

Monday 8 March 2021

Generic ABAP Value Helps using Fundamental Library for ABAP and Web Components

Exploring web development trends you might have already heard about Web Components, Custom Elements or Shadow DOM. These not so new standards (origins 2011) are still not always easy to try in own applications. Some web frameworks support Web Components more than others, some are less or not at all interested, providing only inevitable capabilities.

Aurelia web-standards based platform supports Web Components for years. Offering a great playground for hands-on experience what web components can do for ui framework and more important, for your application.

This blog describes one real-life prototyping case, how the “magic” of generic ABAP Value Helps “happens” in conventions’ based web applications, leveraging web components super-powers.

Saturday 6 March 2021

Handy CL_GUI_ALV_GRID wrapper

CL_SALV_TABLE or CL_GUI_ALV_GRID which class is better to use in 2021 ?

Probably old abapers remember that more than decades ago that there was shift from the “old-fashioned” CL_GUI_ALV_GRID class & ‘REUSE*’ function modules towards new up-to-date & OOP style class CL_SALV_TABLE. At 2020 I decided to move backwards to CL_GUI_ALV_GRID. At the small article below I try to explain why I made that decision. And it is not related to nostalgia.

One of the reasons to use CL_SALV_TABLE was small amount of code compared to CL_GUI_ALV_GRID. Also, there was no need to create new screen & containers to display a grid. But then new syntax 7.40 was introduced and passing parameters to any method via structures & tables simplified drastically. I decided to fill a gap and just add nested screens functionality for CL_GUI_ALV_GRID.

Friday 5 March 2021

Be Prepared for the Upgrade 2105! Clean Up your RAP Business Objects to Adapt them to the Upcoming Changes

With release 2105 of SAP BTP ABAP Environment, SAP releases more business object (BO) contract checks for the ABAP RESTful Application Programming Model (RAP) to help you make your RAP implementation consistent, user-friendly, and compatible with further RAP features. These contract checks ensure that both, the consumer and the provider can rely on the consistency and the correctness of any transactional request. Requests that are not contract-conform may result in short dumps, triggered by these checks.

In the following, you will find explanation and solutions to prepare your code for the upcoming checks, even before the upgrade takes place and thus help you to prevent problems after the upgrade.

Wednesday 3 March 2021

Using API Instead of BAPI

Introduction

The SAP system is developing and changing day by day. Sometimes keeping track of changes can be quite challenging. Perhaps the best part of this profession is that it constantly compels you to learn new things. SAP API HUB offers us many services and it is possible to find these services on the on-premise system. In this blog post, I will try to show you how to create BP using the API on-premise system. Even if this article was written only for BP; I think it will give a general idea about other services such as purchase order creation, sales order creation, etc.

Monday 1 March 2021

Switching the entry of a Business Partner last name to optional

Override  Business Partner validation as save event via BDT

The BDT (Business Data Toolset) is a central control tool for maintaining master data and simple transaction data. In addition to dialog maintenance, it also supports maintenance with direct input and/or function modules.

Enhancing the screen to make BP last name optional is a common requirement however known to be quite tedious if correct steps are not known.