<?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: Error in Script in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674339#M617725</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;Please check it in debugging mode ...&lt;/P&gt;&lt;P&gt;Check a page window in which your text is define.. means is this window is maintain under your page......&lt;/P&gt;&lt;P&gt;And also the position of that window on page sometimes may be window override problem....&lt;/P&gt;&lt;P&gt;For debugging ..goto menu options and click acive debugging option then debugging is activate and execute your debuging . put watch on particular text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2007 11:52:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-23T11:52:58Z</dc:date>
    <item>
      <title>Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674336#M617722</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;We are using a script for printing call off order .&lt;/P&gt;&lt;P&gt;On execution of CO for printing ,  we  get the print preview .&lt;/P&gt;&lt;P&gt;But one of the text lines for total is not executing .&lt;/P&gt;&lt;P&gt;Actually the control of the program does not come to that line .&lt;/P&gt;&lt;P&gt;i dont know why this is happening .&lt;/P&gt;&lt;P&gt;Also there are a few pop up msg that the system throws while debugging such as &lt;/P&gt;&lt;P&gt;" element header_date not defined for window main  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone plzz help me , what should i do so that the control reaches all the parts of the code ,and prints the complete text .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ankita&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:44:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674336#M617722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T11:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674337#M617723</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;In your SAPScript's MAIN window, has to be a line like this:&lt;/P&gt;&lt;P&gt;/E HEADER_DATE&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to put at least an empty line after the element, to make it active.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Tamá&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:50:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674337#M617723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T11:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674338#M617724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;should every window have atleast one element&lt;/P&gt;&lt;P&gt;it is giving these kind of meassages for 4 elements and also '&lt;/P&gt;&lt;P&gt;"window reference not defined "&lt;/P&gt;&lt;P&gt;"window next page not defined "&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:52:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674338#M617724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T11:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674339#M617725</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;Please check it in debugging mode ...&lt;/P&gt;&lt;P&gt;Check a page window in which your text is define.. means is this window is maintain under your page......&lt;/P&gt;&lt;P&gt;And also the position of that window on page sometimes may be window override problem....&lt;/P&gt;&lt;P&gt;For debugging ..goto menu options and click acive debugging option then debugging is activate and execute your debuging . put watch on particular text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if is useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674339#M617725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T11:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674340#M617726</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;maintain window under page window u get sucess.......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards points if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        GURPRIT BHATIA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 11:54:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674340#M617726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T11:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674341#M617727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first check have u defined the element header)date in mian window.&lt;/P&gt;&lt;P&gt;second in the main program when the program control is at this element check the variable used for total is filled with the value or not.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674341#M617727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-23T12:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error in Script</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674342#M617728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check The WRITE_FORM function in print program&lt;/P&gt;&lt;P&gt;The element names must be passed in UPPER CASE&lt;/P&gt;&lt;P&gt;So you must pass it like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;  ELEMEN  = 'HEADER_DATE'&lt;/P&gt;&lt;P&gt;  FUNCTION = 'SET'&lt;/P&gt;&lt;P&gt;  TYPE =  'BODY'&lt;/P&gt;&lt;P&gt;  WINDOW = 'MAIN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Element must exist in Main window BODY like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/E HEADER_DATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if Helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2007 12:18:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-in-script/m-p/2674342#M617728</guid>
      <dc:creator>varma_narayana</dc:creator>
      <dc:date>2007-08-23T12:18:50Z</dc:date>
    </item>
  </channel>
</rss>

