I solved the problem realizing it as follows:
1) First we redefined the method "DO_PREPARE_OUTPUT" and implement the necessary mechanisms to create the SmartForm in pdf and get the URL. After obtaining the URL with PDF we do is export it as variable part of HTM.
2) on the part of HTM we declare the necessary variables and captured from the memory variable that we have created in the "DO_PREPARE_POUTPUT" method with the URL of the PDF.
3) Create a button to click to activate run in a new window with the PDF SmartForm, it may not be the best way to do this but it was the one I got ...
Willing to receive comments and suggestions.