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
979

hi abapers,

can any one clarify these doubts.

1.will the hide statement support deep structures ? in which table hide statement stores data?

2. is it possible to include the standard text in classical reports ?

regards,

kumar.

8 REPLIES 8
Read only

Former Member
0 Likes
927

1)I dnt think that it is stored in any DDIC table. It is just temporarily stored in the memory area.

Read below info provided by SAP.

As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.

You can think of the HIDE area as a table, in which the system stores the names and values of all HIDE fields for each list and line number. As soon as they are needed, the system reads the values from the table.

During list creation, this statement stores the contents of the field <f> and the current line number in the internal HIDE area. When the cursor is positioned on a line in an interactive list event, the stored value is returned to the field <f>.

2) ya u can use fm read_text store text to variable and write this variable where u want.

Read only

Former Member
0 Likes
927

Hi,

1) Yes..Hide supports deep structures..Example mentioned below..ALso the hidden values are not stored in the tables..I believe it will be stored in a memory..

DATA: BEGIN OF wa,

material TYPE mara,

END OF wa.

wa-material-matnr = 'MATERIAL1'.

WRITE: wa-material-matnr.

HIDE wa-material-matnr.

CLEAR:wa-material-matnr.

AT LINE-SELECTION.

WRITE: / wa-material-matnr.

CLEAR: wa-material-matnr.

2) You cannot directly use INCLUDE statement like you do it in sap script..

Instead you can call the FM READ_TEXT to get the text and print..

Thanks,

Naren

Read only

Former Member
0 Likes
927

Hi,

You use the HIDE technique while creating a list level to store line-specific information for later use. As for as my knowledge this should be support Deep structures also.

You can think of the HIDE area as a table, in which the system stores the names and values of all HIDE fields for each list and line number. As soon as they are needed, the system reads the values from the table.There is no such table to store this values permanently. the HIDE area will contain the values while runing the Report.

Yes, you can write the Standard text in the Classical report. when you click a field, get the value based on GET CURSOR, then use the READ_TEXT and put the text in a internal table and display it

Regards

Sudheer

Read only

0 Likes
927

Thanks for ur response.

Please clarify this doubt also.

Is it possible to insert logo in a classical report ?

Regards,

Kumar.

Read only

0 Likes
927

i think in simple report deffinatly it have some gud technicue . but if u do coding abap-oops than it is possible.

Read only

0 Likes
927

Hi kishan,

Thanks for ur prompt reply.

can u please tell me the procedure to insert logo in classical report ?

Regards,

Kumar.

Read only

0 Likes
927

check out this sap example <b>sap_picture_demo</b>

Read only

Former Member
0 Likes
927

Hi,

I believe you cannot insert logo in classical report..But you can in ALV GRID..

Thanks,

Naren