Have created a form using transaction SFP with the interface and everything working. In my program it comes back with a "USAGE_ERROR" after the function module that executes the form.