I have just moved my smart form from Sandbox to development. I downloaded the form from sandbox to my local machine and then uploaded the form from local machine to development environment.
The smartform was working fine in sandbox (in web), but in development when I preview it in the web (its an SRM Purchase Order), it gives a popup saying "output cannot be created".
When I debug, the error seems to be in function module SSFCOMP_PROCESS_DOCUMENT. It returns sy-subrc 1 and the error is FORMATTING_ERROR.