<?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: Change Condition record using Function module or BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437698#M1551224</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;It does not help me at all. Any advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 16:43:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-11-23T16:43:13Z</dc:date>
    <item>
      <title>Change Condition record using Function module or BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437696#M1551222</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;I have requirement to change condition record (T-code: VK12) using Function module or BAPI. Actually, User wants to change the amount field by uploading spreadsheet data. I need to write the program to use spreadsheet and update amount field of condition record. Please help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sajjad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 16:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437696#M1551222</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T16:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change Condition record using Function module or BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437697#M1551223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;please search in SE37 with BAPI&lt;STRONG&gt;CONDITION&lt;/STRONG&gt;RECORD&lt;STRONG&gt;CREATE&lt;/STRONG&gt;...hope you will get a correct function module...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 18:57:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437697#M1551223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-22T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change Condition record using Function module or BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437698#M1551224</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;It does not help me at all. Any advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 16:43:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437698#M1551224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-23T16:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change Condition record using Function module or BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437699#M1551225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RV_CONDITION_COPY,RV_CONDITION_SAVE ,RV_CONDITION_RESET - Commit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute these three fm's in sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RV_CONDITION_COPY has a parameter maintain_mode , pass A for create and B for change&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 16:48:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437699#M1551225</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-11-23T16:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Condition record using Function module or BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437700#M1551226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks a lot for your advise. I tried to test these FM in the following way. But it does not work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'SD_KONP_SELECT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  SCALE_READ             = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LONG_TEXT_READ         = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      condition_item         = cond_item&lt;/P&gt;&lt;P&gt;      condition_number       = cond_number&lt;/P&gt;&lt;P&gt;      condition_scale        = cond_scale.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;xkonp = cond_item.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;  select single * into corresponding fields of wa_komg&lt;/P&gt;&lt;P&gt;     from t681&lt;/P&gt;&lt;P&gt;    where kappl = 'V'&lt;/P&gt;&lt;P&gt;      and KOTABNR = '527'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   clear: t_komv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  gv_KOTABNR = '527'.&lt;/P&gt;&lt;P&gt;  gv_KAPPL = 'V'.&lt;/P&gt;&lt;P&gt;  gv_KSCHL = 'ZBFR'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at xkonp into wa_konp.&lt;/P&gt;&lt;P&gt;            clear: wa_komv,&lt;/P&gt;&lt;P&gt;                  t_komv.&lt;/P&gt;&lt;P&gt;            move-corresponding wa_konp to wa_komv.&lt;/P&gt;&lt;P&gt;            wa_komv-waers = wa_konp-konwa.&lt;/P&gt;&lt;P&gt;            if wa_komv-kbetr = '1.40'.                         "just trying to test change data&lt;/P&gt;&lt;P&gt;               wa_komv-kbetr = 3.&lt;/P&gt;&lt;P&gt;            endif.&lt;/P&gt;&lt;P&gt;            append wa_komv to t_komv.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            call function 'RV_CONDITION_COPY'&lt;/P&gt;&lt;P&gt;              exporting&lt;/P&gt;&lt;P&gt;                application                       = gv_KAPPL&lt;/P&gt;&lt;P&gt;                condition_table                   = gv_KOTABNR&lt;/P&gt;&lt;P&gt;                condition_type                    = gv_KSCHL&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               date_from                         = tvalp-datab&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                date_to                           = fl_datbi&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               enqueue                           = 'X' "yes&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               i_komk                            = komk&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               i_komp                            = komp&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                key_fields                        = wa_komg&lt;/P&gt;&lt;P&gt;                maintain_mode                     = 'B'   "'A' for create, B for Update&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               no_authority_check                = yes&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               no_field_check                    = yes&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              SELECTION_DATE                    = '00000000'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              KEEP_OLD_RECORDS                  = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              MATERIAL_M                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              USED_BY_IDOC                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              I_KONA                            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;               overlap_confirmed                 = yes&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              NO_DB_UPDATE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              E_KOMK                            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              E_KOMP                            =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              NEW_RECORD                        =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              E_DATAB                           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              E_DATBI                           =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              E_PRDAT                           =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              tables&lt;/P&gt;&lt;P&gt;                copy_records                      = t_komv&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              COPY_STAFFEL                      =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              COPY_RECS_IDOC                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;              exceptions&lt;/P&gt;&lt;P&gt;                enqueue_on_record                 = 1&lt;/P&gt;&lt;P&gt;                invalid_application               = 2&lt;/P&gt;&lt;P&gt;                invalid_condition_number          = 3&lt;/P&gt;&lt;P&gt;                invalid_condition_type            = 4&lt;/P&gt;&lt;P&gt;                no_authority_ekorg                = 5&lt;/P&gt;&lt;P&gt;                no_authority_kschl                = 6&lt;/P&gt;&lt;P&gt;                no_authority_vkorg                = 7&lt;/P&gt;&lt;P&gt;                no_selection                      = 8&lt;/P&gt;&lt;P&gt;                table_not_valid                   = 9&lt;/P&gt;&lt;P&gt;                no_material_for_settlement        = 10&lt;/P&gt;&lt;P&gt;                no_unit_for_period_cond           = 11&lt;/P&gt;&lt;P&gt;                no_unit_reference_magnitude       = 12&lt;/P&gt;&lt;P&gt;                invalid_condition_table           = 13&lt;/P&gt;&lt;P&gt;                others                            = 14.&lt;/P&gt;&lt;P&gt;   if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;   endif.&lt;/P&gt;&lt;P&gt; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            call function 'RV_CONDITION_SAVE'.&lt;/P&gt;&lt;P&gt;            CALL FUNCTION 'RV_CONDITION_RESET'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;            EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;              FREE_MEMORY       =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                      .&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WAIT          =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  RETURN        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 13:45:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437700#M1551226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-24T13:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Change Condition record using Function module or BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437701#M1551227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check this link to know how to use it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;link:[http://www.sapnet.ru/viewtopic.php?p=1644]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Nov 2010 13:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-condition-record-using-function-module-or-bapi/m-p/7437701#M1551227</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-11-24T13:52:34Z</dc:date>
    </item>
  </channel>
</rss>

