Qlik Community

QlikView App Development

Discussion Board for collaboration related to QlikView App Development.

Highlighted
pieter1976
New Contributor III

Sap Join in Qlikview

Hello ,

I am trying to do a join on a sap query. It looks like this:

SQL Select EKPO.UMREZ EKPO.STATUS EKPO.MATNR EKPO.AEDAT EKPO.KUNNR EKPO.BUKRS EKPO.WERKS EKPO.ADRNR EKPO.MATKL EKPO.EBELN EKPO.EBELP from EKPO JOIN EKKO ON EKPO.EBELN = EKKO.EBELN WHERE EKKO.AEDAT = '20090717';

But the result is a SQL_ERROR

What am i doing wrong?

Tags (3)
1 Solution

Accepted Solutions
Partner
Partner

Sap Join in Qlikview

You have 2 options:

1. Create a "Z" view in SAP joining these 2 tables and pulling data from that view, or

2. Pull EKKO and EKPO separately and join them in QV.

You will not be able to pull from SAP using join query.

2 Replies
Partner
Partner

Sap Join in Qlikview

You have 2 options:

1. Create a "Z" view in SAP joining these 2 tables and pulling data from that view, or

2. Pull EKKO and EKPO separately and join them in QV.

You will not be able to pull from SAP using join query.

pieter1976
New Contributor III

Sap Join in Qlikview

Thanks for your reply,

I am going for option 2

Query 1:

load

..

..;

SQL Select UMREZ STATUS MATNR KUNNR BUKRS WERKS ADRNR MATKL EBELN EBELP from EKPO WHERE EBELN IN ( SELECT EBELN FROM EKKO where AEDAT => '20090701' and AEDAT <= '20090799' )

inner

load

..

..;

SQL Select AEDAT EBELN from EKKO where AEDAT => '20090701' and AEDAT <= '20090799' ;