Skip to Content
avatar image
Former Member

Variant Configuration

Hello,

I have a requirement from my business-

In the variant configuration, a characterstic should only appear if the value of a particular characteristic is 'Y'. I achieved this by writing simple dependency- specified. But the problem is that the business wants the hidden characterictic to be a mandatory or required entry. If I try and make the hidden characteristic as mandatory then it I have a problem because it will always seek a value for that chracteristic regardless of the entry of the dependent characteristic.

How can i achieve this?

Regards

Ashish

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Aug 03, 2010 at 10:06 PM

    Hello Ashish

    You can hide or display a characteristic using structure SCREEN_DEP. Have you tried it?

    See this link: http://help.sap.com/erp2005_ehp_04/helpdata/EN/92/58c7c5417011d189ec0000e81ddfac/frameset.htm

    You can also set a default value to the so called Hidden characteristic as a place holder and then use your other procedure to display it so that the user can change it as needed. You can set the default value in the characteristic itself or using 'set default' value as described in the link below.

    http://help.sap.com/erp2005_ehp_04/helpdata/EN/92/58c2eb417011d189ec0000e81ddfac/frameset.htm

    Hope this helps. Let me know.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Its a char type of character. It does not have any value. Client wishes to enter in sales order as a free text.

      I tired as you suggested but I guess when you say entry required you cant escape the configuration w/o entering a value.

      I dont see any standard way of achoeving this.

      Regards

      Ashish

  • avatar image
    Former Member
    Aug 04, 2010 at 03:19 AM

    Hi Ashish,

    The characteristics are hidden only if the value of the characteristic depends on the value of some other characteristics and the hence there is no need for the user to select the value of the characteristic. In scenarios where the user has to select the value of the char, the characteristic should not be hidden.

    So you decide whether your characteristic should be hidden or not.

    If not hidden, then you can mention a precondition that the characteristic shoudl be displayed only if the value of other characteristic is X by means a dependency. This is fine. And once the characteristic is visible, the value can be selected. Also because this characteristic is mandatory, ur char based on which this characteristic is visible should always have the value of X. You can think of this scenario and you can automatically populate the value of that characteristic as X.

    If hidden, you should assign a value automatically to this characteristic based on the value of other characteristic. This can be enabled by means of select option or procedure dependencies. You should explore the options based on your business reqmt.

    Hope this answers the question. If you have any more doubts, pls let us k now.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 17, 2010 at 02:52 AM

    Ashish,

    You can resolve this by creating a selection condition and assigning it to the characteristic.

    Ex. When CharA = 'Y'

    then CharB shows up on the screen. This is achieved using the precondition which you have already written.

    Next, create a selection condition depedency CharA = 'Y'.

    Assign the depedency to the charB, this will make CharB mandatory when CharA has value 'Y'.

    Hope this helps!

    Add comment
    10|10000 characters needed characters exceeded