<?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: Enhancement in CO02 T-code. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383022#M9151</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I defined the event for the same and its working,&lt;/P&gt;&lt;P&gt;Kindly let me know if  its possible to show the warning message as &lt;/P&gt;&lt;P&gt;"The material 'matnr' has already backflushed with 'igmng'Quantities.&lt;/P&gt;&lt;P&gt;Here the MATNR &amp;amp; IGMNGis Material no belongs to that line item where we tried to change the quantity,&lt;/P&gt;&lt;P&gt;Is it possible to catch the values from the sructure and show in a message.&lt;/P&gt;&lt;P&gt;Pl refer attached screenshot were we trying to show the message.&lt;A href="https://answers.sap.com/storage/temp/20591-untitled.png"&gt;untitled.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In attached screen shot if we tried to change the value of the line item 10 the message should be appear as&lt;/P&gt;&lt;P&gt;"The material  B has already backflushed with  25 Quantities.&lt;/P&gt;&lt;P&gt;Is it possible.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Feb 2017 08:23:54 GMT</pubDate>
    <dc:creator>satheshkumar44</dc:creator>
    <dc:date>2017-02-15T08:23:54Z</dc:date>
    <item>
      <title>Enhancement in CO02 T-code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383020#M9149</link>
      <description>&lt;P&gt;Requirement: &lt;/P&gt;&lt;P&gt;In co02 T-code- Components overview, If a user clicks any fields the following tcoding has to be triggered.&lt;/P&gt;&lt;P&gt;1.IF user clicks any field and if the material quantity in the field is not back-flushed  it must not show any error.&lt;/P&gt;&lt;P&gt;2.If the material quantity is backflushed it must show warning message as "The Material 'matnr, is already back-flushed .&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;For the above requirement i created the enhancement with below coding but it is not get triggered while clicking on the field.&lt;/P&gt;&lt;P&gt;Types: begin of str,&lt;BR /&gt;
 AUFNR1 type afko-aufnr,&lt;BR /&gt;
 matnr type aufm-matnr,&lt;BR /&gt;
 bwart type aufm-bwart,&lt;BR /&gt;
 menge type aufm-menge,&lt;BR /&gt;
 end of str.&lt;BR /&gt;
&lt;BR /&gt;
DATA : AUFNR TYPE Aufm-AUFNR.&lt;BR /&gt;
 get parameter id 'ANR' field aufnr.&lt;BR /&gt;
&lt;BR /&gt;
 data:it1 type table of str,&lt;BR /&gt;
 wa type str,&lt;BR /&gt;
 it2 type table of str,&lt;BR /&gt;
 wa1 type str.&lt;BR /&gt;
&lt;BR /&gt;
 select aufnr matnr bwart menge&lt;BR /&gt;
 from aufm into table it1&lt;BR /&gt;
 where aufnr = aufnr and bwart = 261.&lt;BR /&gt;
 select aufnr matnr bwart menge&lt;BR /&gt;
 from aufm into table it2&lt;BR /&gt;
 where aufnr = aufnr and bwart = 101.&lt;BR /&gt;&lt;BR /&gt;
 loop at it1 into wa.&lt;BR /&gt;
&lt;BR /&gt;
 Loop at it2 into wa1.&lt;BR /&gt;
&lt;BR /&gt;
 if wa-menge = wa1-menge.&lt;BR /&gt;
 message 'No ERROr' type 'S'.&lt;BR /&gt;
&lt;BR /&gt;
 else.&lt;BR /&gt;
 message ' ERROr' type 'S'.&lt;BR /&gt;
&lt;BR /&gt;
 endif.&lt;BR /&gt;
endloop.&lt;BR /&gt;
endloop.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 04:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383020#M9149</guid>
      <dc:creator>satheshkumar44</dc:creator>
      <dc:date>2017-02-14T04:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement in CO02 T-code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383021#M9150</link>
      <description>&lt;P&gt;If the fields are not defined as hotspot a single click won't trigger anything. Better handle the double-click event/function code.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;</description>
      <pubDate>Tue, 14 Feb 2017 06:35:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383021#M9150</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2017-02-14T06:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement in CO02 T-code.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383022#M9151</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I defined the event for the same and its working,&lt;/P&gt;&lt;P&gt;Kindly let me know if  its possible to show the warning message as &lt;/P&gt;&lt;P&gt;"The material 'matnr' has already backflushed with 'igmng'Quantities.&lt;/P&gt;&lt;P&gt;Here the MATNR &amp;amp; IGMNGis Material no belongs to that line item where we tried to change the quantity,&lt;/P&gt;&lt;P&gt;Is it possible to catch the values from the sructure and show in a message.&lt;/P&gt;&lt;P&gt;Pl refer attached screenshot were we trying to show the message.&lt;A href="https://answers.sap.com/storage/temp/20591-untitled.png"&gt;untitled.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In attached screen shot if we tried to change the value of the line item 10 the message should be appear as&lt;/P&gt;&lt;P&gt;"The material  B has already backflushed with  25 Quantities.&lt;/P&gt;&lt;P&gt;Is it possible.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 08:23:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-in-co02-t-code/m-p/383022#M9151</guid>
      <dc:creator>satheshkumar44</dc:creator>
      <dc:date>2017-02-15T08:23:54Z</dc:date>
    </item>
  </channel>
</rss>

