Skip to Content
avatar image
Former Member

Blank line in Application server file

Hi,

I am uploading datas from 2 internal tables to Application server file(same file).

I want a blank like after i finish uploading the first internal table.

Need a blank line between two internal table datas.

Kindly help me in solving this issue.

Regards

Sowmmya VB

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 10, 2007 at 08:13 AM

    Hi,

    The data that you are appending to the first internal table for uploading to the file on the Application server,at the end of that internal table,append some blank lines and upload them along wth the internal table.

    In case you have any further clarifications,do let me know.

    Regards,

    Puneet Jhari.

    Message was edited by:

    Puneet Jhari

    Add comment
    10|10000 characters needed characters exceeded

    • hi Sowmya...

      Do this way.. Sample code....

      Data : Blank(100).

      OPEN DATASET P_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.

      LOOP AT ITAB1.

      TRANSFER ITAB1 TO P_FILE.

      ENDLOOP.

      TRANSFER BLANK TO P_FILE. "this will transfer a Blank record.

      LOOP AT ITAB2.

      TRANSFER ITAB2 TO P_FILE.

      ENDLOOP.

      CLOSE DATASET P_FILE.

  • avatar image
    Former Member
    Oct 10, 2007 at 08:13 AM

    Hi Sowmmya,

    Create one temporary Parameter and pass "." to that Parameter.

    Then It will displays the Blank Line.

    Thanks.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2007 at 08:32 AM

    try appending a blank line in your internal table at end of first 1.

    clear itab.

    append itab.

    Add comment
    10|10000 characters needed characters exceeded