Hi all,
I'm facing an error to create an association between two entities, which come from non-HDI container, and I have been seeking for the solution.
I would be greatfull for any help.
ERROR:
Error: com.sap.hana.di.cds: Sub artifact "HEADER_MANDT" not found in "ZTSD_IF_FLUXO_I" [1310040]
at "src/gen/CATALOGSERVICE_ZTSD_IF_FLUXO_I.hdbcds" (27:19-31)
Error: com.sap.hana.di.cds: Sub artifact "HEADER_IN_OBJECT" not found in "ZTSD_IF_FLUXO_I" [1310040]
at "src/gen/CATALOGSERVICE_ZTSD_IF_FLUXO_I.hdbcds" (28:19-35)
Error: com.sap.hana.di.cds: Sub artifact "HEADER_IN_SUBOBJECT" not found in "ZTSD_IF_FLUXO_I" [1310040]
at "src/gen/CATALOGSERVICE_ZTSD_IF_FLUXO_I.hdbcds" (29:19-38)
Error: com.sap.hana.di.cds: Sub artifact "HEADER_IN_EXTNUMBER" not found in "ZTSD_IF_FLUXO_I" [1310040]
at "src/gen/CATALOGSERVICE_ZTSD_IF_FLUXO_I.hdbcds" (30:19-38)
Error: com.sap.hana.di.cds: Sub artifact "HEADER_IN_SOURCE_SYSTEM" not found in "ZTSD_IF_FLUXO_I" [1310040]
at "src/gen/CATALOGSERVICE_ZTSD_IF_FLUXO_I.hdbcds" (31:19-42)
Error: Worker 0 has encountered an error; all remaining jobs will be canceled [8214600]
Error: Processing work list... failed [8212102]
@cds.persistence.exists
entity ztsd_if_fluxo_h {
key mandt : String(3);
key in_object : String(20);
key in_subobject : String(20);
key in_extnumber : String(10);
key in_source_system : String(4);
key in_target_system : String(4);
zdata : String(8);
auart : String(4);
erdat : String(8);
vkorg : String(4);
vtweg : String(2);
spart : String(2);
vkbur : String(4);
bzirk : String(6);
augru : String(3);
bsark : String(4);
zcpf_cliente : String(11);
zcnpj_cliente : String(14);
zcpf_trans : String(14);
zcnpj_trans : String(14);
zcnpj_mark : String(14);
zcnpj_forn : String(14);
inco1 : String(3);
zterm : String(4);
prefno: String(20);
checod : String(20);
zrps : String(15);
zdata_nfs : String(8);
zvencimento : String(8);
znumbol : String(11);
zboleto : String(46);
kunnr : String(10);
ztrans : String(10);
zmark : String(10);
zforn : String(10);
zordem : String(10);
zremessa : String(10);
zfaturap : String(10);
zfaturas : String(10);
docnum : String(20);
nfenum : String(9);
series : String(3);
docdat : String(8);
code : String(3);
cancel : String(1);
zstat : String(1);
zerro : String(1);
zmessage : String(300);
zenviado : String(1);
zdrog : String(10);
zfatura_ref : String(10);
zdev : String(1);
zrecusa : String(1);
nfenum_cliente : String(9);
series_cliente : String(3);
docdat_cliente : String(8);
zimpressao : String(1);
items : composition of many ztsd_if_fluxo_i on items.header = $self;
}
@cds.persistence.exists
entity ztsd_if_fluxo_i {
key mandt : String(3);
key in_object : String(20);
key in_subobject : String(20);
key in_extnumber : String(10);
key in_source_system : String(4);
key in_target_system : String(4);
seq : String(6);
pstyv : String(4);
werks : String(4);
lgort : String(4);
vstel : String(4);
ean11 : String(18);
menge : Decimal(13,3);
lotes : String(10);
zpreco : Decimal(15,2);
zdesconto : Decimal(15,2);
zcusto : Decimal(15,2);
matnr : String(40);
meins : String(3);
header : association to ztsd_if_fluxo_h;
}