<?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>Question Re: GET LT_OTFDATA-OTFDATA AFTER 'CALL FUNCTION fm_name'... in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaa-p/13753849#M4835947</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have replicated the scenario but it is working fine for me in both with and without dialog box.&lt;/P&gt;&lt;P&gt;Kindly check by passing the user settings = space.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raghav.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jul 2024 06:38:41 GMT</pubDate>
    <dc:creator>raga1234</dc:creator>
    <dc:date>2024-07-08T06:38:41Z</dc:date>
    <item>
      <title>GET LT_OTFDATA-OTFDATA AFTER 'CALL FUNCTION fm_name' SMARTFORMS</title>
      <link>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaq-p/13753010</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to send by email a document (PDF) generated by SMATFORMS executed in BATCH.&lt;BR /&gt;When executing 'CALL FUNCTION fm_name' it does not feed the LT_OTFDATA-OTFDATA if executed with the 'NO_DIALOG' option.&lt;/P&gt;&lt;P&gt;What should I do to obtain data from OTFDATA and attach it to the email?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Print debug no_dialog and with dialog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clayton_barbosa_0-1720200759542.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/133109iA5DB89C990153CEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clayton_barbosa_0-1720200759542.png" alt="clayton_barbosa_0-1720200759542.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;with dialog.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clayton_barbosa_1-1720200872534.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/133110i9574D5C1285C0BB0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clayton_barbosa_1-1720200872534.png" alt="clayton_barbosa_1-1720200872534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="clayton_barbosa_2-1720200964645.png" style="width: 400px;"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/133111i524C2E3B0B69C989/image-size/medium?v=v2&amp;amp;px=400" role="button" title="clayton_barbosa_2-1720200964645.png" alt="clayton_barbosa_2-1720200964645.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Jul 2024 17:39:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaq-p/13753010</guid>
      <dc:creator>clayton_barbosa</dc:creator>
      <dc:date>2024-07-05T17:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: GET LT_OTFDATA-OTFDATA AFTER 'CALL FUNCTION fm_name'...</title>
      <link>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaa-p/13753849#M4835947</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have replicated the scenario but it is working fine for me in both with and without dialog box.&lt;/P&gt;&lt;P&gt;Kindly check by passing the user settings = space.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Raghav.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 06:38:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaa-p/13753849#M4835947</guid>
      <dc:creator>raga1234</dc:creator>
      <dc:date>2024-07-08T06:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: GET LT_OTFDATA-OTFDATA AFTER 'CALL FUNCTION fm_name'...</title>
      <link>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaa-p/13753914#M4835954</link>
      <description>&lt;P&gt;Try to remove the user_options parameter, and use following code to pass values to SmartForms&lt;/P&gt;&lt;P&gt;(Remove unwanted values, this is only a sample)&lt;/P&gt;&lt;LI-CODE lang="abap"&gt;  CALL FUNCTION 'GET_PRINT_PARAMETERS'
    EXPORTING
      mode           = 'CURRENT'
      no_dialog      = 'X'
      user           = sy-uname
    IMPORTING
      out_parameters = out_parameters
    EXCEPTIONS
      OTHERS         = 1.
  IF sy-subrc = 0.
    output_options-tddest     = out_parameters-pdest.
    output_options-tdcopies   = out_parameters-prcop.
    output_options-tdcovtitle = out_parameters-prtxt.
    output_options-tdautority = out_parameters-prber.
    output_options-tdimmed    = out_parameters-primm.
    output_options-tddelete   = out_parameters-prrel.
    output_options-tdnewid    = out_parameters-prnew.
    output_options-tdlifetime = out_parameters-pexpi.
    output_options-tdarmod    = out_parameters-armod.
    output_options-tdcover    = out_parameters-prsap.
    output_options-tdreceiver = out_parameters-prrec.
    output_options-tddivision = out_parameters-prabt.
  ENDIF.&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jul 2024 07:15:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/get-lt-otfdata-otfdata-after-call-function-fm-name-smartforms/qaa-p/13753914#M4835954</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2024-07-08T07:15:12Z</dc:date>
    </item>
  </channel>
</rss>

