Quantcast
Viewing all articles
Browse latest Browse all 2161

Re: ABAP CDS View: join tables on columns of different type

  • select b~BPKIND, b~TYPE from crmd_partner as a

                          inner join but000 as b on  b~partner_guid = a~partner_no

        UP TO 20 ROWS

         INTO TABLE @data(lt_result). - This advanced open sql statement will not work.


  • But the below code will work -

     select b~BPKIND b~TYPE from crmd_partner as a

                          inner join but000 as b on  b~partner_guid = a~partner_no

     UP TO 20 ROWS

      INTO TABLE lt_result.


 

  • Try using AMDP procedures in hana studio. AMDP is a replacement of CDS view for more complex calculations. You can use several select statements in it.


Viewing all articles
Browse latest Browse all 2161

Trending Articles