Overwriting  charecteristic value in classification

Hi while doing MM02 to overwrite characteristic value system gives error and doesn't allow to do this.i found that the same character is used in almost 300 materials 023 class..character color. when i simulated the case i found that i need to change the basic value that's intervals tick in characteristic but for which i need to delete all intervals first..but its tough to do that. could any one give a better solution or any easy way to do this.
regards
george

Hi,
Why don't you try Mass Changes (T.Code MM17). This T.Code is used to change data for all materials at one shot. However, you have to know the field name to do this (Press F1 on the field to know the field name).
Hope this resolves your issue.

Similar Messages

  • Internal error while overwriting a charecteristic value in a class

    Hi,
    I am overwriting a charecteristic value in a class with a change master.
    In CL02 I entered the class and the chnage number and entered in edit mode.
    Then I selected the charecteristic view and selected the specific charectristic which value I need to overwrite and then clicked on "Overwrite Value" button.
    Now the system has found an internal error: the required characteristic data was not found in characteristics maintenance.
    Charecteristic data not found: Internal Error
    Please tell me how can I get out of this error.

    hi,
    Please check whether the overwriting indicator check box in character tab is select or not.
    It should be flagged.
    Thanks & regards
    Reddiy.

  • ABAP code in to JAVA for overwritting condition value for IPC pricing

    Dear experts i am an IPC JAVA developer and i am trying to translate an ABAP Routine in to JAVA code for overwriting condition value in the pricing user exit of IPC
    Here is the ABAPcode segment i am trying to transulate
      DATA: l_kdkg1  LIKE komk-kdkg1,
            l_work TYPE f,
            l_umren LIKE marm-umren,
            l_umrez LIKE marm-umrez.
      SELECT SINGLE peinh FROM mbew INTO mbew-peinh         
      WHERE matnr = komp-matnr
      AND bwkey = komp-werks.
      I need some  help in the following things
      1. I don't know how to transulate the following Line of ABAP code into JAVA
         " AND bwkey = komp-werks."
    Bwkey stands for plant details. I don't know how to get plant details from  Pricing Item.
      2. Someone please tell me weather the following JAVA transulation is correct
      Vector x = prItem.getUserExitConditions();
      db database = pricingEngine.getDatabase();
         // set table name
      String tableStart = "mbew";                                             
         // set query parameters
      sys_query_pair[] queryPair = null;
      //matnr = komp-matnr . Getting the material Number
      String materialNo= prItem.getProduct().toString();
      //bwkey = komp-werks.Getting plant.
      // TODO: werks stands for plant. Not sure how to get it from prItem
       String plant = "";
       queryPair = new sys_query_pair[2];                    
       queryPair[0] = new sys_query_pair("matnr", materialNo);
       queryPair[1] = new sys_query_pair("bwkey", plant);
      // set query columns
       String ZZFIELDStart = "peinh";
       String ZZFIELD_VALUEStart;                   
       String[] projectionStart;
       projectionStart = new String[];
       BigDecimal pricingUnit = null;
       try{     
          // execute query
          res resultSetStart = database.db_read_table(tableStart, queryPair,projectionStart) ;
          if (!res.db_empty_results_p(resultSetStart))
         ZZFIELD_VALUEStart = resultSetStart.db_get_row_element_string(0);
         pricingUnit = new BigDecimal(ZZFIELD_VALUEStart);
         resultSetStart.db_finish();
       else
         System.out.println("Coudn't find a value of field peinh in table mbew!");
       catch (exc_database_error e)
         e.printStackTrace();

    Please login to the server where IPC is installed. In the IPC folder u find libs folder  or search for docs in IPC folder. There it is dealt how ABAP routines are mapped to  user exits in java coding
    Thanks
    Surya

  • How to add new value in Classification under General tab via MM02.

    Hello Experts,
    I've a requirement where I need to add a new material variant configuration value via MM02 as highlighted below. I've also attached the screen shot of CL02, the two characteristics which I need to add (highlighted in red).
    Can please anybody tell me the steps to add value in Classification under General tab via MM02.
    Many thanks in advance.

    zero cool,
    Use transaction CL02 , open class in PCL_222_PURO_BOX with class type 300
    add characterstic
    PCH_COSTING_WGT_DETERM
    PCH_COSTING_WGT_A_DETERM
    save it.
    Now use MM02 and go to classification view , now you would be able to see these characterstic there.
    Check and come back.
    Thanks
    Ritesh

  • How to Extract R/3 Multiple Valued variant Classification Data in BI

    Dear Gurus,
                        got stuck in a situation where I am in need of your help. My Client want to extract the R3 Classification Data(Variant, Batch) into BI. I will share till what point I had reached. Used Transaction Code CTBW, was Trying to create Datasource based on Basic datasource 2LIS_11_VAITM for transactional Data. when I was trying to add the new Characteristics (CVN_L_AVG_SH) using Class with type 300(Variant), Getting an error "Characteristic has Multiple Values". I do know that Characteristics (CVN_L_AVG_SH and a fewmore) is having Multiple values, how can I add the same so that I can create classification datasource. Tried SDN got a PDF " How to Extract R/3 Classification Data in BI by Affine" but didn't helped Much.
    Looking ahead to hear from you.

    Hi Harsha,
    You cannot extract the multiple values using classification data sources, this data can be extracted by creating a generic extractor based on a view (with join on tables AUSP and INOB). this extractor brings the data in the following format.
    OBJEK | ATINN | ATZHL | ATWRT
    1 | HOBBY | 1 | CRICKET
    1 | HOBBY | 2 | PAINTING
    1 | HOBBY | 3 | READING
    2 | HOBBY | 1 | CRICKET
    2 | HOBBY | 2 | PAINTING
    3 | HOBBY | 1 | READING
    i.e. for field Hobby these are values assigned, if you want you can create 3 InfoObjects in BW and flatten this data by setting flags as below.
    OBJEK | HOBBY_CRICKET | HOBBY_PAINTING | HOBBY_READING
    1 | X | X | X |
    2 | X | X |    |
    3 |    |    | X |
    Let me know if you need more details.
    Regards,
    Rk

  • 11.1.2.1 - Overwrite Existing Values - Not Working

    Hi,
    Client has ASO Essbase application. They have duplicate rows of data apparently. I have the 'Overwrite existing values' box checked on the 'Data Load Settings'. I also select the 'Overwrite Existing Values' selection in the 'Data Load' window. Not sure why this is even there as it seems new or is a ASO specific functionality or something. Anyways, I created a simple file with two duplicate rows. When I load it using the rule, it doubles everything up. Then I load just a single row file with same rule and it successfully overwrites the values and loads properly.
    Is there a know issue with duplicate rows within the same file that causes it to double the values during the load? Or am I fundamentally missing something on how to correctly 'Overwrite Existing Values'?

    Found below out there in the documentation but trying to decipher it. If I understand the 'Buffer' will combine like rows withing a datasource automatically? But I can't figure out if that's in different source files only or within the same file?'
    Rules File Differences for Aggregate Storage Data Loads
    Rules file specifications for loading values to aggregate storage databases reflect the aggregate
    storage data load process.
    For block storage data loads, through the rules file, you choose for each data source whether to
    overwrite existing values, add values in the data source to existing values, or subtract them from
    existing values.
    For aggregate storage data loads using the aggregate storage data load buffer, you make this
    choice for all data load sources that are gathered into the data load buffer before they are loaded to the database.
    To use a rules file that was defined for a block storage outline with an aggregate storage outline, first associate the rules file with the aggregate storage outline. See “Associating an Outline with an Editor” in the Oracle Essbase Administration Services Online Help.
    For aggregate storage databases only:
    •     If you are loading data and values exist in the database, select an option from the Data load values drop-down list for overwriting existing values, adding to existing values, subtracting from existing values, or replacing the contents of the database.
    •     Select whether to ignore missing values and zero values in the data source.
    •     Select whether to load the data as a new slice in the database.

  • Overwrite specific value on .txt file

    Hello
    Does any one know how to overwrite specific values in a .txt file?
    here's and example of what i need:
    I just want to replace the numbers 1 and 2 every time I run my code, the rest remain the same.
    this is the part of the code Im using
    thanks!

    Hello Tokighy,
    What Bryan mentions is a good approach, you can also check the Write to Text File and Read from Text File.vi in the Find Examples section in LabVIEW, you can take the output from the Read from Text File (having as input your .txt file) and then use either Replace Substring or Search and Replace String functions from the String palette.
    http://zone.ni.com/reference/en-XX/help/371361H-01/glang/search_and_replace_string/
    http://zone.ni.com/reference/en-XX/help/371361J-01/glang/replace_substring/
    Hope you find this information useful!
    Regards, 

  • Overwriting the value of an html:hidden tag using javascript

    Hi!
    Can somebody help me with my problem?
    I need to overwrite the value of my html:hidden tag using javascript, but I dont know how?
    Any help?
    Thanks

    what are you talking about :x
    thats a webapplication question, wrong forum..
    But you are using STRUTS I would say...
    <html:hidden property="hiddenfield"/>This is the proper way of doing it.. but overrighting it
    I don't think you understand why we use that?
    It is only for forms.... we use that for hidden input ... It is common sence not to overrde that value.

  • Function Module to Read attributes value from Classification tab

    Dear Experts ,
    We are using material classification in the material master. Under classification tab of material master , we are maintaining certain characteristics and their corresponding values.
    I want to read those values and use those in one of the report.
    Can you please help me in identifying Function Module which will return the values of all the attributes of that material.
    Thanks in advnce,
    Regards,
    Nikhil

    You can check those details using CT06 transaction.
    FM CLAF_CLASSIFICATION_OF_OBJECTS can be used to retrive the data using program.
        CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
          EXPORTING
            class              = gc_class
            classtext          = 'X'
            classtype          = gc_classtype
            clint              = gc_mmpsk
            features           = 'X'
            language           = sy-langu
            object             = l_object
            key_date           = sy-datum
            initial_charact    = 'X'
            change_service_clf = ' '
            inherited_char     = 'X'
          TABLES
            t_class            = lt_class
            t_objectdata       = lt_objectdata
          EXCEPTIONS
            no_classification  = 1
            no_classtypes      = 2
            invalid_class_type = 3
            OTHERS             = 4.

  • How to overwrite the value of a struts variable value using struts only

    Say i define a variable using struts in my jsp
    <bean:define id="aVar" value="abc" />
    Now the variable has a value of abc , how can i overwrite it again to have another value --say "123"..
    I need to change its value using struts only and not scriplet.
    Kindly help ....

    This page may be helpful:
    http://www.exampledepot.com/egs/javax.servlet.jsp/usebean.jsp.html

  • Overwritting the values in the property files

    Hi All
    I am new to reading property file in java. I am able to read the property files but it is overwritting my key/value pair.
    The main thing when I am comparing the adminname which is present in the property file with the username which I am getting in the servlet request.
    Its only comparing the last key/value pair ie.., adminname=ghj.
    Can anyone help me regarding this...please..
    i need to check whether userName(Servlet request) matches with any one of the values(abc,cde ,fgh,ghj) present in the property file.
    But in my case it is only comparing the last value only.
    for Eg:
    admin.properties
    one key and number of values. Can I do this?
    adminname=abc
    adminname=cde
    adminname=fgh
    adminname=ghj
    // if they want to add or remove the admin people they are going to do it from property file which is the text file.
    import java.io.*;
    import javax.servlet.Filter;
    import javax.servlet.FilterChain;
    import javax.servlet.FilterConfig;
    import javax.servlet.ServletException;
    import javax.servlet.ServletRequest;
    import javax.servlet.ServletResponse;
    import javax.servlet.RequestDispatcher;
    import javax.servlet.http.*;
    public class ExampleFilter implements Filter {
         private FilterConfig filterConfig=null;
         public void init(FilterConfig config) throws ServletException {
              this.filterConfig = config;
         public void destroy() {
              filterConfig = null;
         public void doFilter(ServletRequest request, ServletResponse response,
                   FilterChain chain) throws IOException, ServletException {
              RequestDispatcher rd = null;
              String userInfo = "";
              String userName="";
              if (request instanceof HttpServletRequest) {
                   userInfo = ((HttpServletRequest) request).getUserPrincipal()
                                      .getName();
                             String[] pieces = userInfo.split("\\\\"); // Firefox sends DOMAIN\USERNAME as UserPrincipal
                                  userName = pieces[pieces.length -1]; // getting the username for which I need to perform check
           try
                Properties propertiesFile = new Properties();
                FileInputStream file =
                    new FileInputStream("C:\\webapp\\WebContent\\WEB-INF\\lib\\admin.properties");
              if (file == null)
                       throw new NullPointerException("Properties file 'admin.properties' is missing in classpath.");
                   propertiesFile.load(file);
                              propertiesFile.list(System.out);
                           val=propertiesFile.getProperty(adminname);       
                                                 //here watever the last key/value is present in the admin.properties, I am getting it.
                             //In the above property files i will get "ghj"
                                                 System.out.println("adminName In Property file:" +val);
          if(userName.equals("val"))
                                      // I NEED TO COMPARE THE USERNAME WITH THE adminname IN THE PROERTY FILE (admin.properties)
                                       // IF userName=anyone value in the property files.......... I AM FORWARDING IT TO REGULAR PAGE
                                          chain.doFilter(request, response); // if username is present in proeprty file, I need to navigate to normal pages.
                      else{
                             //IF adminname is not present i m forwarding to ERROR PAGE
                              rd = request.getRequestDispatcher("/admin/error.html");
                                           rd.forward(request, response);
               catch(Exception e)
                      e.printStackTrace();
    }

    Read the java.util.Properties API. You can't have multiple same keys. Use one key or a key with some suffix, e.g. adminname.1 and so on or so.
    This has nothing to do with servlets. You've a problem with classes of java.util package, not of javax.servlet package. Use the 'New to Java' forum.

  • Overwriting InfoCube values

    Dear all,
    We have an architecture wherein the history is loaded into an infocube, there are two types of key figures in that infocube one is the normail primary sales key figures and second one is modified primary sales key figures. I do not have an ods in between. Now i have a process which will read a file from the branch which will ask me for a customer realignment process. That means the primary sales of customer1 will be allocated to customer2 and customer3 etc depending on the percentage which they will mention in the feed which is coming from the branch. Now lets say i have already values for customer 1, customer2 and customer3 for primary sales and modified sales in the infocube and the branch wants to change the modified values. Is it possible to take the values from the infocube and do the computation and write back the new values into the cube. If possible then how.
    Your answers would be rewarded.
    Regards
    Vijay

    Hi
    Their is one approach, i don't know how far that will suit your requirement, this is called loop back, and this has been explained by one of our SDN experts (Dinesh Kumar Lalchand) in a blog as well.
    How about creating an update rule on the cube making the cube itself as a datasource and do the changes in that update rules make the logic and change the data and then post it back.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f421c86c-0801-0010-e88c-a07ccdc69601
    thanks and regards
    Neel
    Message was edited by:
            Neel Kamal
    Message was edited by:
            Neel Kamal

  • Overwrite the value

    Hi Masters,
    in my CRYSTAL report i have a FIELD : STATUS
    To this STATUS i need to give a condition such as
    if STATUS = "I0431"
    THEN i need overwrite "I0431" to "CREATED". like we do in ABAP.
    I have tried but not succeeded...can i have some info pls..
    Thank you,
    pasala.

    Hi Pasala,
    There two ways of doing this:
    Method1:
    1) Insert the 'Status' field in a reports section; I'm assuming it is the details section
    2) Right click the field and select Format Field > Common tab > Click the formula button (X-2) beside 'Display String' and type this formula:
    If currentfieldvalue = "I0431" then "Created"
    else
    currentfieldvalue
    Method 2:
    1) Open Field Explorer (View>Field Explorer)
    2) Right-click Formula Fields and click New. The formula editor opens up. Type this formula:
    whileprintingrecords;
    if = "I0431" then "Created"
    else
    3) '' is actually the database field. You'll need to replace it with your db field here
    4) Drag and drop this formula from the Field Explorer to the details section
    Hope this helps!
    -Abhilash

  • Changing of charecteristic values

    Hi all,
    I need to change characteristic value from an existing one. When  I try to save system is throwing a message that the value cannot be deleted because the value has been used already and I have a where used list which has that old value.
    How can I update oldvalues of whereusedlist with my new value. Is there any standard program for that?
    thanks and regards
    satish

    Hi
    You might have used the particular characteristic in some catalog.
    You first have to remove it from there and then only it would be possible to change the characteristic
    Also please note that you have to remove the assignment, if any, has been made of that catalog.
    To summarize: Remove the assignment of the catalog (to equipment, FLOC etc.), then remove the assignment of the characteristic from the catalog and then chage the characteristic
    Regards

  • Values not getting updated in Classification tab by BAPI_BATCH_SAVE_REPLICA

    Hello Experts ,
    I am currently facinmg problem with value updation in Classification Tab for Batch Master. To create the classification I have marked BATCHCONTROLFIELDS-DOCLASSIFY = 'X' and to pass values to classification I have done the below coding.
    wa_classvaluationschar-value_char = wa_itab-value1.
    APPEND wa_classvaluationschar TO it_classvaluationschar.
    wa_classvaluationsnum-value_from = wa_itab-value1.
    wa_classvaluationsnum-unit_from  = wa_itab-meins.
    APPEND wa_classvaluationsnum TO it_classvaluationsnum.
    Finally called the FM 'BAPI_BATCH_SAVE_REPLICA'. But , inspite of this I am not able to see values in the created Batch. Please advice on the same.
    Thanks
    -Trishna.

    Hi Trishna,
    You need to update below mentioned fields to udpate that.
    OBJECTKEY = concatenate (Internal Material number & plant & batch number)
    OBJECTTABLE = MCHA
    in both the structures CLASSALLOCATIONS and CLASSVALUATIONSCHAR. It will udpate.
    Cheers,
    Luri

