cancel
Showing results for 
Search instead for 
Did you mean: 

Procedure for multiple characteristic values in one syntax.

Former Member
0 Kudos

Hi All,

Can somebody help me in this type of a procedure as below. I am getting error in the syntax.

$SELF.PRICE_NUMBERING = 'N02005' OR 'N02040' OR 'N02300' OR 'N10005' OR

'N10040' OR 'N10300' OR 'N12000' IF TURNAROUND = 'TAT4' AND NDF_COLOR1 =

'4/4'

Error is "E28021 Error: remaining part of expression cannot be interpreted"

Is this type of a syntax correct or kindly guide me how to go ahead with this.

Thanks and Regards

Adithya

Accepted Solutions (1)

Accepted Solutions (1)

Ritz
Active Contributor
0 Kudos

even if you didnt get any error for this syntex , what value you are expecting for characterstic  to pick as there are many possible OR you have included in the first part?

it will always pick N02005, as its being set at first.

Thanks

Ritesh

Former Member
0 Kudos

Hi Ritesh,

My requirement is such that;

For example NUMBERING is a characteristic.

It has pricing for these values; 1 block of numbering, 2 blocks of numbering, 3 blocks of numbering, 4 blocks of numbering and 5 blocks of numbering. But my problem is 1 block of numbering in itself has 5 values. and 2 block of numbering 7 values, etc for other blocks of numbering.

I am a bit confused as to how to set up pricing for this as there are values within values. I have created a reference pricing characteristic PRICE_NUMBERING and assigning values for this is also becoming confusing.

Kindly request you to guide me in this.

Thanks and Regards

Adithya

Ritz
Active Contributor
0 Kudos

Adithya,

How many characterstic you have ? and how many values all together it have?

you can use  Numbering as class , and it have characterstics

1 block of numbering,

2 blocks of numbering,

3 blocks of numbering,

4 blocks of numbering and

5 blocks of numbering.

Characterstic1: 1 block of numbering ,

possible values

BLOCK1.1 ,

BLOCK1.2,

BLOCK1.3

Create a referance characterstic , PRICE_NUMBERING, go to Addnl Data Tab.table name Enter "SDCOM" and in the Field Name Enter "VKOND".The system will pick up the format from the Dictionary.

Now use this referance characterstic to write dependencies for values in first characterstic like

go to CT04 and change the Characteristic1

.

Go to values tab and select BLOCK1.1 .Goto Extras-> Object Dependencies->Editor and then select Procedure. 

In front of 000010 Enter  $self.PRICE_NUMBERING ='BLOCK1.1'

Similarly

Select BLOCK1.2  and enter $self.PRICE_NUMBERING ='BLOCK1.2'

Go to VK11 and the Enter VA00.Then give the values 'BLOCK1.1' and 'BLOCK1.2' and enter the values for price.

in the same way , you can write dependencies for all the values of your all characterstics and mark them in VK11 with relevant price.

Hope it will help you.

Thanks

Ritesh

Former Member
0 Kudos

Thanks Ritesh

I had tried on the same lines yesterday and it had worked. After I saw your reply now, I thought I had done it correctly. I am closing this thread as Answered.

Thanks for taking time to reply.

Regards

Adithya

Answers (0)