<?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: structure creating in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372835#M525835</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;its does not matter from how many tables u get the fields .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when u get a field from one table just check its data type&lt;/P&gt;&lt;P&gt;if it has currency r unit then go to Currency/Quantity tab&lt;/P&gt;&lt;P&gt;there u can find one column name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just add that colum also in u r structure and refere this column in u r structure in &lt;/P&gt;&lt;P&gt;currecny/quantiy tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jun 2007 07:30:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-19T07:30:20Z</dc:date>
    <item>
      <title>structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372829#M525829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have tried to create a structure containing different fields from diffrenet tables.&lt;/P&gt;&lt;P&gt;However it asks me reference type, what is reference type, for example for the field of KEPH table's KST001 field... and what is reference field for a field not from a table,assume I want to add Total as integer, what will the reference type be?&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;Deniz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:18:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372829#M525829</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T07:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372830#M525830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;total TYPE i.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372830#M525830</guid>
      <dc:creator>former_member582701</dc:creator>
      <dc:date>2007-06-19T07:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372831#M525831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deniz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the fields that are currency or quantity you have to add the reference for that.&lt;/P&gt;&lt;P&gt;in you se11 that's a tab call Currency/quantity tab, here u maintained that fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look sample SAP table for your better understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Victor.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372831#M525831</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T07:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372832#M525832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          Data elements have a business meaning (field label, help text, and so on). Up to and including Release 4.0, it was only possible to specify the technical attributes of a data element by specifying a domain. Each domain had to have a predefined Dictionary type assigned to it. This is still possible. However, it is now possible to enter a predefined Dictionary type directly. If you want to ensure that the technical attributes of a group of data elements can only be changed centrally, you should&lt;/P&gt;&lt;P&gt;continue to use domains. &lt;/P&gt;&lt;P&gt;As part of ABAP Objects, you can now designate a data element a reference type and declare global types for references to global classes or interfaces. Note that, in this case, the type of the data element is no longer elementary, but nested. The same applies when you use the predefined types string and rawstring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Reference Type.&lt;/P&gt;&lt;P&gt;Check this URL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/1a/42923ae53dca62e10000000a11402f/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/1a/42923ae53dca62e10000000a11402f/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more info check this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ask.com/web?q=What" target="test_blank"&gt;http://www.ask.com/web?q=What&lt;/A&gt;&lt;EM&gt;is&lt;/EM&gt;reference&lt;EM&gt;type&lt;/EM&gt;in+ABAP&amp;amp;qsrc=1&amp;amp;o=333&amp;amp;l=dir&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:27:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372832#M525832</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T07:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372833#M525833</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;The &amp;lt;u&amp;gt;&amp;lt;b&amp;gt;reference field&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt; is used for the output, the output/input format of a currency field depends on the value of its reference field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if you create a screen using the field KONV-KBETR :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the reference field is RV61A-AWEI1:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you set RV61A-AWEI1 = 3&lt;/P&gt;&lt;P&gt;the value in KONV-KBETR is beeing shown with 3 decimals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you could see 3,000 but this value is automatically stored as 30.00&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you set RV61A-AWEI1 = 2&lt;/P&gt;&lt;P&gt;the value in KONV-KBETR is beeing shown with 2 decimals&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All this convertions are automatically made in according to the value setted in reference field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see this using the statament WRITE with options CURRENCY, try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;PARAMETERS P_KBETR LIKE KONV-KBETR.

WRITE: P_KBETR CURRENCY '3'.
WRITE: / P_KBETR CURRENCY '2'.
WRITE: / P_KBETR CURRENCY '1'.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;Anversha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:28:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372833#M525833</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2007-06-19T07:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372834#M525834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deniz,&lt;/P&gt;&lt;P&gt;When you create a structure or a table,&lt;/P&gt;&lt;P&gt;you need to maintain reference fields for the currency fields.&lt;/P&gt;&lt;P&gt;As a reference table, a system table containing all the valid currencies is assigned or any other table which contains a field with the currency key format. This field is called as reference field.&lt;/P&gt;&lt;P&gt;The assignment of the field containing currency amounts to the reference field is made at runtime. The value in the reference field determines the currency of the amount.&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;In case of quantity field QUAN, reference field will be always of type UNIT,&lt;/P&gt;&lt;P&gt;currency field CURR, reference field will be always of type CUKY.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;It is mandatory to specify reference fields when we create fields of quantity/currency type in data base tables.&lt;/P&gt;&lt;P&gt; Hope u will understand this.&lt;/P&gt;&lt;P&gt;Regards:&lt;/P&gt;&lt;P&gt;Sapna.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;dont forget to assign points....&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:30:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372834#M525834</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: structure creating</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372835#M525835</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;its does not matter from how many tables u get the fields .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when u get a field from one table just check its data type&lt;/P&gt;&lt;P&gt;if it has currency r unit then go to Currency/Quantity tab&lt;/P&gt;&lt;P&gt;there u can find one column name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just add that colum also in u r structure and refere this column in u r structure in &lt;/P&gt;&lt;P&gt;currecny/quantiy tab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jun 2007 07:30:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/structure-creating/m-p/2372835#M525835</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-19T07:30:20Z</dc:date>
    </item>
  </channel>
</rss>

