<?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 Smartforms help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862922#M671398</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I have to download pdf of selected pernrs time data into pdf in smartform format  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when i am trying to download into pdf it downloads only one i.e last form repeatedly two time into pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. e.g i am giving the select option from 10866 to 10868 but it give the pdf of only 10866.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. i am using convert_otf_2_pdf FM is there any fm than this and otf_convert please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and  which otf should be passed to the fm and which table to the gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagrut BharatKumar Shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2007 06:20:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-08T06:20:12Z</dc:date>
    <item>
      <title>Smartforms help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862922#M671398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I have to download pdf of selected pernrs time data into pdf in smartform format  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. when i am trying to download into pdf it downloads only one i.e last form repeatedly two time into pdf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. e.g i am giving the select option from 10866 to 10868 but it give the pdf of only 10866.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. i am using convert_otf_2_pdf FM is there any fm than this and otf_convert please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and  which otf should be passed to the fm and which table to the gui_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagrut BharatKumar Shukla&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 06:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862922#M671398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T06:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862923#M671399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try it like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please change the select query like yhis..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select [field]  form &amp;lt;database name] inot [itab] where&lt;/P&gt;&lt;P&gt;[field] IN [select-option field name]..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;declaration ..&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PDF CONVERSION DECLEARTIONS&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA : it_tlines LIKE TABLE OF tline,          "pdf FILE CONVERSITION&lt;/P&gt;&lt;P&gt;       it_doc LIKE TABLE OF docs,              "pdf FILE CONVERSITION&lt;/P&gt;&lt;P&gt;       bin_size TYPE i,&lt;/P&gt;&lt;P&gt;      joboutput TYPE ssfcrescl,&lt;/P&gt;&lt;P&gt;      otf LIKE TABLE OF itcoo,&lt;/P&gt;&lt;P&gt;      control TYPE ssfctrlop.&lt;/P&gt;&lt;P&gt;************************&lt;STRONG&gt;FORM&lt;/STRONG&gt;download****************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'CONVERT_OTF_2_PDF'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        bin_filesize   = bin_size&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        otf            = joboutput-otfdata[]&lt;/P&gt;&lt;P&gt;        doctab_archive = it_doc&lt;/P&gt;&lt;P&gt;        lines          = it_tlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL FUNCTION 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        bin_filesize = bin_size&lt;/P&gt;&lt;P&gt;        filename     = 'C:\JESUS\OUTPUT.PDF'  --&amp;gt; specify your path here..&lt;/P&gt;&lt;P&gt;        filetype     = 'BIN'&lt;/P&gt;&lt;P&gt;      TABLES&lt;/P&gt;&lt;P&gt;        data_tab     = it_tlines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;baskaran&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        baskaran nagamanickam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 06:24:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862923#M671399</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T06:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862924#M671400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jagrut,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop thru the table which contains PERNRs and write your fm_name and OTF &amp;amp; Download Function Modules from within the loop so that it creates a new file for each PERNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 06:32:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862924#M671400</guid>
      <dc:creator>former_member189629</dc:creator>
      <dc:date>2007-10-08T06:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862925#M671401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is you smartform giving correct data before converting the report to PDF ?&lt;/P&gt;&lt;P&gt;if it is so, you can create a spool of the smartform in background and get a pdf of the spool by giving the spool no.on executing the program RSTXPDFT4.&lt;/P&gt;&lt;P&gt;but, if your smartform itself is not giving the correct output, you have to check the loop statements where PERNR is passed .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Anindita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2007 06:43:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-help/m-p/2862925#M671401</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-08T06:43:12Z</dc:date>
    </item>
  </channel>
</rss>

