CDS View entity with join and literals Part 6 ABAP on HANA Course

SAP TECHNOMANIAC
27 Jun 202218:41

Summary

TLDRThis video tutorial covers enhancing a CDS (Core Data Services) view entity in SAP. It begins by explaining how to fetch data from multiple data sources using joins, including fetching from different tables like VBAK and VBAP. The video walks through creating select statements, adding conditions, using literals, and applying alias names for better readability. It also demonstrates how to preview data, apply conditions, and create a program to consume the CDS entity. The video concludes with insights into using different features, including select lists, aggregates, and the distinctions between CDS views and database views.

Takeaways

  • 🛠️ The video focuses on enhancing a CDS view entity created in a previous video by joining multiple data sources (tables) to retrieve and display data.
  • 🔄 The tutorial explains how to use joins in CDS view entities, specifically an inner join between VBAK and VBAP tables, which share a common sales order number field.
  • 📋 Demonstrates the use of literals in field lists to display constant values in the output of a CDS view entity.
  • 🚀 At the end of the tutorial, the CDS view entity is called in an ABAP program to retrieve and display data.
  • 🧑‍💻 The CDS view can pull data not only from database tables but also from other CDS views, table functions, hierarchies, and other CDS-based views.
  • 🔍 Shows how to preview the data after enhancing the view and applying inner joins, with alias names being used to make the fields more readable.
  • 📊 The video emphasizes that the capabilities of SQL and Open SQL enhancements in HANA can be leveraged to create more powerful CDS view entities.
  • ⚙️ Demonstrates how to use filters or WHERE conditions in the CDS view to retrieve specific data, such as filtering by a particular sales order.
  • 📦 Aggregation, arithmetic operations, and other expressions (e.g., SUM, AVG, CASE, string operations) can be applied within CDS view entities similar to SQL select statements.
  • 🚫 The SELECT * operation is not supported in CDS view entities but is allowed in DDIC-based CDS views, highlighting the difference between the two types of views.

Q & A

  • What is the main focus of the video?

    -The main focus of the video is to enhance a CDS view entity by getting data from multiple data sources using joins and displaying it in a preview. The video also covers the use of literals in the field list and demonstrates how to use the CDS view entity in an ABAP program.

  • What is a CDS view entity, and how is it used in this video?

    -A CDS (Core Data Services) view entity is a type of view in SAP that allows for complex data modeling and operations. In the video, the presenter uses it to join multiple tables, add additional fields, and perform various SQL operations. The result is then displayed in a data preview and used in an ABAP program.

  • Which tables are being used for the join operation in the CDS view entity?

    -The tables used for the join operation in the CDS view entity are `VBAK` (Sales Document Header) and `VBAP` (Sales Document Item), which are joined based on the common field `VBELN` (Sales Order Number).

  • What is the purpose of using literals in the CDS view entity?

    -Literals are used to define constant values in the select list. For example, the presenter uses a numerical literal (`0.23`) and a character literal (`'CDS'`) in the field list to demonstrate how to include constant values in the output.

  • What is the difference between using dot (`.`) and tilde (`~`) operators in the select statement?

    -In the video, the presenter explains that in CDS views, the dot (`.`) operator is used to refer to fields in the select list or join conditions instead of the tilde (`~`) operator, which is used in traditional ABAP SQL syntax.

  • What are the key differences between a CDS view entity and a traditional DDIC-based view?

    -The key differences include: (1) A CDS view entity cannot use the `SELECT *` syntax to fetch all fields, whereas a DDIC-based view supports it. (2) A CDS view entity cannot use a name list (a list of fields without alias names) in the field list, while a DDIC-based view can.

  • How do you display data from a CDS view entity in an ABAP program?

    -To display data from a CDS view entity in an ABAP program, the presenter creates a select statement that references the CDS view entity, selects specific fields, and stores the data in an internal table. The internal table is then passed to the `cl_demo_output=>display` method to display the data.

  • What are some common SQL operations demonstrated in the CDS view entity?

    -The video demonstrates several common SQL operations in the CDS view entity, including joins, aliasing fields, filtering data using the `WHERE` clause, and using literals and constants. It also mentions that arithmetic operations, aggregations (e.g., SUM, AVG), and string functions can be used.

  • Why is aliasing used in the CDS view entity, and what are its benefits?

    -Aliasing is used to provide meaningful names to columns or tables in a CDS view. This improves readability and makes it easier to understand the query. In the video, the presenter aliases the `VBAK` and `VBAP` tables as `header` and `item`, respectively, to represent the data structure more clearly.

  • What is the purpose of the `cl_demo_output` class in the ABAP program?

    -The `cl_demo_output` class is used to display the contents of an internal table in an ABAP program. In the video, the presenter uses the `cl_demo_output=>display` method to show the results of the CDS view entity in a readable format.

