That's actually a common misconception. The church teaches that for sex to "whole" it has to have both the formative (pleasure/love) aspect as well as the procreation aspect. You can certainly procreate outside of marriage (in the literal sense. This is also why they teach against birth control even for married couples. Only in marriage, with the purpose of child bearing is sex "whole".