Retained profit can be reinvested and usually is. You don't directly hit that account though as that is meant to tell you how much you have accumulated in profit or loss since operating the business. When you invest back in the business you offset cash against whatever you are investing in (assets, buildings, equipment, R&D, employees etc). Can you tell me exactly what you are doing as your question maybe is not be translated correctly?