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: 

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

vonglan
Active Participant
0 Kudos

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

1 ACCEPTED SOLUTION

0 Kudos

Hi Edo,

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

Regards, Harish

3 REPLIES 3

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

0 Kudos

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

0 Kudos

Hi Edo,

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

Regards, Harish