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
Explain what is an rfc?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
What is the first thing you do after vendor setup is complete?
Explain how to write a bdc - how do you go about it?
Explain about Recording Function?
what is the purpose of BAPI BAPI_CUSTMATINFO_GETLIST What is input and output of this BAPI.
What are the update types possible?
Explain the difference between free and refresh?
Explain the advantages of logical databases?
I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc
Define abap/4 layer? : abap data dictionary
What two statements would be used to exchange data between programs using abap memory?
Kindly help me to Know the process of mapping in EDI from R/3 to a convertor(third party which translates IDoc flatfile to EDIFACT /XML / FTP /HTTP ) ?
How to split one Invoice into Multiple ( Step by Step)?
What are the types of the programming language used in the sap abap software?