<?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: KOBED_ Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533785#M1561762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solve it by creating a "Condition Calculation alternative formula for type" and cleaning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; xkomv-kbetr and xkwert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and then we put the value "C"into xkomv-ksteu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Jan 2011 20:05:47 GMT</pubDate>
    <dc:creator>former_member415296</dc:creator>
    <dc:date>2011-01-27T20:05:47Z</dc:date>
    <item>
      <title>KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533779#M1561756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have a Requirement&lt;/P&gt;&lt;P&gt; implemented in the Pricing Procedures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This Requirement determines whether the condition is valid or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The problem is: when i make the sales order the condition is working properly but then modify something in the sales order, the condition is not updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; For example:&lt;/P&gt;&lt;P&gt; When creating the sales order triggers a condition through the Requirement, then change the amount of a position of sales order and according to the ABAP CODE inactivate this condition but that should not happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; This position works if we enter the sales order and then to the Conditions tab and then click the button "Update" option "G - Copy pricing elements and redetermination taxes Unchanged"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I attached the ABAP Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF komk-trtyp &amp;lt;&amp;gt; 'A'   AND   komk-vbtyp CA 'KH'     AND&lt;/P&gt;&lt;P&gt;     incl_konditionen = 'Y'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT SINGLE netwr knumv&lt;/P&gt;&lt;P&gt;      FROM vbrk&lt;/P&gt;&lt;P&gt;      INTO (lv_netwr, lv_knumv)&lt;/P&gt;&lt;P&gt;      WHERE vbeln = komp-vgbel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT SINGLE kposn&lt;/P&gt;&lt;P&gt;        FROM konv&lt;/P&gt;&lt;P&gt;        INTO lv_kposn&lt;/P&gt;&lt;P&gt;        WHERE knumv EQ lv_knumv   AND&lt;/P&gt;&lt;P&gt;              kposn EQ komp-vgpos AND&lt;/P&gt;&lt;P&gt;              kschl EQ 'J1A2'     AND&lt;/P&gt;&lt;P&gt;              kwert GT 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        lv_campo = '(SAPMV45A)TKOMP[]'.&lt;/P&gt;&lt;P&gt;        ASSIGN (lv_campo) TO &amp;lt;fs_tkomp&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF &amp;lt;fs_tkomp&amp;gt; IS ASSIGNED.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          REFRESH lt_tkomp.&lt;/P&gt;&lt;P&gt;          lt_tkomp[] = &amp;lt;fs_tkomp&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          CLEAR lv_netwr_aux.&lt;/P&gt;&lt;P&gt;          LOOP AT lt_tkomp INTO ls_tkomp.&lt;/P&gt;&lt;P&gt;            lv_netwr_aux = lv_netwr_aux + ls_tkomp-NETWR.&lt;/P&gt;&lt;P&gt;          ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          IF lv_netwr &amp;lt;&amp;gt; lv_netwr_aux.&lt;/P&gt;&lt;P&gt;            lv_subrc = 4.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            lv_subrc = 0.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ELSE.&lt;/P&gt;&lt;P&gt;          lv_subrc = 4.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        lv_subrc = 4.&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;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 18:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533779#M1561756</guid>
      <dc:creator>former_member415296</dc:creator>
      <dc:date>2011-01-27T18:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533780#M1561757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are you modifying in the sales order?  If you need to reprice based on the modifcation, then use the USEREXIT_NEW_PRICING_VBAP (or VBKD0 in MV45AFZB to trigger repricing type 'G'.  Use code tags next time...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 18:47:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533780#M1561757</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-01-27T18:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533781#M1561758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just want to activate or deactivate a condition of Pricing Procedures depending, for example if I change the Quantity in the position of sales order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 18:51:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533781#M1561758</guid>
      <dc:creator>former_member415296</dc:creator>
      <dc:date>2011-01-27T18:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533782#M1561759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, if you change the quantity, the item will automatically reprice fully and your requirement should hit and function accordingly.  If you change some other value that doesn't automatically trigger repricing or not at the level you want, you can re-trigger it with the user exit I mentioned.  For the quantity change, debug your requirement to find out why it doesn't work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 19:02:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533782#M1561759</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-01-27T19:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533783#M1561760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;there any way to make the condition is active or not from Requirement in the Pricing Procedures Implemented using SY-SUBRC 0 or 4?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 19:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533783#M1561760</guid>
      <dc:creator>former_member415296</dc:creator>
      <dc:date>2011-01-27T19:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533784#M1561761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't 'de-activate' conditions with a requirement and repricing, you stop them from proposing (SY_SUBRC = 4) or allow them to propose (SY-SUBRC = 0).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 19:55:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533784#M1561761</guid>
      <dc:creator>brad_bohn</dc:creator>
      <dc:date>2011-01-27T19:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: KOBED_ Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533785#M1561762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;solve it by creating a "Condition Calculation alternative formula for type" and cleaning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; xkomv-kbetr and xkwert&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and then we put the value "C"into xkomv-ksteu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jan 2011 20:05:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/kobed-issue/m-p/7533785#M1561762</guid>
      <dc:creator>former_member415296</dc:creator>
      <dc:date>2011-01-27T20:05:47Z</dc:date>
    </item>
  </channel>
</rss>

