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

empty line in internal table

hai

how to append empty line in internal tables

plz urgent

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 12:20 PM

    Hi

    Clear ITAB.

    Append ITAB.

    it will append a single blank line

    or

    pass spaces to all fields of ITAB and use APPEND ITAB.

    Reward points for useful Answers

    Regards

    Anji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 12:49 PM

    hi,

    try like this.

    give APPEND keyword with internal table as

    APPEND ITAB // itab is internal table with header line.

    or add INITIAL keyword to it.

    APPEND INITIAL LINE TO itab.

    or

    ITAB-fld1 = ' '.

    .............

    ...........

    .......

    APPEND ITAB.

    if helpful reward some points.

    with regards,

    Suresh.A

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 12:19 PM

    APPEND INITIAL LINE TO itab.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 12:20 PM

    Hi,

    Sravan,

    Just write appen <internal table Name>

    Reward if useful!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 12:21 PM

    clear itab.

    append itab.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 03, 2007 at 12:33 PM

    HI,

    READ TABLE ITAB WITH KEY VBELN = ' ' VBELP = ' '.

    IF sy-subrc = 0.

    INSERT [wa INTO|INITIAL LINE INTO] itab [INDEX idx].

    ENDIF.

    Regards,

    Nandha

    Reward if it helps

    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.