<?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: How to get Java script Response from ABAP in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632646#M2013496</link>
    <description>&lt;P&gt;I don't get the question.&lt;/P&gt;&lt;P&gt;If you get the HTML file via an URL (i.e. the HTML is the HTTP response), use CL_HTTP_CLIENT (lots of examples in the Web).&lt;/P&gt;&lt;P&gt;If you get the HTML file from a local file on your laptop, use CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;Etc.&lt;/P&gt;</description>
    <pubDate>Sun, 18 Sep 2022 11:50:53 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2022-09-18T11:50:53Z</dc:date>
    <item>
      <title>How to get Java script Response from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632645#M2013495</link>
      <description>&lt;P&gt;I have a requirement to read HTML file from ABAP.&lt;/P&gt;
  &lt;P&gt;HTML file exists in customers' shared folder. &lt;/P&gt;
  &lt;P&gt; html header consisting of below codes ( Calling Jave script)&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; &amp;lt;SCRIPT type="text/javascript"&amp;gt;&lt;U&gt;&lt;/U&gt;&lt;U&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt; function Webpkt()&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;I am able to Call the HTML file from ABAP and can see the output in a browser.&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Objective is to capture the above output in ABAP side and convert the whole file into a PDF file in ABAP&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 10:21:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632645#M2013495</guid>
      <dc:creator>former_member625368</dc:creator>
      <dc:date>2022-09-18T10:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Java script Response from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632646#M2013496</link>
      <description>&lt;P&gt;I don't get the question.&lt;/P&gt;&lt;P&gt;If you get the HTML file via an URL (i.e. the HTML is the HTTP response), use CL_HTTP_CLIENT (lots of examples in the Web).&lt;/P&gt;&lt;P&gt;If you get the HTML file from a local file on your laptop, use CL_GUI_FRONTEND_SERVICES=&amp;gt;GUI_UPLOAD.&lt;/P&gt;&lt;P&gt;Etc.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 11:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632646#M2013496</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-09-18T11:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Java script Response from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632647#M2013497</link>
      <description>&lt;SPAN class="mention-scrubbed"&gt;sandrarossi&lt;/SPAN&gt;&lt;P&gt;the way I read it, the author wants to "print" a webpage to PDF from ABAP.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 12:00:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632647#M2013497</guid>
      <dc:creator>abo</dc:creator>
      <dc:date>2022-09-18T12:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Java script Response from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632648#M2013498</link>
      <description>&lt;P&gt;If you want to generate PDF from ABAP, there are two sources supported: ABAP List (WRITE), OTF (SAPScript, Smart Form). If you store them in a spool request, you might use respectively the function modules CONVERT_ABAPSPOOLJOB_2_PDF or CONVERT_OTFSPOOLJOB_2_PDF.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2022 19:16:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632648#M2013498</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-09-18T19:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Java script Response from ABAP</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632649#M2013499</link>
      <description>&lt;P&gt;To render an html page you need a browser first. Next, that browser should allow saving or printing what you see as a pdf. &lt;/P&gt;&lt;P&gt;ABAP is not a Web browser that can render web pages. Hence, this requirement can't be achieved by just using ABAP.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 11:10:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-get-java-script-response-from-abap/m-p/12632649#M2013499</guid>
      <dc:creator>Juwin</dc:creator>
      <dc:date>2022-09-19T11:10:43Z</dc:date>
    </item>
  </channel>
</rss>

