cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic batch classification with procedure on goods receipt does not wor

Former Member
0 Kudos

Hi,

I have a material with batch classification.

The material has two characteristics.

One is a number called VALUE.

The other is also a number (called CONVERSION) and shall be deived from the first.

A procedure is created and assigned to the second characteristic.

$SET_DEFAULT ($SELF, CONVERSION , $SELF.VALUE / 6000)

When I post a goods receive (movement Type 501) the characteristics can be filled . The field VALUE is set with 12000.

I was expecting the characteristic CONVERSION to be calculated as '2' and filled by the procedure.

This is not the case.

If however, I try to fill it manually, the system accepts only the calculated value '2'. Otherwise an error is shown.

How can I force the system to calculate and fill the second characteristic when insserting a value in the first ?

Thanks for any help.

Accepted Solutions (0)

Answers (2)

Answers (2)

marcus_schiffer
Active Participant
0 Kudos

Hi,

I put the procedure on chracteristics level. This was wrong. After putting it to the class it works fine.

Former Member
0 Kudos

Hi Marcus,

now it works fine!

Thank you for your support.

You have a nice weekend.

CM

Former Member
0 Kudos

Hi Marcus,

i have the same problem with movement type 101.

How did you solve this issue?

Can you help me.

Thank you.

CM