<?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: conversion... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427677#M542467</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;conversion: converting the data from old format to new format.&lt;/P&gt;&lt;P&gt;Example: if old company code is 20 then newcompany code will change to 20002&lt;/P&gt;&lt;P&gt;conversion is use full when changing the system or upgradation the system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 10:28:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T10:28:49Z</dc:date>
    <item>
      <title>conversion...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427676#M542466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;can anyone pls brief me up with the concept of 'conversions' .. how it is done and and wht exactly it is..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 10:24:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427676#M542466</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T10:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: conversion...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427677#M542467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;conversion: converting the data from old format to new format.&lt;/P&gt;&lt;P&gt;Example: if old company code is 20 then newcompany code will change to 20002&lt;/P&gt;&lt;P&gt;conversion is use full when changing the system or upgradation the system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Suresh.D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 10:28:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427677#M542467</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T10:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: conversion...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427678#M542468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer the links -&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="3068314"&gt;&lt;/A&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="3083474"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 10:29:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427678#M542468</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-07-05T10:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: conversion...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427679#M542469</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;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Type Conversions&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Every time you assign a data object to a variable, the data types involved must either be&lt;/P&gt;&lt;P&gt;compatible, that is, their technical attributes (data type, field length, number of&lt;/P&gt;&lt;P&gt;decimal places) must be identical, or the data type of the source field must be convertible into the&lt;/P&gt;&lt;P&gt;data type of the target field.&lt;/P&gt;&lt;P&gt;In ABAP, two non-compatible data types can be converted to each other if a corresponding&lt;/P&gt;&lt;P&gt;conversion rule exists. If data types are compatible, no conversion rule is necessary.&lt;/P&gt;&lt;P&gt;If you use the MOVE statement to transfer values between non-compatible objects, the value of&lt;/P&gt;&lt;P&gt;the source object is always converted into the data type of the target object. With all ABAP&lt;/P&gt;&lt;P&gt;operations that perform value assignments between data objects (for example, arithmetic&lt;/P&gt;&lt;P&gt;operations or filling internal tables), the system handles all the necessary type conversions as for&lt;/P&gt;&lt;P&gt;the MOVE statement. If you try to assign values between two data types for which no conversion&lt;/P&gt;&lt;P&gt;rule exists, a syntax error or runtime error occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Conversion Rules for Elementary Data Types&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;There are eight predefined ABAP data types. There are 64 possible type combinations&lt;/P&gt;&lt;P&gt;between these elementary data types. ABAP supports automatic type conversion and length&lt;/P&gt;&lt;P&gt;adjustment for all of them except type D (date) and type T (time) fields which cannot be&lt;/P&gt;&lt;P&gt;converted into each other.&lt;/P&gt;&lt;P&gt;The following conversion tables define the rules for converting elementary data types for all&lt;/P&gt;&lt;P&gt;possible combinations of source and target fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Conversion Rules for References&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;ABAP currently uses class and interface variables within ABAP Objects. Both are&lt;/P&gt;&lt;P&gt;pointers to objects. You can assign values to them in the following combinations:&lt;/P&gt;&lt;P&gt;  If the two class references are incompatible, the class of the target field must be the&lt;/P&gt;&lt;P&gt;predefined empty class OBJECT.&lt;/P&gt;&lt;P&gt;  When you assign a class reference to an interface reference, the class of the source field&lt;/P&gt;&lt;P&gt;must implement the interface of the target field.&lt;/P&gt;&lt;P&gt;  If two interface references are incompatible, the interface of the target field must contain&lt;/P&gt;&lt;P&gt;the interface of the source field as a component.&lt;/P&gt;&lt;P&gt;  When you assign an interface reference to a class reference, the class of the source field&lt;/P&gt;&lt;P&gt;must be the predefined empty class OBJECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Conversion Rules for Structures&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;ABAP has one rule for converting structures that do not contain internal tables as components.&lt;/P&gt;&lt;P&gt;There are no conversion rules for structures that contain internal tables. You can only make&lt;/P&gt;&lt;P&gt;assignments between structures that are compatible.&lt;/P&gt;&lt;P&gt;You can combine convertible structures in the following combinations:&lt;/P&gt;&lt;P&gt;  Converting a structure into a non-compatible structure&lt;/P&gt;&lt;P&gt;  Converting elementary fields into structures&lt;/P&gt;&lt;P&gt;  Converting structures into elementary fields&lt;/P&gt;&lt;P&gt;In each case, the system first converts all the structures concerned to type C fields and then&lt;/P&gt;&lt;P&gt;performs the conversion between the two resulting elementary fields. The length of the type C&lt;/P&gt;&lt;P&gt;fields is the sum of the lengths of the structure components. This rule applies to all operations&lt;/P&gt;&lt;P&gt;using structures that do not contain internal tables.&lt;/P&gt;&lt;P&gt;If a structure is aligned, the filler fields are also added to the length of the type C field.&lt;/P&gt;&lt;P&gt;If you convert a structure into a shorter structure, the original structure is truncated. If you&lt;/P&gt;&lt;P&gt;convert a structure into a longer one, the parts at the end are not initialized according to their&lt;/P&gt;&lt;P&gt;type, but filled with blanks.&lt;/P&gt;&lt;P&gt;It can make sense to assign a structure to another, incompatible, structure if, for example, the&lt;/P&gt;&lt;P&gt;target structure is shorter than the source, and both structures have the same construction over&lt;/P&gt;&lt;P&gt;the length of the shorter structure. However, numeric components of structures that are filled in&lt;/P&gt;&lt;P&gt;incompatible assignments may contain nonsensical or invalid values that may cause runtime&lt;/P&gt;&lt;P&gt;errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;Conversion Rules for Internal Tables&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;Internal tables can only be converted into other internal tables. You cannot convert them into&lt;/P&gt;&lt;P&gt;structures or elementary fields.&lt;/P&gt;&lt;P&gt;Internal tables are convertible if their line types are convertible. The convertibility of internal&lt;/P&gt;&lt;P&gt;tables does not depend on the number of lines.&lt;/P&gt;&lt;P&gt;Conversion rules for internal tables:&lt;/P&gt;&lt;P&gt;  Internal tables which have internal tables as their line type are convertible if the internal&lt;/P&gt;&lt;P&gt;tables which define the line types are convertible.&lt;/P&gt;&lt;P&gt;  Internal tables which have line types that are structures with internal tables as&lt;/P&gt;&lt;P&gt;components are convertible according to the conversion rules for structures if&lt;/P&gt;&lt;P&gt;the structures are compatible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 10:32:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427679#M542469</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T10:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: conversion...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427680#M542470</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;Conversions are usually done with the help of Function Modules provided by SAP&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are used to display data in local format, as in if the data is stored in German &lt;/P&gt;&lt;P&gt;language in the database but you click to display all entries,&lt;/P&gt;&lt;P&gt;then it will show it in English or the language of Login, with the help of conversion modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These conversions are not limited to Texts but all type of data such as currency, date, time, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. to find conversion routines go to se37 -&amp;gt; and search for 'CONVERSION*'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Samson Rodrigues.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 10:36:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/conversion/m-p/2427680#M542470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T10:36:40Z</dc:date>
    </item>
  </channel>
</rss>

