SAP Message RDB_REC020 - Invalid program type during generation call

RDB_REC020 : Invalid program type during generation call