<?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: OTF end command // missing in OTF data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709269#M2018930</link>
    <description>&lt;P&gt;it is like chocolate,  no OTF data no PDF conversion &lt;/P&gt;&lt;P&gt;You certainly forget one of the necessary parameters &lt;/P&gt;&lt;P&gt;Check the part 3 of this old blog&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2013/05/30/sending-mail-using-oo-2-smartforms/" target="test_blank"&gt;https://blogs.sap.com/2013/05/30/sending-mail-using-oo-2-smartforms/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Send the Smartform in PDF attachment with a text message.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 11:02:38 GMT</pubDate>
    <dc:creator>FredericGirod</dc:creator>
    <dc:date>2023-04-14T11:02:38Z</dc:date>
    <item>
      <title>OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709264#M2018925</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
  &lt;P&gt;I'm sending Smartforms in Email attachment with an email body text but getting error as&lt;STRONG&gt; &lt;/STRONG&gt;&lt;B&gt;"OTF end command // &lt;/B&gt;&lt;STRONG&gt;missing in OTF data&lt;/STRONG&gt;". I've attached the code below. &lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161045-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;When I debug the code found that line 222 call function returning sy-subrc = 3 (send_error). Please let me know where im missing something.&lt;/P&gt;
  &lt;P&gt;* call smartform invoice&lt;BR /&gt; "Control Parameters&lt;BR /&gt; ls_control_param-getotf = 'X'. &lt;BR /&gt;&lt;BR /&gt; CALL FUNCTION lf_fm_name&lt;BR /&gt; EXPORTING&lt;BR /&gt; archive_index = toa_dara&lt;BR /&gt; archive_parameters = arc_params&lt;BR /&gt; control_parameters = ls_control_param&lt;BR /&gt;* mail_appl_obj =&lt;BR /&gt; mail_recipient = ls_recipient&lt;BR /&gt; mail_sender = ls_sender&lt;BR /&gt; output_options = ls_composer_param&lt;BR /&gt; user_settings = space&lt;BR /&gt; is_bil_invoice = ls_bil_invoice&lt;BR /&gt; is_nast = nast&lt;BR /&gt; is_repeat = repeat&lt;BR /&gt; IMPORTING&lt;BR /&gt; job_output_info = ls_job_info&lt;BR /&gt;* document_output_info =&lt;BR /&gt;* job_output_options =&lt;BR /&gt; EXCEPTIONS&lt;BR /&gt; formatting_error = 1&lt;BR /&gt; internal_error = 2&lt;BR /&gt; send_error = 3&lt;BR /&gt; user_canceled = 4&lt;BR /&gt; OTHERS = 5.&lt;/P&gt;
  &lt;P&gt; CALL FUNCTION 'Z_CONVERT_OTF_2_PDF_MAIL_ATTCH'&lt;BR /&gt; TABLES "I've used above custom call function to get data in PDF.&lt;BR /&gt; t_objbin = lt_objbin&lt;BR /&gt; t_itcoo = ls_job_info-otfdata.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;Thank you,&lt;/P&gt;
  &lt;P&gt;Ankita.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 13:50:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709264#M2018925</guid>
      <dc:creator>former_member825671</dc:creator>
      <dc:date>2023-04-13T13:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709265#M2018926</link>
      <description>&lt;P&gt;Did you have something in ls_job_info-otfdata ?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 13:59:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709265#M2018926</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-04-13T13:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709266#M2018927</link>
      <description>&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;No, its empty.&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161053-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 15:19:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709266#M2018927</guid>
      <dc:creator>former_member825671</dc:creator>
      <dc:date>2023-04-13T15:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709267#M2018928</link>
      <description>&lt;P&gt;It means that you didn't close the form (see the control parameters NO_OPEN and NO_CLOSE mixed with the optional use of SSF_OPEN and SSF_CLOSE).&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 15:25:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709267#M2018928</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-04-13T15:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709268#M2018929</link>
      <description>&lt;P&gt;Please edit your question, select your code and press the button [CODE], which makes the code appear colored/indented, it will be easier for people to look at it. Thank you! &lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 15:25:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709268#M2018929</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-04-13T15:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709269#M2018930</link>
      <description>&lt;P&gt;it is like chocolate,  no OTF data no PDF conversion &lt;/P&gt;&lt;P&gt;You certainly forget one of the necessary parameters &lt;/P&gt;&lt;P&gt;Check the part 3 of this old blog&lt;/P&gt;&lt;P&gt;&lt;A href="https://blogs.sap.com/2013/05/30/sending-mail-using-oo-2-smartforms/" target="test_blank"&gt;https://blogs.sap.com/2013/05/30/sending-mail-using-oo-2-smartforms/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Send the Smartform in PDF attachment with a text message.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 11:02:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709269#M2018930</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-04-14T11:02:38Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709270#M2018931</link>
      <description>&lt;P&gt;Hi Frederic,&lt;/P&gt;&lt;P&gt;Thank you so much for your response.&lt;/P&gt;&lt;P&gt;Just for confirmation following parameters I missed thatswhy i'm getting the error ryt?&lt;/P&gt;&lt;P&gt;MOVE : ‘X’        TO is_control_param–no_dialog ,&lt;/P&gt;          ‘ ‘        TO is_control_param–preview ,&lt;BR /&gt;          sy–langu   TO is_control_param–langu ,&lt;BR /&gt;          ‘PRINTER’  TO is_control_param–device ,&lt;BR /&gt;          ‘X’        TO is_composer_param–tdnoprint ,&lt;BR /&gt;          ‘X’        TO is_composer_param–tdnoprev ,&lt;BR /&gt;&lt;P&gt;          ‘X’        TO is_composer_param–tdfinal.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 10:55:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709270#M2018931</guid>
      <dc:creator>former_member825671</dc:creator>
      <dc:date>2023-04-24T10:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709271#M2018932</link>
      <description>&lt;P&gt;yes, it could be&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 10:58:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709271#M2018932</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-04-24T10:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: OTF end command // missing in OTF data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709272#M2018933</link>
      <description>&lt;P&gt;or even SAP patches&lt;/P&gt;&lt;P&gt;&lt;A href="https://launchpad.support.sap.com/#/notes/3093765"&gt;3093765 - About TD030 error: OTF end command // missing in OTF data - SAP ONE Support Launchpad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 15:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/otf-end-command-missing-in-otf-data/m-p/12709272#M2018933</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-04-24T15:21:36Z</dc:date>
    </item>
  </channel>
</rss>

