Hi You need to create object dependencies for the two characteristics Colour and price and link the value of the characteristics to the object dependencies for ex in CT04 - Change Characteristic Zcolour go to values Tab and select RED . GO TO Extras>object dependencies>editor and then select procedure in front 0f 000010 enter $self.ZCol_surcharge='RED' Link this characteristic to the class (The class which u have attached to KMAT Materail) Go to VK11 and enter VA00,the give the values RED Go to your order and enter material all the object dependencies are case sensitive. Hope it helps in your requirement srikant
| | | ---------------Original Message--------------- From: Typewriter Sent: Wednesday, June 08, 2011 3:54 AM Subject: variant configuration problem Hi Srikant, Thank you for taking the time to help me. The issue is still unresolved. I am facing still facing "ERROR in SYNTAX check". Requirement - Configurable material is BIKE-1, if value - of one of the characteristics (i.e. COLOR) - is BLACK, then customer gets XX% discount. The end-user should be able to input discount percentage in VK11 & see the dis percentage in [Conditions], in Sales order. Alternate Solution - In VA00 for BLACK, I have calculated "Net price" = Price - XX% for disc. By this, I do not have to add another characteristics Z1_DIS; thereby avoiding the Syntax Error. The disadvantage of this is it can not be seen - clearly - what discount percentage was given; in [Conditions], in Sales order Syntax Error, with the initial way - 1. I have tried Z1_DIS both as Numeric & Character but getting Syntax Error 2. In Characteristic = COLOR, value = BLACK, Extra>Object dependency>Procedure - Currently I am giving 2 codes $self.Z1_SURCHARGE='BLACK' $self.Z1_DIS='BLACK' Getting "Error in syntax check". Is this incorrect? (Just thinking) if value is BLACK does system know which on to select (Z1_SURCHARGE or Z1_DIS)? 3. I have tried Z1_DIS with and without [Addnl data] Table name = SDCOM, Field Name = VKOND. But still the same error. If I do fill in Table name & Field names, as above, the Data Type automatically become CHAR (even if you have initially given NUMERIC) Side-by-side, I am reading some SAP material on dependencies, to get my theoretical concepts clear. Please advise, how can I achieve my requirement? | | __.____._ Copyright © 2011 Toolbox.com and message author. Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251 | | srikant SAP Logistics Sales and Distribution Enthusiast
Contributed 100 posts in a group to earn a Bronze Achievement Popular White Papers In the Spotlight Visit IBM's Leveraging IT Services Briefing Center. Register now and learn how to deliver smarter security & resiliency. _.____.__ |