Skip to Content
0
Former Member
Jan 22, 2012 at 11:42 AM

Inferring values from multiple key fields in a table

618 Views

Hello,

I have encountered a problem with inferring values from tables with two or more key fields. In classification, upon entering the values in the key fields, the other values are not inferred. This works fine when there is only one key field.

I used a procedure to infer the values, following the examples given in the SAP Library. However, I was not able to find any information whether it is possible to infer values using two key fields.

My procedure looks something like this:

TABLE Z_3036_1

(M_MANUFACTURER = M_MANUFACTURER,

M_PART_NO = M_PART_NO,

M3P_MODEL = $SELF.M3P_MODEL,

M_DIAMETER = $SELF.M3P_DIAMETER)

However, upon inserting values in both the manufacturer and part no. characteristics, no values are inferred for the other characteristics.

The manufacturer is not a unique value, however, the part no. is, so the combination of those two should always be unique, therefore I do not think it might be the problem.

Therefore I would like to ask for any advice on what might be wrong or is it even possible to infer values from multiple key fields?

Sincerely,

Mindaugas