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

output data

hi all,

in the program we have date column .

date column exists in header table, we have 10 line items for the same material date coulmn exists correctly in first row where as

in remaining columns the date is dispalying as 00.00.0000 i dont need this.

The output is

MATERIAL PLANT DATE LINEITEM AMOUNT

12001 99 23.02.2009 01 400

00.00.0000 02 602

00.00.0000 03 487

00.00.0000 04 890

WE need the output as

MATERIAL PLANT DATE LINEITEM AMOUNT

12001 99 23.02.2009 01 400

02 602

03 487

04 890

please let me know what to do not to come 00.00.0000 values in date column.

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 09:56 AM

    Hello

    1. In classical report:

    write itab-budat no-zero.

    2. In ALV:

    LS_FCAT-NO_ZERO = 'X'.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 09, 2009 at 09:59 AM

    use

    delete itab where data is '00.00.0000'

    or delete table itab where date is initial .

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 09, 2009 at 10:01 AM

    In a report you can use this statement:

    WRITE date NO-ZERO

    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.