[b]Q:Though close_form sy-subrc is 0, otfdata[] is not returning anything[/b]
A:If 'X' was set in the parameter TDGETOTF in the transfer structure OPTIONS when the function module PRINT_TEXT or OPEN_FORM was called, the formatted output is returned in OTF format via the optional table parameter OTFDATA.
For more information, pls refer to http://forums.sdn.sap.com/thread.jspa?threadID=1362866
A:If 'X' was set in the parameter TDGETOTF in the transfer structure OPTIONS when the function module PRINT_TEXT or OPEN_FORM was called, the formatted output is returned in OTF format via the optional table parameter OTFDATA.
For more information, pls refer to http://forums.sdn.sap.com/thread.jspa?threadID=1362866