Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Join attribute must be available in projection list: Customer_Id: line 28 col 45 (at pos 897)

$
0
0

Hi folks ,

 

I am getting the "Join attribute must be available in projection list: Customer_Id: line 28 col 45 (at pos 897) " though i put the Customer_Id in both the tables.  See the below which i am executing.

 

p_cc_det =  CE_COLUMN_TABLE("Retail_Schema"."Retail_Package1.Data::Customer_Details",["Customer_Id",

"Customer_Code",

"First_Name",

"Middle_Name",

"Last_Name",

"Email",

"Mobile"]);

p_cc_det = CE_PROJECTION(:p_cc_det,["Customer_Id",

"Customer_Code",

"First_Name",

"Middle_Name",

"Last_Name",

"Email",

"Mobile"],'"Customer_Id" = :p_ccode');

 

p_cust_code = CE_COLUMN_TABLE("Retail_Schema"."Retail_Package1.Data::Header_Fact_table",["Customer_Id",

"Event_ID",

"Time_ID",

"Total_Discount",

"Gross_Amount"]);

 

p_tt_out1 = CE_JOIN(:p_cc_det,:p_cust_code,["Customer_Id"],

["Customer_Code",

"First_Name",

"Middle_Name",

"Last_Name",

"Gender",

"Email",

"Mobile",

"Total_Discount",

"Gross_Amount"]);

 

Please tell me where exactly my code is wrong.

 

Thanks & Regards

Karuna


Viewing all articles
Browse latest Browse all 6412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>