Outlines

00:00

📊 Introduction to Enhancing CDS View Entities

The speaker introduces the video, outlining its focus on enhancing a CDS view entity created in the previous session. They discuss retrieving data from multiple data sources and using joins in the CDS entity. The video will also cover how to display data using data preview, utilize literals in the field list, and call the CDS entity from an ABAP program for data display.

05:00

🔄 Expanding Data Retrieval with Joins

The speaker explains how to expand the CDS view to retrieve data from multiple tables (e.g., VBAK and VBAP) using inner joins. They emphasize that sales order tables share a common field (VBLN) and demonstrate how to write select statements and joins. Notable syntax changes, such as using a dot instead of a tilde, are also highlighted. Aliases can be used to give more meaningful names to fields like sales order.

10:02

🛠 Applying Conditions and Literals

The speaker discusses how to apply a 'where' condition in the CDS entity and retrieve specific data. They demonstrate the inclusion of literals (e.g., numerical and character literals) and explain the importance of assigning alias names to literals. The steps involve activating the CDS view, previewing the data, and applying these elements to a select statement to retrieve filtered data.

15:04

📋 Aggregations, Arithmetic, and Further Enhancements

This section elaborates on how the CDS view supports various SQL features, such as aggregations (e.g., sum, average), group by, string operations, and case statements. These features mirror what can be done in traditional SQL select statements. The speaker also touches on the use of CDS views in programs to retrieve and display data, treating them like database views but with more power.

💡 Alias Names for Meaningful Field Representation

The speaker demonstrates the use of alias names to represent fields more meaningfully, such as labeling the header and item data. These aliases help make table names clearer in the context of sales orders, differentiating between header and line item tables. After making the changes, the CDS entity is activated and tested.

📝 Writing and Executing an ABAP Program for Data Retrieval

In this part, the speaker walks through the process of writing an ABAP program to consume the created CDS entity. Instead of directly writing select statements for individual tables (e.g., VBAK, VBAP), the program selects from the CDS entity. The speaker demonstrates how to retrieve specific fields and use inline declarations to store the results.

🧪 Testing and Outputting Data from CDS Entities

The speaker tests the ABAP program by executing it and displaying the retrieved data using the CL_DEMO_OUTPUT class. They highlight how the program retrieves fields like sales order number and group using the CDS entity, mimicking typical database view behavior but with enhanced features available through the CDS model.

⭐ Differences Between DDIC-Based and CDS Entity Views

The speaker discusses a key difference between DDIC-based views and CDS view entities: the use of the 'select all' statement. While DDIC-based views support the 'select all' feature, CDS view entities do not. The video also clarifies terminologies such as 'field list' and 'name list,' and the speaker reiterates the limitations of the name list in view entities.

🚀 Final Thoughts and Next Steps

The speaker wraps up by summarizing the lesson on creating and using a CDS view entity, reviewing the syntax and features discussed. They announce plans for the next video, which will cover creating a parameterized CDS and using it in a program. Viewers are encouraged to like, subscribe, and continue learning through upcoming tutorials.

Mindmap

Keywords

💡CDS View Entity

