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

HI URGENT

hi all,

what is meant REUSE_ALV_VARIANT_DEFAULT_GET?

what is used for it.??

what is meant REUSE_ALV_VARIANT_F4?

what is used for it??

what is meant REUSE_ALV_VARIANT_EXISTENCE?

what is used for it?

reply me soon...

give u reward point if useful..

thx,

s.suresh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2008 at 10:26 AM

    Hi

    1. REUSE_ALV_VARIANT_DEFAULT_GET

    Read default display variant (description only, w/o field catalog)

    Provides the default variant for the list specified in the structure parameter CS_VARIANT of a program

    2. REUSE_ALV_VARIANT_F4

    Display variant selection dialog box

    Possible entries help, if the variant is defined explicitly as an input field on a screen. The selection must be specified by at least partially filling the parameter structure IS_VARIANT.

    3. REUSE_ALV_VARIANT_EXISTENCE

    Checks whether a display variant exists

    This function module checks the existence in the database of a display variant passed in the interface

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2008 at 10:26 AM

    SELECTING THE VARIANTS FOR INITIAL LIST DISPLAY (DEFAULT VARIANT)

    The variants in the list display can be both user-specific and general. The user can programmatically set the initial (default) variant for list display.

    The default variant can be found using the function module 'REUSE_ALV_VARIANT_DEFAULT_GET'.

    Sample code:

    CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'

    EXPORTING

    i_save = variant save condition (A=all, U = user-specific)

    CHANGING

    cs_variant = internal table containing the program name (and the default variant---optional)

    EXCEPTIONS

    not_found = 2.

    The user can also choose from the list of existing variants using the function module ‘REUSE_ALV_VARIANT_F4’.

    award if helpful

    keep rockin

    vivek

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2008 at 10:27 AM

    Excellent subject.

    Could you not of used

    ALV Questions (That I couldn't be bothered using the search for).

    Is it really that urgent.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 09:15 AM

    hi s. suresh

    These FM Are basically meant to deal with the Variants of ALV layout. and are used in runtime of ALV Grid and fieldcatalog.

    we can save the layout of the alv grid/list and while running choose the speified variant and get the output.

    1) Reuse_alv_variant_default_get:

    Provides the default variant for the list specified in the structure parameter CS_VARIANT of a program.

    2) Reuse_alv_variant_F4:

    Display variant selection dialog box. Possible entries help, if the variant is defined explicitly as an input field on a screen. The selection must be specified by at least partially filling the parameter structure IS_VARIANT.

    3) Reuse_alv_variant_existence:

    This function module checks the existence in the database of a display variant passed in the interface.

    rewards point if useful

    Rohan Malik

    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.