<?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: problem in structure in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665987#M882922</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can you please elaborate your solution. It is not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please not that there is a file input on F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Apr 2008 21:03:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-10T21:03:50Z</dc:date>
    <item>
      <title>problem in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665983#M882918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hye abapers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to upload the structure of a DB table to internal area. &lt;/P&gt;&lt;P&gt;Input, DB table is a parameter p_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My input is table zscp_circle_m which has strucutre as&lt;/P&gt;&lt;P&gt;mandt&lt;/P&gt;&lt;P&gt;circle_id&lt;/P&gt;&lt;P&gt;circle_desc&lt;/P&gt;&lt;P&gt;p_circle&lt;/P&gt;&lt;P&gt;status.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By executing the code, the field symbol gt_table which should contain the entire structure of zscp_circle_m is having only&lt;/P&gt;&lt;P&gt;mandt&lt;/P&gt;&lt;P&gt;circle_id &lt;/P&gt;&lt;P&gt;circle_desc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me in solving this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code for your reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data: gr_dref type ref to data.
 
FIELD-SYMBOLS: &amp;lt;f_table&amp;gt; TYPE ANY,
               &amp;lt;f_up_table&amp;gt; type any,
               &amp;lt;gt_table&amp;gt;  TYPE STANDARD TABLE.
 
PARAMETERS: p_table LIKE dd02l-tabname   OBLIGATORY.
 
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
    EXPORTING
      program_name  = syst-repid
      dynpro_number = syst-dynnr
    CHANGING
      file_name     = p_fname
    EXCEPTIONS
      mask_too_long = 1
      OTHERS        = 2.
  IF sy-subrc  0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
 
START-OF-SELECTION.
  
CREATE DATA gr_dref TYPE table of (p_table).
ASSIGN gr_dref-&amp;gt;* TO &amp;lt;gt_table&amp;gt;.
 

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By debuggin it is clear that the whole structure is not copied.. what might be the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:26:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665983#M882918</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T18:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665984#M882919</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;Might be it showing only primary keys of ur ztable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check the syntax again to assign it to field symbol..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Syed A&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:33:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665984#M882919</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T18:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665985#M882920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this example....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://sapprograms.blogspot.com/2008/04/get-fields-of-any-table.html" target="test_blank"&gt;http://sapprograms.blogspot.com/2008/04/get-fields-of-any-table.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 18:39:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665985#M882920</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T18:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665986#M882921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Write the below code in start-of-selection instead of your code. It will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CREATE DATA gr_dref TYPE STANDRAD TABLE OF (p_table).&lt;/P&gt;&lt;P&gt;ASSIGN gr_dref-&amp;gt;* TO &amp;lt;gt_table&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 20:50:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665986#M882921</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T20:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: problem in structure</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665987#M882922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Srinivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Can you please elaborate your solution. It is not clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please not that there is a file input on F4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Imran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Apr 2008 21:03:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-structure/m-p/3665987#M882922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-10T21:03:50Z</dc:date>
    </item>
  </channel>
</rss>