CDS (Core Data Services) View Entity is a structured query view in SAP that allows users to define how data is retrieved and structured from multiple data sources. In the video, the CDS View Entity is enhanced by adding more fields and data from multiple tables using SQL joins. The script explains how to create and manipulate CDS View Entities for optimized data retrieval and presentation.

💡Inner Join

An Inner Join is a type of SQL operation that retrieves data from two or more tables based on a common field. In the video, the narrator demonstrates how to use an inner join to fetch data from two sales tables (VBAK and VBAP) using a shared sales order number field, allowing for a combined view of the data.

💡Field List

A Field List in a CDS view refers to the selection of fields that will be displayed in the output of a query. The video discusses using specific fields from different data sources and explains how to modify field names using aliasing to make the output more readable. This ensures that only relevant data is retrieved and displayed.

💡Literals

Literals are fixed values used directly in a query, such as numbers or text. The video illustrates how literals can be used in a CDS view to insert static values into the results, such as a numerical literal '0.23' or a character literal. The video also touches on the importance of aliasing literals for clarity in the output.

💡SQL Enhancement

SQL Enhancements refer to optimizations and additional features in SQL queries that are specific to SAP HANA. The video talks about leveraging SAP HANA's database capabilities for enhanced performance and flexibility in queries. This allows more complex operations like using joins, aggregations, and literals within the CDS views.

💡Alias

An alias is an alternate name given to a field or table to make the output more readable or the code more concise. The video demonstrates how to use aliases for table fields in the query, such as changing the default field name 'VBELN' to a more user-friendly alias like 'Sales Order.' Aliases are also used to distinguish between different data sources.

💡Data Preview

Data Preview is a feature that allows users to execute their CDS view or SQL query and see the actual data output. In the video, the data preview is used frequently to validate the correctness of the query and to ensure that the desired fields and data are retrieved as expected after changes are made to the CDS view.

💡Aggregations

Aggregations in SQL are used to calculate values like sums, averages, or counts over a set of data. The video hints at the ability to use aggregation functions in CDS views, such as SUM and AVG, to perform calculations on data. These aggregations are part of SQL enhancements available in SAP HANA for advanced data manipulation.

💡DDIC-Based View

DDIC-Based Views are views that are linked to SAP's Data Dictionary (DDIC) and support additional features like 'select all' queries. The video contrasts DDIC-based views with CDS views, explaining that the 'select all' operation is not allowed in CDS View Entities but is supported in DDIC-based views, making them slightly more flexible in certain cases.

💡Select Statement

A Select Statement is an SQL command used to retrieve data from a database. Throughout the video, the select statement is the core operation being enhanced in the CDS view entity. The narrator explains how to structure select statements with joins, where clauses, and field lists to retrieve and display data in the desired format.

Highlights

Introduction to enhancing a CDS view entity created in the last video.

Using joins in CDS views to get data from multiple data sources.

Explanation of using inner joins between VBAK and VBAP tables based on the sales order number.

Key difference in SQL syntax for inner joins: using dot notation instead of the tilde operator.

Applying alias names to fields to modify field descriptions in data preview.

Utilizing the WHERE condition in CDS views to filter data based on specific sales orders.

Demonstration of using literals in the CDS field list, including both numeric and character literals.

Applying arithmetic operations, aggregations, and string functions to the select statement in CDS views.

Creating a simple ABAP program to consume the CDS view entity and display data.

Key difference between CDS view entity and DDIC-based CDS views: SELECT * is not allowed in view entities.

Using alias names in the CDS view for meaningful naming of headers and line items.

Data preview process using right-click and F8 to display the selected data from the CDS view.

Literal values and their alias names are mandatory when used in select statements.

Explanation of field list and name list in CDS view entities, and their limitations compared to DDIC-based views.

Teaser for the next video: creating a parameterized CDS view and calling it from an ABAP program.

Transcripts

play00:01

hello everyone welcome to sap techno

play00:03

maniac in this video we will enhance cds

play00:06

view entity which we have created in our

