Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Where can i find out cast data type information of cast function in the CDS view ?

jungwoo_han
Advisor
Advisor
0 Kudos

Dear CDS experts and developers.

For example, We can see lot of cast functions and data types on CDS view.

....

cast(acdoca.rldnr as fins_ledger_pers) as rldnr_pers,

cast(acdoca.rbukrs as fis_bukrs) as rbukrs,

...

The "fins_ledger_pers" and "fis_bukrs" are used as a cast data type under cast function.

How and where can i figure out these cast data type ?

I've seen CDS manual and various documents however I couldn't find it anywhere.

thanks and best regards,

Jungwoo.

1 ACCEPTED SOLUTION

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

"I've seen CDS manual and various documents"

It seem's that you havn't seen the SAP documentation itself:

"The following can be specified for dtype:

Any data element ...

A built-in data type from ABAP Dictionary ..."

2 REPLIES 2

jungwoo_han
Advisor
Advisor
0 Kudos

just before, i've found that cast data types("fins_ledger_pers" and "fis_bukrs") are data elements.

thank you

Jungwoo.

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

"I've seen CDS manual and various documents"

It seem's that you havn't seen the SAP documentation itself:

"The following can be specified for dtype:

Any data element ...

A built-in data type from ABAP Dictionary ..."