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: 

hide and getcursor

Former Member
0 Kudos

hi wats hide statement ? wat is getcursor? wats the difference between hide and getcursor?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi,

hide: it willl stores the selected values in a temporary stroage area.when using hide if we click anywhere(ex:blank spaces also) in the basic list it will dispalys the secondary list.this is the main disadvantage with hide.

HIDE wa_kna1-kunnr.

getcursor: when using the get cursor if we click on the particular field it will dispalys the secondary list.

GET CURSOR FIELD value.

thanks,

raji

8 REPLIES 8

Former Member
0 Kudos

Get cursor field <fld> - transfers field name of field which the cursor is positioned (in screen) to <fld>.

Hide - do not display field when WRITE.

Get Cursor

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/get_curs.htm

Hide

http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/hide.htm

0 Kudos

k...i need exact therotical meaning of get cusrsor and hide statement( tel me interview ponit)

Former Member
0 Kudos

both are doing same function, i.e its is used for detailed list(interactive list).

the main diff b/w is:

hide: it's for single field only.. if u want more field u have to give in explicite i.e with in loop after write stm

hide: tname-flield.

get cursor: it's for all field in tht internal table.

Former Member
0 Kudos

HI....

HIDE is used generally when you want to display secondary lists in your output before using write statement.

the field which is used in hide statement i used to display the output in the secondary lists.

get cursor is used for refering all the fields of an internal table.

Former Member
0 Kudos

hi,

hide: it willl stores the selected values in a temporary stroage area.when using hide if we click anywhere(ex:blank spaces also) in the basic list it will dispalys the secondary list.this is the main disadvantage with hide.

HIDE wa_kna1-kunnr.

getcursor: when using the get cursor if we click on the particular field it will dispalys the secondary list.

GET CURSOR FIELD value.

thanks,

raji

0 Kudos

k.......it oky i need exact meaning of get cursor and hide statement( tel me interview point)

0 Kudos

Hi.

Please don't discuss interview questions in the forums! Searching SDN and help.sap.com will give you lots of ressources dealing with your question.

I will lock this thread.

Best regards,

Jan Stallkamp

Former Member
0 Kudos

\[removed by moderator as it was just a copy and paste answer of someone else's work without giving a source\]

Edited by: Jan Stallkamp on Jun 19, 2008 10:04 AM