Domestic markets end flat in rangebound session ahead of CPI data