SAP Knowledge Base Article - Preview

2464282 - Populate table M_TIME_DIMENSION with correct Week number using SQL


When populate table M_TIME_DIMENSION with Gregorian calendar using "Generate Time Data" wizard in HANA Studio, even if the "Week" granularity is selected, the wizard does not give an option to specify for the first day of the week as red box below, so it results in wrong week numbers.

Disclaimer: Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.



  • SAP HANA DB SPS09 or higher
  • SAP HANA Studio version 2.0.4 or higher


SAP HANA 1.0, platform edition ; SAP HANA, platform edition 2.0


M_TIME_DIMENSION, Gregorian, Generate Time Data , KBA , HAN-STD-DEV-MOD , SAP HANA Analytical Modeling , HAN-DB-MDX , SAP HANA MDX Engine/Excel Client , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.