cancel
Showing results for 
Search instead for 
Did you mean: 

Object variable

Former Member
0 Kudos

Hi,

Why do we use object variables and what are the types of object variables in SAP system by default?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You use object variables in a multi-level configuration, to describe configurable materials in a configuration structure.

You can use the following object variables:

- $ROOT is the highest-level configurable material in a configuration

- $SELF is the material to which the dependency is allocated

- $PARENT refers to the object immediately above $SELF in a multi-level configuration.

Former Member
0 Kudos

Hi,

Does it mean both $PARENT & $SELF relate to same material.

what's difference? please give example.

thx

Former Member
0 Kudos

No, they don't refer to same material.

$PARENT refers to the configurable material for which the BOM was created, whereas $SELF refers to the material of the BOM item.

example

$PARENT is Computer system i.e. for which BOM material was created

$ROOT is items in BOM material like Monitor, Keyboard, Mouse.

Former Member
0 Kudos

hi,

then what is $ROOT.

If computer system is $PARENT then what will be $ROOT.

thx

Former Member
0 Kudos

$ROOT would be complete computer package i.e. in which computer system, monitor, keyboard etc are packed.

Answers (0)