<?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: Type corresponding to UNIT in ABAP program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784107#M1308824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can either use the data element used in the field of the table  or the table field ref for declaring ur data type/const.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: gc_meins type MEINS value '&amp;lt;&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;constants: gc_meins type MSEG-MEINS value '&amp;lt;&amp;gt;'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2009 12:14:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-17T12:14:27Z</dc:date>
    <item>
      <title>Type corresponding to UNIT in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784104#M1308821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a field in table MSEG called meins and its datatype is UNIT  and length is 3.Can you please suggest how should be type declaration corresponding to UNIT length 3 in ABAP program.I am facing problem because i have declared a constant of type string length 3 and when i am trying to move data from that constant to IDOC segment feild (MEINS having dataelement as MEINS, i.e. type UNIT 3). It is giving some numeric convertion exception.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 12:01:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784104#M1308821</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T12:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Type corresponding to UNIT in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784105#M1308822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check the domain for UNIT and use the same.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 12:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784105#M1308822</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-06-17T12:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Type corresponding to UNIT in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784106#M1308823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can declare a constant of type unit as well&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data X type unit. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  OR &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data x type meins.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 12:09:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784106#M1308823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T12:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: Type corresponding to UNIT in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784107#M1308824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u can either use the data element used in the field of the table  or the table field ref for declaring ur data type/const.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants: gc_meins type MEINS value '&amp;lt;&amp;gt;'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;constants: gc_meins type MSEG-MEINS value '&amp;lt;&amp;gt;'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 12:14:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784107#M1308824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T12:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Type corresponding to UNIT in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784108#M1308825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check what is the data type of the IDoc field to which you are moving the data to and declare it as the same.&lt;/P&gt;&lt;P&gt;If it is character, consider unpack statment before moving it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2009 12:18:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784108#M1308825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-17T12:18:25Z</dc:date>
    </item>
    <item>
      <title>Re: Type corresponding to UNIT in ABAP program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784109#M1308826</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 a variable of type 'MEINS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ankur Parab&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2009 05:09:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/type-corresponding-to-unit-in-abap-program/m-p/5784109#M1308826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-18T05:09:32Z</dc:date>
    </item>
  </channel>
</rss>

