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 and getcursor

Former Member
0 Likes
941

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
909

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
Read only

Former Member
0 Likes
909

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

Read only

0 Likes
909

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

Read only

Former Member
0 Likes
909

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.

Read only

Former Member
0 Likes
909

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.

Read only

Former Member
0 Likes
910

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

Read only

0 Likes
909

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

Read only

0 Likes
909

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

Read only

Former Member
0 Likes
909

\[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