<?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: Regarding currency and quantity fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429664#M543072</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use the following data types&lt;/P&gt;&lt;P&gt;Currency(amount fields)  use CURR data type&lt;/P&gt;&lt;P&gt;Quantity fields  use QUAN data type&lt;/P&gt;&lt;P&gt;for both of tha baove fields you have to give a reference field &lt;/P&gt;&lt;P&gt;if you are having  defined the Unit for Qty and Currency unit fields in your table give them as reference fields and the same table or&lt;/P&gt;&lt;P&gt;use any std table field like&lt;/P&gt;&lt;P&gt;VBAK-WAERK for Currency field&lt;/P&gt;&lt;P&gt;and EKPO-MEINS  for Qty fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While fetching no special care required&lt;/P&gt;&lt;P&gt;Only while displaying in the output you have to use again the reference field  after the amount and Qty fields like&lt;/P&gt;&lt;P&gt;write: / itab-netwr currency vbak-waerk, &lt;/P&gt;&lt;P&gt;        / itab-menge unit ekpo-meins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Jun 2007 06:26:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-27T06:26:50Z</dc:date>
    <item>
      <title>Regarding currency and quantity fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429663#M543071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to create the currency and quantity fields while creating tables and how to handle these fields while retrieving the data from the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also how to enter the data into these fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:20:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429663#M543071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T06:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency and quantity fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429664#M543072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Use the following data types&lt;/P&gt;&lt;P&gt;Currency(amount fields)  use CURR data type&lt;/P&gt;&lt;P&gt;Quantity fields  use QUAN data type&lt;/P&gt;&lt;P&gt;for both of tha baove fields you have to give a reference field &lt;/P&gt;&lt;P&gt;if you are having  defined the Unit for Qty and Currency unit fields in your table give them as reference fields and the same table or&lt;/P&gt;&lt;P&gt;use any std table field like&lt;/P&gt;&lt;P&gt;VBAK-WAERK for Currency field&lt;/P&gt;&lt;P&gt;and EKPO-MEINS  for Qty fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While fetching no special care required&lt;/P&gt;&lt;P&gt;Only while displaying in the output you have to use again the reference field  after the amount and Qty fields like&lt;/P&gt;&lt;P&gt;write: / itab-netwr currency vbak-waerk, &lt;/P&gt;&lt;P&gt;        / itab-menge unit ekpo-meins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points for useful Answers&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:26:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429664#M543072</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-27T06:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding currency and quantity fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429665#M543073</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;CURRENCY and QUANT fields are special as they need a UNIT that is for currency u need currency type like EURO, USD etc, where as for quantity you need to know the unit that is KM, HOURS etc etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SO whenever you have such fields in your table you need to have a reference field to assign the UNIT for these fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you will create another field in the table for UNIT and make this as a reference for your CURR or QUANT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data will be inserted normally at the same time we have to insert the UNIT field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also when we retrive the data the reference field is used to perform conversion for these fields so that in the UI they appear as per the UNIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ses&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2007 06:30:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-currency-and-quantity-fields/m-p/2429665#M543073</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-06-27T06:30:31Z</dc:date>
    </item>
  </channel>
</rss>

