Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

is there any option of hiding ( no display) a field from the output list.?

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

former_member536879
Active Contributor
0 Kudos

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

4 REPLIES 4

former_member536879
Active Contributor
0 Kudos

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

Former Member
0 Kudos

What kind of a strange requirement is it. If you dont want to display any field, why are you writing it?

Former Member
0 Kudos

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. 

Pranay_Panchbha
Participant
0 Kudos

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