‎2007 Mar 14 7:01 AM
WHAT ARE THE ALTERNATIVE STATEMENTS IN HIDE.
I WANT CREATE INTERACTIVE REPORT BUT I DON'T WANT USE HIDE STATEMENT HOW TO CREATE I CREATE PLZ GIVE ME THE EXAMPLE .
‎2007 Mar 14 7:06 AM
Instead of the HIDE statement you can use GET CURSOR statement. This is how u use it:
data: vfield(20), vvalue(20).
AT LINE-SELECTION.
GET CURSOR FIELD vfield VALUE vvalue.
loop at itab where <itab field> = vvalue.
<write output>
endloop.
‎2007 Mar 14 7:07 AM
Hi,
You can you GET CURSOR and SY-LILLI and SY-LISEL instead of the HIDE
Regards
Sudheer
‎2007 Mar 14 7:12 AM
hi
data f1 like mara-matnr.
data: it_mara like table of mara with header line.
select matnr into corresponding fields of table it_mara.
loop at it_mara.
write : / it_mara-matnr.
endloop.
// place cursor on any value.
at line-selection.
get cursor value f1. //this will store the value of the matnr in f1
write : / f1. //gets printed on secondary list.
hope this will help....
‎2007 Mar 14 7:13 AM
hi,
use read line stmrt.
and write in at line selection.
data int type i.
<b>do 3 times.
int = sy-index.
write / int.
enddo.
at line-selection.
read line sy-lilli field value int.
write: int.</b>
regards,
Ananth.
‎2007 Mar 14 7:13 AM
hi
u can use get cursor field also in case of interactive report.
but performance wise hide is better than getcursor field.
hide which stores only one record in sap memory stack .
but in case of get cursor fields all records are stored in sap memory stack.
in get cursor fields case sap memory has more burdon to store the data
comare to hide command.