cancel
Showing results for 
Search instead for 
Did you mean: 

Get Characteristic value as variable for Precondition

Former Member
0 Kudos

Hi All.

I am making Preconditions were I look up in a table to give the allowed values for characteristics.

I Would like if it was possible to get the value of the characteristic value that is is assign too.

So for regular use I have:

TABLE TDEMO_MEMORY

     (DEMO_TYPE                      =      $ROOT.DEMO_TYPE,

      DEMO_MAIN_MEMORY    =       '16')

But I will like to exchange '16' with the char.Value.

Is it somehow possible to do this?

Accepted Solutions (0)

Answers (1)

Answers (1)

ravi_kumar204
Active Participant
0 Kudos

Hi Jacob,

As per the SAP  help documentation.

Preconditions - Variant Configuration (LO-VC) - SAP Library


A precondition is fulfilled if:

      1. The specified value is selected for the specified characteristic
      2. No value is selected for the specified characteristic

The precondition is not fulfilled if a different value is selected for the specified characteristic.

as per this we need to clearly specify the value of the char in the precondition.

In your example. if you use the characteristic instead of value - precondition will be fulfilled for all the values for which the precondition is assigned as  per the 1 rule of fulfillment.

If you want to use char. instead value, you may need to create a char for each value and a dependency procedure transfer the values to those chars. In the procedure also you have to mention '16' to control the value transfer.  This requires maintenance activity.

These are my observations

Regards

Ravikumar B.