You still did not tell the error that you get if you try it.
It could be that the period is closed, and it could be that you have not allowed negative stocks, and it could be that you have an availability check active in your system which would prevent your postings.
to issue prior to a receipt you need to allow negative stocks
and you must not have the availability check as error
to post in a previous period this period must be open from finance and back posting must be allowed in MM.