<?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 Needed smartform to determine page format automatically. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-smartform-to-determine-page-format-automatically/m-p/4569583#M1078286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a reqirement to print the smartform output in Letter format paper for one company code and it should print it in A4 size paper for rest of the company codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using R/3 4.6c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with this code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lx_sf_header(31) type c,&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fs_header&amp;gt; type SSFFORMHD.&lt;/P&gt;&lt;P&gt;if company_code = 'XXXX'.&lt;/P&gt;&lt;P&gt;CONCATENATE '(' sy-repid ')%HEADER' into lx_sf_header.&lt;/P&gt;&lt;P&gt;assign (lx_sf_header) to &amp;lt;fs_header&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;fs_header&amp;gt;-PAGEFORMAT = 'LETTER'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am getting short dump &amp;amp; this logic is working fine in ECC.&lt;/P&gt;&lt;P&gt;Please help me regarding this.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Sep 2008 14:46:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-30T14:46:47Z</dc:date>
    <item>
      <title>Needed smartform to determine page format automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-smartform-to-determine-page-format-automatically/m-p/4569583#M1078286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a reqirement to print the smartform output in Letter format paper for one company code and it should print it in A4 size paper for rest of the company codes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using R/3 4.6c&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with this code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: lx_sf_header(31) type c,&lt;/P&gt;&lt;P&gt;field-symbols: &amp;lt;fs_header&amp;gt; type SSFFORMHD.&lt;/P&gt;&lt;P&gt;if company_code = 'XXXX'.&lt;/P&gt;&lt;P&gt;CONCATENATE '(' sy-repid ')%HEADER' into lx_sf_header.&lt;/P&gt;&lt;P&gt;assign (lx_sf_header) to &amp;lt;fs_header&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;lt;fs_header&amp;gt;-PAGEFORMAT = 'LETTER'.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I am getting short dump &amp;amp; this logic is working fine in ECC.&lt;/P&gt;&lt;P&gt;Please help me regarding this.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Sep 2008 14:46:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/needed-smartform-to-determine-page-format-automatically/m-p/4569583#M1078286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-30T14:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Needed smartform to determine page format automatically.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/needed-smartform-to-determine-page-format-automatically/m-p/4569584#M1078287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think it's feasible. The page format must be specified &lt;STRONG&gt;in the form&lt;/STRONG&gt;, therefore one form can have only one page format. You can try some kind of custom format (which is neither A4 nor Letter), but this might cause an issue while printing, because the printer usually looks for a specific page format and all funky formats require pressing a button on the printer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This would be possible though with Adobe forms, so you might want to explore that option.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 21:32:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/needed-smartform-to-determine-page-format-automatically/m-p/4569584#M1078287</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2008-10-01T21:32:45Z</dc:date>
    </item>
  </channel>
</rss>

