<?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: ALV To Sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-sapscript/m-p/928510#M60371</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re1. Is this your custom report or standard SAP report?&lt;/P&gt;&lt;P&gt;a) If this is your custom report then you can set your own print option on the application toolbar (within Status). Set the function code to, lets say, &amp;amp;PRN and give it a nice print icon. You will need to process it manually when you click on this new option. In you 'user command' FORM you need to fetch it through you ok_code. When you are happy that you can fetch your own print option you can start the second phase of your task, which is your print program and a sapscript. Once you have done it you can pull strings together and put:&lt;/P&gt;&lt;P&gt;SUBMIT ZMYPRINTPROGRAM AND RETURN.&lt;/P&gt;&lt;P&gt;in your 'user command' FORM for the alv report.&lt;/P&gt;&lt;P&gt;You will probably need to pass some parameters like your internal table (do it via the reference rather than the value).&lt;/P&gt;&lt;P&gt;Now, when you click on the new print icon on the alv toolbar the system will jump to 'user command' FORM and will execute your print program, which should handle the sapscript processing (like OPEN_FORM FM and others).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) If this is an SAP report then I wouldn't recommend modifying it. I'd rather copy it into your customer name space and then modify that copy as I described in point 1a).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re2. You can't have dynamic tabs. That would be useful, I know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Wojtek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Mar 2005 11:31:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-03-09T11:31:27Z</dc:date>
    <item>
      <title>ALV To Sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-sapscript/m-p/928509#M60370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. While showing alv reports, the column&lt;/P&gt;&lt;P&gt;numbers can vary. When we take the print &lt;/P&gt;&lt;P&gt;of this report, the hardcopy output&lt;/P&gt;&lt;P&gt;is not so good looking.&lt;/P&gt;&lt;P&gt;ie. the font gets smaller, the left &amp;amp; top&lt;/P&gt;&lt;P&gt;margins are not so descent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way in which this alv output&lt;/P&gt;&lt;P&gt;can be printed in SAPScript format?&lt;/P&gt;&lt;P&gt;(which also takes care of groupings,&lt;/P&gt;&lt;P&gt;page breaks and subtotals )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. In Sapscript, is there any way&lt;/P&gt;&lt;P&gt;we can set the TABS of a paragraph&lt;/P&gt;&lt;P&gt;dynamically from the program. &lt;/P&gt;&lt;P&gt;ie. we can modify the tab length, alignment&lt;/P&gt;&lt;P&gt;or add a new tab to that paragraph ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reg&lt;/P&gt;&lt;P&gt;Amit Mittal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2005 06:22:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-sapscript/m-p/928509#M60370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-07T06:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: ALV To Sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-sapscript/m-p/928510#M60371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Amit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re1. Is this your custom report or standard SAP report?&lt;/P&gt;&lt;P&gt;a) If this is your custom report then you can set your own print option on the application toolbar (within Status). Set the function code to, lets say, &amp;amp;PRN and give it a nice print icon. You will need to process it manually when you click on this new option. In you 'user command' FORM you need to fetch it through you ok_code. When you are happy that you can fetch your own print option you can start the second phase of your task, which is your print program and a sapscript. Once you have done it you can pull strings together and put:&lt;/P&gt;&lt;P&gt;SUBMIT ZMYPRINTPROGRAM AND RETURN.&lt;/P&gt;&lt;P&gt;in your 'user command' FORM for the alv report.&lt;/P&gt;&lt;P&gt;You will probably need to pass some parameters like your internal table (do it via the reference rather than the value).&lt;/P&gt;&lt;P&gt;Now, when you click on the new print icon on the alv toolbar the system will jump to 'user command' FORM and will execute your print program, which should handle the sapscript processing (like OPEN_FORM FM and others).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) If this is an SAP report then I wouldn't recommend modifying it. I'd rather copy it into your customer name space and then modify that copy as I described in point 1a).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re2. You can't have dynamic tabs. That would be useful, I know...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Wojtek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Mar 2005 11:31:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/alv-to-sapscript/m-p/928510#M60371</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-03-09T11:31:27Z</dc:date>
    </item>
  </channel>
</rss>

