<?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 ASSIGN Generic Data Structure to Explicit Structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059815#M1810762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some difficult to find the correct syntax to assign a Generic Structure to an Explicit Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, find my code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration METHOD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;P_BRAND Importing Type SPART&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;T_CUSTOINF Importing Type TY_T_ZPLPCUSTINTERFAC&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;NAME_STRUC Importing Type STRING&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;TABLE_IN Importing Type TY_T_RSBANK&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;FOOTER Changing Type ZINT_RSBANKINV_FILE_FOOTER&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;HEADER Changing Type ZINT_RSBANKINV_FILE_HEADER&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPLEMENTATION:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;mapping_t_rsbank_file_foothead&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;" /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CONSTANTS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lk_ostruct&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;char10 &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;VALUE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'lo_struct'&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;lt;fs&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE any&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;lt;fs_header&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ZINT_RSBANKINV_FILE_FOOTER&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;* FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE any .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lo_struct&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE REF TO data&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_custoinf&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;zplpcustinterfac&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lt_fieldcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lvc_t_fcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_fieldcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lvc_s_fcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lv_tabfield&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;string&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CREATE DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;lo_struct&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;name_struc&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;) .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;* Get Fieldcat from Structure&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; lt_fieldcat &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;zclplp_tools&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;get_fieldcat_from_struct&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;name_struc &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;) .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LOOP AT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lt_fieldcat &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INTO&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_fieldcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CONCATENATE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lk_ostruct&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_fieldcat&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;fieldname&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INTO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lv_tabfield&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;SEPARATED BY &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;zclplp_tools&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;separator_arrow&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ASSIGN &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lv_tabfield&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;lt;fs&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;READ TABLE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;t_custoinf&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INTO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_custoinf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;WITH KEY &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;name &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_fieldcat&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;fieldname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fs&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_custoinf&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;low&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ENDLOOP&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;BREAK-POINT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;header &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;?= &lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;lo_struct&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: #ff0000; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;"// DUMP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: black; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: black; background: white; font-size: 10pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: black; background: white; font-size: 10pt; font-family: 'Courier New';"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thx.&lt;/P&gt;&lt;P&gt;Rachid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Feb 2014 11:27:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-02-24T11:27:04Z</dc:date>
    <item>
      <title>ASSIGN Generic Data Structure to Explicit Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059815#M1810762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some difficult to find the correct syntax to assign a Generic Structure to an Explicit Structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, find my code below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration METHOD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;P_BRAND Importing Type SPART&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;T_CUSTOINF Importing Type TY_T_ZPLPCUSTINTERFAC&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;NAME_STRUC Importing Type STRING&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;TABLE_IN Importing Type TY_T_RSBANK&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="color: #000000;"&gt;FOOTER Changing Type ZINT_RSBANKINV_FILE_FOOTER&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;HEADER Changing Type ZINT_RSBANKINV_FILE_HEADER&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMPLEMENTATION:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;METHOD &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;mapping_t_rsbank_file_foothead&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;" /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CONSTANTS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lk_ostruct&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;char10 &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;VALUE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s331"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;'lo_struct'&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;lt;fs&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE any&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;FIELD-SYMBOLS &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;lt;fs_header&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ZINT_RSBANKINV_FILE_FOOTER&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;* FIELD-SYMBOLS &amp;lt;fs&amp;gt; TYPE any .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lo_struct&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE REF TO data&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_custoinf&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;zplpcustinterfac&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lt_fieldcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lvc_t_fcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_fieldcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lvc_s_fcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lv_tabfield&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;string&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CREATE DATA &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;lo_struct&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TYPE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;name_struc&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;&lt;STRONG style="color: #0000ff;"&gt;) .&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;SPAN class="l0s311"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;* Get Fieldcat from Structure&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp; lt_fieldcat &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;zclplp_tools&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;get_fieldcat_from_struct&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;name_struc &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;) .&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;LOOP AT &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lt_fieldcat &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INTO&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_fieldcat&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;CONCATENATE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lk_ostruct&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ls_fieldcat&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;fieldname&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INTO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lv_tabfield&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;SEPARATED BY &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;zclplp_tools&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;separator_arrow&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ASSIGN &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;lv_tabfield&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;TO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;lt;fs&amp;gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;READ TABLE &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;t_custoinf&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;INTO &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_custoinf&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;WITH KEY &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;name &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_fieldcat&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;fieldname&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;fs&amp;gt; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;= &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;ls_custoinf&lt;/SPAN&gt;&lt;SPAN class="l0s701"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;-&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;low&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;ENDLOOP&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;BREAK-POINT&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&lt;SPAN class="l0s521"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;header &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;?= &lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style="color: #ff0000; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;lo_struct&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: #ff0000; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;STRONG&gt;&lt;SPAN class="l0s551"&gt;&lt;SPAN lang="EN-US" style="font-size: 10pt;"&gt;"// DUMP&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: none repeat scroll 0% 0% white; font-size: 10pt;"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: black; font-size: 10pt; background: white; font-family: 'Courier New';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN lang="EN-US" style="font-family: 'Courier New'; background: white; color: black; font-size: 10pt;"&gt;&lt;SPAN style=": ; color: black; background: white; font-size: 10pt; font-family: 'Courier New';"&gt;&lt;SPAN style="color: black; background: white; font-size: 10pt; font-family: 'Courier New';"&gt;ENDMETHOD&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thx.&lt;/P&gt;&lt;P&gt;Rachid.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 11:27:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059815#M1810762</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-24T11:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN Generic Data Structure to Explicit Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059816#M1810763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Find it:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;Assign lo_struct -&amp;gt;* to &amp;lt;FS&amp;gt;.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;header = &amp;lt;fs&amp;gt;.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 11:35:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059816#M1810763</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-24T11:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: ASSIGN Generic Data Structure to Explicit Structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059817#M1810764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;one uses ?= assignment with objects. Your "header" is a plain structure (I suppose). You can't assign those. You could try looping through the components of &lt;SPAN style="color: #000000; font-size: 12px;"&gt;HEADER&lt;/SPAN&gt; (do-enddo, assign component sy-index xyz of structure lo_struct to &amp;lt;value&amp;gt;). But for this purpose you would need to change the approach. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use RTTI / RTTS for this purpose - CL_ABAP_STRUCTDESCR=&amp;gt;DESCRIBE_BY_NAME( &lt;SPAN style="color: #000000; font-size: 12px;"&gt;NAME_STRUC&lt;/SPAN&gt; ), loop through the components of the structure in a cycle - get components by CL_ABAP_STRUCTDESCR=&amp;gt;GET_COMPONENTS( ) and process as written.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2014 11:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/assign-generic-data-structure-to-explicit-structure/m-p/10059817#M1810764</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-02-24T11:41:44Z</dc:date>
    </item>
  </channel>
</rss>

