SD Variant Configuration - characteristic value computation

Hi Everyone
Greetings from Vinod
i am creating a variant material which has 3 characteristics. out of the 3 characteristics, 2 are inputed by the user and the third characteristic needs to be populated with the difference of the 2 chatacteristic values that we have entered before. is there a standard setting that we have to maintain, or should we do a custom development on the same. the third characteristic value which is computed based on the difference of the precious two characteristic will then derive pricing of the variant material. please throw some suggestions and inputs in this discussion.

Hi,
calculating values of characteristics is done with so-called dependencies.
In a dependency you can define the rule how a value should be calculated.
You have to create a class of class type 300 and assign your characteristics to this class.
Assign the class to a material of material type "Configurable Materials".
Open the material with transaction PMEVC (Modeling Environment for Variant Configuration).
There you maintain a dependency of type procedure.
The source code may look like this for your example:
$SELF.CHARACTERISTIC_3 = CHARACTERISTICS_1 - CHARACTERISTIC_2
You can find details for variant configuration on help.sap.com:
http://help.sap.com
  -> SAP ERP
  -> SAP ERP Central Component
  -> Logistics
  -> Logistics - General
  -> Variant Configuration (LO-VC)
Details on transaction PMEVC (Modeling Environment for Variant Configuration):
http://help.sap.com
  -> SAP ERP
  -> SAP ERP Central Component
  -> Logistics
  -> Logistics - General
  -> Variant Configuration (LO-VC)
  -> Modeling Environment for Variant Configuration
Information on dependencies:
http://help.sap.com
  -> SAP ERP
  -> SAP ERP Central Component
  -> Logistics
  -> Logistics - General
  -> Variant Configuration (LO-VC)
  -> Dependencies
   and
  -> Dependency Syntax: General Rules
Best regards,
Sebastian

