on 08-29-2012 1:48 PM
Hi,
I have a requirement say "X" has my configurable material and characteristics value has "X1", "X2", "X3" and one raw material "Y". In this case if X1 is selected X1 will have qty has 1 and X2 =2 and X3 = 3. This Qty has to fall to the raw material Y. How to write Dependency for this scenario.
let me clear my understanding , you have a single component in BOM which can be selected by either of the values from X1 or X2 or X3 , but depend upon the value selected you want to vary the quantity of this material.
its possible using selection condition , and creating a referance characterstic which will be used in procedure.
option 1:
maintain your component Y , 3 times in BOM with three quantity and write selection condition for all the position as
for position 0010 CHAR = 'X1'
for position 0020 CHAR = 'X2'
for position 0030 CHAR = 'X3'
it will correctly pick the component with quantity as per selection condition.
Option 2 :
Create a characterstic CHAR with values X1 , X2 ,X3 ,
create a BOM for X , mention Y as component ,
write a selection condition
CHAR = X1 or X2 or X3
Create a Referance characterstic REFCHAR on additional data tab referance table STPO and field MENGE.
create a procedure with below syntax
$SELF.REFCHAR = MDATA $SELF.REFCHAR + 1 if CHAR = 'X2',
$SELF.REFCHAR = MDATA $SELF.REFCHAR + 1 if CHAR = 'X3'.
refer SAP help on this topic for further information.
http://help.sap.com/saphelp_erp60_sp/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
http://help.sap.com/saphelp_erp60_sp/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
http://help.sap.com/saphelp_erp60_sp/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm
Hope it will help you.
Thanks
Ritesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
what about the option 1 i mention in my previous reply?
Sakthivel Gokulnath wrote:
If the Qty is not having any increment. Say X1 =1 and X2 = 9 and X3 = 8. How to write dependency.
in this case it will be
there is no need to write anything for X1 as its 1 only , which is being maintained at BOM level. for other 2
$SELF.REFCHAR = MDATA $SELF.REFCHAR + 8 if CHAR = 'X2',
$SELF.REFCHAR = MDATA $SELF.REFCHAR + 7 if CHAR = 'X3'.
I have put my understanding, for configurable material "X" we have assigned characteristic "A" which has value X1, X2, X3 i have already used SDCOM has reference table for my characteristic "A".
Create a Referance characterstic REFCHAR on additional data tab referance table STPO and field MENGE.
Can you explain how it can be done.
Thank you for your valid input.
User | Count |
---|---|
91 | |
7 | |
7 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.