The present invention relates to wheat flours, the starch component whereof has an amylose content between 15.0 wt. % and 30.0 wt. % and which have a content of resistant starch of more than 5.0 wt. % and foodstuffs containing these wheat flours. Further, the present invention relates to methods for the production of said wheat flours and the use thereof as resistant starch, as a prebiotic or for the production of foodstuffs with decreased glycemic index. The present invention also relates to nucleic acid molecules which code for a soluble starch synthase II, and vectors containing such nucleic acid molecules. Further, the present invention also relates to host cells and plants which contain such nucleic acid molecules or vectors.