<?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 downloading (nested type) internal table into file.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244854#M143230</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;Declare the output type as&lt;/P&gt;&lt;P&gt;        BEGIN OF ty_output,&lt;/P&gt;&lt;P&gt;        field(500) TYPE c,&lt;/P&gt;&lt;P&gt;        END OF ty_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the internal table that refer the above.&lt;/P&gt;&lt;P&gt;Try appending the lines from those internal tables to the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Apr 2006 07:31:46 GMT</pubDate>
    <dc:creator>jayanthi_jayaraman</dc:creator>
    <dc:date>2006-04-12T07:31:46Z</dc:date>
    <item>
      <title>Problem downloading (nested type) internal table into file..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244853#M143229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I wanted to download an file in the following structure&lt;/P&gt;&lt;P&gt;Rect TYp&lt;/P&gt;&lt;P&gt;H ..............&lt;/P&gt;&lt;P&gt;KK ..............&lt;/P&gt;&lt;P&gt;KA ..............&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for which i have declared an internal table as below in the source code.. When i download the file &lt;/P&gt;&lt;P&gt;the file is not coming in the above format the KK record is getting merged with H and comes in single line..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to get it in the above format.. can anyone help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Type declaration for the header record&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF TY_Header,&lt;/P&gt;&lt;P&gt;RECTY TYPE CHAR2, "Record ype&lt;/P&gt;&lt;P&gt;LGSID TYPE CHAR10, "Legacy ystem ID&lt;/P&gt;&lt;P&gt;RLOUT TYPE CHAR8, "Rollout ID&lt;/P&gt;&lt;P&gt;ACTIO TYPE CHAR1, "Action Flag&lt;/P&gt;&lt;P&gt;KUNNR TYPE CHAR30, "Customer&lt;/P&gt;&lt;P&gt;KKBER TYPE CHAR4, "Credit Control Area&lt;/P&gt;&lt;P&gt;KRAUS TYPE CHAR11, "Credit Information No.&lt;/P&gt;&lt;P&gt;END OF TY_header.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Type declaration for the Knkk records of the output &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;"input table&lt;/P&gt;&lt;P&gt;TypeS: Begin of TY_KNKK,&lt;/P&gt;&lt;P&gt;RECTY TYPE CHAR2, "Record Type&lt;/P&gt;&lt;P&gt;kraus type kraus_cm. "Credit info number&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE J_1FAKNKK.&lt;/P&gt;&lt;P&gt;"Credit control mgmnt&lt;/P&gt;&lt;P&gt;TypeS: END OF TY_KNKK.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Type declaration for the Knka records of the output &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;input table&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF TY_KNKA,&lt;/P&gt;&lt;P&gt;RECTY TYPE CHAR2. "Record Type&lt;/P&gt;&lt;P&gt;INCLUDE STRUCTURE J_1FAKNKA."Credit.Contl Extn&lt;/P&gt;&lt;P&gt;TYPES END OF TY_KNKA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Type declaration for defining structured type&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;TYPES: BEGIN OF TY_OUT.&lt;/P&gt;&lt;P&gt;INCLUDE TYPE TY_HEADER&lt;/P&gt;&lt;P&gt;as ty_rec renaming with suffix ty_rech.&lt;/P&gt;&lt;P&gt;INCLUDE TYPE TY_KNKK&lt;/P&gt;&lt;P&gt;as ty_KNK renaming with suffix ty_sKNKk.&lt;/P&gt;&lt;P&gt;INCLUDE TYPE TY_KNKA&lt;/P&gt;&lt;P&gt;as ty_KKA renaming with suffix ty_sknka.&lt;/P&gt;&lt;P&gt;TYPES END OF TY_OUT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guhapriyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 06:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244853#M143229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T06:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading (nested type) internal table into file..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244854#M143230</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;Declare the output type as&lt;/P&gt;&lt;P&gt;        BEGIN OF ty_output,&lt;/P&gt;&lt;P&gt;        field(500) TYPE c,&lt;/P&gt;&lt;P&gt;        END OF ty_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declare the internal table that refer the above.&lt;/P&gt;&lt;P&gt;Try appending the lines from those internal tables to the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 07:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244854#M143230</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-04-12T07:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading (nested type) internal table into file..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244855#M143231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, Thank you very much,&lt;/P&gt;&lt;P&gt;     actually i want to download the file in this format..&lt;/P&gt;&lt;P&gt;H  there will be 10 fields&lt;/P&gt;&lt;P&gt;KK there are 100 fields&lt;/P&gt;&lt;P&gt;KA there are 100 fields&lt;/P&gt;&lt;P&gt;     it is coming in this format&lt;/P&gt;&lt;P&gt;but inbetween each line there are more lines of white space is getting added when i check in notepad but in excel it is giving the correct output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to correct it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guhapriyan Subrahmanyam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 07:54:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244855#M143231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-12T07:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: Problem downloading (nested type) internal table into file..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244856#M143232</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;Before downloading,just check the internal table,whether it is having blank lines.&lt;/P&gt;&lt;P&gt;Before calling the FM for download,check it.&lt;/P&gt;&lt;P&gt;If there is blank lines,just delete the blank lines before downloading using delete command.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 08:21:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-downloading-nested-type-internal-table-into-file/m-p/1244856#M143232</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-04-12T08:21:34Z</dc:date>
    </item>
  </channel>
</rss>