play00:09

last video

play00:10

we will get the data from the different

play00:12

different data sources

play00:15

i mean different different tables we'll

play00:17

do the

play00:18

we will use join in our cdsu entity and

play00:21

we will get the data and we will try to

play00:23

display the data in the data preview not

play00:25

only that we will

play00:27

learn how to use literals in our fill

play00:30

list and at last we will call this

play00:33

particular cdsu entity one of our about

play00:36

program and we will do the data display

play00:38

there

play00:39

let's get started

play00:41

we have created

play00:43

one defined view entity in our last

play00:46

video

play00:48

so

play00:48

let me improvise some let me add more

play00:52

field instead of getting data from the

play00:53

one field get

play00:55

data from the multiple data sources

play00:58

so this is up now you can see the data

play01:01

source is the vba

play01:03

so this data source can be either as of

play01:06

now i'm using any database table

play01:08

it can be any cdsu entity as well we can

play01:11

get the data from another cds view

play01:13

it can be cds table function as well

play01:15

which we will going to use

play01:18

we will going to learn in upcoming video

play01:20

it can be cds hierarchy or any other cds

play01:23

led ic based view as well so as of now

play01:27

i am using normal database tables only

play01:31

so

play01:32

from here it's nothing just a select

play01:35

statement

play01:36

so we in our throughout our video course

play01:40

we have learned the what all are the sql

play01:43

enhancement done

play01:45

in about hana so we can leverage the

play01:48

hana database capabilities

play01:50

so

play01:52

this is not nothing much more than i can

play01:54

say it's a select statement only let me

play01:56

get some more uh more data

play01:59

and let me get uh

play02:01

face the data from more tables so it's a

play02:03

select from vba k

play02:06

uh i want to not only get data from the

play02:08

vbe i want to get from the vb ap as well

play02:11

so i i what i will do i will do the

play02:13

inner joins since the sales order had a

play02:16

table and sales order item table is

play02:18

having the

play02:19

web sales order number is common so what

play02:21

i will do i will get from vbak then i

play02:23

will do inner join

play02:26

it's it's a normal join which we use

play02:28

like in our select statement inner join

play02:31

with vbap

play02:32

and

play02:33

simply if you are doing the inner zoning

play02:35

we have to give some on conditions on

play02:38

vb

play02:40

ak

play02:41

dot

play02:42

vb eln

play02:43

so here we have to use dot instead of

play02:45

the tilt operator let's say one change

play02:48

little bit little bit change not much

play02:50

change from the select statement instead

play02:52

of using tilde operator we have to use

play02:55

dot

play02:55

equal to

play02:57

vba p

play02:59

dot

play02:59

vb

play03:01

ln

play03:05

so i did the

play03:06

so let me clear out this one let me get

play03:09

the key field is a vbln only so vba k

play03:12

dot

play03:13

vbln if you want to give alias name

play03:17

alias name is you want to change the

play03:18

description currently it is sales order

play03:21

if you vba vbln if you want to give some

play03:24

other description that also you can give

play03:25

as

play03:26

so

play03:28

that means sales order and i want to get

play03:30

the data some other data from the vbk

play03:32

table dot

play03:34

let me get some vkoz

play03:36

control space here also work so we can

play03:39

get the weekly rz is

play03:41

also

play03:45

oak

play03:46

or you don't want to give aria's name

play03:48

that is also fine

play03:50

uh vba k

play03:52

dot

play03:53

vk

play03:54

zrp

play03:55

i don't want to give here vk i want to

play03:58

get some data from vbap also vbap

play04:02

dot posner

play04:04

and

play04:06

vba p

play04:08

dot meta

play04:15

so this data some of the data we got

play04:17

from the

play04:19

vbk table some of the data we got from

play04:21

the vb epitome if i want to put wire

play04:23

condition that also i can put where

play04:26

vbln let me get execute this particular

play04:31

select statement and get the data what

play04:33

data i'm getting let me activate this

play04:35

one ctrl f3

