Blogs tagged recursion
-
In this post I will propose a solution to extend the resource model to enable interesting manipulations of the translated text. In part one I would like to show the basic technique of replacing the resource model and create a mechanism which allows... Read More »1Comment2Likes -
Hello, friends! Some days ago, I read the blog “Universal Allocation in SAP S/4HANA 2021” written by Daigo Imai. According to the blog, in S/4 HANA 2021, the Universal Allocation APP (ID F3338 ) allows iteration, a functionality that was missing... Read More »0Comments2Likes -
In this blog we will take a look at recursion for solving OData dynamic where clause. SAP had already advanced in Gateway service technology and today’s technology (CDS) does need a Gateway service to be built manually. However, many clients... Read More »4Comments0Likes -
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. The problem Recently I have faced a quite interesting... Read More »9Comments46Likes -
The general approach for fetching a parent and its child entity data in a single OData call is by implementing GET_EXPANDED_ENTITY method of the Data Provider Class. This involves explicitly specifying which child entities can be retrieved along... Read More »2Comments2Likes -
Before we start to research tail recursion, let’s first have a look at the normal recursion. A simple factorial implementation by recursion: function factorial(n){ if(n ===1) { return 1; } return n *factorial(n -1); } Let N =... Read More »1Comment4Likes -
In this post, originally written by Glenn Paulley and posted to sybase.com in April of 2009, Glenn describes how recursive queries work in general, and in SQL Anywhere. Recursive SQL queries–also known as bill-of-materials or transitive... Read More »0Comments0Likes