Maybe you need to go to tcode SDCO enter the object DEMI and regenerate the includes and function module. Find the complete procedure here:
Generate Update and INCLUDE Objects - BC - Extended Applications Function Library - SAP Library
Regards,
Felipe