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.

Similar Messages

  • Variant Configuration - Manual changes to BOM Items

    Hi All:
    We are implementing Sales ORder (SET) process. Need to have the ability to change BOM Items.
    According to SAP documentation referred in the link below, we have set the flag to allow the manual changes to BOM Items in the configuration profile. We have made sure that in the Material BOM configuration the fixed quantity flag is not set.
    But it is not working. Not sure if we are missing some other settings.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/92/58bfb9417011d189ec0000e81ddfac/content.htm
    Any help would be greatly appreciated.
    Thanks, Raja

    this would happen if you have edited the server.xml manually. if you do edit this file for valid reasons and want to keep the changes
    please run
    asadmin reconfig user admin password secret12 host host.domain.com  port 4848 --keepmanualchanges=true server1
    then deploy your applications, you should be ok

  • Change values of select option in fuction of the variant

    Hi abappers,
    I want change the data that contain several select-options.
    I have a table internal (c_varint) that I obtain with the next code:
    CALL FUNCTION 'RS_VARIANT_CONTENTS'
         EXPORTING
              report                = '/1BCDWB/DBBKPF'
              variant               = p_varint
    *         MOVE_OR_WRITE         = 'W'
    *         NO_IMPORT             = ' '
    *         EXECUTE_DIRECT        = ' '
    *    IMPORTING
    *         SP                    =
         tables
    *         L_PARAMS              =
    *         L_PARAMS_NONV         =
    *         L_SELOP               =
    *         L_SELOP_NONV          =
              valutab               = c_varint
    *         OBJECTS               =
    *         FREE_SELECTIONS_DESC  =
    *         FREE_SELECTIONS_VALUE =
    *    EXCEPTIONS
    *         VARIANT_NON_EXISTENT  = 1
    *         VARIANT_OBSOLETE      = 2
    *         OTHERS                = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    and my select-options:
    SELECT-OPTIONS I1 FOR BKPF-BUKRS.
    SELECT-OPTIONS I2 FOR BKPF-BELNR.
    SELECT-OPTIONS I3 FOR BKPF-GJAHR.
    SELECT-OPTIONS I4 FOR BKPF-BLART.
    SELECT-OPTIONS In ...
    Now I want change the values but I got not him to changed it to me :
    loop at c_varint where selname eq i1.
       MOVE-CORRESPONDING c_varint to i1.
    endloop.
    loop at c_varint where selname eq i2.
       MOVE-CORRESPONDING c_varint to i2.
    endloop.
    loop at c_varint where selname eq i3.
       MOVE-CORRESPONDING c_varint to i3.
    endloop.
    loop at c_varint where selname eq i4.
       MOVE-CORRESPONDING c_varint to i4.
    endloop.
    but I dont obtain the data
    Can you help me, please?
    Cordial greetings.

    Hi,
    the documentation of the fm you´re using says:
    RS_VARIANT_CONTENTS
    This function module checks whether any parameters or select options of the variant have changed. If they have, it outputs an error message (variant obsolete).
    have you checked fm RS_CHANGE_CREATED_VARIANT instead?
    the documentation of this fm says:
    RS_CHANGE_CREATED_VARIANT
    Functionality
    This function module enables modification of a variant without processing the selection screen. In the table VARI_CONTENTS, you must supply all select-options and parameters of the variant with values. Any selection criteria missing from this table are set to their initial values in the variant. If no value is specified for the structure description (parameter VARI_DESC), all fields - except the name of the last user to make the change, the time of the change, the version and the language - are set to their initial values. The table VARI_TEXT is optional
    Best regards

  • 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.

  • 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.

  • 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

  • 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

  • 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

  • Variants -- with changing value!!!

    Hi,
    I want to run a program by using the SUBMIT keyword and passing a variant using USING SELECTION-SET <variant name>
    And the variant changes its values for each execution of the SUBMIT statement.
    According to the replies to a similar question posted in this forum, I found that we can have constant input values in a VARIANT and pass the changing values using the WITH keyword.
    is there any other way to achieve this other than the above solution..........
    any help wud greatly be appreciated.!!!!!

    Hmm, you could set up multiple variants and change which variant you call the program with each time you SUBMIT.  Example:
    SUBMIT program_name USING SELECTION-SET variant1 AND RETURN.
    SUBMIT program_name USING SELECTION-SET variant2 AND RETURN.
    (and so on).
    Another way to do it is to specify the fields separately, like this:
    SUBMIT program_name WITH parameter1 = w_field1 AND parameter2 = w_field2
    AND RETURN.
    You can use this same statement multiple times, changing the values of w_field1 and w_field2 between calls (for instance, by putting the submit statement inside a LOOP, ENDLOOP).  I hope this helps.
    - April King

  • Tolerance Limits for Class Character in Variant Configuration

    HI all,
    We are Using Variant Configuration, for this we have linked MIC's to Class character, When The Inspection Lot is created the Lower & Upper Limit in the specification comes as the character Value.it does not takes in to consedration the tolerance key assigned to it. For E.g. Charater Dia has value 20, & in the Tolerance key for 20 +/- 0.10 is maintained, when the Inspection lot is created the Upper & lower Limit comes as 20-20 instead 19.9 - 20.1
    I have gone through SAP Note 210658, the sample code provided in note is for "Material Specification" I have tried the same with minor code correction the specifications in the lot comes as desired i.e. specifications in the lot consider the tolerance key.
    Our Requirment is of task list, in the same not EXIT for task list is also mentioned but no souce code is provided, when we are using the above program (Used for Material Specification) after doing the desired changes, & when we run in de-bugging mode it shows all the calculations are being done, but finally in the lot specification appear as the charater value ( 20-20) & in the inspection lot One first MIC comes it delete's all other MIC's assigned in the Plan.
    Has any body worked on this requirment, please let me know how to do the same, & if any body has used EXIT_SAPLQPAP_001 (Enhancement QPAP0001.)Plese provide me with the soution if any one has worked on it.
    Thanks & Regards
    Gaurav Behl

    Hi ravi,
    I did't work on class hierarachies but i do have a document regarding classification.
    Regards,
    Kanth

  • Variant configuration-- syntax error in creation of object dependencies

    In variant configuration when i try to create object dependency (tcode=cu01), after entering the dependency and also description when i enter the syntax in the source code it is giving error: error in syntax check for simple condition
    I have entered syntax as  : engine_cap in ('1000','1400','2000'), pls guide me with the solution to create object dependency

    Dear, Shakeer
    Please follow along with my very own config guide of variant config.
    1)     Create a configurable Material Using KMAT u2013Material Type. Item Category 0002 and Item Category Group 0002. Go to classification tab-here you maintain the class type 300 and assign the class, we will create this shortly. (So after creating class come back into MM02 and input the class that you create in step 2.)
    2)     Create a class in T-Code CL01. Use class type 300 for Variants. In this we assign the characteristics we will create shortly.
    3)     Create characteristics in T-Code CT04. Create your characteristic like for example, Z_Type, Z_Model, and Z_Color.
    4)     We must create a characteristic for the pricing. Example, Z_CarPrice inside this characteristic we must maintain. Table Name SDCOM, Field Name VKOND in the additional data tab. Also, go to restrictions tab and enter the class type 300 Variants. Now in order to make this pricing work for you, you must maintain (enter) all the values from the characteristics. For example, Red, Blue, Black, Honda, Toyota, GLI, XLI, and 2.0D.
    5)     Now going back to the characteristics in CT04 change mode. Make sure Basic Data has *Multiple Selections circled. * Character Format has 26 and a check in case sensitive. Make sure in restrictions tab class type 300 Variants is present. Go back to Values and highlight the first one. Example, Red then go to Extras->Object Dependencies->Assignments You must maintain this code $self.Z_CarPrice=u2019Redu2019 in basic data make sure itu2019s released & procedure is filled in. Go back to dependency editor and paste the same code there after 000010 $self.Z_CarPrice=u2019Redu2019 and do this for each and every value. Very Important * Maintain configuration profile in T-Code CU41 for the material -> Priority 01, Variant Configuration, Class 300, status, Released 1, then click save. Note: If 2 conditions are inactive use class group A instead of B in SPRO for Condition type VA00.
    6)     Go to T-Code VK11 and enter VA00 condition type. Enter all the values maintained in the characteristics for example, Red, Blue, Black, Toyota, Etc and enter the price then click on save. Now it should work fine in VA01. Make sure you have assigned the VA00 condition type in the pricing procedure.
    Good Luck,
    Muhammad Ali Lozada

  • Sales Order text for Variant Configuration

    Hello
    I have researched my issue and also have asked other peers for guidance.  I feel that I am really close to getting my issue to work but I am not sure what I am missing, so I am hoping that someone can give me some advice as to what to check please.  See below for the description. 
    My issue is in reference to SD Variant Configuration and is outlined below.
    Overview
    Main Unit is a radio test set
    Test set can have an upgraded software
    Example
    Model 6015 u2013 standard test set
    Model 6015T u2013 Upgraded software test set
    Model 6015V u2013 Upgraded Software + test Set
    Requirement
    Use same Material Number using Variant Configuration for the upgrades
    Price is to default to the Upgraded price
    NOTE:
    Our materials are already established and are set up as material type Finished Goods; ERLA item category; sales order item category is a copy of TAC.   I am using a Configurable Material type KMAT, item category 0002 and linking to the FG material item category ERLA in the material master.
    I have created the Material Variant (KMAT) in MM01
    Created the characteristic in CT04
    Created Classification in MM02 for material FG
    Created Super BOM for Configurable Material in CS01 and added the upgrades as Alt Bom 2 for upgrade  and 3 for Upgrade+.  Also added the Alt BOM text
    Created Profile of configurable material in CU41
    For the Material I added the configurable material to MRP 3 screen in MM02
    Created the BOM link in CS40
    I simulate the material in CU50.  I enter my material; select the icon for configuration, I can see the characteristic Value Assignment nad see my characteristics Description.  I go to the value and use the drop down I then see the pop up of all the different values. 
    I have created Characteristic Reference VCSD_UPDATE_ARKTX with table VCSD_UPDATE and field ARKTX - no values
    I have created a characteristic Test_Choice with the 2 values one is Test Upgrade 1 and the other is Test Upgrade 2.  Both of these have the description as well.
    For Material Text:
    I have set up a reference characteristic using 30 character format (named VCSD_UPDATE_ARKTX),
    with table name VCSD_UPDATE and field name ARKTX.
    Then in the Configuration Profile(CU42) for configurable material,  added a procedure(named PR_PRODUCT_DESCRIPTION) to the dependencies which contains code that sets the description
    $self.VCSD_UPDATE_ARKTX = ''Test Upgrade 1u201D
      If $self.TEST_CHOICE = Test_Upgrade_1,
    $self.VCSD_UPDATE_ARKTX = ''Test Upgrade 2u201D
      If $self.TEST_CHOICE = Test_Upgrade_2,
    When Entering the sales order for Material Number XXXXXX, I receive a pop up that I can select which Alternate BOM (from CS02) I would like.  I select my line item and then select the configuration icon at the bottom of the sales order.  I see again my characterestics values (the same as CU50) but am unable to select the radio button.  Not sure if this part is standard.  Still no change in the sales order line item.  I have validated that I am using a copy of the standard TAC item category.  How does the text change to the correct value?  Am I missing a seeting somewhere.  Please provide any guidance with this as I have been trying to get this to work for over a month.
    Thank you for your time.  It is greatly appreciated.

    I have figured out that this will work if I go to the standard material (it is not KMAT but it is a FERT material type) and set the flag in the Material Master Basic Data 2 tab that this is a configurable material and not use KMAT material type for a super BOM.   The text changes for this scenario so it give me hope.
    This is not ideal, as I want to use the Super BOM because there are different variations (non stock items) that I need to pull through on the picking list in order to tell the end user which option needs to be loaded in the standard material.  At least I know the text can change on the sales order; but I am still struggling with the use of the super BOM and changing the sales text when there is use of a super bom as you tie that to the MRP 3 screen of the FERT material type.  I can set everything up, but the text will not change if I set up the material master this way.  Guidance is appreciated.
    Example
    Material 72433 (FERT)
    on sales order I enter 72433, my alternate BOM comes up with different Options.  Alternate BOM 1 is standard configuration;  My Alternate BOM 2 has Option 3 and 4 while alternate BOM 3 has option 5 and 6.  Alternate BOM 2 is a 6015T and Alternate BOM 3 is a 6015V.
    I want my sales order to pull through the text of 6015T or 6015V, whichever is chosen.  I want my picklist to print out the option that was selected.

  • How to find variant config material changes

    Hi!
    I have a requirement to compare variant config material under an equipment sales order. Scenario is:-
    Suppose company has sold one product and that product is variant configured. Under configuration tab user has selected different characteristics and because of that characteristics some materials has come under that config material in sales order. Suppose customer has returned that material after some time and now I have to create a follow on return order. My requirement is , I have to check that if that configured material has been changed now (depending upon same characteristic values ) or not. May be that configured material is now having one more component material added that is priced now and that configuration product price has been changed because of that new added component .
    Is there any way I can compare that configured material in sales order with regards to todays date. (Depending upon characteristic values) .
    Regards
    Yogesh

    The material documents are NEVER deleted. You can reverse them (MBSM provides a list of reversed documents) but not delete them.
    You can delete the delivery, then the VBFA is cleared but in MKPF table a trace of this still stay in field MKPF-XBLNR that contains the deleted delivery number.
    Regards
    Roberto

  • Save variant configuration data with BAPI or FM

    Hi experts,
    I created a PP production order by using a configured material.
    I can see internal object number in table AFPO-CUOBJ.
    I'd like to change and save a value of characteristics by using ABAP.
    Could you tell me it if there is a BAPI or FM to save values of characteristics in variant configuraion?
    BR,

    you can chnage the variant configuration data using below bapi with strcture    order_cfgs_value      =
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument        
          order_header_in       =
          order_header_inx      =
           TABLES
          return                = return_lt
          order_item_in         =
          order_item_inx        =
          partners              =
          partnerchanges        =
          partneraddresses      =
          order_cfgs_ref        =
          order_cfgs_inst       =
          order_cfgs_part_of    =
          order_cfgs_value      =

  • Flagging a variant by a feild value based on char,value.

    Hello SAP Gurus,
    I have a requirement in which I have to flag a variant based on characteristic values.
    During configuration, when you happen to select certain characteristic values in  a character, the material should flag with a character material master field, which changes the way the material is handled.
    Any feed backs...
    I am thinking of creating another character with the material master field and establishing an "object dependency" between characteristic values and character....
    Is this correct?
    Thanks
    Eshlok

    It seems that don't understand that you aren't asking to Apple employees but to end users like you.
    May you take time to download iWork Formulas and Functions User Guide (thru the Help menu) ?
    I will not spend time describing Nummbers functions one after an other one !
    I am unable to guess what you tried to achieve with your formula..
    To calculate 33% of the content of c6, use the formula
    =ROUNDUP(C6*.33,0)
    or
    =ROUNDUP(C6/3,0)
    Yvan KOENIG (VALLAURIS, France) lundi 27 juin 2011 18:14:03 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Maybe you are looking for

  • Moving Itunes/songs on XP PC with multiple users

    I have seen the good articles on moving songs/library from an old to a new PC and seems easy. My concern is how this all works when I have three users/XP accounts on my old PC and each user has their own library, playlists, etc.. and I want to move a

  • I want to add Robo Form to my toolbar but can't find out how to do this. Any suggestions?

    I'm trying to add Robo Form to my toolbar to prefill forms I need.I haven't been able to do this on Firefox. I had this on IE 8 and it was nice to be able to just click on it and forms were filled for me.

  • BTE type B not triggere

    Hi , I have used a BTE of type B (Business Object). I have copied the sample function module and created a product and assigned the same to product in P/S function modules and also check active flag. I have posted a document. But my function module i

  • Need information regarding BAPI

    hello every one,   I have a requirement where in I have to use 'BAPI_ACC_ACTIVITY_ALLOC_POST' for transaction KB21n.I need an example of how to use this BAPI and what are master tables that are needed to implement this transaction(KB21n). Please prov

  • Organzing Bookmarks - I can no longer find the option to organize unorganized bookmarks?

    I recently downloaded the latest version of FireFox. I have laptop: Samsung RV511 - latest version of Windows 64bit. There used to be option to organize or manage your bookmarks. You could move Bookmarks from folder to folder, create new folders and