Skip to Content
Dec 02, 2008 at 09:21 AM

Print SAP script form & smart form on the web use CONVERT_OTFSPOOLJOB_2_PDF


we use backend SAP R3 46C with a lot of legacy complicated script form, some smart forms and even some ABAP list output forms, at the moment we planned to migrate some of our frequently used transations like PO, GR, LIV etc to the web , in order to simplify the user operations and better utilize the newly introduced SAP Netweaver development platform and portal. we are trying to use visual composer , web dynpro and guided procedure as the development tools, our question is that how we can achieve the goal that with minimium program code change in R3, we can have the user print the above mentioned legacy forms(script/smart form, ABAP List) in R3 from the web interface?

The current idea is that we can have a RFC to generate the spool , and convert the spool to PDF, then have the portal issue a HTTP request to ask for return of the PDF file generated, finally the browser can invoke the local PDF viewer to preview and print the PDF file. How this idea can be achieved by the program code in visual composer , web dynpro or even native Java? or any other ideas how we can print the R3 forms from the Web interface?

Thanks in advance.