Skip to Content
author's profile photo Former Member
Former Member

hide and getcursor

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 05:53 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 05:46 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 05:48 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 05:52 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:20 AM

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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.