<?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: message_type_x in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395870#M815392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    QUAN is a datatype used for quantity,  in the statement they are checking whether  the datatype of that field is quan.&lt;/P&gt;&lt;P&gt;if it is quan it executes the statements after it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ls_fcat-fieldname EQ 'QUAN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-scrtext_s = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-scrtext_m = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-scrtext_l = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-reptext = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-seltext = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-DECIMALS_O = '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above statements we assign 3 decimal points i.e. if u give 20,000 u get 20 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Feb 2008 09:42:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-15T09:42:27Z</dc:date>
    <item>
      <title>message_type_x</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395869#M815391</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;I was just going through the threads related to Message_type_x and found one as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;declare the field qty in the the itab as follows&lt;/EM&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;data: begin of itab occurs 0,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;qty type p decimals 2,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;      &lt;EM&gt;end of itab.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;and then in the fieldcatalog make sure that the datatype is set correctly.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_fcat-datatype = 'QUAN'.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I didn't get what he mean to say by &lt;/P&gt;&lt;P&gt;&lt;EM&gt;ls_fcat-datatype = 'QUAN'.&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone here please let me know about the same.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;K.Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 09:22:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395869#M815391</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2008-02-15T09:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: message_type_x</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395870#M815392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;    QUAN is a datatype used for quantity,  in the statement they are checking whether  the datatype of that field is quan.&lt;/P&gt;&lt;P&gt;if it is quan it executes the statements after it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ls_fcat-fieldname EQ 'QUAN'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_fcat-scrtext_s = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-scrtext_m = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-scrtext_l = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-reptext = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-seltext = 'QUANTITY'.&lt;/P&gt;&lt;P&gt;wa_fcat-DECIMALS_O = '3'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the above statements we assign 3 decimal points i.e. if u give 20,000 u get 20 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sreelakshmi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 09:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395870#M815392</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T09:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: message_type_x</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395871#M815393</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;Similar to how DATS is a datatype for date fields, similarly QUAN is a data type for quantity (packed with decimal) fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All possible data types are stored under the possible values in domain DATATYPE with a short description to help you understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to se11 , in Domain enter DATATYPE and check Value Range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QUAN	Quantity field, points to a unit field with format UNIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 09:45:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395871#M815393</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-15T09:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: message_type_x</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395872#M815394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sree,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot.when the fieldcatalog is declared as  below&lt;/P&gt;&lt;P&gt;DEFINE m_fieldcat.&lt;/P&gt;&lt;P&gt;    itfieldcat-fieldname = &amp;amp;1.&lt;/P&gt;&lt;P&gt;    itfieldcat-col_pos = &amp;amp;2.&lt;/P&gt;&lt;P&gt;    itfieldcat-seltext_l = &amp;amp;3.&lt;/P&gt;&lt;P&gt;    itfieldcat-do_sum = &amp;amp;4.&lt;/P&gt;&lt;P&gt;    itfieldcat-outputlen = &amp;amp;5.&lt;/P&gt;&lt;P&gt;    append itfieldcat to itfieldcat.&lt;/P&gt;&lt;P&gt;    clear itfieldcat.&lt;/P&gt;&lt;P&gt;  END-OF-DEFINITION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  m_fieldcat 'LFBNR' '' 'GR NO' '' 10.&lt;/P&gt;&lt;P&gt;  m_fieldcat 'BELNR' '' 'MIRO NO' '' 10.&lt;/P&gt;&lt;P&gt;  m_fieldcat 'QUANTITY' '' 'QTY' '' 13.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   ...&lt;/P&gt;&lt;P&gt;   ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then how to check the datatype in the fieldcatalog.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Feb 2008 09:48:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/message-type-x/m-p/3395872#M815394</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2008-02-15T09:48:10Z</dc:date>
    </item>
  </channel>
</rss>

