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

Did you use buffering?

1137


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

1123


Explain buffering

1407


Do you know any other patterns if yes.. explain

1348


What is pakey structure, pshd1 structure and what type of fields it contains? : abap hr

1183


Does the external program run in the same sap luw as the caller, or in a separate one?

1183


What is help view?

1048


Define database layer? : abap data dictionary

1145


Explain about Recording Function?

1173


What is a variable in the sap abap?

1091


What is meant by authorization? : sap abap hr

1246


What are the events we use in dialog programming and explain them?

1081


If I have put commit in badi implementation class after update, is it allowed? Also if some standard functionality already implemented an update and now i m doing update and if it fails, what will be the impact of commit?

1989


Tell me a scenario where did you use secondary index?

1096


How do you delete duplicate records from internal table?

1260