Sunday, 31 May 2020
Friday, 29 May 2020
CDS Table Function using ‘WITH’ Clause – Improved response time
Introduction –
In this blog, you are going to see how performance can be improved using ‘WITH’ Clause in CDS Table function when you have multiple selects.
I will use below Problem Statement as an example and try same solution in 3 ways.
Wednesday, 27 May 2020
Create a Fiori application to perform CRUD operations with SAP Fiori Elements and BOPF Framework in S/4 System using CDS Annotations
Introduction
In this post, we will go over a series of steps in creation of a Fiori application to perform CRUD operations with SAP Fiori Elements and BOPF Framework using CDS annotations, without using a single line of UI5 code.
Pre-requisites for this Application:
◉ S/4 HANA System
◉ SAP NetWeaver gateway
◉ HANA Studio
◉ SAP Web IDE Cloud Platform
Monday, 25 May 2020
Best way to generate Microsoft EXCEL xlsx from template in ABAP
Installation
Clone source https://github.com/AntonSikidin/abap2xlsx with abapgit.
Make template
For example, something like this:
Friday, 22 May 2020
Upload & Download Attachments in Dispute Management(FSCM)
In this blog, I am going to explain how to work with Attachments in the Dispute management module(FSCM) through the ABAP code.
There is a requirement where we need to Upload & Download the attachments for the Dispute case in our custom Applications I search for Different blogs to find any function modules or classes that can serve this purpose.
There is a requirement where we need to Upload & Download the attachments for the Dispute case in our custom Applications I search for Different blogs to find any function modules or classes that can serve this purpose.
Wednesday, 20 May 2020
Simple web forms realized by Fiori Elements Quick Create pattern
In this blog you will see how the Quick Create pattern from Fiori Elements can be used to easily create a HTML form application.
HTML form is a simple type of a one step/ one page application consisting of a list of fields for data entry and a SUBMIT button. After the SUBMIT is hit the page data is sent to a back end system and the process is done.
Forms
HTML form is a simple type of a one step/ one page application consisting of a list of fields for data entry and a SUBMIT button. After the SUBMIT is hit the page data is sent to a back end system and the process is done.
Friday, 15 May 2020
Wednesday, 13 May 2020
Display standard text using CDS in ALV with IDA
Overview
This blogs mainly cover the topic to display standard text(T-code: SO10) is abap list viewer(ALV) with IDA which uses CDS as data source.
Standard Text
Standard text is a long text and are not stored in SAP tables directly instead it is compressed & stored in the long raw data format in the table STXH and STXL. In ABAP programming, mainly Function Module READ_TEXT is used to retrieve these text.
Tuesday, 12 May 2020
ABAP Exception Class ZCX_RETURN2
As an ABAP programmer we must program Object Oriented code (aka OO code). So for exception / error handling we need to use Exception classes instead of using the old procedural ways of error handling like SY-SUBRC and BAPIRETURN data.
However often we have to call BAPIs, or less favorite other function modules or FORM routines. In the new OO code we create we have to handle the procedural errors and convert them to OO Exceptions.
However often we have to call BAPIs, or less favorite other function modules or FORM routines. In the new OO code we create we have to handle the procedural errors and convert them to OO Exceptions.
Monday, 11 May 2020
Display Standard text using CDS annotation @ObjectModel.virtualElement in Gateway Service (Odata) or Fiori
Overview
Often we come across scenario where we need to display document/item text, which are stored in SAP as standard text. This blogs explains how standard text can be displayed in Gateway Service (Odata) or Fiori using CDS annotation @ObjectModel.virtualElement.
Friday, 8 May 2020
Wednesday, 6 May 2020
Understanding the ABAP Program Logic With Profile Data Analyzer for Performance Optimization and Other Tasks
The Purpose
In the following SAP Community blog post which is published in the last month, we’d like to demonstrate the basic usage of the new tool “profile data analyzer” with two SM21 examples. With these examples, we can see that the profile data analyzer not only helps us to analyze the performance issue systematically and find out the most expensive parts of a program in a graphic and interactive way, but also helps us to understand the program logic, including getting an overall picture quickly and drilling down to the details easily.
Monday, 4 May 2020
Understanding Fragments based Adobe form building using LiveCycle version 10+ with OData as back-end.
Adobe has come up with new Fragments based approach for building Adobe Forms using LiveCycle designer from version 10 and above. And these Forms are part of New Output Management for S/4 HANA Systems. In this blog post I would like to explain briefly about Fragments based Forms and also would cover regular Forms (which is categorized as of type “Standalone Form”) with OData as backend. I would like to say that even though traditional Form building provisions precisely speaking SAP Scripts, SMARTFORMS and Adobe Forms with ABAP based Interfaces are still available as an alternative for this but still I would like to ask all of you to give this a try at least for learning purposes if your client is not insisting on this. If not now definitely going ahead, we might be bound to use this option (Adobe Form with OData backend) only.
Friday, 1 May 2020
Shared Memory Objects – Transfer data between ABAP programs
Shared memory is a memory area resides in the application server which is accessible to all the ABAP programs. In this post I’ll be discussing the way to access and use that memory area to cater business requirements by using a shared memory object.
Sharing data between ABAP programs is a common business requirement. There are different ways of achieving that. Let’s take a simple business scenario.
Business Requirement
Sharing data between ABAP programs is a common business requirement. There are different ways of achieving that. Let’s take a simple business scenario.
Subscribe to:
Posts (Atom)