Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Their might me 2 reasons for this
1. You don't have enough privileges to the table or view which your trying to access
2. Table/View might not exist in the data base
check DB or with Database admin once
with out join condition data lode from the db .when i use the join condition then face error .
Please see the code
[MSEG]:
SELECT
"MANDT",
"MBLNR",
"MATNR",
"ZRET_QTY"
FROM "SAPSR3"."MSEG"
where "BWART" = 131 or "BWART"= 132 ;
[MAKT]:
SELECT "MANDT",
"MATNR",
"SPRAS",
"MAKTX",
"MAKTG"
FROM "SAPSR3"."MAKT" INNER JOIN MSEG ON MAKT.MATNR = MSEG.MATNR;
Store MSEG INTO [Lib://Hassan/MSEG.QVD](qvd);
Store MAKT INTO [Lib://Hassan/MAKT.QVD](qvd);
Try like this
[MAKT]:
SQL SELECT "MANDT",
"MATNR",
"SPRAS",
"MAKTX",
"MAKTG"
FROM "SAPSR3"."MAKT" MAKT INNER JOIN "SAPSR3"."MSEG" MSEG ON MAKT.MATNR = MSEG.MATNR;
I don't know if Qlik can do an inner join like that. I'd try the following:
[MAKT]: SELECT "MANDT", "MATNR", "SPRAS", "MAKTX", "MAKTG" FROM "SAPSR3"."MAKT"; Inner Join([MAKT]): //MSEG SELECT "MATNR", "MANDT", "MBLNR", "ZRET_QTY" FROM "SAPSR3"."MSEG" where "BWART" = 131 or "BWART"= 132 ;