play04:38

and let me do the

play04:40

f8 to

play04:42

preview this data so either i can do f8

play04:44

or right click over here and i can see

play04:48

open with the data preview also i can do

play04:50

it will be

play04:52

data will be previewed here so you can

play04:54

see since i have changed the

play04:56

vbl and name to s so using ali alias

play05:00

name let me open it parallely so we can

play05:02

visualize easily easily so that is the

play05:05

reason now alias name is coming here

play05:07

instead of the name of vbln and vkrz but

play05:10

i didn't change here alias name that is

play05:12

the reason it's came like directly vk

play05:14

group posner and matna

play05:16

so you can see these are the sales order

play05:18

name

play05:21

control c

play05:22

now i what i want to do

play05:24

i want to

play05:26

put some wire condition as well so to

play05:29

just to see how it will work

play05:31

so it will be simpler just after the

play05:33

fill list you have to give the wire

play05:35

condition

play05:37

vba k

play05:42

dot vbln

play05:46

equal to

play05:50

i want to get the data for this

play05:51

particular sales order only

play05:54

so

play05:54

as you can see this is the normal select

play05:56

statement only which we have discussed

play05:58

in one of the our first video

play06:00

of the open sql announcement

play06:03

so the

play06:04

in this normal select statement what we

play06:06

were doing select from vba k then we are

play06:09

putting inner join here instead of this

play06:11

curly bracket we were using the fill

play06:13

list and where condition is usual and at

play06:16

last we were doing into this some

play06:18

internal table we are we were taking the

play06:20

data so into internal table is missing

play06:22

and apart from thing

play06:24

apart from that thing that instead of

play06:26

build list we are using the field fields

play06:29

keyword we are using the this curly

play06:32

bracket to get all the filled list

play06:35

so this is the normal select statement i

play06:37

can say

play06:38

so whatever we can do on the normal

play06:41

select statement most of the things we

play06:43

can do

play06:44

here as well for example we can do the

play06:46

arithmetical operations let me get some

play06:48

of the literals also i can get let me

play06:50

get some of the literal as well 0.23

play06:55

is

play06:56

num

play06:58

literal

play07:00

but whenever we are using literal the

play07:02

alias name is uh what we are giving is

play07:06

alias name is mandatory let me get one

play07:08

uh constant little little also if you

play07:11

want to know about literals you can

play07:13

watch out my uh literal video on sql

play07:17

open and enhancement that i have

play07:18

explained very well what is literal and

play07:20

what is constant and what is the

play07:21

difference between them

play07:23

and

play07:24

suppose i want to then

play07:26

cds or something i can display on this

play07:28

literal

play07:29

is

play07:31

character literal

play07:34

and let me activate this one ctrl f3

play07:38

and let me rephrase the data there

play07:41

there is replace offering option is

play07:43

there

play07:46

ctrl f 3

play07:53

and the refresh

play07:55

or i can do data preview again not an

play07:58

issue

play07:59

f8

play08:03

so you can see i got additional data and

play08:06

where condition also applied i got the

play08:08

data from only the

play08:10

if only for the sales order number six

play08:13

and i got numerical literal also

play08:16

0.23 and uh character literal also

play08:20

i got data like that i can get the data

play08:23

from this particular

play08:25

select statement

play08:27

so as i told you we can do the

play08:29

aggregations if you don't uh don't know

play08:32

about what all are the things we can do

play08:33

on the select statement you can watch

play08:35

out this tutorial so uh i can say this

play08:38

tutorial silly zone hana where i have

play08:40

explained like that i i explain normal

play08:43

uh sql state normal select statement

play08:46

select a statement with the literal

play08:48

authentical expression different kind of

play08:50

sum

play08:51

uh

play08:52

average and those kind of thing

play08:53

aggregate expression group by how we can

play08:55

use and string operations case statement

play08:59

call ask function cost expression these

play09:01

all are the things whatever we are doing

play09:03

most of the things we can do

play09:06

in our select statement

