Skip to Content
-3

CDS view error in testing client

Hello All,

I have developed a CDS view in development client(say 100) and it is activated successfully.

When I tried to execute that view in testing client(say 200), I am getting error "Table/View <CDS> not found"

Check below screen shot.

cds-error.jpg (25.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Please paste the code of your CDS view. Makes it easier to analyze the problem.

  • Below is the CDS code

    @AbapCatalog.sqlViewName: 'zcds_odata_sv'
    @AbapCatalog.compiler.compareFilter: true
    @AccessControl.authorizationCheck: #CHECK
    @EndUserText.label: 'CDS for Odata'
    define view zcds_odata with parameters p_budat_from: dats,
                                          p_budat_to: dats
    as select from dfkkko
    {
     dfkkko.opbel,
     dfkkko.budat
    }
    where dfkkko.budat between :p_budat_from and :p_budat_to
    
    
    
  • Follow
  • Get RSS Feed

2 Answers

  • May 22 at 12:22 AM
    -2

    its obviously no view in test client because you have to transport it.

    Add comment
    10|10000 characters needed characters exceeded

  • May 22 at 01:26 PM
    -2

    use the annotation ( @ClientDependent: ) to handle clients.

    Add comment
    10|10000 characters needed characters exceeded