<?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: Custom Form Print To Queue Via ABSL --- 'Mandatory Parameter Binary Data is Missing' in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/custom-form-print-to-queue-via-absl-mandatory-parameter-binary-data-is/qaa-p/657717#M169528</link>
    <description>&lt;P&gt;Solved it --- as opposed to using the group code a la Preview buttons, use the actual form code!&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 15:49:11 GMT</pubDate>
    <dc:creator>former_member183363</dc:creator>
    <dc:date>2018-02-06T15:49:11Z</dc:date>
    <item>
      <title>Custom Form Print To Queue Via ABSL --- 'Mandatory Parameter Binary Data is Missing'</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-form-print-to-queue-via-absl-mandatory-parameter-binary-data-is/qaq-p/657716</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I've followed &lt;A href="https://blogs.sap.com/2016/06/28/how-to-send-pdfs-to-print-queue-with-absl/"&gt;this guide&lt;/A&gt; and I'm getting the below error message when my action is called via a button click:&lt;/P&gt;
  &lt;P&gt;'Mandatory parameter binary data is missing'&lt;/P&gt;
  &lt;P&gt;Save After Execution is ticked on the action. My code is as follows:&lt;/P&gt; 
  &lt;PRE&gt;&lt;CODE&gt;import ABSL;
import BASIS.Global; //BinaryObject.
import AP.Common.GDT as gdt; //OutputRequestFormTemplateCode.
import DocumentServices.Global; //OutputManagementUtilities.

var pdf:BinaryObject;
var formTemplateCode:OutputRequestFormTemplateCode;
formTemplateCode.content = "&amp;lt;Solution ID&amp;gt;_PGS";
var userAccount:UserAccountID;

var formTemplateLanguage = "E";
pdf = OutputManagementUtilities.GetPDF(this, formTemplateCode, formTemplateLanguage);
pdf.fileName = "CustomerInvoice";
userAccount.content = "PRT_001";

var output = OutputManagementUtilities.CreatePrintQueueItem(userAccount, pdf.fileName, 1, pdf, "TESTQUEUE");
var x = 10;&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;
  &lt;P&gt;The form template code is correct, as is the print user ID and the name of the print queue. The script file isn't mass-enabled. I've deployed the business configuration of the solution.&lt;/P&gt;
  &lt;P&gt;Any ideas?&lt;/P&gt;
  &lt;P&gt;Cheers,&lt;/P&gt;
  &lt;P&gt;Lewis&lt;/P&gt;</description>
      <pubDate>Fri, 02 Feb 2018 16:54:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-form-print-to-queue-via-absl-mandatory-parameter-binary-data-is/qaq-p/657716</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2018-02-02T16:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Form Print To Queue Via ABSL --- 'Mandatory Parameter Binary Data is Missing'</title>
      <link>https://community.sap.com/t5/technology-q-a/custom-form-print-to-queue-via-absl-mandatory-parameter-binary-data-is/qaa-p/657717#M169528</link>
      <description>&lt;P&gt;Solved it --- as opposed to using the group code a la Preview buttons, use the actual form code!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 15:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/custom-form-print-to-queue-via-absl-mandatory-parameter-binary-data-is/qaa-p/657717#M169528</guid>
      <dc:creator>former_member183363</dc:creator>
      <dc:date>2018-02-06T15:49:11Z</dc:date>
    </item>
  </channel>
</rss>

