<?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 separated by pipe in datasets in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363541#M807077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi al,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using 'PIPE' addition in datasets. But the problem is if there is nodata end of file , pipe sysmbol was not coming. if  it is happend in middile of data, pipe was coming .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but end of file it was coming ..please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123|sgjg|X|| | jdgsdjj|35|&lt;/P&gt;&lt;P&gt;still i have 3 fileds end of file ...that is blank data, then it will give pipe sysmbol with that lengh.&lt;/P&gt;&lt;P&gt;correct : 123|sgjg|X|| | jdgsdjj|35|  |  |  |  &lt;/P&gt;&lt;P&gt;regasds,&lt;/P&gt;&lt;P&gt;Aj&lt;/P&gt;&lt;P&gt;pl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Feb 2008 18:52:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-04T18:52:10Z</dc:date>
    <item>
      <title>separated by pipe in datasets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363541#M807077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi al,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using 'PIPE' addition in datasets. But the problem is if there is nodata end of file , pipe sysmbol was not coming. if  it is happend in middile of data, pipe was coming .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but end of file it was coming ..please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;123|sgjg|X|| | jdgsdjj|35|&lt;/P&gt;&lt;P&gt;still i have 3 fileds end of file ...that is blank data, then it will give pipe sysmbol with that lengh.&lt;/P&gt;&lt;P&gt;correct : 123|sgjg|X|| | jdgsdjj|35|  |  |  |  &lt;/P&gt;&lt;P&gt;regasds,&lt;/P&gt;&lt;P&gt;Aj&lt;/P&gt;&lt;P&gt;pl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 18:52:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363541#M807077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T18:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: separated by pipe in datasets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363542#M807078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data : begin of itab occurs 0.
data : matnr   like mara-matnr.
data : pipe1   type c value '|'.
data : ersda   like mara-ersda.
data : piple2  type c value '|'.
data : ernam  like mara-ernam.
data : pipe3  type c value '|'.
data : end of itab.

data : begin of itab1 occurs 0.
data : fields(100) type c.
data : end of itab1.

loop at itab.
  move itab to itab1.
  append itab1.
endloop.
.....
,.,,.,
......

loop at itab1.
   open dataset
   transfer itab1.
endloop.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 19:03:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363542#M807078</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-02-04T19:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: separated by pipe in datasets</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363543#M807079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ajay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Field-symbols :  &amp;lt;fs_field&amp;gt; TYPE ANY.
DATA : l_field(255).
DATA : transfer_stru(1000).

 LOOP AT i_final.
        DO.
          ASSIGN COMPONENT sy-index OF STRUCTURE i_final TO &amp;lt;fs_field&amp;gt;.
          IF sy-subrc EQ 0.
            MOVE &amp;lt;fs_field&amp;gt; TO l_field.
            CONDENSE l_field.
            CONCATENATE transfer_stru '|' l_field INTO transfer_stru.
            CLEAR l_field.
          ELSE.
            EXIT.
          ENDIF.
        ENDDO.
        SHIFT transfer_stru LEFT.
        TRANSFER transfer_stru TO v_file.
        CLEAR transfer_stru.
      ENDLOOP.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Feb 2008 19:08:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/separated-by-pipe-in-datasets/m-p/3363543#M807079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-04T19:08:22Z</dc:date>
    </item>
  </channel>
</rss>

