Discussion board where members can learn more about Qlik Sense App Development and Usage.
i am facing one issue when i implement delta load in qlik sense during SAP Data Extraction.
Where clause query on date filter is not working properly .
Please help me on this and would appreciate if you provide the syntax for how we can write the query in qlik sense for SAP Delta Load.
waiting for response !!!
Which SAP connector are you using? Is it possible to see your where clause?
Is this helpdful?
T1: SQL SELECT PKey, Details FROM YOUR_TABLE WHERE ModificationTime >= #$(LastExecTime)# AND ModificationTime < #$(ThisExecTime)#; CONCATENATE LOAD PrimaryKey, Details FROM T1.QVD WHERE NOT EXISTS(Pkey); Inner Join SQL SELECT PKey FROM YOUR_TABLE; IF ScriptErrorCount = 0 THEN STORE T1 INTO T1.QVD (qvd); LET LastExecTime = ThisExecTime; END IF
i am using SAP Connector 6.1 which is most current version.
Below is the Where clause i am using in Load script while extraction from SAP system.
ModificationTime > '$(vLast_Date)';
Please check the script which i have defined in QLIK SENSE script editor when i extracted the data from SAP Source.
where Modified_Date>= '$(vLast_Date)';
when i do filer on Customer ID basis then where clause is working fine and gives me perfect result.
But when i do filter on Modified_Date then this where clause is not working , it is not filtering out the data.
i don't know may be the syntax of comparing with Date field is different in Qlik Sense.
Please help/Guide me on this.