<?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: NOT EMPTY in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721779#M1298196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iihan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is simple.&lt;/P&gt;&lt;P&gt;The READ command accepts only the Equal SIgn.&lt;/P&gt;&lt;P&gt;Hence, Try this below given logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at et_item where partner_prod ne SPACE.
  Exit.
Endloop.
If sy-subrc eq 0.
*  Capture the Success Message

Else.
*  Failiure Message
Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rgds, &lt;/P&gt;&lt;P&gt;Ramani N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramani Nagarajan on Jun 9, 2009 3:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jun 2009 13:47:00 GMT</pubDate>
    <dc:creator>former_member229729</dc:creator>
    <dc:date>2009-06-09T13:47:00Z</dc:date>
    <item>
      <title>NOT EMPTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721777#M1298194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I say not empty. I have to assure that this field is filled&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; READ TABLE et_item WITH KEY PARTNER_PROD  &lt;STRONG&gt;NOT EMPTY&lt;/STRONG&gt;    TRANSPORTING NO FIELDS.&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;   IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      RAISE error.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;ertas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721777#M1298194</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T13:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: NOT EMPTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721778#M1298195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try if this works....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
READ TABLE et_item WITH KEY PARTNER_PROD NE SPACE TRANSPORTING NO FIELDS.

IF sy-subrc 0.
RAISE error.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:45:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721778#M1298195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T13:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: NOT EMPTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721779#M1298196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Iihan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is simple.&lt;/P&gt;&lt;P&gt;The READ command accepts only the Equal SIgn.&lt;/P&gt;&lt;P&gt;Hence, Try this below given logic&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at et_item where partner_prod ne SPACE.
  Exit.
Endloop.
If sy-subrc eq 0.
*  Capture the Success Message

Else.
*  Failiure Message
Endif.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Rgds, &lt;/P&gt;&lt;P&gt;Ramani N&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ramani Nagarajan on Jun 9, 2009 3:48 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721779#M1298196</guid>
      <dc:creator>former_member229729</dc:creator>
      <dc:date>2009-06-09T13:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: NOT EMPTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721780#M1298197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Code as follows:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE et_item WITH KEY PARTNER_PROD = SPACE  TRANSPORTING NO FIELDS.

IF sy-subrc eq 0.
  RAISE error.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ankur Parab on Jun 9, 2009 7:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721780#M1298197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-09T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: NOT EMPTY</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721781#M1298198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A easier way of coding this will be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;L_IT_TEMP = ET_ITEM.

V_LINES = LINES( L_IT_TEMP ).

DELETE L_IT_TEMP WHERE PARTNER_PROD = SPACE.

V_LINES1 = LINES( L_IT_TEMP ).

IF V_LINES NE V_LINES1.
"  RAISE error.
ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jun 2009 13:49:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/not-empty/m-p/5721781#M1298198</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2009-06-09T13:49:25Z</dc:date>
    </item>
  </channel>
</rss>

