<?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: Bapi_prices_conditions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264970#M780197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1502424"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2008 09:40:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-08T09:40:26Z</dc:date>
    <item>
      <title>Bapi_prices_conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264968#M780195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the condition table A911 and KON P ...for creating condition records ...i use transaction vk11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to try creating condition records using bapi_prices_conditions..which will reflect in these two tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i referecd all the forums  in sdn ...but nothing is helping me ...&lt;/P&gt;&lt;P&gt;i dont know where i am going wrong...i think the problemis with the inputs..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried with the code which everyone propesd in sdn for other forums .....i am not getting any success or error message .pls help in solving the problem.points wil be rewarded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wtable1-table_no = '911'.&lt;/P&gt;&lt;P&gt;wtable1-applicatio = 'V'.&lt;/P&gt;&lt;P&gt;wtable1-cond_type = 'ZTUP'.&lt;/P&gt;&lt;P&gt;wtable1-operation = '009'.&lt;/P&gt;&lt;P&gt;wtable1-varkey = '8380AATEST7'.&lt;/P&gt;&lt;P&gt;wtable1-valid_to = '99991231'.&lt;/P&gt;&lt;P&gt;wtable1-valid_from = '20080108'.&lt;/P&gt;&lt;P&gt;*wtable1-cond_no = '$000000001'.&lt;/P&gt;&lt;P&gt;APPEND wtable1 TO table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wtable2-operation = '009'.&lt;/P&gt;&lt;P&gt;*wtable2-cond_no = '$000000001'.&lt;/P&gt;&lt;P&gt;wtable2-created_by = sy-uname.&lt;/P&gt;&lt;P&gt;wtable2-creat_date = '20080108'.&lt;/P&gt;&lt;P&gt;wtable2-cond_usage = 'A'.&lt;/P&gt;&lt;P&gt;wtable2-table_no = '911'.&lt;/P&gt;&lt;P&gt;wtable2-applicatio = 'V'.&lt;/P&gt;&lt;P&gt;wtable2-cond_type = 'ZTUP'.&lt;/P&gt;&lt;P&gt;wtable2-varkey = '8380AATEST7'.&lt;/P&gt;&lt;P&gt;wtable2-valid_from = '20080108'.&lt;/P&gt;&lt;P&gt;wtable2-valid_to = '99991231'.&lt;/P&gt;&lt;P&gt;APPEND wtable2 TO table2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wtable3-operation = '009'.&lt;/P&gt;&lt;P&gt;*wtable3-cond_no = '$000000001'.&lt;/P&gt;&lt;P&gt;wtable3-cond_count = '01'.&lt;/P&gt;&lt;P&gt;wtable3-applicatio = 'V'.&lt;/P&gt;&lt;P&gt;wtable3-cond_type = 'ZTUP'.&lt;/P&gt;&lt;P&gt;wtable3-scaletype = 'A'.&lt;/P&gt;&lt;P&gt;wtable3-scalebasin = 'C'.&lt;/P&gt;&lt;P&gt;wtable3-scale_qty = '1'.&lt;/P&gt;&lt;P&gt;wtable3-cond_p_unt = '1'.&lt;/P&gt;&lt;P&gt;wtable3-cond_unit = 'EA'.&lt;/P&gt;&lt;P&gt;wtable3-calctypcon = 'C'.&lt;/P&gt;&lt;P&gt;wtable3-cond_value = '454'.&lt;/P&gt;&lt;P&gt;wtable3-condcurr = 'USD'.&lt;/P&gt;&lt;P&gt;APPEND wtable3 TO table3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_PRICES_CONDITIONS'&lt;/P&gt;&lt;P&gt; EXPORTING&lt;/P&gt;&lt;P&gt; PI_initialmode = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;PI_BLOCKNUMBER =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;ti_bapicondct = table1&lt;/P&gt;&lt;P&gt;ti_bapicondhd = table2&lt;/P&gt;&lt;P&gt;ti_bapicondit = table3&lt;/P&gt;&lt;P&gt;ti_bapicondqs = table4&lt;/P&gt;&lt;P&gt;ti_bapicondvs = table5&lt;/P&gt;&lt;P&gt;to_bapiret2 = table6&lt;/P&gt;&lt;P&gt;to_bapiknumhs = table7&lt;/P&gt;&lt;P&gt;to_mem_initial = table8&lt;/P&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;P&gt;update_error = 1&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.&lt;/P&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE table6 WITH KEY type = 'E' TRANSPORTING NO FIELDS.&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;loop at table6 into wtable6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / wtable6-type, wtable6-message, wtable6-id, wtable6-LOG_NO,&lt;/P&gt;&lt;P&gt;wtable6-LOG_MSG_NO,&lt;/P&gt;&lt;P&gt;wtable6-MESSAGE_V1, wtable6-MESSAGE_V2,wtable6-MESSAGE_V3,&lt;/P&gt;&lt;P&gt; wtable6-MESSAGE_V4,&lt;/P&gt;&lt;P&gt;wtable6-PARAMETER,wtable6-ROW,wtable6-FIELD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;**EXPORTING&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;WAIT =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;*IMPORTING&lt;/P&gt;&lt;P&gt;*return = ret&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;write : 'success'.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 09:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264968#M780195</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T09:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_prices_conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264969#M780196</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;Try using Direct Input Program RV14BTCI for creating, changing and deleting price conditions. This is very easy way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check this thread also&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1502424"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 09:27:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264969#M780196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T09:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_prices_conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264970#M780197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following links:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1502424"&gt;&lt;/A&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 09:40:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264970#M780197</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T09:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Bapi_prices_conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264971#M780198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, &lt;/P&gt;&lt;P&gt;Please donr give the same thread which i have already used..pls understand my problem correctly .i have used the same code in the thread which u have mentioned.that is not helpin me..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2008 09:46:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-prices-conditions/m-p/3264971#M780198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-08T09:46:38Z</dc:date>
    </item>
  </channel>
</rss>

