cancel
Showing results for 
Search instead for 
Did you mean: 

variant tables and functions

deepu_p2
Active Participant
0 Kudos

Hi,

can some one tell me how variant tables and variant functions work,

HOw to create a variant tables. and how to attach variant tables to the functions.

Please don't post any links to help.sap.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You do not need to use Variant Functions to use Variant Tables. They may be used in Procedures and Constraints. SAP Help Explains this very well.

former_member734007
Participant
0 Kudos

You would require variant table if you need to replace configurable item with a variant on basis of certain condition .

Former Member
0 Kudos

A Variant Function does not have to refer to an Intertal Table or Tables, it can also be used when making complex Calcualtions based upon the char values being passed to it or manipulate data using ABAP Code. In a Variant Function you define the Input and Output Fields.

http://help.sap.com/saphelp_470/helpdata/EN/92/58c61b417011d189ec0000e81ddfac/frameset.htm

A Variant Table can be used in Constraints and Procedures. A Variant Table contains characteristics and Valid Combinations of Values. They are typically used to replace a PreCondition. A Variant Table will also contain the Key Fields, but not input and Output Fields.

http://help.sap.com/saphelp_470/helpdata/EN/92/58c61b417011d189ec0000e81ddfac/frameset.htm

former_member734007
Participant
0 Kudos

Mike,

You can defintly create a funciton module an can also refer to internal tables(Customised Table) in order to get a output for a combination. This is done when its not possible to write forumlas an u have to get output on certain combination of input.

Former Member
0 Kudos

I am not disputing the fact that you can use Internal Tables or Tables in a Variant Function. Simply that they are not required and can be used for other functionallities such as calculations and manipulation of data. Just trying to set the point staight on Variant Functions and Variant Tables.

Answers (2)

Answers (2)

former_member734007
Participant
0 Kudos

Hi,

Variant Table can be created using TCODE CU61 where you can define the input and output filed. In this you can define characteristic and the key field.Now you can create dependcey wherin you can refer the variant table created an pick the output. this dependcy can be attached to a bom and configurable material can be replaced by variant on basis of the depedency attached.

Functions are used wherin you hav to refere some internal table created in which first you have to define the input and the output field.this function can then be attached to configurable material cu42 in order to get the value of the output field

regards

byju gopalakrishnan

Former Member
0 Kudos

Hi,

1.Variant tables are the tables that a consultant can create with few characterisctics that has been created by himself.

2.The tables are made up of the charactersicits of a particular class.

3.IN this tables you can maintain the values for the characterstics for certain materials.

4.Usingthis charcterstics values we can infer the values when we configure the values automatically to the configurable mateiral.

If u like to know more about his then you need to know the below things

1. Configuratble material

2.Characteristics

3. Variant class

4. Dependency

5. configuration profiel

6. Net dependecny