<?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>Question Re: Need Sample Code- Help in Technology Q&amp;A</title>
    <link>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056874#M420902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is a quick demo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: a,b, result(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF a IS Initial.&lt;/P&gt;&lt;P&gt;  Result = 'yes'.&lt;/P&gt;&lt;P&gt;ELSEIF NOT a IS Initial AND NOT b is initial.&lt;/P&gt;&lt;P&gt;  Result = 'no'.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt; RESULT = 'abc'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2005 19:18:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-23T19:18:58Z</dc:date>
    <item>
      <title>Need Sample Code- Help</title>
      <link>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaq-p/1056873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;           I want some help with ABAP coding for an update routine please. I am looking for the code in right syntax...i am not an ABAP'er&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what i want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF COMM_STRUCTURE- FIELD1 IS Initial&lt;/P&gt;&lt;P&gt;Result= "yes"&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;IF NOT COMM_STRUCTURE- FIELD1 IS Initial AND IF NOT COMM_STRUCTURE- FIELD2 is initial&lt;/P&gt;&lt;P&gt;Result="no"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;RESULT= "abc"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Southie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 17:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaq-p/1056873</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T17:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need Sample Code- Help</title>
      <link>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056874#M420902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is a quick demo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: a,b, result(10).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF a IS Initial.&lt;/P&gt;&lt;P&gt;  Result = 'yes'.&lt;/P&gt;&lt;P&gt;ELSEIF NOT a IS Initial AND NOT b is initial.&lt;/P&gt;&lt;P&gt;  Result = 'no'.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt; RESULT = 'abc'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:18:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056874#M420902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Need Sample Code- Help</title>
      <link>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056875#M420903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi EDAN,&lt;/P&gt;&lt;P&gt;         When u declare the data , (like in ur code a &amp;amp; b), should that be my field1 and field 2?? what does rse?ult(10) mean?? see this question maybe dumb, but i am writing my first ABAP code!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:42:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056875#M420903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need Sample Code- Help</title>
      <link>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056876#M420904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no&lt;/P&gt;&lt;P&gt;you can use the the structores that are passed to the routine (the COMM_STRUCTURE- FIELD1 ) and also the Result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just created these var for the example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:52:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056876#M420904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need Sample Code- Help</title>
      <link>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056877#M420905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks EDAN, i have given u full poits...with ur help i wrote my first ABAP code..........Yahoo......and it worked........&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 20:03:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/technology-q-a/need-sample-code-help/qaa-p/1056877#M420905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T20:03:39Z</dc:date>
    </item>
  </channel>
</rss>

