‎2007 Oct 17 3:44 PM
Hi all,
What is Disvariant.What is the use of that.Please give examples.
Thanks in Advance,
Thasneem
‎2007 Oct 17 3:52 PM
DISVARIANT is the structure which is used when passing the variant information to your ALV grid, either in the function module interface of the class interface. If you allow you user to save layouts, then it is important to pass some values in this structure as well. For example, you should always fill it with the report name and the user id of the current user.
data: variant type disvariant.
variant-report = sy-repid.
variant-username = sy-uname.Then pass VARIANT to the appropriate parameter in the FM or class interface of the ALV grid.
It is used to correctly assign the variant which the user saves, to the program and user who saved it.
Regards,
RIch Heilman
‎2007 Oct 17 3:54 PM
Check this out
http://help.sap.com/saphelp_erp2004/helpdata/en/0a/b5533cd30911d2b467006094192fe3/frameset.htm
Regards,
Santosh