<?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: undo BOX sentence in sapscript in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985862#M72959</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;is it not possible?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2005 07:39:09 GMT</pubDate>
    <dc:creator>former_member182371</dc:creator>
    <dc:date>2005-09-16T07:39:09Z</dc:date>
    <item>
      <title>undo BOX sentence in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985861#M72958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in my sapscript i´ve got the sentence BOX in order to display a frame around a window.&lt;/P&gt;&lt;P&gt;is it possible to undo this sentece, that is, &lt;U&gt;once the flow of the program has put a frame around the window&lt;/U&gt; &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;is it possible to somehow erase it&lt;/P&gt;(&lt;B&gt;&lt;P&gt;or display a blank frame&lt;/P&gt;&lt;/B&gt;)?.&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2005 22:35:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985861#M72958</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2005-09-15T22:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: undo BOX sentence in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985862#M72959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;any suggestions?&lt;/P&gt;&lt;P&gt;is it not possible?&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:39:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985862#M72959</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2005-09-16T07:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: undo BOX sentence in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985863#M72960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your requirement is not clear .&lt;/P&gt;&lt;P&gt;Is it custom program /sapscript.??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 07:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985863#M72960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T07:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: undo BOX sentence in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985864#M72961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;in my &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;print program&lt;/P&gt; i´ve got:&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT i_pick WHERE selec = 'X'.&lt;/P&gt;&lt;P&gt;  CLEAR: l_div, g_dif, l_rest.&lt;/P&gt;&lt;P&gt;  l_count = l_count + 1.&lt;/P&gt;&lt;P&gt;  l_div = l_count DIV 20.&lt;/P&gt;&lt;P&gt;  l_rest = l_count MOD 20.&lt;/P&gt;&lt;P&gt;  l_div = l_div + 1.&lt;/P&gt;&lt;P&gt;  g_dif = ( l_div * 20 ) - l_count.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  g_hojas = g_hojas + i_pick-tomad.&lt;/P&gt;&lt;P&gt;  g_bruto = g_bruto + i_pick-alter.&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;     ELEMENT                        = 'POSITIONS'&lt;/P&gt;&lt;P&gt;     WINDOW                         = 'MAIN'&lt;/P&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     OTHERS                         = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF g_dif &amp;lt; '         7'.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     ELEMENT                        = 'BIGFRAME'&lt;/P&gt;&lt;P&gt;     WINDOW                         = 'MAIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FUNCTION                       = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     OTHERS                         = 1.&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'WRITE_FORM'&lt;/P&gt;&lt;P&gt;   EXPORTING&lt;/P&gt;&lt;P&gt;     ELEMENT                        = 'SMALLFRAME'&lt;/P&gt;&lt;P&gt;     WINDOW                         = 'MAIN'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FUNCTION                       = 'SET'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;   EXCEPTIONS&lt;/P&gt;&lt;P&gt;     OTHERS                         = 1.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my &lt;B&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;MAIN window&lt;/P&gt; i´ve got the following code snippet:&lt;BR /&gt;/E BIGFRAME &lt;BR /&gt;/: POSITION WINDOW &lt;BR /&gt;/: POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN &lt;BR /&gt;/: SIZE WIDTH '+0.4' CH HEIGHT +1 LN &lt;BR /&gt;/: BOX WIDTH '71.5' CH HEIGHT '40.87' LN FRAME 20 TW &lt;BR /&gt;/E SMALLFRAME &lt;BR /&gt;/: POSITION WINDOW &lt;BR /&gt;/: POSITION XORIGIN '-0.5' CH YORIGIN '-0.25' LN &lt;BR /&gt;/: SIZE WIDTH '+0.4' CH HEIGHT +1 LN &lt;BR /&gt;/: BOX WIDTH '71.5' CH HEIGHT '27.40' LN FRAME 20 TW &lt;BR /&gt;&lt;BR /&gt;As you can see the question is that the flow of the program makes that sometimes i have both:&lt;BR /&gt;/: BOX WIDTH '71.5' CH HEIGHT '40.87' LN FRAME 20 TW &lt;BR /&gt;and &lt;BR /&gt;/: BOX WIDTH '71.5' CH HEIGHT '27.40' LN FRAME 20 TW&lt;BR /&gt;&lt;BR /&gt;and i want to display &lt;B&gt;&lt;P&gt;one or the other but not both&lt;/P&gt;&lt;/B&gt;.&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:28:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985864#M72961</guid>
      <dc:creator>former_member182371</dc:creator>
      <dc:date>2005-09-16T08:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: undo BOX sentence in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985865#M72962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Before the actual loop , please loop once on table i_PICK&lt;/P&gt;&lt;P&gt;and decide whether you want to print BIGFRAME / SMALLFRAME . I guess you are clear on what condition you want which frame . Proram cannot decide for you , you will have to buils a logic to decide .&lt;/P&gt;&lt;P&gt;Move this to a work area W_ELEMENT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;later in the loop use only this variable W_ELEMENT to either print BIG or SMALL Box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 08:35:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985865#M72962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T08:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: undo BOX sentence in sapscript</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985866#M72963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the script you can add if statement as per your logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/:   IF &amp;amp;g_dif&amp;amp; EQ '7'&lt;/P&gt;&lt;P&gt;/: BOX WIDTH '71.5' CH HEIGHT '40.87' LN FRAME 20 TW &lt;/P&gt;&lt;P&gt;/: else&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/: BOX WIDTH '71.5' CH HEIGHT '27.40' LN FRAME 20 TW&lt;/P&gt;&lt;P&gt;/: endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers,&lt;/P&gt;&lt;P&gt;sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2005 10:26:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/undo-box-sentence-in-sapscript/m-p/985866#M72963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-16T10:26:08Z</dc:date>
    </item>
  </channel>
</rss>

