Application Development and Automation 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: 
Read only

Can Data Clusters in DB tables be read using Core Data Services?

vonglan
Active Participant
0 Likes
2,265

Can export/import DB tables (that have RELID and SRTF2 fields) be read using Core Data Services?

1 ACCEPTED SOLUTION
Read only

0 Likes
2,022

Hi Edo,

No, there is no corresponding syntax in CDS to execute import/export ABAP statement.

Regards, Harish

Can export/import DB tables (that have RELID and SRTF2 fields) be read using Core Data Services?

3 REPLIES 3
Read only

2,022

Hi Edo,

Yes, such a transparent table can be used as data source in a CDS View.

Example:

define view ZHM_CDS1_DATA_CLUSTER_TABLE

as select from demo_indx_blob

{
key relid as Relid,
key id as Id,
userid as Userid,
timestamp as Timestamp,
clustd as Clustd
}

Regards, Harish Mehta

Read only

0 Likes
2,022

Hi Harish,

thanks for answering.

Not sure whether you understood what I meant.

For a cluster table like INDX, you read (interpret) the cluster with a statement like

* read the configuration table from DB
    import gendat = lt_gendat from database indx(sd)
                                        id   'GENDAT'.

Is there any equivalent method (e.g. special CDS syntax) for accessing (interpreting) the clustered information via CDS?

Best regards,

Edo

Read only

0 Likes
2,023

Hi Edo,

No, there is no corresponding syntax in CDS to execute import/export ABAP statement.

Regards, Harish