cancel
Showing results for 
Search instead for 
Did you mean: 

Variant

Former Member
0 Kudos

Hi All,

Could u guys pls tell me What is a VARIANT in terms of XI or ABAP?

Regards,

XIer

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hey,

Variants allow you to save sets of input values for programs that you often start with the same selections.

Check this url <a href="http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm">VARIANTS</a> .

It will give a comprehensive insight abt variants.

<b>Cheers,

*RAJ*

Former Member
0 Kudos

A variant is a predefined set of varaibles for the program you have written/coded in ABAP. For example, say you have written an ABAP class and you want to test it for some test cases and some of the values are default i.e. remain same for all of them. Now each and every time you can not keep on entering the values. So what you do is create variants and in that code these default variables. This will help you change only the ones that you want to.

Reward if helpful,

Sarath.

moorthy
Active Contributor
0 Kudos