<?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: Invoice Adobe form - remove extra pages at end in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689752#M2017570</link>
    <description>&lt;P&gt;I tried to write code for TCP2 page as below and set the pagination settings - It is not working..&lt;/P&gt;&lt;P&gt;if(this.ls_header-bukrs.Value != "1020" ){this.presence = "hidden";}else{this.presence = "visible";}&lt;/P&gt;&lt;P&gt;I am just trying to hide the page2 if the ls_header-bukrs ne 1020.&lt;/P&gt;&lt;P&gt;did i write javascript wrongly or any setting need to be done in pagination - Please help&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161825-image.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 12:07:42 GMT</pubDate>
    <dc:creator>former_member515329</dc:creator>
    <dc:date>2023-04-06T12:07:42Z</dc:date>
    <item>
      <title>Invoice Adobe form - remove extra pages at end</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689749#M2017567</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
  &lt;P&gt;I have Invoice adobe form pdf built, based on company code - terms and condition will change.&lt;/P&gt;
  &lt;P&gt;The issue here is for 4000 company code i have 3 pages terms and conditions - for 5000 i have 1 pages of terms and conditions - for 4000 it is printing correctly with 3 pages - but for 5000 it is printing 1 pages terms and 2 pages of blank pages.&lt;/P&gt;
  &lt;P&gt;How to put a condition to restrict blank pages based on company code.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161812-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161813-image.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 08:23:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689749#M2017567</guid>
      <dc:creator>former_member515329</dc:creator>
      <dc:date>2023-04-06T08:23:15Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Adobe form - remove extra pages at end</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689750#M2017568</link>
      <description>&lt;P&gt;you could add your own code in the xml part to set presence = "hidden" for the subform you do not want to see (without space reserved)&lt;/P&gt;&lt;P&gt;you could generate that code using the menu to add an action&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 09:14:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689750#M2017568</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2023-04-06T09:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Adobe form - remove extra pages at end</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689751#M2017569</link>
      <description>&lt;P&gt;Thanks Frederic...Could you please help me with some code or how to set that hidden field.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 10:29:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689751#M2017569</guid>
      <dc:creator>former_member515329</dc:creator>
      <dc:date>2023-04-06T10:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Invoice Adobe form - remove extra pages at end</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689752#M2017570</link>
      <description>&lt;P&gt;I tried to write code for TCP2 page as below and set the pagination settings - It is not working..&lt;/P&gt;&lt;P&gt;if(this.ls_header-bukrs.Value != "1020" ){this.presence = "hidden";}else{this.presence = "visible";}&lt;/P&gt;&lt;P&gt;I am just trying to hide the page2 if the ls_header-bukrs ne 1020.&lt;/P&gt;&lt;P&gt;did i write javascript wrongly or any setting need to be done in pagination - Please help&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/2161825-image.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 12:07:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invoice-adobe-form-remove-extra-pages-at-end/m-p/12689752#M2017570</guid>
      <dc:creator>former_member515329</dc:creator>
      <dc:date>2023-04-06T12:07:42Z</dc:date>
    </item>
  </channel>
</rss>

