Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Cut the SAP table VBRK by dates

Hello,

I'm trying to cut the SAP table VBRK by dates.

I would like to download data from the table when the fields ERDAT and AEDAT = yesterday.

I tried "Makedate" function and other functions without success.

Does anyone have experience on?

Thank you

Elad

Labels (1)
5 Replies
suniljain
Master
Master

declare one variable name is yedterday

and assign date that is today()-1,

and pls use that variable in where condition like

where erdat = Yesterday and AEDAT = Yesterday

Not applicable
Author

Hello Sunil,

Thank for your answer,

The problem that is QV not difined the EADAT filed as a date field.

Elad

cotiso_hanganu
Partner - Creator III
Partner - Creator III

than use NUM() function to make it a number

cotiso_hanganu
Partner - Creator III
Partner - Creator III

Most likely you are trying to use makedate function (which is a QlikView function, available only in LOAD statements) in a SQL SELECT statement which should use the respective SQL syntax.
More advice if you show us some script sample.

suniljain
Master
Master

right now I am unable to log in SAP so can you tell me it is in which format.