<?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: Data transfer between two non compatible structures in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877377#M1140116</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the immediate response. &lt;/P&gt;&lt;P&gt;I've done that, moving the values from local structure to the other one might not be easy.&lt;/P&gt;&lt;P&gt;Because what ever we are talking about is the data transfer between two deep structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me some more insight into how to move the values between these two deep structures?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Dec 2008 09:20:03 GMT</pubDate>
    <dc:creator>jothivenkatesh_m</dc:creator>
    <dc:date>2008-12-12T09:20:03Z</dc:date>
    <item>
      <title>Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877374#M1140113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I  have structure A and proxy generated structure B. Since B is a proxy generated structure, there is a different data type for B when compared to A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically i am trying to pass data in A to a Function Module which is proxy generated one. &lt;/P&gt;&lt;P&gt;So in turn, the Input parameter for FM is B (Again a proxy generated one as mentioned above) which has some prefix.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Say if A has datatype as ABCD, B has datatype as /ZZ/ABCD (Which happens in proxy generation - You have to definitely provide the prefix).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The fields present in both the structures are same except the data type. I mean the domain are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my query here is how can i be able to transfer data of A to B, so that i wont be getting any dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any conversion rules in place for this particular scenario?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly provide your valuable inputs on this issue.&lt;/P&gt;&lt;P&gt;- Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 07:14:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877374#M1140113</guid>
      <dc:creator>jothivenkatesh_m</dc:creator>
      <dc:date>2008-12-12T07:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877375#M1140114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jothi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare a local variable (B_LOCAL) for structure B (Import Parameter for your FM). &lt;/P&gt;&lt;P&gt;Move values of structure from A to B.&lt;/P&gt;&lt;P&gt;Then use B_LOCAL in your Function call and pass the value. Program will not dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 07:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877375#M1140114</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T07:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877376#M1140115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could run transaction BDBS to move data from A to B. It would give you a converssion rule.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 07:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877376#M1140115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877377#M1140116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the immediate response. &lt;/P&gt;&lt;P&gt;I've done that, moving the values from local structure to the other one might not be easy.&lt;/P&gt;&lt;P&gt;Because what ever we are talking about is the data transfer between two deep structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give me some more insight into how to move the values between these two deep structures?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877377#M1140116</guid>
      <dc:creator>jothivenkatesh_m</dc:creator>
      <dc:date>2008-12-12T09:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877378#M1140117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for your response. But in Tx you have mentioned i think they are talking about internal and external structures.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i'm talking about two structures with in the code. One is local structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:21:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877378#M1140117</guid>
      <dc:creator>jothivenkatesh_m</dc:creator>
      <dc:date>2008-12-12T09:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877379#M1140118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i said that you can define a local structure, i meant referring to the deepest structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Data: lt_struct type ref to toplevelstruct-nextlevel-lastlevel.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doing the definition in the above mentioned way, you would be referring to the deepest structure, that would actually contain the field definitions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for e.g.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
Data: lt_struct type ref to Proxy-nextlevel-lastlevel.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;When ever you refer to the field in a proxy structure, you would be referring it this way.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
ltstruct-field
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you got my point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Ram.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram Kumar on Dec 12, 2008 10:42 AM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: ram Kumar on Dec 12, 2008 10:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 09:34:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877379#M1140118</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T09:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Data transfer between two non compatible structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877380#M1140119</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;diefine a dummy variable with string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    use cl_abap_container_utilities-&amp;gt;fill_container _c to get data from structure into dummy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   use cl_abap_container_utilities-&amp;gt;read_container_c to get data from dummy to ur structure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Dec 2008 10:21:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/data-transfer-between-two-non-compatible-structures/m-p/4877380#M1140119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-12T10:21:52Z</dc:date>
    </item>
  </channel>
</rss>

