04-13-2010 12:27 PM
Hi,
i have a requirement where i should not be display the field in the output but need to use the field in the write stmt .
example :
write : / itab-field1 ,
itab-field2.
but in the output list i dont want the field 2 to be dispalyed is there any way for this.
kindly help me out.
thanks and regards,
vikram
04-13-2010 12:31 PM
Dear Vikram,
Are u using the same internal table for display . Is this an ALV Report.?
If its a normal report pass current internal table to another internal table that should not contain the field that u want to display.
With Regards,
Sumodh.P
04-13-2010 12:31 PM
Dear Vikram,
Are u using the same internal table for display . Is this an ALV Report.?
If its a normal report pass current internal table to another internal table that should not contain the field that u want to display.
With Regards,
Sumodh.P
04-13-2010 12:34 PM
What kind of a strange requirement is it. If you dont want to display any field, why are you writing it?
04-13-2010 12:35 PM
Hi Vikram,
Just clear the field value before the write statement. It will solve the issue.
Loop at itab into wa.
clear wa-field1. " say suppose if you dont want to display field1 of itab
write wa-field1
write / wa-field2
Endloop.
04-13-2010 12:36 PM
hiiiiiiiiiii
first of all you make a ALV report
then afte executing the ALV report go to change lay out and in that edirt which field you want to display and save the layout ok
whenever you run program onluy ur selected layout output display
i think it is not possible in classical report
you can do one thing in classical report that clear data from field before the write statement
regards
pranay