<?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: SAPScripts in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911219#M57117</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou Murugesh and Venkat,&lt;/P&gt;&lt;P&gt;I have tried sy-linno and sy-linct but it is not returning any value.&lt;/P&gt;&lt;P&gt;I want to print a text with a heading.&lt;/P&gt;&lt;P&gt;if there are less than 3 lines remaining on a page then i dont want to print the heading (i.e. i want to force a page break here)&lt;/P&gt;&lt;P&gt;text can vary up to N number of lines so I cannot use Protect-Endprotect.&lt;/P&gt;&lt;P&gt;If you know some way out please help me out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Jun 2005 09:20:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-10T09:20:57Z</dc:date>
    <item>
      <title>SAPScripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911216#M57114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Does anyone know how to find current line number and total number of lines printed on a page in SAPScripts?&lt;/P&gt;&lt;P&gt;Is it possible to use sy-linno and sy-linct?&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Amina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 05:54:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911216#M57114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T05:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911217#M57115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not possible to find the current line number / total number of lines inside the SAPScript by a system variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow we can control the same from the driver program. In such cases we may have to use monospaced fonts like Courier / Arial monospaced for SAP etc.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The total number of lines in a SAPScript cannot be determined in the Script dynamically, because the line size in a form depends on font used and the size of the font. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Murugesh AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 07:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911217#M57115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T07:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911218#M57116</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;You can very well use the folling system variables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sy-linno -  Current line&lt;/P&gt;&lt;P&gt;sy-linct -  Page length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further you can refer the table "SYST".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regs,&lt;/P&gt;&lt;P&gt;Venkat Ramanan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 07:21:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911218#M57116</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T07:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911219#M57117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thankyou Murugesh and Venkat,&lt;/P&gt;&lt;P&gt;I have tried sy-linno and sy-linct but it is not returning any value.&lt;/P&gt;&lt;P&gt;I want to print a text with a heading.&lt;/P&gt;&lt;P&gt;if there are less than 3 lines remaining on a page then i dont want to print the heading (i.e. i want to force a page break here)&lt;/P&gt;&lt;P&gt;text can vary up to N number of lines so I cannot use Protect-Endprotect.&lt;/P&gt;&lt;P&gt;If you know some way out please help me out.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jun 2005 09:20:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911219#M57117</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-10T09:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911220#M57118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amina,&lt;/P&gt;&lt;P&gt;Please let me know how the data gets in to the form. I had a  situation in a payroll remuneration form where I solved a similar issue by calling external subroutines and incrementing the counter by 1 everytime I print a line. Little performance overhead but ok. The catch is I was printing only one line of content each time(from an internal table) through a text element. So I could calculate the number of lines. System variables were not helpful to me.&lt;/P&gt;&lt;P&gt;Please let me know if you need any more details!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 17:59:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911220#M57118</guid>
      <dc:creator>amudhans</dc:creator>
      <dc:date>2005-06-14T17:59:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAPScripts</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911221#M57119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Srinivasan,&lt;/P&gt;&lt;P&gt;Thankyou,&lt;/P&gt;&lt;P&gt;I am printing data from an internal table as well as standard text. I have coded a Transaction for end users to enter some text. So the problem is when I print a particular text element I dont know how many lines will be printed. Also I am using different font size for paragraphs.&lt;/P&gt;&lt;P&gt;There are FMs READ_FORM and CHECK_FORM but they donot return any value. Also when I define a paragraph there is a check box 'Next paragraph same page'. But this is also not working.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amina.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Jun 2005 09:31:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscripts/m-p/911221#M57119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-18T09:31:19Z</dc:date>
    </item>
  </channel>
</rss>

