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

Activate an existing CDS failed in Eclipse

hagit
Active Participant
0 Likes
2,623

Hello experts,

In Eclipse Version: 2019-09 R (4.13.0)

I change the name of an alias in an existing CDS and the activate failed with the message

[JED] Activation of DDL Source &ZBSIK_BSAK& failed

See CAPTURE1.

I changed it back ,but it still fails.

I created a new CDS with the same code and the activation successed.

After several times, the activate succeeded ,but the above message still appears.

What does this message mean?

@AbapCatalog.sqlViewName: 'ZBSIK_BSAK_C'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Documents of vendors'                                      
define view ZBSIK_BSAK as 
select  from BSIK 
 {
     key mandt
    ,key bukrs
    ,key belnr --document no
    ,key gjahr 
    ,key lifnr
   , xblnr as reference_ie_tax_inv_no
    , blart as doc_typ
    , budat  as posting_date
    , bldat  as document_date
    , bldat  as document_type
    , wrbtr as amnt_in_doc_crncy
    , waers  as document_crncy
}
union all 
select  from BSAK
{
     key mandt
    ,key bukrs
    ,key belnr
    ,key gjahr 
    ,key lifnr
   , xblnr as reference_ie_tax_inv_no
    , blart as doc_typ
    , budat  as posting_date
    , bldat  as document_date    
    , bldat  as document_type
    , wrbtr as amnt_in_doc_crncy
    , waers  as document_crncy
}

Thanks in advance

Hagit

11 REPLIES 11
Read only

FredericGirod
Active Contributor
0 Likes
2,439

Are you sure you did not active first without the _c

@AbapCatalog.sqlViewName: 'ZBSIK_BSAK'
Read only

Sandra_Rossi
Active Contributor
0 Likes
2,439

What "details" does the message contain?

Read only

hagit
Active Participant
2,439

sandra.rossi thanks for your answer.

The details contains:

[JED] Activation of DDL Source &ZBSIK_BSAK& failed

Read only

hagit
Active Participant
0 Likes
2,439

frdric.girod thanks for your comment.

99% I activated with the _c

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,439

hagit Thanks. Nice detailed message, I was expecting more from SAP messages 😉

Read only

hagit
Active Participant
0 Likes
2,439

sandra.rossi So how can we proceed?

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,439

I don't know. Looking at the few SAP notes about this message, I would check if there's a short dump in the backend.

Or, as you say it's related to this exact object, and there's no error if you create a brand new one, you could check if there's a difference with transport request, etc.

Anyway, it's an abnormal situation, so you could contact the SAP support.

Read only

hagit
Active Participant
2,439

sandra.rossi thanks for your answer.

I checked in ST22 ,but there is no short dump. Is it what you mean by 'check if there's a short dump in the backend.'?

I thought it's related to this exact object. But now I repduce it with another existing object.

The new CDS and the old CDSes are in the same transport

Thanks

Hagit

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,439

Yes it's what I meant.

Read only

hagit
Active Participant
0 Likes
2,439

sandra.rossi

Is there another thing that can be checked or just contact the SAP support?

Read only

Sandra_Rossi
Active Contributor
0 Likes
2,439

As I said previously, I don't know, I just looked in the Web, in SAP notes, but it's also what you probably did, so we are both like two lost souls and it seems obvious to me that you can only ask SAP support now.