cancel
Showing results for 
Search instead for 
Did you mean: 

Values Default through variant table

Former Member
0 Kudos

Dear Gurus,

i have the following requirement.

I need to use the variant table in order to have output values by others input values, but i have also need to could change them.

Is there any way to change output value from variant tables?

Example:

TABLE TAB_DEFAULT (MAT= MAT , IN = IN,

OUTPUT  = $SELF.OUTPUT),

I should allow to change the value of output.

Thans a lot

Daniele

Accepted Solutions (1)

Accepted Solutions (1)

Flavio
Active Contributor
0 Kudos

Hi Daniele,

you can use a question mark just before the equal sign, when inferring the characteristic value inside the procedure.

Here follows a simple example. This is the variant table:

CH_PCTYPE2 is my key, the other characteristics are inferred from it.

Here the procedure:

CH_MEMORY2 and CH_HARDDISK2 are getting a default value form the table, that can anyway be changed.

And here the result in the configuration simulation:

PCType is 'Media', Processor is '4 Ghz' (cannot be changed), Memory (defaulted at '16 GB') has been changed to '8 GB', the same for Harddisk, defaulted at '2 TB', has been changed to '3 TB'.


Hope this could be of some help.

Thanks and regards,

Flavio

Former Member
0 Kudos

Hi, Flavio

thanks for very very very good answer

Daniele

Flavio
Active Contributor
0 Kudos

You are welcome, Daniele! I'm happy that it works

Flavio

Answers (0)