<?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: Problem with Append in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984383#M72651</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranges: r_plant for zplants-werks.&lt;/P&gt;&lt;P&gt;FORM CHECK_KUNAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at SP$00008.&lt;/P&gt;&lt;P&gt;check SP$00008-low+0(1) = 'P'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;r_plant&amp;lt;/b&amp;gt; = SP$00008-low+1. "(removes the first P).&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem now is r_plant has only P235,P476...like that...&lt;/P&gt;&lt;P&gt;Actually I want r_plant field values should be IEQP235, IEQP476.where should i write the following statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_plant-option = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Sep 2005 18:14:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-15T18:14:49Z</dc:date>
    <item>
      <title>Problem with Append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984380#M72648</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;Here SP$00011 &amp;amp; SP$00008 are selection screen fields.&lt;/P&gt;&lt;P&gt;l1_dat &amp;amp; l2_dat are Radio buttons.I have to check entered plants with zplants table.&lt;/P&gt;&lt;P&gt;Here two cases,if sy-subrc = 0. &lt;/P&gt;&lt;P&gt;1.if l1_dat = 'X'.I have to add zplants-vplant field to r_plant field.&lt;/P&gt;&lt;P&gt;2.if l2_dat = 'X'.I have to add zplants-vplant field to SP$00011 field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my problem is when i select l1_dat. r_plant field containing only one &lt;/P&gt;&lt;P&gt;value,i.e zplants-vplant value.Actually r_plant field should be with&lt;/P&gt;&lt;P&gt;two values after appending.how can i write the statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ranges: r_plant for zplants-werks.&lt;/P&gt;&lt;P&gt;FORM CHECK_KUNAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at SP$00008.&lt;/P&gt;&lt;P&gt;     check SP$00008-low+0(1) = 'P'.&lt;/P&gt;&lt;P&gt;     r_plant = SP$00008-low+1. 	"(removes the first P).&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select * from zplants&lt;/P&gt;&lt;P&gt;         where werks = r_plant and&lt;/P&gt;&lt;P&gt;         reswk in SP$00011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      if l2_dat = 'X'.&lt;/P&gt;&lt;P&gt;        SP$00011-sign   = 'I'.&lt;/P&gt;&lt;P&gt;        SP$00011-option = 'EQ'.&lt;/P&gt;&lt;P&gt;        SP$00011-low    = zplants-vplant.&lt;/P&gt;&lt;P&gt;        append SP$00011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;    elseif l1_dat = 'X'.&lt;/P&gt;&lt;P&gt;        r_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;        r_plant-option = 'EQ'.&lt;/P&gt;&lt;P&gt;        r_plant-low = zplants-vplant.&lt;/P&gt;&lt;P&gt;        append zplants-vplant to r_plant.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt;  endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Do I need the following statements......what is this means????????&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; if SP$00008[] is initial.&lt;/P&gt;&lt;P&gt; clear SP$00008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  SP$00008-sign   = 'I'.&lt;/P&gt;&lt;P&gt;  SP$00008-option = 'EQ'.&lt;/P&gt;&lt;P&gt;  SP$00008-low    = zplants-vplant.&lt;/P&gt;&lt;P&gt;  append SP$00008 to r_plant&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;endform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;fractal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2005 17:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984380#M72648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-15T17:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984381#M72649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Replace the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;elseif l1_dat = 'X'.&lt;/P&gt;&lt;P&gt;r_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_plant-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_plant-low = zplants-vplant.&lt;/P&gt;&lt;P&gt;append zplants-vplant to r_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;elseif l1_dat = 'X'.&lt;/P&gt;&lt;P&gt;r_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_plant-option = 'EQ'.&lt;/P&gt;&lt;P&gt;r_plant-low = zplants-vplant.&lt;/P&gt;&lt;P&gt;append r_plant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2005 18:03:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984381#M72649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-15T18:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984382#M72650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also define a new varaibale w_plant to replace R_Plant&lt;/P&gt;&lt;P&gt;in following statements -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at SP$00008.&lt;/P&gt;&lt;P&gt;check SP$00008-low+0(1) = 'P'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;r_plant&amp;lt;/b&amp;gt; = SP$00008-low+1. "(removes the first P).&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zplants&lt;/P&gt;&lt;P&gt;where werks = &amp;lt;b&amp;gt;r_plant&amp;lt;/b&amp;gt; and&lt;/P&gt;&lt;P&gt;reswk in SP$00011.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2005 18:05:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984382#M72650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-15T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984383#M72651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ranges: r_plant for zplants-werks.&lt;/P&gt;&lt;P&gt;FORM CHECK_KUNAG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at SP$00008.&lt;/P&gt;&lt;P&gt;check SP$00008-low+0(1) = 'P'.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;r_plant&amp;lt;/b&amp;gt; = SP$00008-low+1. "(removes the first P).&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem now is r_plant has only P235,P476...like that...&lt;/P&gt;&lt;P&gt;Actually I want r_plant field values should be IEQP235, IEQP476.where should i write the following statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_plant-option = 'EQ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2005 18:14:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984383#M72651</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-15T18:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with Append</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984384#M72652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at SP$00008.&lt;/P&gt;&lt;P&gt;check SP$00008-low+0(1) = 'P'.&lt;/P&gt;&lt;P&gt;r_plant-sign = 'I'.&lt;/P&gt;&lt;P&gt;r_plant-option = 'EQ'&lt;/P&gt;&lt;P&gt;r_plant-low = SP$00008-low+1. "(removes the first P).&lt;/P&gt;&lt;P&gt;APPEND r_PLANT&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2005 18:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-append/m-p/984384#M72652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-15T18:20:30Z</dc:date>
    </item>
  </channel>
</rss>

