Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain what are the system fields? Explain?

1122


What are the function modules used in a sap script driver program?

1152


Does every abap/4 have a modular structure? : abap modularization

1127


What are the user interfaces of interactive lists?

1042


What is an abap dictionary? : abap data dictionary

1095


How can we declare a table control in the abap/4 program?

1179


What is the use of table maintenance allowed?

1063


What is PS structure

2181


What is search help exit? : sap abap data dictionary

1200


Difference between sy-tabix and sy-index? Where it is used? Can you check sy-subarc after perform?

1084


What are the events in screen programming?

1161


what next in SAP-ABAP/4 is it going to be change?

2144


When the get cursor command used in interactive lists?

1114


How many types of size categories and data classes are there? : abap data dictionary

1096


how to read the standard field value in your custom program.

1485