Académique Documents
Professionnel Documents
Culture Documents
(http://w
ww.sap.c
Products
om/) (https://www.sap.com/products.html)
Industries (https://www.sap.com/industries.html)
upport
Services and Support (https://www.sap.com/support.html)
Community (https://www.sap.com/community.html)
Developer (https://developers.sap.com/index.html)
Partner (https://www.sap.com/partner.html)
About (https://www.sap.com/corporate/en.html)
Ask a Question (https://answers.sap.com/questions/ask.html) Write a Blog Post (https://blogs.sap.com/wp-admin/post-new.p
Hi
https://archive.sap.com/discussions/thread/3939772 1/8
2/18/2019 Variant Configuration $Root $Parent $Self
I can understand $ROOT is the highest-level configurable material in a configuration. $PARENT refers to
the object immediately above $SELF in a multi-level configuration.In dependencies that are allocated to BOM
items, $PARENT refers to the configurable material for which the BOM was created, whereas $SELF refers to the material
of the BOM item.
SELF
00010 - $self.computer = 'PC' if software = 'ABC' ,
PARENT
ROOT
00010 - $root.computer = 'PC' if software = 'ABC' ,
What will be the result of this program? or Could anyone please help me to understand SELF, PARENT and ROOT usage
in obj dependancy? How these are three variables used in programming in VC. I searched enough i am unable to get clear
picture on this three.
(https://people.sap.com/mahendran8888)
Correct Answer
(https://people.sap.com/mahendran8888),
Okay first of all just give one view to the below given link.
Ex - Computer image
https://archive.sap.com/discussions/thread/3939772 2/8
2/18/2019 Variant Configuration $Root $Parent $Self
Syntex:
$SELF.CT_CPU_TYP = "INTEL_80486" IF
Syntex:
$SELF.CT_KKK = 'K' IF
$ROOT.CT_COM_TYPE = '3D'
https://archive.sap.com/discussions/thread/3939772 3/8
2/18/2019 Variant Configuration $Root $Parent $Self
AND
Thanks,
0
View this answer in context (/discussions/message/16875396#16875396)
Helpful Answer by
MAHENDRAN PARAMASIVAN (/discussions/message/16875868#16875868) , Ritesh Dube
(/discussions/message/16875947#16875947)
://answers.sap.com/questions/ask.html?primaryTagId=678016524911947112536865263502299)
6 replies
Correct Answer
(https://people.sap.com/keyur.mistry1)
Keyur Mistry (https://people.sap.com/keyur.mistry1)replied
August 03, 20
Okay first of all just give one view to the below given link.
https://archive.sap.com/discussions/thread/3939772 4/8
2/18/2019 Variant Configuration $Root $Parent $Self
Ex - Computer image
$self - to achive self level of result. At same material, from one material charcteristics
to other material charcteristics or charcteristics value if want to achive.
Syntex:
$SELF.CT_CPU_TYP = "INTEL_80486" IF
To achieve the self level of result base on the root level (Finish goods level) cstics
configuration value.
The materil KK will have cstics value 'K' if Coputer type is "3D".
Syntex:
$SELF.CT_KKK = 'K' IF
$ROOT.CT_COM_TYPE = '3D'
https://archive.sap.com/discussions/thread/3939772 5/8
2/18/2019 Variant Configuration $Root $Parent $Self
means in $.Parent we are achieving the value of self level cstics base on parent
material cstics value.
AND
in $.ROOT we are achieving the value of self level of cstics base on the highest level
(Finish Goods level) of cstics.
Thanks,
(https://people.sap.com/mahendran8888)
MAHENDRAN PARAMASIVAN (https://people.sap.com/mahendran8
Hi keyur,
It is simplest example. I appreciate your response. How can i get some more
examples to know about object dependancy program further. Last three years i am
working in SAP VC. But i need more OD programs. Is it Possible to get from any
web?
(https://people.sap.com/keyur.mistry1)
Keyur Mistry (https://people.sap.com/keyur.mistry1)replied
Sorry I don't think so it is possible to get VC syntax as like ABAP program we can get.
This all about base on our Business requirement for product configuration.
According to me just start with the basic and small program only. you can easily
design big syntax too, if business requirement is clear.
https://archive.sap.com/discussions/thread/3939772 6/8
2/18/2019 Variant Configuration $Root $Parent $Self
Helpful Answer
(https://people.sap.com/mahendran8888)
MAHENDRAN PARAMASIVAN (https://people.sap.com/mahendran8
Keyur,
Ch Val of B : mm, nn
Ch Val of C : pp,qq
How to write Dependancy for the same using $self,$parent and $root?
Helpful Answer
As per my knowledge , $ROOT is absolute now , you can use $PARENT at any node regardless of
Check with above syntax once it work replace $ROOT with $PARENT , it will still work for you.
Check and reply , Also please open the thread if you still have doubts. Otherwise create a new thre
Thanks
Ritesh
(https://people.sap.com/mahendran8888)
MAHENDRAN PARAMASIVAN (https://people.sap.com/mahendran8
Hi Ritesh
https://archive.sap.com/discussions/thread/3939772 7/8
2/18/2019 Variant Configuration $Root $Parent $Self
Please help what are the steps in multilevel configuration - sap vc? How it should
be used in sales order? whether sales order will … (/discussions/thread/3940349)
created now.
(https://www.facebook.com/sapcommunity) (https://twitter.com/SAPCommunity)
(https://www.youtube.com/c/SAPCommunities) (https://www.linkedin.com/company/sap)
(http://www.slideshare.net/SAP) (https://instagram.com/sap/) ()
use.html)
https://archive.sap.com/discussions/thread/3939772 8/8