Friday, 8 March 2024
SQL Statement Collection for SAP HANA - The output is right aligned
Friday, 16 February 2024
Methods to identify VIEW and TABLE name(s) from IMG node
Friday, 29 September 2023
Upload transport files from SAP
Introduction
Friday, 30 June 2023
SAP S/4HANA Cloud, public edition, ABAP Environment Case 5: Purchase Requisition Mass Upload
1. Case Background:
Friday, 19 May 2023
YTD(Year To Date), MTD(Month To Date) and Quarter wise separation of data in HANA Modelling.
Introduction:
Wednesday, 1 March 2023
Convert Multiple Rows in One Row with different columns in CDS Views
Introduction
Monday, 14 November 2022
S/4 Hana Enforcement Actions and Debt Set Relationships
Introduction
Friday, 7 October 2022
AppGyver + CAI = Productivity & Digital Assistance
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:
Sunday, 27 December 2020
Calling Stored Procedure from SAP ABAP Application [BW on HANA, BW/4HANA, S/4HANA]
Stored Procedure – Introduction
Stored Procedure are frequently used Objects in SAP HANA. Stored Procedures allows to group the SQL statement into a single block and can return data in the form of output parameters.
In Mixed modelling Scenario calling a Stored Procedure from SAP Application can also be a good approach. Below is one Scenario we have faced in our Project.
Scenario: We had created a S/4HANA Report based on a Transient Provider and when checking for InfoProvider report gives a System Generated Tech name 2H*.
Friday, 10 April 2020
Implementing DCL with CDS Views and Roles
So, DCL stands for Data Control Language. It provides an access control mechanism to restrict the results returned by the CDS view from the database according to conditions. With the help of roles (PFCG), we can also use the same DCL and restrict the results for different categories of users.
Let us look into the process, with the help of an example.
Friday, 20 March 2020
ABAP CDS VIEWS simplified – PART 1
INTRODUCTION:
ABAP Core Data Service Views also known as ABAP CDS Views. There are so many limitations in SE11 views but we can come out of all the limitations and create a powerful views with the help of ABAP CDS Views.
In general SE11 views and ABAP CDS Views both will create a database views at the backend. When we try to access these views as a table in the ABAP code, this code will be executed at the database level.
Wednesday, 15 January 2020
ABAP CDS recursive association using hierarchy
Introduction
In this article, I will show a practical example of self-association in CDS. You will learn how to define a simple hierarchy in your CDS and how to consume it in your ABAP code.
Monday, 9 December 2019
Memory wasted by spring boot application
Monday, 9 September 2019
Implementing Cartesian Transformation in SAP ABAP CDS Views
Introduction
This paper presents in detail how to implement Cartesian Transformation in SAP ABAP CDS Views to convert a record with hundreds of measures to multiple records with few measures and their IDs.
This approach could be very useful when converting COPA and/or CCA data with hundreds of measures in each record to P&L data with multiple records; e.g., Sales, Rent, …, Revenues, Payroll, Utilities, …, Expenses for each original record and; e.g., , 2 measures in each record; e.g., current year and previous year values.
Friday, 12 July 2019
Currency and Unit conversion in ABAP CDS views
A simple example of a days to years conversion is conceived with a multiplication of the original value by 365, for more complex situations like an expansion of this same conversion from days to months and years a CASE statement is implemented to adjust the output of the value.
Friday, 10 May 2019
Role of BTE process RWBAPI01 in BAPI_ACC_DOCUMENT_POST
Introduction
BAPI_ACC_DOCUMENT_POST is use for creating/posting accounting document for AP, AR and GL documents. This is an alternate solution in place of BDC which is used for posting documents through transactions like FB01 and FBB1. This BAPI can take input from legacy system and convert data into accounting document.
Monday, 4 March 2019
Report Creator
Introduction
Oftentimes, access to SE16 or SE16n is not granted to SAP end-users. This program would allow an analyst to configure their own reports by pointing to existing CDS Views, Views or SAP Tables without writing code. They configure their selection screens by importing an Excel spreadsheet. Lastly, create an SAP Transaction code which points to the report and assign certain users’ authorization to the new transaction. This program is suitable for those SAP installs with HANA.
Friday, 30 November 2018
Delete duplicate entries in ABAP CDS views using Table Function and SQL Window Function
In this blog post we are going to explore one of this scenarios trying to delete duplicate entries using ABAP CDS Views.