2020 Feb 04 4:05 PM
Hello,
I have issue in ABAP CDS view while joining ACCP data types.
Working on CDS views to create join with 2 tables(Eg : DKKOP join DSKOP) and gives syntax error as
'Data type conflict in a selection condition for DKKOP-BUPER'.
option is to create DB view by joining 2 tables.
I guess CAST cannot be used in the JOIN condition.
Please help me how to fix this issue.
define view ZCDS_DKKOP as select from dkkop
join dskop
on dkkop.koart = dskop.koart
and dkkop.bukrs = dskop.bukrs
and dkkop.buper = dskop.buper
{
dkkop.hkont
}
Thanks,
Venkat
Hello,
I have issue in ABAP CDS view while joining ACCP data types.
Working on CDS views to create join with 2 tables(Eg : DKKOP join DSKOP) and gives syntax error as
'Data type conflict in a selection condition for DKKOP-BUPER'.
option is to create DB view by joining 2 tables.
I guess CAST cannot be used in the JOIN condition.
Please help me how to fix this issue.
define view ZCDS_DKKOP as select from dkkop
join dskop
on dkkop.koart = dskop.koart
and dkkop.bukrs = dskop.bukrs
and dkkop.buper = dskop.buper
{
dkkop.hkont
}
Thanks,
Venkat
2020 Feb 04 6:36 PM
2020 Feb 05 4:07 AM
venkat.petru,
Recommend you to go through the below thread, the same issue has been discussed already in the forum.
Regards!
2020 Feb 11 1:27 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |