Skip to Content

Not able to use IN Condition in object dependency.

Hi experts.

I would like to ask you how to use IN condition in object depencency.

There are 3 characteristcs A,B,C.

I would like to make C visible when the following conditions are satisfied.

1. any value is assigned to A

2. value '1' or '2' is assigned to B

(there are other choice to be assigned to this characteristic)

In this case I wrote the formula in the editor as below.

--------------------------------

B in ('1' , '2')

AND SPECIFIED A AND SPECIFIED B.

--------------------------------

However an error occuered.

I referred to the page below.

https://help.sap.com/doc/saphelp_crm700_ehp02/7.0.2/en-US/46/423712f3be08e7e10000000a114a6b/frameset.htm

Where do I have to amend ?

Or should I use OR rather than IN ?

Best regards.

Takeshi

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    May 15, 2017 at 08:28 AM

    Hi Takeshi,

    Could you please share which is the error that occurs?

    And, which is the data type for characteristic B?

    If it is NUM (Numeric format), then the code shall better be:

    B IN (1, 2) AND SPECIFIED A AND SPECIFIED B

    Thank you and bye,

    Flavio

    Add comment
    10|10000 characters needed characters exceeded

    • Hi flavio.

      I am sorry I could not notice your post.

      Thank you for your amended code, I will use this instead of the one which includes IN in it.

      I appreciate your help.

      Thank you.

      Best regards.

      Takeshi