<?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: Generate PDF Form binary with script in SDK in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/generate-pdf-form-binary-with-script-in-sdk/qaa-p/14017437#M4903527</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It seems to work with a custom form, so it is okay now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This function doesn't work with standard forms or is it fossible that I didn't get the right formTemplateCode ? If so, where can I find it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marion&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2025 18:47:45 GMT</pubDate>
    <dc:creator>marionm_apsia</dc:creator>
    <dc:date>2025-02-14T18:47:45Z</dc:date>
    <item>
      <title>Generate PDF Form binary with script in SDK</title>
      <link>https://community.sap.com/t5/technology-q-a/generate-pdf-form-binary-with-script-in-sdk/qaq-p/14001812</link>
      <description>&lt;P&gt;Hello SAP Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In SAP Cloud Applications Studio, I am trying to generate a pdf form with this function:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var formTemplateCode : OutputRequestFormTemplateCode;
formTemplateCode.content = "ME_08";
var formTemplateLanguage = "E";
var binary :BinaryObject;

binary = OutputManagementUtilities.GetPDF(this, formTemplateCode, formTemplateLanguage);&lt;/LI-CODE&gt;&lt;P&gt;The code is in the Root-AfterModify.absl of an OutboundDelivery business object extension and I am trying to generate a Delivery Note form.&lt;/P&gt;&lt;P&gt;When testing with debug, we are going through those lines but the result of "binary" always is empty.&lt;/P&gt;&lt;P&gt;I have read the documentation of "OutputDocumentUtilities" and it seems to be usable in the SDK for SAP ByDesign.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do someone has any ideas of hat can be the problem here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Marion Marolany&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 13:55:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/generate-pdf-form-binary-with-script-in-sdk/qaq-p/14001812</guid>
      <dc:creator>marionm_apsia</dc:creator>
      <dc:date>2025-01-30T13:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Generate PDF Form binary with script in SDK</title>
      <link>https://community.sap.com/t5/technology-q-a/generate-pdf-form-binary-with-script-in-sdk/qaa-p/14017437#M4903527</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;It seems to work with a custom form, so it is okay now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This function doesn't work with standard forms or is it fossible that I didn't get the right formTemplateCode ? If so, where can I find it ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Marion&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2025 18:47:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/generate-pdf-form-binary-with-script-in-sdk/qaa-p/14017437#M4903527</guid>
      <dc:creator>marionm_apsia</dc:creator>
      <dc:date>2025-02-14T18:47:45Z</dc:date>
    </item>
  </channel>
</rss>

