<?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: User Exit for Pricing-need Help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053972#M423772</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;Which user-exit you have implemented for this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,  &amp;lt;b&amp;gt;why you have a statement MODIFY SCREEN?&amp;lt;/b&amp;gt; Do you have this code in PBO module of any screen. Also, MODIFY SCREEN statement should be only within LOOP AT SCREEN ....... ENDLOOP statement.  This statement is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See, what SAP says about MODIFY screen command here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Changes the attributes belonging to the current screenfield whilst processing with LOOP ATSCREEN ... ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attributes of all fields of a screen are stored in the systemtable SCREEN. This can be edited line by lineusing LOOP AT SCREEN ... ENDLOOP. Changes to the properties ofthe attributes of the current screen field (= current line in thesystem table SCREEN) can be put into effect using MODIFYSCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;This statement should be used only within a LOOP ATSCREEN ... ENDLOOP loop at PBO time aspart of the process logic of a screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;Let me know your exact requirement and what you have done so far to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 21:45:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T21:45:50Z</dc:date>
    <item>
      <title>User Exit for Pricing-need Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053971#M423771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear ABAPers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a user exit for pricing where I am comparing a condition type (manually entered(ZD01)) to another condition type(YD01). If the entered value is more than the other condition type than pricing should not be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RATE = 0.&lt;/P&gt;&lt;P&gt;IF KOMP-ZZVBTYP = 'C'.&lt;/P&gt;&lt;P&gt;IF KOMP-PRSFD = 'X' OR&lt;/P&gt;&lt;P&gt;   KOMP-PRSFD = 'A'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF KOMV-KSCHL = 'ZD01'.&lt;/P&gt;&lt;P&gt;        LOOP AT XKOMV WHERE  KSCHL EQ 'YD01'.&lt;/P&gt;&lt;P&gt;              KOMP-KZWI2 = ( XKOMV-KBETR / 10 ).&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;        RATE = KOMV-KBETR / 10.&lt;/P&gt;&lt;P&gt;    IF ( RATE &amp;lt;&amp;gt; 0 ) AND ( RATE &amp;lt; KOMP-KZWI2 ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        MESSAGE W991. "Maximum Allowed Discount Has Exceeded !!!!&lt;/P&gt;&lt;P&gt;        CLEAR KOMV-KBETR.&lt;/P&gt;&lt;P&gt;        CLEAR KOMV-KWERT.&lt;/P&gt;&lt;P&gt;        MODIFY SCREEN.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;It is giving me the message but it is also updating the pricing. I want not to be updated. So in place of modify screen i need to reset pricing procedure.&lt;/P&gt;&lt;P&gt;I need a function module or a abap key word which can reset the pricing procedure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 08:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053971#M423771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T08:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit for Pricing-need Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053972#M423772</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;Which user-exit you have implemented for this? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also,  &amp;lt;b&amp;gt;why you have a statement MODIFY SCREEN?&amp;lt;/b&amp;gt; Do you have this code in PBO module of any screen. Also, MODIFY SCREEN statement should be only within LOOP AT SCREEN ....... ENDLOOP statement.  This statement is wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See, what SAP says about MODIFY screen command here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;MODIFY SCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Effect&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;Changes the attributes belonging to the current screenfield whilst processing with LOOP ATSCREEN ... ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attributes of all fields of a screen are stored in the systemtable SCREEN. This can be edited line by lineusing LOOP AT SCREEN ... ENDLOOP. Changes to the properties ofthe attributes of the current screen field (= current line in thesystem table SCREEN) can be put into effect using MODIFYSCREEN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;This statement should be used only within a LOOP ATSCREEN ... ENDLOOP loop at PBO time aspart of the process logic of a screen. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="------------------------------------------------------------------------------------------------------------" /&gt;&lt;P&gt;Let me know your exact requirement and what you have done so far to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;RS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 21:45:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053972#M423772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T21:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: User Exit for Pricing-need Help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053973#M423773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK. I donot want to use modify screen, and I want to use some function module or any other abap keyword to reset pricing procedure. that means i want zd01 not take any effect. that is net value should again be equal to PR00. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MAM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2007 08:18:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/user-exit-for-pricing-need-help/m-p/2053973#M423773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-28T08:18:23Z</dc:date>
    </item>
  </channel>
</rss>

