<?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: Smartforms Reference fields in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282596#M153092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose your requirement is "How to display currency and quantity fields in Smartforms".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the solution.&lt;/P&gt;&lt;P&gt;Suppose the quantity variable is MENGE from table EKPO&lt;/P&gt;&lt;P&gt;In the Global definition, declare a variable&lt;/P&gt;&lt;P&gt;WA_MENGE type ekpo-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create program lines in the smartform.&lt;/P&gt;&lt;P&gt;There , in the input parameters , put MENGE and in the output parameter, put WA_MENGE.Now assign Menge to WA_MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text element where u will display the text, instead of giving MENGE, give WA_MENGE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Apr 2006 11:16:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-04T11:16:14Z</dc:date>
    <item>
      <title>Smartforms Reference fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282594#M153090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have made a smartform with some currency and amount fields. When I´m calling the form from the report, I´m getting the error, that I haven´t declared reference fields. I can remember, that I have done that before, but I can´t find the place to declare these fields!&lt;/P&gt;&lt;P&gt;I´m working on a 4.6C System. Shouldn´t be there a special option in the global data area?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 10:56:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282594#M153090</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T10:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Reference fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282595#M153091</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 Global Definition-&amp;gt;Global Data,declare the character variable whose output lenght is equal to that of that field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Program logic,use the field as input parameter and the variable you declared as output parameter.&lt;/P&gt;&lt;P&gt;In the coding,assign the value to the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then instead of printing the field,print the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer this thread:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1234847"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayathri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 11:02:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282595#M153091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T11:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Reference fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282596#M153092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose your requirement is "How to display currency and quantity fields in Smartforms".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the solution.&lt;/P&gt;&lt;P&gt;Suppose the quantity variable is MENGE from table EKPO&lt;/P&gt;&lt;P&gt;In the Global definition, declare a variable&lt;/P&gt;&lt;P&gt;WA_MENGE type ekpo-menge.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create program lines in the smartform.&lt;/P&gt;&lt;P&gt;There , in the input parameters , put MENGE and in the output parameter, put WA_MENGE.Now assign Menge to WA_MENGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the text element where u will display the text, instead of giving MENGE, give WA_MENGE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope your query is satisfied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sylendra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 11:16:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282596#M153092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T11:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Reference fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282597#M153093</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;For calculation purpose you can use the same field, but for printing a quant/curr field u need to pass it to a variable of type c of same length and then use it for printing in smartforms.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a variable as the same type of the currency field of the table which u are using in Global Definition-Global Data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;v_variable type vbrp-fkimg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chk this link for a detailed explanation:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="1263704"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anjali&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 11:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282597#M153093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-04T11:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: Smartforms Reference fields</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282598#M153094</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;1. In Global Definitions-&amp;gt;Global Data,declare the structure as follows.&lt;/P&gt;&lt;P&gt;say for ex...&lt;/P&gt;&lt;P&gt;Mara type Mara&lt;/P&gt;&lt;P&gt;wa1  type mara&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.In Global Definitions-&amp;gt;Currency/Quantity Fields,&lt;/P&gt;&lt;P&gt;wa1-ntgew MARA-GEWEI CURR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.If so,kindly reward points.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Apr 2006 11:37:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/smartforms-reference-fields/m-p/1282598#M153094</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-04-04T11:37:17Z</dc:date>
    </item>
  </channel>
</rss>

