<?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: abap statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534585#M850421</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;1.NOT t_salesdoc-matkl IN s_matkl &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_salesdoc-matkl should not be there in s_matkl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.IF p_pcnt01 IS INITIAL.&lt;/P&gt;&lt;P&gt;IF t_salesdoc-faksk IS INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_pcnt01 has no value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if t_salesdoc-faksk has no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.IF lv_flag IS INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_flag has no value or initial value ie to check whether the flag is set or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Mar 2008 12:44:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-10T12:44:22Z</dc:date>
    <item>
      <title>abap statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534582#M850418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what does this mean&lt;/P&gt;&lt;P&gt;NOT t_salesdoc-matkl IN s_matkl &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also what could be the meaning of this&lt;/P&gt;&lt;P&gt;IF p_pcnt01 IS INITIAL.&lt;/P&gt;&lt;P&gt;        IF t_salesdoc-faksk IS INITIAL.&lt;/P&gt;&lt;P&gt;          t_salesdoc-faksk = k_01.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        t_salesdoc-no_percent = k_x.&lt;/P&gt;&lt;P&gt;        READ TABLE i_vbpa WITH KEY vbeln = t_salesdoc-vbeln.&lt;/P&gt;&lt;P&gt;        IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;          IF lv_flag IS INITIAL.&lt;/P&gt;&lt;P&gt;            WRITE: 'Pricing adjustment for Credit memo amount (A/R)'.&lt;/P&gt;&lt;P&gt;            SKIP.&lt;/P&gt;&lt;P&gt;            lv_flag = 'X'.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          WRITE: / 'Order:'(004),t_salesdoc-vbeln, t_salesdoc-posnr,&lt;/P&gt;&lt;P&gt;                 'Customer:'(005),i_vbpa-kunnr,&lt;/P&gt;&lt;P&gt;                 'CM Method:'(100),t_salesdoc-katr5,&lt;/P&gt;&lt;P&gt;                 'Pricing method missing'(006).&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 12:29:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534582#M850418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T12:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: abap statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534583#M850419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Means &lt;/P&gt;&lt;P&gt;If t_salesdoc-matkl is not IN s_matkl  .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF there is no value in p_pcnt01 ( p_pcnt01  is initial )&lt;/P&gt;&lt;P&gt;IF there is no value in  t_salesdoc-faksk ( t_salesdoc-faksk is initial )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 12:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534583#M850419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T12:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: abap statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534584#M850420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;NOT t_salesdoc-matkl IN s_matkl  =&amp;gt;  excluding the values in s_matkl &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_salesdoc-faksk =  K_01 if p_pcnt01 and t_salesdoc-faksk are not having any values(INITIAL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_salesdoc-no_percent = k_x.&lt;/P&gt;&lt;P&gt;READ TABLE i_vbpa WITH KEY vbeln = t_salesdoc-vbeln.&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;IF lv_flag IS INITIAL.&lt;/P&gt;&lt;P&gt;WRITE: 'Pricing adjustment for Credit memo amount (A/R)'.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;lv_flag = 'X'. " this is for writing the above only for the first time &lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 12:35:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534584#M850420</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T12:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: abap statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534585#M850421</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;1.NOT t_salesdoc-matkl IN s_matkl &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_salesdoc-matkl should not be there in s_matkl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.IF p_pcnt01 IS INITIAL.&lt;/P&gt;&lt;P&gt;IF t_salesdoc-faksk IS INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if p_pcnt01 has no value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if t_salesdoc-faksk has no value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3.IF lv_flag IS INITIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;means &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_flag has no value or initial value ie to check whether the flag is set or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 12:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534585#M850421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T12:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: abap statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534586#M850422</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;The first statement is same as v1 must not be in s_v2.So it will check for whether or not that variable is in the select-options or not.Only if the variable is not there,will it proceed further.&lt;/P&gt;&lt;P&gt;The rest I think is self explanatory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is useful,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandeep.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Mar 2008 12:52:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-statement/m-p/3534586#M850422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-10T12:52:58Z</dc:date>
    </item>
  </channel>
</rss>