Maybe you are looking for

  • RFC Connection error in BW

    Hi, Source system error. BW RSA1Source System (Context Menu) Check Error: RFC Connection Check failed Diagnosis                                                                   You tried to logon to check the connection to the source system. This

  • ODBC SQLGetData not thread-safe when retrieving lob

    Hi MaxDB developpers, we are in the process of migrating our solution from SapDb 7.4.03.32 to MaxDb 7.6.03.7. We use the ODBC driver on windows, from multi-threaded applications. We encountered bugs in the ODBC driver 7.4.03.32 and made our own fixes

  • Key down events

    Hi, I've been working on code for handling a flash-plugin inside an existing application, and have been looking at getting the flash player working with the Cocoa/CoreGraphics API. Thus far, I have plugin loading, focus, mouse handling events all wor

  • Transferring money between checking accounts when using Numbers

    I have multiple checking accounts. I have set them up so each account has it's own page within a workbook. I frequently transfer money between accounts. How do I set it up so transfers don't appear as income/expenses?

  • AIP-SSM, it is not sensing the traffic

    Hi everyone, i have a trouble, now iam using an ASA 5510 with AIP-SSM10, my problem is when I redirect the traffic to the AIP-SSM for detects attacks, i probe it and then I look in the events logs of the IPS, and the sensor dont detect nothing, is ne