<?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: The current ABAP command is obsolete in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856259#M1135599</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johny lever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might me from read statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use any of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 ) READ TABLE itab WITH TABLE KEY k1 = v1 ...kn = vn [additions]. &lt;/P&gt;&lt;P&gt;2)  READ TABLE itab WITH KEY k1 = v1 ...kn = vn [BINARY SEARCH] [additions] . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might be helpfull,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Aby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Nov 2008 10:18:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-28T10:18:54Z</dc:date>
    <item>
      <title>The current ABAP command is obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856256#M1135596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know how this error can be removed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The current ABAP command is obsolete                                            &lt;/P&gt;&lt;P&gt; The variant " WITH KEY k" is no longer supported in the OO context. Use an     &lt;/P&gt;&lt;P&gt; explicit key specification instead . . . .                                     &lt;/P&gt;&lt;P&gt;Internal Message Code: READ 022                                                 &lt;/P&gt;&lt;P&gt; (The message cannot be hidden using pseudo-comment "#EC .., bzw. durch SET     &lt;/P&gt;&lt;P&gt; EXTENDED CHECK OFF/ON)                                                         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Johny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 09:30:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856256#M1135596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T09:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: The current ABAP command is obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856257#M1135597</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;use UCCHECK transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also press F1 on that field to get more info.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 09:35:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856257#M1135597</guid>
      <dc:creator>GauthamV</dc:creator>
      <dc:date>2008-11-28T09:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: The current ABAP command is obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856258#M1135598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you did not mention which statement is it, but I believe it is READ TABLE. if yes, you have to name all (relevant) fields one by one&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ TABLE itab INTO...
WITH KEY field1 = value1
                 field2 = value2
                 ....&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 09:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856258#M1135598</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-11-28T09:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: The current ABAP command is obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856259#M1135599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johny lever,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might me from read statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use any of these&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 ) READ TABLE itab WITH TABLE KEY k1 = v1 ...kn = vn [additions]. &lt;/P&gt;&lt;P&gt;2)  READ TABLE itab WITH KEY k1 = v1 ...kn = vn [BINARY SEARCH] [additions] . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this might be helpfull,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Aby&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 10:18:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856259#M1135599</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T10:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: The current ABAP command is obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856260#M1135600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Iam having no key to compare with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The scenario is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*If it is PaymentLot,retrieve Payment method,Gpart,Banknumber,Bank accountnumber,paymentcard number and amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;from DFKKZP and DFKKOP for the cleared document&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FKK_PAYMENT_BATCH_FIND_PAYMENT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_opbel = wa_cleareditem-augbl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_dfkkzp = et_dfkkzp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;not_found = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. "#EC NEEDED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF et_dfkkzp-bankl IS NOT INITIAL. "Check for Bank key and Card number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_bankl = et_dfkkzp-bankl.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF et_dfkkzp-ccnum IS NOT INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lv_ccnum = et_dfkkzp-ccnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF et_dfkkzp-bankl IS INITIAL AND et_dfkkzp-ccnum IS INITIAL. "If both bank key and Card number are initial&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_pymet = c_pymet. "Populate payment method as 'K'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*For the obtained Business partner,fetch Bankdetails id and Payment card id from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*exporting parameters of F.M 'FKK_BUPA_READ_SINGLE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'FKK_BUPA_READ_SINGLE'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_partner = lv_partner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_xbank = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i_xccard = 'X'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_bank = it_bank&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;t_ccard = it_ccard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;partner_not_found = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;partner_in_role_not_found = 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;internal_error = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OTHERS = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0. "#EC NEEDED&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_bank INTO wa_bank WITH KEY bankl = lv_bankl BINARY SEARCH. "Pick the entry which has bankl value as from et_dfkkzp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_pymet = c_pymetb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_bkvid = wa_bank-bkvid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_ccard INTO wa_ccard WITH KEY ccnum = lv_ccnum BINARY SEARCH. "Pick the entry which has ccnum value as from et_dfkkzp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_pymet = c_pymetd.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;e_ccard_id = wa_ccard-ccard_id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDFORM. " ORIGINKEY_V1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 10:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856260#M1135600</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T10:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: The current ABAP command is obsolete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856261#M1135601</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;Its obsolete to use Data Object in WITH KEY but using key like this!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert Sort by the Key specifird in Read in ASCENDING and the Read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets see...  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Neha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Nov 2008 10:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/the-current-abap-command-is-obsolete/m-p/4856261#M1135601</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-28T10:52:55Z</dc:date>
    </item>
  </channel>
</rss>

