<?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: QUANTITY FIELD IN ALV in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828002#M353095</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'VE TAKEN MY QUANTITY FIELD OF DATA ELEMENT "MENGE_D" AND ITS REFERENC TABLE  AND REFERENCE UNIT AS "MSEG" "MEINS".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'VE STILL NOT GOT THE OUTPUT.&lt;/P&gt;&lt;P&gt;HAVE I TO FILL SOME OTHER COLUMN OF FIELDCATALOG.&lt;/P&gt;&lt;P&gt;OR IS THE SEQUENCE WRONG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jan 2007 04:18:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-01-19T04:18:12Z</dc:date>
    <item>
      <title>QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1827997#M353090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI EXPERTS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'VE CREATED A Z TABLE WHICH CONTAINS A QUANTITY FIELD "ZQTY1" WHOSE DATA ELEMENT IS MENGE_D AND ITS REFERENCE FIELD IS MEINS OF MSEG TABLE.&lt;/P&gt;&lt;P&gt;THE CODE AS WRITTEN BELOW:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PERFORM fill_catalog  TABLES it_fieldcatalog&lt;/P&gt;&lt;P&gt;      USING 'ITAB' 'ZQTY1' ' ' 'Quantity Sent' 'X' 'X' 'QUAN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fill_catalog TABLES   fieldcatalog STRUCTURE it_fieldcatalog&lt;/P&gt;&lt;P&gt;                                  USING    p_tabname&lt;/P&gt;&lt;P&gt;                                           p_fieldname&lt;/P&gt;&lt;P&gt;                                           p_key&lt;/P&gt;&lt;P&gt;                                           p_fielddesc&lt;/P&gt;&lt;P&gt;                                           p_edit&lt;/P&gt;&lt;P&gt;                                           p_fix_clm&lt;/P&gt;&lt;P&gt;                                           p_daty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  .&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname    = p_tabname.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname  = p_fieldname.&lt;/P&gt;&lt;P&gt;  fieldcatalog-key        = p_key.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_l  = p_fielddesc.&lt;/P&gt;&lt;P&gt;  fieldcatalog-edit       = p_edit.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fix_column = p_fix_clm.&lt;/P&gt;&lt;P&gt;  fieldcatalog-datatype   = p_daty.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos = i.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog.&lt;/P&gt;&lt;P&gt;  i = i + 1.&lt;/P&gt;&lt;P&gt;ENDFORM.                    " fill_catalog&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THE PROBLEM IS WHEN I ENTER 20 IN EDITABLE alv IT BECOMES 0.020.&lt;/P&gt;&lt;P&gt;HOW SHOULD I GO ABOUT IT.&lt;/P&gt;&lt;P&gt;PLZ HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 07:45:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1827997#M353090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T07:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1827998#M353091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As you use internal table and nor REUSE_ALV_FIELDCATALOG_MERGE nor refrerence to the internal table, but build your field catalog, you MUST explicit the link between MENGE and MEINS, QUAN and UNIT in the catalog. And both fields must appear in your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fieldcatalog-QFIELDNAME = 'MEINS' &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 08:03:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1827998#M353091</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-01-18T08:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1827999#M353092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'VE TRIED PUTTING THE VALUE "MEINS" INTO THE FIELD QFIELDNAME.&lt;/P&gt;&lt;P&gt;I'VE ALSO TRIED CREATING MY OWN UNIT FIELD "ZMEINS" AND 'VE ASSIGNED THIS ALSO. but to no use. in both cases THE SYSTEM GENERATED ERROR COMES "Too many decimal places (maximum 0)" and its long text says "You specified 2 decimal places, but the field allows only 0 decimal places."&lt;/P&gt;&lt;P&gt;i gave 20.20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how should i go about it.&lt;/P&gt;&lt;P&gt;plz help its urgent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 13:48:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1827999#M353092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T13:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828000#M353093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi annie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I just tried the same thing, and its working perfectly fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. There is no need to even specify reference field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 13:59:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828000#M353093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-18T13:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828001#M353094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is your quantity field a QUAN field (packed, 13 or so) ?&lt;/P&gt;&lt;P&gt;Have you put and filled the field MEINS in your Z-table ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jan 2007 14:00:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828001#M353094</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2007-01-18T14:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828002#M353095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'VE TAKEN MY QUANTITY FIELD OF DATA ELEMENT "MENGE_D" AND ITS REFERENC TABLE  AND REFERENCE UNIT AS "MSEG" "MEINS".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'VE STILL NOT GOT THE OUTPUT.&lt;/P&gt;&lt;P&gt;HAVE I TO FILL SOME OTHER COLUMN OF FIELDCATALOG.&lt;/P&gt;&lt;P&gt;OR IS THE SEQUENCE WRONG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 04:18:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828002#M353095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T04:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828003#M353096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Annie , &lt;/P&gt;&lt;P&gt;  In this case what i feel is since you are giving the data  type so it gets automatically converted to the default format.&lt;/P&gt;&lt;P&gt;So what you can try is for this specific case do not specify the data type , keep it as blank and see .&lt;/P&gt;&lt;P&gt;Hope this will solve the issue , please do revert back with the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 04:23:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828003#M353096</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T04:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828004#M353097</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;in field catalog inttype as p and  and  exponent(3) = '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mention the above in ur ALV this will work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 04:25:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828004#M353097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T04:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828005#M353098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'VE TRIED BOTH WAYS:&lt;/P&gt;&lt;P&gt;1) WITHOUT SPECIFYING THE DATA TYPE&lt;/P&gt;&lt;P&gt;2.) AND WITH SPECIFYING THE INTTYPE AND EXPONENT FIELD BUT IT STILL DOESN'T WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM fill_catalog TABLES   fieldcatalog STRUCTURE it_fieldcatalog&lt;/P&gt;&lt;P&gt;                                  USING    p_tabname&lt;/P&gt;&lt;P&gt;                                           p_fieldname&lt;/P&gt;&lt;P&gt;                                           p_key&lt;/P&gt;&lt;P&gt;                                           p_fielddesc&lt;/P&gt;&lt;P&gt;                                           p_edit&lt;/P&gt;&lt;P&gt;                                           p_fix_clm&lt;/P&gt;&lt;P&gt;                                           p_daty&lt;/P&gt;&lt;P&gt;                                           P_INT&lt;/P&gt;&lt;P&gt;                                           P_EXP.                                           .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  .&lt;/P&gt;&lt;P&gt;  fieldcatalog-tabname    = p_tabname.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fieldname  = p_fieldname.&lt;/P&gt;&lt;P&gt;  fieldcatalog-key        = p_key.&lt;/P&gt;&lt;P&gt;  fieldcatalog-seltext_l  = p_fielddesc.&lt;/P&gt;&lt;P&gt;  fieldcatalog-edit       = p_edit.&lt;/P&gt;&lt;P&gt;  fieldcatalog-fix_column = p_fix_clm.&lt;/P&gt;&lt;P&gt;  fieldcatalog-datatype   = p_daty.&lt;/P&gt;&lt;P&gt;  fieldcatalog-inttype    = P_INT.&lt;/P&gt;&lt;P&gt;  fieldcatalog-EXPONENT(3)   = P_EXP.&lt;/P&gt;&lt;P&gt;  fieldcatalog-col_pos = i.&lt;/P&gt;&lt;P&gt;  APPEND fieldcatalog.&lt;/P&gt;&lt;P&gt;  i = i + 1.&lt;/P&gt;&lt;P&gt;  CLEAR fieldcatalog.&lt;/P&gt;&lt;P&gt;ENDFORM.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    PERFORM fill_catalog  TABLES it_fieldcatalog&lt;/P&gt;&lt;P&gt;      USING 'ITAB' 'MATNR' 'X' 'Material Code' 'X' 'X' ' ' ' ' ' '.&lt;/P&gt;&lt;P&gt;    PERFORM fill_catalog  TABLES it_fieldcatalog&lt;/P&gt;&lt;P&gt;      USING 'ITAB' 'ZMATDES' ' ' 'Material Description' 'X' 'X' ' ' ' ' ' '.&lt;/P&gt;&lt;P&gt;    PERFORM fill_catalog  TABLES it_fieldcatalog&lt;/P&gt;&lt;P&gt;      USING 'ITAB' 'ZMEINS' ' ' 'UNIT' 'X' 'X' ' ' ' ' ' '.&lt;/P&gt;&lt;P&gt;    PERFORM fill_catalog  TABLES it_fieldcatalog&lt;/P&gt;&lt;P&gt;      USING 'ITAB' 'ZQTY1' ' ' 'Quantity Sent' 'X' 'X' 'QUAN' 'P' '0'.&lt;/P&gt;&lt;P&gt;    PERFORM fill_catalog  TABLES it_fieldcatalog&lt;/P&gt;&lt;P&gt;      USING 'ITAB' 'ZEXPVAL' ' ' 'Expected Value' 'X' 'X' 'CURR' ' ' ' ' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PLZ HELP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 05:06:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828005#M353098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: QUANTITY FIELD IN ALV</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828006#M353099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Annie , &lt;/P&gt;&lt;P&gt;   How is the data comming when you display it first i.e. before you edit the content .&lt;/P&gt;&lt;P&gt;Does it occur only when you edit a field or in the intial display it self this is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I basically tried an editable alv with data from MARD table and it does not display any such behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Arun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2007 05:11:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/quantity-field-in-alv/m-p/1828006#M353099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-19T05:11:38Z</dc:date>
    </item>
  </channel>
</rss>

