<?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: Dictionary Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734770#M1457654</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...Harald you were  an angel for me today....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the suggestions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 14 Mar 2010 07:33:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-14T07:33:27Z</dc:date>
    <item>
      <title>Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734763#M1457647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a situation where I have to create a dictionary structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did try it and need some advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here for some components, the componenttype is recognised and the "dataType" and "ShortDescription" is set automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Component    componenttype    dataType    Length&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnumer      matnr            CHAR        18    - No problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SOLDTO        land             char         3 - automatically set to 3.Want to increase the length field.How to do it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dlQty         lfimg   - The delivery quantity from the "LIPS" TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason Iam building this structure is that I have to display it in ALV using "cl_gui_alv_grid"  and as far I know(Correct me if Iam wrong),I need to pass a dictionary struct in the parameter "i_structure_name".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL METHOD r_alv-&amp;gt;set_table_for_first_display
      EXPORTING
        i_structure_name = 'MyStructure'// The above defined structure.
        CHANGING
        it_outtab        = it_sflight // Table defined from the above dictionary struct.
        exceptions
        OTHERS           = 1.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to sum the dlQty(Delivery Quantity) column in the dictionary.What datatype it should be it if It has to be summed up in ALV.Can it be of type string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 16:04:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734763#M1457647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T16:04:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734764#M1457648</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;if u want to increase the length try to create data element with the length that you wish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Mar 2010 17:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734764#M1457648</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-12T17:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734765#M1457649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks subhash...&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt; want to sum the dlQty(Delivery Quantity) column in the dictionary.What datatype it should be it if It has to be summed up in &amp;gt;&amp;gt;ALV.Can it be of type string?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about this...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 09:49:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734765#M1457649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-13T09:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734766#M1457650</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;Check this Thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/ABAP/ALV" target="test_blank"&gt;http://wiki.sdn.sap.com/wiki/display/ABAP/ALV&lt;/A&gt;&lt;EM&gt;Display&lt;/EM&gt;Total&lt;EM&gt;Text&lt;/EM&gt;Or&lt;EM&gt;Subtotal&lt;/EM&gt;Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the Above Thread and for more info if required modify your field catalog as mentioned below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_fieldcat-seltext_m = w_reptx-entry. " Your Own Text
      wa_fieldcat-seltext_l = w_reptx-entry.   " Your Own Text
      wa_fieldcat-reptext_ddic   = w_reptx-entry. " Your Own Text
      modify gt_fieldcat from wa_fieldcat index sy-tabix.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Cheerz&lt;/P&gt;&lt;P&gt;Ram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 10:39:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734766#M1457650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-13T10:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734767#M1457651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;if its a quantity field take the data type as QUAN and the length as you wish,it can be summed up&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 20:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734767#M1457651</guid>
      <dc:creator>sachin_soni</dc:creator>
      <dc:date>2010-03-13T20:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734768#M1457652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks guys....&lt;/P&gt;&lt;P&gt;sachin , can an int data type be written to a QUAN FIELD.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Mar 2010 21:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734768#M1457652</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-13T21:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734769#M1457653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure there's the normal conversion rules that apply. Note though that a QUAN field &lt;STRONG&gt;must&lt;/STRONG&gt; reference a field of type UNIT. This is important, because based on the used unit of measure different formatting rules are applied (e.g. how many decimals).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out the help on [Dictionary types|http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/cf/21f2e5446011d189700000e8322d00/frameset.htm] and the corresponding mapping to [ABAP types|http://help.sap.com/SAPHELP_NW70EHP1/helpdata/EN/cf/21f2f2446011d189700000e8322d00/frameset.htm]. Or refer to the online ABAP documentation for [Dictionary types|http://help.sap.com/abapdocu_70/en/ABENBUILT_IN_TYPES_DICTIONARY.htm] and [ABAP types|http://help.sap.com/abapdocu_70/en/ABENBUILT_IN_TYPES_COMPLETE.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Mar 2010 00:18:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734769#M1457653</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-14T00:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dictionary Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734770#M1457654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks...Harald you were  an angel for me today....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the suggestions...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Mar 2010 07:33:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dictionary-structure/m-p/6734770#M1457654</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-14T07:33:27Z</dc:date>
    </item>
  </channel>
</rss>