Similar Messages

  • PR created with a reference PR copied the reference material configuration( Characteristic Values).

    Hello,
    I have created a PR with reference to another PR. After adopting I changed the material and saved. After saving, when I checked the variant configuration at the line item level (Characteristic values), its showing the characteristic values of the material of the reference PR. It should be showing the details of the new material which I have used but, its showing the variant configuration of the material used in the PR which I used as reference.
    Ideally, these values has to be changed when I changed the material in the newly created PR.  What might have gone wrong here?
    Example:  PR- Purchase Requisition
                   Mat - Material.
    PR1 contains Mat1.
    I am adopting PR1 and creating PR2 with Mat2.
    After saving, when I check the variant configuration, classification values are from Mat1. I was expecting the values from Mat2 as I have Mat2 in PR2.
    Any suggestions would be of great help.
    Thanks in advance!
    Regards,
    Shaheen.

    Hi,
       Please check whether classification data has been maintained for the second material. If the configuration data doesnt exist for the second material, system cant redetermine and transfer. Refr the note: 588117 - FAQ: Configurable materials in purchasing Question number 5.
       If the configuration data exists and still the data is not changed, refer the note:  920648 - Error in the configuration when you copy PReq item  or 596994 - ME21N/ME51N: Configuration not determined again based on your release.
    Regards,
    AKPT

  • Billing plan type determination based on Variant configuration characterist

    Hi All,
    We have a process where in to determine the Billing plan of the contract based on the Characteristic value of the material.
    If the characteristic value is 'M' Monthly billing plan and assign corresponding billing plan to FPLA, if value is 'Q' then quarterly.
    what is the right place to update the FPLA table and further getting FPLT updated automatically.
    We tried doing the code in MV45AFZZ, VBKD routing.. But the FPLT is not getting updated all the time.
    Thanks,
    Ajai.

    Prathiba
    Are you able to resolve this issue?

  • BOM  explosion using variant configuration

    Hi
    I have a material (LAPTOP) and it has two BOM(RAM and HARD DISK).
    LAPTOP is my main material.
    Through VA01, when I try creating a Sales Order, I give the Material as LAPTOP and when I click "Configuration" menu, I will be showing the Variant Configuration Characteristic values for this material (LAPTOP) namely RAM and HARD DISK.
    When I select them and come back to VA01 scree, I could see both the sub materials (RAM and HARD DISK).
    But my question, I want to see only the one which I select. If I select RAM, then only RAM shoudl be displayed in my sales order not HARD DISK.
    I have created the Characteristics as "Multiple Value" assignmetn
    Please help.
    Thanks in Advance,
    Priya

    Hi Priya,
    Use Dependency concept ,to achieve your requirement.
    Regards,
    Subash.

  • How to Create Sales Order using BAPI with Variant configurations

    Hi All,
    I need to create a sales order using BAPI BAPI_SALESORDER_CREATEFROMDAT2 with Varaint confiugartions. I will get Header ITEM and variant configuration items in the flat file. Kindly help me in this regard.
    One more thing, is there any way to findout all the Varaint classifications for a particular Material?
    I have done the below coding. Sales order is getting created but variant configurations are not populating.
    *...Configuration: Reference Data
    DATA: gt_order_cfgs_ref TYPE TABLE OF bapicucfg,
          wa_order_cfgs_ref TYPE bapicucfg.
    *...Configuration: Instances
    DATA: gt_order_cfgs_inst TYPE TABLE OF bapicuins,
          wa_order_cfgs_inst TYPE bapicuins.
    *...Configuration: Part-of Specifications
    DATA: gt_order_cfgs_part_of TYPE TABLE OF bapicuprt,
          wa_order_cfgs_part_of TYPE bapicuprt     .
    *...Configuration: Characteristic Values
    DATA: gt_order_cfgs_value TYPE TABLE OF bapicuval,
          wa_order_cfgs_value TYPE bapicuval.
    *...Configuration: BLOB Internal Data (SCE)
    DATA: gt_order_cfgs_blob TYPE TABLE OF bapicublb  ,
          wa_order_cfgs_blob TYPE bapicublb.
    *...Configuration: Variant Condition Key
    DATA: gt_order_cfgs_vk TYPE TABLE OF bapicuvk,
          wa_order_cfgs_vk TYPE bapicuvk.
    *...Configuration: Reference Item / Instance
    DATA: gt_order_cfgs_refinst TYPE TABLE OF bapicuref,
          wa_order_cfgs_refinst TYPE bapicuref.
    *...Configuration: Reference Data
      wa_order_cfgs_ref-posex = '10'.
      wa_order_cfgs_ref-config_id = '1'.
      wa_order_cfgs_ref-root_id = '1'.
      wa_order_cfgs_ref-SCE = '1'.
      wa_order_cfgs_ref-CBASE_ID_TYPE = 'G'.
      wa_order_cfgs_ref-CONSISTENT = 'T'.
      wa_order_cfgs_ref-COMPLETE = 'T'.
      APPEND wa_order_cfgs_ref TO gt_order_cfgs_ref.
    *..2nd item
      wa_order_cfgs_ref-posex = '20'.
      wa_order_cfgs_ref-config_id = '2'.
      wa_order_cfgs_ref-root_id = '1'.
      wa_order_cfgs_ref-SCE = '1'.
      wa_order_cfgs_ref-CBASE_ID_TYPE = 'G'.
      wa_order_cfgs_ref-CONSISTENT = 'T'.
      wa_order_cfgs_ref-COMPLETE = 'T'.
      APPEND wa_order_cfgs_ref TO gt_order_cfgs_ref.
    *...Configuration: Instances
      wa_order_cfgs_inst-config_id = '1'.
      wa_order_cfgs_inst-inst_id = '1'.
      wa_order_cfgs_inst-obj_type = 'MARA'.
      wa_order_cfgs_inst-class_type = '300'.
      wa_order_cfgs_inst-obj_key = '2021B'.
      wa_order_cfgs_inst-quantity = 1.
      wa_order_cfgs_inst-PERSIST_ID_TYPE = 'G'.
      wa_order_cfgs_inst-CONSISTENT = 'T'.
      wa_order_cfgs_inst-COMPLETE = 'T'.
      APPEND wa_order_cfgs_inst TO gt_order_cfgs_inst.
    *..2nd item
      wa_order_cfgs_inst-config_id = '2'.
      wa_order_cfgs_inst-inst_id = '1'.
      wa_order_cfgs_inst-obj_type = 'MARA'.
      wa_order_cfgs_inst-class_type = '300'.
      wa_order_cfgs_inst-obj_key = '2021B'.
      wa_order_cfgs_inst-quantity = 1.
      wa_order_cfgs_inst-PERSIST_ID_TYPE = 'G'.
      wa_order_cfgs_inst-CONSISTENT = 'T'.
      wa_order_cfgs_inst-COMPLETE = 'T'.
      APPEND wa_order_cfgs_inst TO gt_order_cfgs_inst.
    *...Configuration: Characteristic Values
      wa_order_cfgs_value-config_id = '1'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BASIC_MACHINE'.
      wa_order_cfgs_value-value = 'L28'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
      wa_order_cfgs_value-config_id = '1'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BUCKET'.
      wa_order_cfgs_value-value = 'PL1001'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
    *..2nd item
      wa_order_cfgs_value-config_id = '2'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BUCKET_FOC'.
      wa_order_cfgs_value-value = '023OP0049'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
      wa_order_cfgs_value-config_id = '2'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BUCKET_HOE'.
      wa_order_cfgs_value-value = '028MS0004'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
    wa_order_cfgs_value-config_id = '2'.
    wa_order_cfgs_value-inst_id = '1'.
    wa_order_cfgs_value-charc = 'TYRE_PRESSURE_GAUGE'.
    wa_order_cfgs_value-value = '81004402'.
    APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
    *...Configuration: Reference Item / Instance
      wa_order_cfgs_refinst-posex = '10'.
      wa_order_cfgs_refinst-config_id = '1'.
      wa_order_cfgs_refinst-inst_id = '1'.
      APPEND wa_order_cfgs_refinst TO gt_order_cfgs_refinst.
    *..2nd item
      wa_order_cfgs_refinst-posex = '20'.
      wa_order_cfgs_refinst-config_id = '2'.
      wa_order_cfgs_refinst-inst_id = '1'.
      APPEND wa_order_cfgs_refinst TO gt_order_cfgs_refinst.
    Regards,
    Rajesh

    Hi all,
    Please help me in solving the issue.
    Rajesh

  • Table names in Variant Configuration

    Dear All,
    Kindly let me know the list of Tables used in VC like to fectch Configuration(Characteristic values) in a production order etc.
    Please note I want to know  list of Tables not abot Table/functions features of VC.

    Hi,
    Useful Tables for VC..
    Characteristics :
         CABN                    Characteristics ( o.a. batch/vendor)     
         CABNT                    Characteristics description
         CAWN                    Characteristics  ( o.a. material)
         CAWNT               Characteristics description
         AUSP                    Characteristic Values
    Class types and objects :
                TCLAO                                    Several class types for object
         TCLA                    Class types ( vb. lfa1 => v10 en 010)
         TCLAT                    Class type text
         TCLT                    Classifiable objects
         TCLC                    Classification status
    Links :
         INOB                    Link between Internal Number and Object
         KLAH                     Class header data  
         KSSK                    Allocation Table: Object (vb.matnr) to Class 
         KSML                    Characteristics for a class (internal number)
    Regards,
    Siva

  • Enhancement for Variant Config Characteristic and RESB table

    We have a requirement to write the result of a variant configuration characteristic (an intelligent part number) to the RESB_ABLAD (material entered) field.
    Is there a user exit that will facilitate this process?

    Solved by reading the following OSS notes
    562124 Configuration change via
    549563 BAPI: Filling the configuration structures
    567348 – Fill configuration via BAPI

  • Populating Variant COnfiguration value in ORDERS05

    Hi,
    I'm going to create Sales Order using ORDERS05 IDoc Type.Data coming from Non-SAP system consists of Variant Configuration data.I mean those data we have to place at the Item Level variant configuration area.Can anybody please tell me  which segment I've to populate for the same? or if there is no segment for that then how we can achieve this........Is there any exit for the same?
    Thanks in advance,
    Sarbajit

    Hi Sarbajit,
    There is a segment need to fill the structures XE1CUREF or XE1CUCFG (IDOC).For this pass characteristic name and it is values.In va01 if you seen it will pass description and it is value.I did this before and created order and quotation.
    ORDER_CFGS_REG
        POSEX              000010
         CONFIG_ID          000001
        ROOT_ID            000001
    ORDER_CFGS_INST
        CONFIG              000001
        INST_ID            000001
        OBJ_TYPE            MARA
        CLASS              300
        OBJ_KEY             CONFIG-MATERIAL
    CONFIG_ID          000001
         INST_ID            000001
        CHARC              'TURRET'
        VALUE              1.
    pass in this way to three structures.These are mandatory to fill if you have any issues please post.
    Regards,
    Madhu.

  • Events on objects of variant configuration, like class, characteristic,...

    Hello,
    objects of classification of variants like BUS1088, BUS1003, object dependencies,
    ... have no events. I tried to add events to those events but there are no change document objects or status objects I could find to define my own events. Has anybody an idea how to react on changes in the definition of a variant e.g. if the object dependencies, characteristics, variant tables, are changed by development? There is also no control object record written for those objects in SAP change management. 
    An hints welcome
    Ralf Staenglen

    Hi Shah Ji,
    Try to maintain your Super BOM at configurable material not at your variant. Just link your variant to configurable material super bom with tcode CS40.
    Other way to create super bom besides using class :
    try to use Classification as selection indicator for BOM.
    1. at bom, maintain class type 001 and tick you selection indicator at item detail BOM
    2. at material master, Maintain your component classification for class type 001 and set the characteristic desired.
    or try to use object dependencies for super BOM :
    1. at bom item, go to extra > Object dependency > editor > selection indicator. Put you "Characteristic = Value"
    Hope it helps, mind sharing some points if it helps
    regards,
    arman

  • Variant Configurator : Value set by user or dependency ?

    Hi,
    How can i determine whether a value in a characteristic in the variant configurator is set by a user or by a dependency ?
    with regards
    Erik

    Hi,
    When a variant is created , inthat particular screen, theres an option
    Whether it is cretd by user or system.
    And table name is RSVAR
    field is TRANSPORT
    Thanks,
    Shreya

  • VC Variant Configurator SD; changing values by FM    'CUOV* '

    Hi everybody,
    It appears me some troubles with VC when I try to set value for particular feature again.
    I have inconsistency fault when I try to change the value by calling FM 'CUOV_SET_FUNCTION_ARGUMENT' from configuration profile but it was set manually by user first (in standard VC window).
    Both values of feature are correct (old and new).
    Error looks like :
    E: Inconsistent values inferred for characteristic (here is number of characteristic)
    and next in details:
    The following values are incompatible with each other:
    (here is old value)
    (here is new value)
    Let me also know you, that this inconsistency problem exits in case when I try to overwrite feature value by FM I mentioned, and this value was set manually first only ( VC window)
    If I try to owerwrite the feature manually (using the same value) - there is OK.
    I suppose, I should in "any way " clear values which was set manually first, or change "something" in SAP Variant Configurator what let me change priority and allows overwrite value by FM which was set first manually ( in VC window) . But I have no idea how to do it...
    I will be gratefull for any hints.
    Thanks & Regards
    Tomas

    Standard SAP does not let you overwrite a value that is flagged as "Set by User".  We had a similar requirement where we had to force a user-entered value to be deleted and replace it with a calculated value.  To get around the issue, we copied the code from FM CUPR_DEL_VAL, which deletes values set by procedure, into our own FM called Z_VC_CUPR_DEL_VAL.  In our version of the code we inserted a couple of statemtents that delete both user-entered values and values that were set as a default.
    The great part about this mod was that we didn't even have to create our copy of the module inside of the CUPR function group.  It worked fine if we just created in one of our custom function groups.
    These were the lines we added to the end of the module after we copied:
      KNTYPE = 'DI'.
      PERFORM DDB_DEL_VALS_BY_KNTYPE(SAPLCUDB) USING INSTANCE ICABN-ATINN
                                                     RFLAG KNTYPE RESULT.
      KNTYPE = 'SF'.
      PERFORM DDB_DEL_VALS_BY_KNTYPE(SAPLCUDB) USING INSTANCE ICABN-ATINN
                                                     RFLAG KNTYPE RESULT.

  • Characterstic Value Length - Variant Configuration.

    Hello,
    I am defining Characterstics to be used in Variant Configuration.
    SAP is limiting the maximum length of the characterstic value only to Max of 30 chars.
    I have certain scenarios where the Value for a certain characterstic may be
    more than 30 characters.
    Is there any way to overcome this in SAP. I am sure this kind of issue might have arised in any of your projects.
    Can you please share your expertise to overcome this situation.
    Thanks in Advance,
    Best Regards,
    Bharat.

    No.  Your limited to the 30 characters.  You should try to figure a way to either abbreviate the values or split the single charac. into multiple charac. if possible.
    Depending on how your planning to use the info there are some things you can do.
    You can allow multiple values and additional values.  Then you can type as many "lines" of text that you want.  Start each new entry with a number.  As in
    1 This is text to 30 characters
    2 This liine is more text to 30
    3 This line is a 3rd line
    etc..
    You need the numbers other wise I believe SAP will sort the values alphabetically and can present them in a different order when shown in display.
    I have also created multiple characteristics for this as well
    CHAR_TEXT_1
    CHAR_TEXT_2
    CHAR_TEXT_3
    We can then type in short text info as a value in the class and mark it as the default text so it defaults onto each new batch.  I've used this to put short segments of text on COA's.  The characteristic description is set to what ever we want to display on a the COA.  So it might wind up something like:
    WARNING:  Wear OSHA approved respirator.
    WARNING:  Wear latex gloves
    Craig

  • PO EDI - How do I exclude a specific variant configuration value

    Hello,
    When sending POs via EDI we include our variant configuration values (segment E1CUCFG/E1CUVAL). There is one specific variant configuration we don't want to include as it's irrelevant to the vendor and keeps confusing them. We do need to send all the other variant configuration values. What would be the best way to do this?
    Thank you,
    Michael

    Never mind, I found it.
    MM06E001 / EXIT_SAPLEINM_013 allows me to modify E1CUVAL.

  • Lock characteristic value for configurable material in Sales Order

    Is there a setting in SAP which can prevent user changing characteristic value for configurable material in Sales Order after production order created for this Sales Order? Currently, it can only works when first delivery create for this Sales Order.
    Thanks a lot.

    Hi,,
    in the characteristic goto additional data tab,
    you have a field called not ready for input.
    you select this when the value in this characteristic come by calculation based on the previous selection.
    that field will be greyed out.
    OR
    u can even select the no display check box,
    by selecting this u cant see the characteristic in the list,, it will give u a popup before leaving the screen.
    for this the char has to be a required field.
    OR
    if any of this is not working then may be u can try out with authorization management.
    thanks

  • How to reset characteristic value in configuration

    Hello Friends,
    I would kindly ask for your help about resetting a characteristic value in configuration.
    In detail, the characteristic only accepts values 'Y' or 'N'.
    When I start the configuration, the characteristic is blank.
    A configuration function then runs and set its value to either 'Y' or 'N', based on certain conditions. That's fine.
    What  I need is that, for some cases, the characteristic value should return to blank, again by means of a conf. function.
    I tried already with FM CUOV_SET_FUNCTION_ARGUMENT, but it is not working, that is: the value set previously is remaining there. I also made a trial with FM CUPR_DEL_VAL, with same result.
    Any help or suggestion is highly appreciated.
    Thank you so much.
    Bye,
    Flavio

    Thank you Maen for your answer.
    Yes, I am sure there isn't any other dependency for the value.
    About the other remark, yes this might be the reason but, as the user is able to delete the value, press enter and get the blank field, there must be also a way to reset it with code.
    Thank you.
    Flavio

Maybe you are looking for

  • Mini DVI port on MacBook changed

    I have been using Mini DVI to VGA on my PowerBook (12 in) for several years, now. I just purchased the new MacBook (Black) and find that the adapter does not fit into the DVI port! When looking on a couple of retail website, including Apple, I find o

  • How do I pass single quotes into a string variable?

    Thanks for any help? Example Select xdat, yday from foo where xdat = to_char(sysdate, 'mm/dd/yyyy') How do I pass the single quoted stuff above into a string variable?

  • Using Wildcards in Value Help

    Hi, I have a input filed ZPERNR and i have assigend PREMN search help on this field. I am able to search people in the organisation and it all works great until I use wildcards When I enter SMITH in the last name in the value help it comes back with

  • How to put name in the application toolbar

    how to put name on the button in the application tool bar while it is created with selection screen

  • Can not buy book

    Hi, I can't buy a book because my card won't work. I tried 3 different cards now, and all of them allowed to buy over internet. What is wrong? It can't be my card, because I have used it to buy over internet before.