The present invention relates to substituted fused heterocyclic compounds.The substituted fused heterocyclic compounds are GPR119 modulators and useful for the prevention and/or treatment of diabetes, obesity, dyslipidemia and related disorders. The invention furthermore relates to the use of substituted fused heterocyclic compounds as active ingredients in pharmaceuticals, and pharmaceutical compositions comprising them.