<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: submit rstxpdft4 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931049#M60853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use FM 'CONVERT_OTF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            FORMAT                = 'PDF'&lt;/P&gt;&lt;P&gt;            MAX_LINEWIDTH         = 132&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            BIN_FILESIZE          = NUMBYTES&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            OTF                   = ZOFTDATA&lt;/P&gt;&lt;P&gt;            LINES                 = ZPDF&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ERR_MAX_LINEWIDTH     = 1&lt;/P&gt;&lt;P&gt;            ERR_FORMAT            = 2&lt;/P&gt;&lt;P&gt;            ERR_CONV_NOT_POSSIBLE = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            BIN_FILESIZE            = NUMBYTES&lt;/P&gt;&lt;P&gt;            FILENAME                = FILEPDF&lt;/P&gt;&lt;P&gt;            FILETYPE                = 'BIN'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           ACT_FILENAME            = FILEPDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            FILESIZE                = NUMBYTES&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DATA_TAB                = ZPDF&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Aug 2005 10:58:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-08-19T10:58:48Z</dc:date>
    <item>
      <title>submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931042#M60846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using rstxpdft4 to convert the smartform to pdf. it is working fine. when i am giviing test-&amp;gt; print the spool id is been created. only one id has been created so all the next forms are appended to the same spool id. so for every run i want to have one spool id and i want to pass this spool id to the selection screen of the rstxpdft4. how this can be solved. waiting for ur replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead i want to delete the previous spool id and generate new. can this is be possible thru this procedure&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ateeq K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 09:00:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931042#M60846</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931043#M60847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ateeq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you select the 'New spool request' check box?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also give different name of each print in the field 'Spool request name'. E.g 1,2,3 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls let me know from where you are printing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 09:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931043#M60847</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-19T09:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931044#M60848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Atteq&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my knowledge, we use Txn SCOT to do the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now, i'm not having access. I'm not sure for the program RSTXPDTT4, wheteher it is the same program behind SCOT. If different, try Txn SCOT for changing the format (default format for sending forms is OTF)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 09:39:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931044#M60848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T09:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931045#M60849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai vinod, &lt;/P&gt;&lt;P&gt;thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first of all i am going to the print preview. i am clicking  test-&amp;gt; print and after that i am selecting f3 button (or) back button. here the spool prog rstxpdft4 has been called. now i am giving the generated spool id in this selection screen and executing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;previously i haven't given the new spool req. now i had given that.&lt;/P&gt;&lt;P&gt; including this i want to send the spool id to the selection screen of rstxpdf4, how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ateeq K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 10:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931045#M60849</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T10:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931046#M60850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's possible to create pdf files directly from the ABAP program,where you call the smartform. There are a lot of threads to this topic. You should fill the following structures ( input parameters &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;SSFCOMPOP ( field TDNEWID - new spool request )&lt;/P&gt;&lt;P&gt;SSFCTRLOP ( fields NO_OPEN, NO_CLOSE, GETOTF )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 10:18:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931046#M60850</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T10:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931047#M60851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ateeq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check whether it is creating new spool request for each print out? Because now you have selected the 'New spool request'. Was this your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is generating new spool request, then the program rstxpdft4 will generate pdf file for each print out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 10:24:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931047#M60851</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-19T10:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931048#M60852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanx for ur reply.&lt;/P&gt;&lt;P&gt;it is working fine now. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to catch the generated spoolid in a variable programatically. plz respond its urgent&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also without giving the spoolid can we send the otf to pdf and save it in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Ateeq K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 10:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931048#M60852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T10:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931049#M60853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Use FM 'CONVERT_OTF'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            FORMAT                = 'PDF'&lt;/P&gt;&lt;P&gt;            MAX_LINEWIDTH         = 132&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            BIN_FILESIZE          = NUMBYTES&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            OTF                   = ZOFTDATA&lt;/P&gt;&lt;P&gt;            LINES                 = ZPDF&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ERR_MAX_LINEWIDTH     = 1&lt;/P&gt;&lt;P&gt;            ERR_FORMAT            = 2&lt;/P&gt;&lt;P&gt;            ERR_CONV_NOT_POSSIBLE = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            BIN_FILESIZE            = NUMBYTES&lt;/P&gt;&lt;P&gt;            FILENAME                = FILEPDF&lt;/P&gt;&lt;P&gt;            FILETYPE                = 'BIN'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           ACT_FILENAME            = FILEPDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            FILESIZE                = NUMBYTES&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DATA_TAB                = ZPDF&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 10:58:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931049#M60853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T10:58:48Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931050#M60854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai Rusev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had used this code but it is not working.&lt;/P&gt;&lt;P&gt;when i debug, the zoftdata and zpdf including the numbtypes is also zero when the func. module is returned.&lt;/P&gt;&lt;P&gt;so these null values are passed to the download func, so it is not working. any suggestions regarding this are welcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 13:43:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931050#M60854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T13:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931051#M60855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ateeq,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What technique are you using for the ouput generation?&lt;/P&gt;&lt;P&gt;SAPScript or Smartform?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow these steps if you are using SAPScript.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Mark 'X' in the field TDGETOTF of the structure ITCPO of the FM: OPEN_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. You will get the OTF data of the form in tables parameter of the FM: CLOSE_FORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. The OTF data may be converted to PDF data by FM: CONVERT_OTF_2_PDF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. This PDF data may be downloaded by Function module GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Smartforms&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s_control_parameters-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt;s_control_parameters-getotf = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION v_func_name &lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;output_options = s_output_options&lt;/P&gt;&lt;P&gt;control_parameters = s_control_parameters&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;job_output_info = s_job_output_info&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERT_OTF_2_PDF'&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;otf = s_job_output_info-otfdata&lt;/P&gt;&lt;P&gt;lines = t_pdf &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Vinod C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 13:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931051#M60855</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-08-19T13:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931052#M60856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This is part of my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: fm_name type rs38l_fnam,&lt;/P&gt;&lt;P&gt;      I_SSFCTRLOP type SSFCTRLOP,&lt;/P&gt;&lt;P&gt;      I_ssfcompop type ssfcompop,&lt;/P&gt;&lt;P&gt;      E_ssfcrescl TYPE ssfcrescl.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  if EPDF = 'X'.&lt;/P&gt;&lt;P&gt;    I_SSFCTRLOP-getotf = 'X'.&lt;/P&gt;&lt;P&gt;    I_SSFCTRLOP-no_dialog = 'X'.&lt;/P&gt;&lt;P&gt;    I_ssfcompop-tdnoprev = 'X'.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;.......&lt;/P&gt;&lt;P&gt;  DESCRIBE TABLE T_BKPF LINES T_LINES.&lt;/P&gt;&lt;P&gt;  loop at T_BKPF into S_BKPF.&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;    if T_LINES &amp;gt; 1.&lt;/P&gt;&lt;P&gt;      I_SSFCTRLOP-NO_OPEN = 'X'.&lt;/P&gt;&lt;P&gt;      I_SSFCTRLOP-NO_CLOSE = 'X'.&lt;/P&gt;&lt;P&gt;      at first.&lt;/P&gt;&lt;P&gt;        I_SSFCTRLOP-NO_OPEN = SPACE.&lt;/P&gt;&lt;P&gt;        I_SSFCTRLOP-NO_CLOSE = 'X'.&lt;/P&gt;&lt;P&gt;      endat.&lt;/P&gt;&lt;P&gt;      at last.&lt;/P&gt;&lt;P&gt;        I_SSFCTRLOP-NO_OPEN = 'X'.&lt;/P&gt;&lt;P&gt;        I_SSFCTRLOP-NO_CLOSE = SPACE.&lt;/P&gt;&lt;P&gt;      endat.&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;CALL FUNCTION fm_name&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_INDEX =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ARCHIVE_PARAMETERS =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   CONTROL_PARAMETERS = I_SSFCTRLOP&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_APPL_OBJ =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_RECIPIENT =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  MAIL_SENDER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   OUTPUT_OPTIONS = I_ssfcompop&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  USER_SETTINGS = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      S_BKPF = S_BKPF&lt;/P&gt;&lt;P&gt;      S_FWBAS = S_FWBAS&lt;/P&gt;&lt;P&gt;      S_FWSTE = S_FWSTE&lt;/P&gt;&lt;P&gt;      S_FWTOT = S_FWTOT&lt;/P&gt;&lt;P&gt;      S_WORDS = S_WORDS&lt;/P&gt;&lt;P&gt;      S_PAYM = S_PAYM&lt;/P&gt;&lt;P&gt;      V_BSEG = S_BSEG&lt;/P&gt;&lt;P&gt;      P_TYPE = copy&lt;/P&gt;&lt;P&gt;      I_USER = PUNAME&lt;/P&gt;&lt;P&gt; IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DOCUMENT_OUTPUT_INFO =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   JOB_OUTPUT_INFO = E_ssfcrescl&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  JOB_OUTPUT_OPTIONS =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      T_BSEG = T_BSEG&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      FORMATTING_ERROR = 1&lt;/P&gt;&lt;P&gt;      INTERNAL_ERROR = 2&lt;/P&gt;&lt;P&gt;      SEND_ERROR = 3&lt;/P&gt;&lt;P&gt;      USER_CANCELED = 4&lt;/P&gt;&lt;P&gt;      OTHERS = 5.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;  if EPDF = 'X'.&lt;/P&gt;&lt;P&gt;    PERFORM SAVE_TO_PDF TABLES E_ssfcrescl-OTFDATA.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SAVE_TO_PDF TABLES ZOFTDATA STRUCTURE ITCOO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data:&lt;/P&gt;&lt;P&gt;        ZPDF LIKE TLINE OCCURS 100 WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;        NUMBYTES TYPE I.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call function 'CONVERT_OTF'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            FORMAT                = 'PDF'&lt;/P&gt;&lt;P&gt;            MAX_LINEWIDTH         = 132&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;P&gt;            BIN_FILESIZE          = NUMBYTES&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            OTF                   = ZOFTDATA&lt;/P&gt;&lt;P&gt;            LINES                 = ZPDF&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            ERR_MAX_LINEWIDTH     = 1&lt;/P&gt;&lt;P&gt;            ERR_FORMAT            = 2&lt;/P&gt;&lt;P&gt;            ERR_CONV_NOT_POSSIBLE = 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WS_DOWNLOAD'&lt;/P&gt;&lt;P&gt;       EXPORTING&lt;/P&gt;&lt;P&gt;            BIN_FILESIZE            = NUMBYTES&lt;/P&gt;&lt;P&gt;            FILENAME                = FILEPDF&lt;/P&gt;&lt;P&gt;            FILETYPE                = 'BIN'&lt;/P&gt;&lt;P&gt;       IMPORTING&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;           ACT_FILENAME            = FILEPDF&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;            FILESIZE                = NUMBYTES&lt;/P&gt;&lt;P&gt;       TABLES&lt;/P&gt;&lt;P&gt;            DATA_TAB                = ZPDF&lt;/P&gt;&lt;P&gt;       EXCEPTIONS&lt;/P&gt;&lt;P&gt;            OTHERS = 9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Svetlin Rusev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Svetlin Rusev&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 13:50:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931052#M60856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T13:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931053#M60857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;rusev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had tried as u had defined but it didn;t work. the smartform is not convrrted to the pdf here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had defined as u had defined, is there any need to increase 132 to 255 maxlinewidth. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;plz respond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 14:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931053#M60857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931054#M60858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I added some new code. Try with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 14:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931054#M60858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T14:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931055#M60859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this sample code. It partly covers the pdf coversion from smartform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap-code-samples/smartforms/tutorial" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/abap-code-samples/smartforms/tutorial&lt;/A&gt; with code sample on smart forms.pdf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 15:49:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931055#M60859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-19T15:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: submit rstxpdft4</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931056#M60860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;wasnt't that SY-SPONR?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2005 20:02:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/submit-rstxpdft4/m-p/931056#M60860</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2005-08-19T20:02:56Z</dc:date>
    </item>
  </channel>
</rss>

