SAP Message RERAOP028 - Enter a company code and a posting activity

Diagnosis
You have not entered the company code or the basic data for the postingactivity.

System Response
The system cannot generate the line items until the entries are made.

Procedure
First enter the company code and the posting activity.
If you call the one-time posting function in the RE Navigator (RE80),then both fields already contain a default entry.