play09:08

we will try to explain here as well how

play09:10

we can use those things here as well but

play09:13

for the just the name sake because there

play09:15

i explained in detail already all the

play09:18

things whatever we were doing there all

play09:21

the things we can apply here as well

play09:24

this is the one thing now i have created

play09:27

the cds view i just want to use the cds

play09:30

view in our cds view entity specifically

play09:34

in one of the our program i want to get

play09:36

a fee instead of getting the data vba

play09:39

and vbap since i have created this data

play09:41

model i want to get the date directly

play09:43

data from the data model safe or cdsu

play09:46

entity one more important thing i didn't

play09:48

use here alias name for the our database

play09:50

table if i want to use i can use as a a

play09:53

and instead of using uh

play09:56

or i can tell the so

play09:58

header

play10:01

this is one of the another variant

play10:03

not another variant if you want to use

play10:07

some give some meaningful name instead

play10:09

of header and item you can give like

play10:10

this ctrl v

play10:12

ctrl v

play10:15

ctrl v

play10:16

ctrl v

play10:18

ctrl v

play10:20

and ctrl v

play10:22

sorry item data ctrl c

play10:24

ctrl

play10:26

v and ctrl v

play10:28

and same goes with here control v

play10:31

just i have given the alias name but

play10:33

there is not nothing much difference so

play10:35

that alias name whatever i have given

play10:38

that i am using some meaningful name to

play10:40

tell if you are not understanding with

play10:42

the table name then we can it is a hider

play10:44

table and it is the line item table

play10:46

header underscore so also i can write

play10:48

whatever whatever you want to write that

play10:50

you can write c

play10:52

control

play10:54

control f3

play10:57

so let me call this particular cdsu in

play11:00

one of the select statement so i have to

play11:02

create one program obviously

play11:04

uh let me create one program

play11:07

uh in this in this package itself which

play11:10

i am currently using

play11:18

other repository object

play11:20

and you have to search for program

play11:27

about program

play11:30

uh i can give any name g underscore cds

play11:33

consumption

play11:37

or anything i can you you whatever name

play11:40

you want to give

play11:41

you can give you have to click on next

play11:43

button

play11:44

give some appropriate tr

play11:48

and click on finish button it will

play11:50

create normal about program

play11:58

so this is i can say this is normal

play12:01

about program now what i will do instead

play12:04

instead of getting the data

play12:06

writing select statement on vba and vbap

play12:10

like

play12:11

we have created

play12:12

you can assume like that we have created

play12:14

one view database view and we are

play12:16

calling that database you instead of uh

play12:18

hitting those different different tables

play12:20

directly i'm calling from the database

play12:21

view and getting the data it's a work

play12:23

like this only but it is much powerful

play12:25

than the database view as we already

play12:27

have seen in

play12:29

in our previous videos

play12:31

so let me get data from here so normal

play12:34

select statement how we like how we

play12:36

write select

play12:37

from

play12:41

select from which is i have to use this

play12:45

cds entity select from this particular

play12:48

cds entity

play12:52

from uh and

play12:55

fields i can tell instead of getting all

play12:57

the fields i can get the

play12:59

s so

play13:01

comma

play13:04

sells c

play13:06

ctrl v

play13:09

or i can say

play13:15

vk group

play13:18

grp

play13:20

these are the fields i want to get

play13:22

select from this fields into

play13:25

inline declaration into table

play13:28

hit the rate data

play13:31

i t

play13:32

underscore aim

play13:35

i did inline declaration

play13:38

and if

play13:40

again i will use one of my template it

play13:43

should be very useful

play13:46

if s is initial what i need to do

play13:49

obviously i want to

play13:50

review this data so cl underscore demo

play13:53

underscore output

play13:55

like we usually do

play13:56

i just call this

play14:00

output

play14:04

display method

play14:06

space

play14:08

shift enter

play14:10

in the display method i can pass this

play14:12

table ctrl c

play14:14

ctrl

play14:28

f1

play14:30

