Display content in table DDLOG
Today when I am reading this SAP help, I find out this sentence: Then I have opened the definition of table DDLOG in the system and found I cannot directly view the content of field NOTEBOOK due to its...
View ArticleGROUP BY for Internal Tables - Step by Step
In my blog ABAP News for 7.40, SP08 - GROUP BY for Interna... | SCN I introduced the GROUP BY addition for LOOP AT for internal tables. Since there seems to be some confusion about the syntax and its...
View ArticleAn example of Database deadlock in SAP table
Test1 - program instance 2 waits program instance 1 to release resourceTest2 - deadlockstep1 - execute zlock1 under debug modestep2 - execute zlock2 under debug modestep3 - ZLOCK1 tries to lock...
View ArticleSELECT performance with LIKE Statement
Recently i faced performance issue with CHVW table. It takes more than 25 min, but i made some below changes, and now it is taking 2-3 min. So i need to share this awerness with you all. This is not...
View ArticleReport for Decommissioning/Removing Obsolete Developments
As an SAP customer, we have lots of small development topics (change requests) every year. Most of the change requests are tested and then transported into the production system within a short time...
View ArticleCore Data Services - Standard Utilities / Reports
Introduction: CDS Views can be created and viewed only from ABAP Development Tools (ADT) .The objective of this blog is to list down some standard utilities related to CDS Views which would allow us to...
View ArticleWeak reference in ABAP and Java
Soft referencePhantomReferenceRecently I have some recruitment interview on the topic Weak reference and I think it is necessary for me to refresh my knowledge on this topic. When I write small program...
View ArticleAn Open Source ABAP JSON Library - ZCL_MDP_JSON_*
Hi ABAP developers, I would like to introduce a new open-source ABAP JSON library we have developed. Why the world needs a new JSON library? I will explain our rationale behind developing this library...
View ArticleTRY and RETRY, CATCH and RESUME
You know ABAP's class based exception handling very well. Exceptions are either raised explicitly with RAISE EXCEPTION or implicitly when ABAP statements go wrong,Exceptions can be propagated from...
View ArticleAppending MARA (adding custom fields)
1. Preface I started writing this blog (working title: „Appending tables in S/4HANA – easy! (or is it?)”) with the intention to shown (and try out) how under S/4HANA 1511 appending the tables MARA and...
View ArticleSuppressing Invoice List Creation via VF01/VF04
Hello Guys, I am writing this blog as a guide for those who will have the same requirement.It might not solve your queries directly but I believe it will still throw some light if kind of relevant to...
View Article'Column view' in SAPScripts/ Smartforms
As developers, many of us would have faced this challenge atleast once - the 'Terms and Conditions' Page. Most customers have T&C pages looking like this - with column view. This is easily...
View ArticleMonitoring the SCC4 transaction
Hi,I found it interesting to share this code because it serves to monitor the SCC4 , it is a transaction that opens the SAP environment to change ... where they can be made without request. This can...
View ArticleHow to avoid Warning message after downloading to Excel
Hello everyone, I have always faced the issue of warning message "The file you are trying to open, 'filename.xls' is in a different format than specified by the file extension. Verify that the file...
View ArticleXML to JSON with ABAP - A Trial
From time to time there are questions how to transform XML data to JSON data. If you search the Web you find quite a bunch of such converters, e.g.,XML to JSON and JSON to XML converter onlineFree...
View ArticleRESTfull webservice in ABAP returning JSON
It is very simple to create a webservice using only ABAP, thanks to Naresh Bammidi that showed us the way! Basically, we start by creating a new class in SE24 implementing interface IF_HTTP_EXTENSION....
View ArticleUsing ALV to display/edit fields of a structure
The ideaI got the idea for this when I was working with the web dynpro view editor. I noticed there was something ALV like which was used instead of a classical dynpro to enter values on several...
View ArticleRosetta Code
At our CodeJam in Leipzig, Philipp Degler showed us a cool website - The Rosetta Code. It's a good place to learn new program languages or to train your skills. On a lazy friday afternoon I created...
View ArticleAdd fields from EINA to ME1M output, e.g. vendors material number
I searched SCN but did not find anything about adding new fields to ME1M output.So now, as I found out how to do it, I want to share it here. First you have to use users parameter ME_USE_GRID = 'X' to...
View ArticleMVC (model view controller) framework for ABAP part 1
Another framework? I checked out some approaches like SAPmvc from Marcelo Araujo Ramos, but they did not fit in my programming style. That is, I do not want to have any relevant program logic outside...
View Article