Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3184

ERROR during INNER JOIN in SQL SAP HANA as I am nnew to SQL

$
0
0

Kindly help..........

 

 

Message :

  Repository: Encountered an error in repository runtime extension;Model inconsistency. Deploy Calculation View: SQL: transaction rolled back by an internal error: invalid column name: T1.MANDT: line 9 col 13 (at pos 464)

Set Schema DDL statement: set schema "SYSTEM"

Type DDL: create type "_SYS_BIC"."sales_pipeline/INNER_SQL2/proc/tabletype/VAR_OUT" as table ("MANDT" NVARCHAR(3), "SET_GUID" VARBINARY(16), "CNT" BIGINT)

Procedure DDL: create procedure "_SYS_BIC"."sales_pipeline/INNER_SQL2/proc" ( OUT var_out "_SYS_BIC"."sales_pipeline/INNER_SQL2/proc/tabletype/VAR_OUT" ) language sqlscript sql security definer reads sql data as 

/********* Begin Procedure Script ************/

BEGIN

  var_out = SELECT  T2."MANDT",T1."SET_GUID" ,

    COUNT(1) AS CNT from "SAPDM1"."CRMM_BUT_LNK0141" AS T1

        INNER JOIN

    "SAPDM1"."CRMM_BUT_SET0140" AS T2 ON

      

        T1."MANDT" = T2."MANDT" AND

            T1."SET_GUID" = T2."SET_GUID"  GROUP BY MANDT,SET_GUID;

 

 

END /********* End Procedure Script ************/

Capture.PNG


Viewing all articles
Browse latest Browse all 3184

Trending Articles



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