Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

REUSE_ALV_VARIANT_DEFAULT_GET

Hi,

Can anybody tell me what is the purpose of REUSE_ALV_VARIANT_DEFAULT_GET and how to use it.

What are the diff reqd parameters in this

Is this compulsory practice to use this function while

making the alv reports.

Thanx in advance.

Tina.

Tags:
Former Member
Former Member replied

Tina,

I am giving you a small piece of reference.

If you want I can send you across some more material

Give your email address.

REUSE_ALV_VARIANT_DEFAULT_GET:

Purpose: Provides the default variant for the list specified in the structure

parameter CS_VARIANT of a program.

Function Call:

CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'

EXPORTING

I_SAVE = 'A'

CHANGING

CS_VARIANT = I_VARIANT

Parameters

I_SAVE :

Description :

Controls the storage mode

Prerequisite:

The IS_VARIANT parameter has the appropriate value.

Value range

' ' = display variants cannot be saved

Defined display variants (e.g. delivered display variants) can be

selected for presentation independently of this flag.

Changes cannot be saved.

'X' = standard save

Display variants can be saved as standard display variants.

User-specific saving is not possible.

'U' = only user-specific saving

The user can only save display variants user-specifically

'A' = standard and user-specific saving

The user can save a display variant user-specifically and

as standard display variant. The user chooses in the display variant

save popup.

CS_VARIANT:

Internal table containing the program name (and the default variant---optional )

Hope this helps

Suruchi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question