<?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: SapScript Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979049#M71532</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know, what You mean. the windows got the names automatically, when I have defined them as "Main".....&lt;/P&gt;&lt;P&gt;So the name in SapScript shows it with Space. I have tried 'Main01' and also 'Main 01'.... But both doesn´t work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Sep 2005 11:21:48 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-05T11:21:48Z</dc:date>
    <item>
      <title>SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979045#M71528</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 problem in SapScript. I had 3 windows on the NEXT-Page of my form. Two of these windows has dynamic lines. Therefore I have to loop over a internal table and print the workarea in the form.&lt;/P&gt;&lt;P&gt;At first, I had normal windows, but it was not possible to write multiple lines by calling the element.&lt;/P&gt;&lt;P&gt;so I copied the content of the 3 windows in only one and made all of them to main windows. No it shows Main, Main 01 and Main 02 on the next Page. All of them has the same content.&lt;/P&gt;&lt;P&gt;If I want to call the different elements form the print program now, I get the message, that "Main 01" oder "Main 02" are not exisiting! How can I call them from the program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 10:39:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979045#M71528</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T10:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979046#M71529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post the code of WRITE_FORM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979046#M71529</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-05T11:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979047#M71530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is my code for the several elements:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
SELECT * FROM qmfe     INTO wa_qmfe
           WHERE qmnum = iviqmel-qmnum.

    CALL FUNCTION 'WRITE_FORM'        " Print pos detail.
         EXPORTING
            WINDOW    = 'MAIN 01'
            ELEMENT   = 'AFFECT1'.

  ENDSELECT.

  CALL FUNCTION 'WRITE_FORM'        " Print pos detail.
       EXPORTING
          WINDOW    = 'MAIN 02'
          ELEMENT   = 'ESTIMAT1_BEFORE_LINE_1'.


  SELECT * FROM qmma     INTO wa_qmma
           WHERE qmnum = iviqmel-qmnum.

    APPEND wa_qmma TO it_qmma.
    CLEAR wa_qmma.

  ENDSELECT.

  DATA  l_count  TYPE  i.


  LOOP AT it_qmma INTO wa_qmma.

    CALL FUNCTION 'WRITE_FORM'        " Print pos detail.
         EXPORTING
            WINDOW    = 'MAIN 02'
            ELEMENT   = 'ESTIMAT1_LINE_1'.


    IF l_count = 10.
      EXIT.
    ENDIF.

    l_count = l_count + 1.

  ENDLOOP.

  CALL FUNCTION 'WRITE_FORM'        " Print pos detail.
       EXPORTING
          WINDOW    = 'MAIN 02'
          ELEMENT  = 'ESTIMAT1_AFTER_LINE_1'.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:11:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979047#M71530</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979048#M71531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps it's stupid, but have you called your windows: MAIN 01 (MAIN 02) or MAIN_01 (MAIN_02)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think it can insert space in the name of a window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979048#M71531</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979049#M71532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I know, what You mean. the windows got the names automatically, when I have defined them as "Main".....&lt;/P&gt;&lt;P&gt;So the name in SapScript shows it with Space. I have tried 'Main01' and also 'Main 01'.... But both doesn´t work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:21:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979049#M71532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979050#M71533</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 think you should use MAIN instead of MAIN 01, MAIN 02 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:22:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979050#M71533</guid>
      <dc:creator>Vinod_Chandran</dc:creator>
      <dc:date>2005-09-05T11:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979051#M71534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is, when You have more than one Main-window, it calls them automatically different!&lt;/P&gt;&lt;P&gt;I need main windows to call elements in a loop. For normal windows, it´s not working and it´s overwriting the content You set before.&lt;/P&gt;&lt;P&gt;I also need more than one main-window to call the elements on the right positions of the page...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the problem is, how to call them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:27:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979051#M71534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979052#M71535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arne,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a sapscript you can have 99 instances of the main window. and for all of them the call has to be only for MAIN window. (not like MAIN 01, etc., the numbers that appear give you only the instance and not the window name). Because all of them share the same text elements. what you can do is when you have data spilling over your window you can use the command NEW-WINDOW inside the Text element so that the next MAIN window will be called with the next record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you have multiple sets of data (ie., I see you might have 3 internal tables to display data from) then define one main window with 3 text elements and call them separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:37:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979052#M71535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979053#M71536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, but how can I manage, on which place exactly the data is going to be displayed? For example....&lt;/P&gt;&lt;P&gt;I have the two boxes, where 15 lines can be displayed. But it´s also possible, that there are only 3 records or something. then it´s not in the right order anymore....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;don´t know how to manage this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:43:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979053#M71536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979054#M71537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you didn't create three main-window, but you have a page with more main windows than one, but the main window is the same, so the system has generated that error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a dynamic text which it can need many lines (and you can't know how many), i think you should insert the text element in the main window.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 11:56:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979054#M71537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T11:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979055#M71538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that´s right.... I have several Text elements in my main window. But when I´m calling them, it is not in the right order, when the lines are less then the maximum of 15. Then my complete page-order is not working....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 12:04:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979055#M71538</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T12:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: SapScript Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979056#M71539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the lines are less than maximun, can you write blank lines?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 12:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sapscript-problem/m-p/979056#M71539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T12:13:06Z</dc:date>
    </item>
  </channel>
</rss>

