Skip to Content
author's profile photo Former Member
Former Member

Problem with transfering the data to output file

Hi Gurus,

I am reading the data from a file processing it and sending it line by line to output file. I need to write this file to application server and I am using transfer statement for this one. My output file will be input for RFBIBL00 program. Now, the problem is , in the file, there is an extra empty line at the bottom. Its not supposed to be there. The FI posting session is reading it as an additional line item and it is looking for the details like gl account and all others.

Is there any way that we can get rid of this extra empty line? I used concatenate statement before the transfer.

Thanks in advance,

Regards,

Srinivas.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 06, 2007 at 05:17 PM

    If the line is empty (initial), don't do the transfer.

    Rob

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Blank lines from I_OUTPUT will generate blank lines in your file. Or even if they are not blank, if none of the fields are concatenated, you will also generate a blank line.

      Try:

          IF NOT l_data IS INITIAL.       "<====
            TRANSFER l_data TO dateu.
          ENDIF.
      

      Rob

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2008 at 03:54 PM

    The problem was solved. It is the issue on the FI side, we can not do on our end , so it was solved.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.