Application Development and Automation 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: 
Read only

hide statement

Former Member
0 Likes
1,058

hi friends,

can we use a hide statement in internal table in interactive reports

is there any problem.

regards,

malleswari.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,037

we use a hide statement in internal table in interactive reports

10 REPLIES 10
Read only

Former Member
0 Likes
1,037

nope.

Read only

Former Member
0 Likes
1,037

no you cannot ,,please read the detaile help given for this command to know more

Read only

former_member404244
Active Contributor
0 Likes
1,037

Hi,

No u can't use..

Regards,

nagaraj

Read only

Former Member
0 Likes
1,038

we use a hide statement in internal table in interactive reports

Read only

0 Likes
1,037

y should we use hide in internal table .

is there any particular requirement for this.

regards,

malleswari.

Read only

0 Likes
1,037

For which ever field you are using HIDE command, those fields can be used for drill down into further reports.

See the help regarding this.

http://help.sap.com/saphelp_46c/helpdata/en/9f/db9d2f35c111d1829f0000e829fbfe/frameset.htm

Regards,

Ravi

Read only

0 Likes
1,037

Hi malleswari,

We use HIDE statement to copy the details to a specialised HIDE area. So that the details could be retrieved in interactive reports. This statement is used in Drill-down reports to get the data and show more information.

Regards

Wenceslaus

Read only

0 Likes
1,037

Hi ,

When you use the hide statement , then the content which folloes yout hide command i.e. value of the field is stored in the memory and when ever the user clicks on that line in the reposrt the data stored is written back to the varaible.

e.g.

you use the command

HIDE IT-MATNR.

in the output when the user clicks on a line item , the control gets transfred to AT LINE-SELCTION event , here if you see the value of the varaible it-matnr , it will ne the value of MATNR at that line.

Regards

Arun

Read only

0 Likes
1,037

>wy should we use hide in internal table .

>is there any particular requirement for this.

we use hide in internal table to be able to read any field of the selected row easily.

even the selected row is available in SY-LISEL it is easy to get the particular field of the selected row, by using hide in internal table

Read only

Former Member
0 Likes
1,037

hi,

what do you mean by hide in internal table?

hide statement is used to store in interactive reports and used to capture the values which we click.

generally they are used as below.

loop at itab.

write: itab-f1.

write: itab-f2.

hide itab-f1.

endloop.

at line-selection.

select x from xyz into itab2 where f1 = itab-f1.

loop at itab2.

write itab2-x.

endloop.

here u are hiding the values itab-f1 and what ever value the user clicks is used in the select statment.

hope it helps.

santhosh