what is the button to change the variant in alv?
Answer Posted / k.nagalakshmi
It depend when these "specific circumstances" are occurring?
Before displaying the ALV, then force the value of the
variant used in set_table_for_first_display,
CALL METHOD GRID1->SET_TABLE_FOR_FIRST_DISPLAY
EXPORTING
I_STRUCTURE_NAME = 'SFLIGHT'
IS_VARIANT = GS_variant
I_SAVE = X_SAVE
CHANGING
IT_OUTTAB = GT_SFLIGHT.
If you want to simulate multiple "default variant" you
should "mislead" the ALV by changing the report name used
for storing variant (IS_VARIANT-REPORT) But in this case
you will no longuer see every variant when in the ALV, only
those of the "report name" passed when setting for first
display.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
hi.. sap sd is installed in my PC .i m unable to start becoz ,i have given wrong password many times and it's locked.please tell me how can i open SAP logon. tell the process at my id dst.noida@rediffmail.com please advance thanx
What is IMG in SAP?
What is hotspot?
Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subrc after perform?
What are the events in ABAP language?
What is the max. No. Of structures that can be included in a table or structure? : abap data dictionary
Which transaction code is used executing a report (type 1 program)? : abap data dictionary
what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
What are th control break events in abap?
can i use table key and key in an internal table and explain the functionalities of each one and what functionality does it give if both are used for same internal table
What is bdc? : abap bdc
What are the personnel administration related infotypes? : abap hr
What is meant by slab? How is indian slab and us slab? : sap abap hr
What is technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?
Can a constructor be redefined?