ctrl f3

play14:32

let me do

play14:34

f9

play14:36

this

play14:41

so you can see i got data for particular

play14:44

sales oh and 1703 i think it's almost

play14:49

uh let me get data

play14:52

only vk group i i have got i didn't get

play14:55

all the data instead of fill list i can

play14:57

tell i want to get all the data

play15:01

is it giving any error over here no

play15:04

control f3

play15:07

and clear out the console

play15:10

and let me do f9

play15:15

so i got all the data i got the literal

play15:18

value vk group posner and whatever the

play15:20

data is it were there all the data i

play15:23

have got and i have displayed in the

play15:25

like that

play15:26

like a simple database table we can use

play15:29

a cds entity as our data shows when we

play15:32

are writing the select statement but one

play15:34

more thing as i told you

play15:36

uh

play15:37

this is no nothing much difference when

play15:39

we

play15:40

see that select from the field list as i

play15:42

told you select from instead of 12 list

play15:45

we were displaying this this we are

play15:47

giving the fill list in the our

play15:50

curly bracket and where condition also

play15:52

we were putting and here we don't have

play15:54

any into close we are just directly

play15:56

doing the data preview

play15:58

one most important thing if i try to use

play16:01

instead of this all the things if i try

play16:03

to use here star i want to get all the

play16:06

data but in the define view entity it is

play16:09

not supported the select

play16:11

all can't be used in the defined view

play16:14

entity but

play16:15

if i want to use the select all in the

play16:18

ddic based cds view that i can do that

play16:21

is again one of the difference i might

play16:23

have missed in my last video uh you if

play16:26

you want to use ddic based view if i

play16:28

want instead of getting the this is the

play16:30

basically ddic based view which we have

play16:32

discussed in our previous video if i

play16:34

want to get instead of single field i

play16:36

want to get all the fields uh

play16:38

this uh again one more correction i want

play16:41

to do last video i called this is a

play16:44

filled list it's not build list it's a

play16:46

name list we call nameless which is not

play16:48

supported in our view entity this is the

play16:51

name list and this is the field list

play16:53

whatever we are defining inside the kali

play16:55

packet this is name list which is uh

play16:58

which is now not supported in the

play17:00

view entity but the name list is

play17:03

supported in the

play17:04

our ddic based view same way the select

play17:06

all also supported now i want to remove

play17:08

this name list

play17:11

and one more error i'm getting might be

play17:13

the buffering related error i will

play17:17

just comment it out controls if less

play17:19

than i don't want to buffer the data let

play17:21

me see you can see i'm not getting any

play17:22

error now

play17:24

but if you use select all in the cds

play17:27

entity this view entity then you will

play17:30

you will not able to use select all

play17:31

inside this select all is not supported

play17:34

for this defined view entity but it is

play17:36

supported for the ddic based view and

play17:39

one as i told you last minute uh last

play17:42

video the filled list is not filled list

play17:44

name list again i'm repeating this is

play17:46

the field list and whatever we are using

play17:49

here control z control z

play17:52

whatever we are using after this alias

play17:54

name that is called the name list and

play17:57

control z and this is our builder list

play18:00

so name list also

play18:02

not supported in the

play18:05

view entity means what we can say this

play18:08

which is views which is not based on the

play18:10

ddic in this video we have learned about

play18:13

normal cds view entity syntax how to

play18:16

create

play18:17

the cdsu entity with the basic example

play18:20

and we have called that cds view entity

play18:23

in one of the our program

play18:26

in my next video we will create one

play18:27

parameterized cds and we will try to

play18:29

call that parameter series in one of the

play18:31

our program before going to that video

play18:34

please like this video subscribe this

play18:35

channel with that thank you and happy

play18:38

learning

Rate This

5.0 / 5 (0 votes)

相关标签
CDS ViewsSAP HANASQL JoinsABAP ProgrammingData PreviewSAP TutorialsLiterals in SQLSAP TechDatabase TablesParameterized Views
您是否需要英文摘要?