Skip to Content
0
Former Member
Jul 08, 2009 at 08:45 AM

Report is showing extra lines in output

56 Views

Hi,

I have a Account Receiving Report. My problem is that in report i have 2 radio buttons..First is for Base Line date and Second for Due date. When i execute the report from both the options, data is coming same.. Means in Due Date column, date is coming after the curent date (ex. today is 08-07-2009 and due date is showing 05-08-2009 also).. but i want that date should be less that current date... for that i code few line i.e. (see in BOLD)

IF bsdtflag EQ 'X'.

ntage = dd_stida - rtab-zfbdt.

ELSE.

ntage = dd_stida - faede-netdt .

********

IF faede-netdt > sy-datum.

DELETE rtab.

CLEAR rtab.

ENDIF.

********

ENDIF.

It works in Due date option, but now problem is coming that where is the data showing, above that data, 2 rows showing... means 2 rows are that, that dates are greater than current date.. these rows are totally blank showing but in due date column date is showing (i.e 05-08-2009)...

I don't want to show that rows...please tell me how can i do that...

Regards....