I got the solution for this:
First of all, in SAP APO, in trx. /sapapo/cc, the detail information for the error can be seen.
In my case the error was in a sub assembly. I has a minimum wait time of 30 minutes, for operation 0030, and no maximum wait time defined.
You can delete the minimum wait time, or set a greater maximum wait time for the operation.
I hope this will help somebody that has the same error.