Cursors are set of rows of data fetched from the database with a pointer at the current row which is defined by the iteration as the code parses through the data one row at a time. When a cursor is... Continue Reading →
CRUD is an acronym for Create, Read, Update and Delete operations are four basic functions in databases. In OData, it follows the same definition. Let's elaborate: Create: Any operation that sends data/instruction from UI Front End to SAP Backend to... Continue Reading →
While READ statement is valid, ABAP has opened a new approach to fetching values from the internal table based on conditions. This is a more simplistic approach aiming at compact coding. Reading a table with index can be simplified as... Continue Reading →
Expanding on the subject last touched upon, following are a few more examples of how data declarations have been updated. For a method, originally parameters would have to be individually declared prior to usage. Any change in the method of... Continue Reading →
Consider a select with 10 fields out of a list of 30. The standard approach is to declare a Type, define an internal table or work area based on that Type and populate the internal table or work area in... Continue Reading →
Optimizing Custom ABAP code for HANA upgrade can be visualized as a three-act structure - Detect, Optimize and Innovate. What Needs Optimization? Before HANA implementation/migration, an assessment on current code needs to be made in order to understand which objects... Continue Reading →
While dealing with OData JSON format, sometimes users come across a number in following shape - 1532696073 - which is confusing as they are expecting a date/timestamp. This is Epoch/Unix/POSIX time format which is an alternate approach to display date... Continue Reading →
In a standard course of development, extracting an XML into SAP is not ideal. Most of the interfaces involve PI which is more adept and accurate in handling XML files and pass the data in a structure. On the other... Continue Reading →
Problem: Bruce is a functional consultant who wants that a selection screen should allow only values coming from Domain in the Status Field except for value S which is not applicable. He places the request with Harvey who is the... Continue Reading →
Recent Comments