<?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: Update ALV screen - quantity field in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947589#M1601380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure, but it could be related with unit field and reference which you have to define in quantity field. For example if u r trying to display amount without currency value you will get empty field instead of 0,00. if it did not help you then could you post your code where you are defining ALV grid object, filling fieldcatalog and calling the grid for the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;dez_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Jun 2011 11:34:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-22T11:34:19Z</dc:date>
    <item>
      <title>Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947584#M1601375</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;Data:  o_Ref_Grid     Type Ref to cl_Gui_Alv_Grid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   Update the main ALV table with any changes made to the grid (ie check boxes)&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;     Call Function 'GET_GLOBALS_FROM_SLVC_FULLSCR'&lt;/P&gt;&lt;P&gt;       Importing&lt;/P&gt;&lt;P&gt;          E_Grid = O_Ref_Grid.&lt;/P&gt;&lt;P&gt;     Call Method O_Ref_Grid-&amp;gt;Check_Changed_Data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am using the above code to get the values changed at ALV at runtime. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All changes values are reflecting except the quantity field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say I enter 6,000 in quantity (the fdata element in ALV structure is KWMENG) after the call method its becoming 0.006.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls suggest solution to solve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kausthub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:45:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947584#M1601375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T10:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947585#M1601376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how did you define fieldcatalog? manually or u used FM LVC_FIELDCATALOG_MERGE. it is better to use this FM instead of manual fields assignment. i think this problem occurs there, but i am not sure, because i can't see whole view.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dez_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 10:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947585#M1601376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T10:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947586#M1601377</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;Instead of 6,000 enter 6 only.. It will take the 3 decimal places automatically.,  If you dont want to display  6.000 at field catalog level change the type to DEC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ls_fieldcat-datatype = 'DEC'.&lt;/P&gt;&lt;P&gt;ls_fieldcat-decimals_out = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps u.,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:02:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947586#M1601377</guid>
      <dc:creator>Kiran_Valluru</dc:creator>
      <dc:date>2011-06-22T11:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947587#M1601378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran/Dez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually the quantity is entered in VA01. Assume its entered as 6,25. (Depending on the user notaion, VA01 is taking the quantity entered). Am trying to give the same functionality here. So decimals cant be ignored in my case. I hope you have some visualization about what i am trying to do in that screen now. But after that call method its getting changed. ALV field catlog is manual. I tried entering the number of decimals in fieldcatlog. Still the issue prevails. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Kausthub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947587#M1601378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T11:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947588#M1601379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kausthub Krish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SAP ABAP, currency fields are conneted to a CUKY currency ke field and quantity fields are connected to a UNIT field. This is enforced when creating a structure in data dictionary. If field catalog is created by REUSE_ALV_FIELDCATALOG_MERGE this relationship is transferred to ALV object and handled accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is possible to create the relation of quantity to a unit in ALV, it is better to have both in the DDIC structure for the ALV display table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947588#M1601379</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2011-06-22T11:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947589#M1601380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am not sure, but it could be related with unit field and reference which you have to define in quantity field. For example if u r trying to display amount without currency value you will get empty field instead of 0,00. if it did not help you then could you post your code where you are defining ALV grid object, filling fieldcatalog and calling the grid for the first time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards,&lt;/P&gt;&lt;P&gt;dez_&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 11:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947589#M1601380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T11:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update ALV screen - quantity field</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947590#M1601381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try to inform REF_FIELD and REF_TABLE on field catalog and also create another entry on the field catalog for the unit also making reference for the table and the field.&lt;/P&gt;&lt;P&gt;On the field catalog, you have the fields QUANTITY and QFIELDNAME and DECIMALS, I think that would solve your problem. It's just a shame my answer came so late.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 14:23:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-alv-screen-quantity-field/m-p/7947590#M1601381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-23T14:23:22Z</dc:date>
    </item>
  </channel>
</rss>

