<?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: How does below code works?KIndly help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497477#M2002915</link>
    <description>&lt;P&gt;create a new reference to data with a dynamic structure which &lt;BR /&gt;name is defined in variable ls_finf-ddicstructureraw&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CREATE DATA ld_proxy_data TYPE (ls_finf-ddicstructureraw).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;assign the reference to a fiel symbol with accessable structure fields like &amp;lt;ls_proxy_input&amp;gt;-field1&lt;BR /&gt;ld_proxy_data: address to the structure (reference)&lt;BR /&gt;ld_proxy_data-&amp;gt;* content to the reference structure (value)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN ld_proxy_data-&amp;gt;* TO &amp;lt;ls_proxy_input&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The name of the component of the structure &amp;lt;ls_proxy_input&amp;gt;&lt;BR /&gt;is stored in ls_finf-rectyperaw, like ls_finf-rectyperaw = 'field1'.&lt;/P&gt;&lt;P&gt;Now &amp;lt;ls_proxy_input&amp;gt;-field1 is accecable via the field symbol &amp;lt;ls_transform_input&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN COMPONENT ls_finf-rectyperaw OF STRUCTURE &amp;lt;ls_proxy_input&amp;gt; TO  &amp;lt;ls_transform_input&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 03 Feb 2022 13:11:31 GMT</pubDate>
    <dc:creator>ThorstenHoefer</dc:creator>
    <dc:date>2022-02-03T13:11:31Z</dc:date>
    <item>
      <title>How does below code works?KIndly help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497475#M2002913</link>
      <description>&lt;P&gt;Dear All,&lt;/P&gt;
  &lt;P&gt;Can anybody kindly guide how below code works?&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;    CREATE DATA ld_proxy_data TYPE (ls_finf-ddicstructureraw). "2263322&lt;BR /&gt;    ASSIGN ld_proxy_data-&amp;gt;* TO &amp;lt;ls_proxy_input&amp;gt;.            "2263322&lt;BR /&gt;    ASSIGN COMPONENT ls_finf-rectyperaw OF STRUCTURE &amp;lt;ls_proxy_input&amp;gt; TO &amp;lt;ls_transform_input&amp;gt;. "2263322&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 Jan 2022 07:48:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497475#M2002913</guid>
      <dc:creator>sanjay_deshpande4</dc:creator>
      <dc:date>2022-01-02T07:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How does below code works?KIndly help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497476#M2002914</link>
      <description>&lt;P&gt;Just debug it. Or maybe you have a precise question?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES: BEGIN OF ty_name,
         comp1 TYPE string,
       END OF ty_name.
FIELD-SYMBOLS: &amp;lt;ls_proxy_input&amp;gt;      TYPE any,
               &amp;lt;ls_transform_input&amp;gt; TYPE any.
DATA: BEGIN OF ls_finf,
        ddicstructureraw TYPE string,
        rectyperaw       TYPE string,
      END OF ls_finf,
      ld_proxy_data TYPE REF TO DATA.
ls_finf-ddicstructureraw = 'TY_NAME'.
ls_finf-rectyperaw = 'COMP1'.
CREATE DATA ld_proxy_data TYPE (ls_finf-ddicstructureraw). "2263322
ASSIGN ld_proxy_data-&amp;gt;* TO &amp;lt;ls_proxy_input&amp;gt;.            "2263322
ASSIGN COMPONENT ls_finf-rectyperaw OF STRUCTURE &amp;lt;ls_proxy_input&amp;gt; TO &amp;lt;ls_transform_input&amp;gt;. "2263322
&amp;lt;ls_transform_input&amp;gt; = 'hello world'.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 09:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497476#M2002914</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2022-01-02T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: How does below code works?KIndly help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497477#M2002915</link>
      <description>&lt;P&gt;create a new reference to data with a dynamic structure which &lt;BR /&gt;name is defined in variable ls_finf-ddicstructureraw&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; CREATE DATA ld_proxy_data TYPE (ls_finf-ddicstructureraw).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;assign the reference to a fiel symbol with accessable structure fields like &amp;lt;ls_proxy_input&amp;gt;-field1&lt;BR /&gt;ld_proxy_data: address to the structure (reference)&lt;BR /&gt;ld_proxy_data-&amp;gt;* content to the reference structure (value)&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN ld_proxy_data-&amp;gt;* TO &amp;lt;ls_proxy_input&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The name of the component of the structure &amp;lt;ls_proxy_input&amp;gt;&lt;BR /&gt;is stored in ls_finf-rectyperaw, like ls_finf-rectyperaw = 'field1'.&lt;/P&gt;&lt;P&gt;Now &amp;lt;ls_proxy_input&amp;gt;-field1 is accecable via the field symbol &amp;lt;ls_transform_input&amp;gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;ASSIGN COMPONENT ls_finf-rectyperaw OF STRUCTURE &amp;lt;ls_proxy_input&amp;gt; TO  &amp;lt;ls_transform_input&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-does-below-code-works-kindly-help/m-p/12497477#M2002915</guid>
      <dc:creator>ThorstenHoefer</dc:creator>
      <dc:date>2022-02-03T13:11:31Z</dc:date>
    </item>
  </channel>
</rss>

