Material Variant of a Config Material to take Charac. Values from Sales Ord

Hello Guys,
Is there any way to have a Material Variant for a Configurable Material to take the Characteristic values from a Sales Order instead of Material Master ?
I understand by default Material Variant has fixed characteristic values and is taken from material master......
however here is the situation am in.......
I have a completely MTO scenario where we will making the product from scratch only after we know the characteristic values.......however our Costing Guys want to do standard cost estimate for the Configurable Material somehow......they were able to do Cost Rollup by making the Configurable Material itself as the Material variant of itself (assigning the same Configurable Material # in MRP3 view)............however this broke my design of taking characteristics from the Sales Order...because the Configurable Material is now behaving as Material Variant and taking the default characteristic values from the Material Master....
Note: Our Costing guys donot want to cost settlement at Sales Order level.
Regards,
BRN.

I had exactly the same problem. (configuration "blocked" in SO because the use of material variants for PC purposes...)
SAP help says : To allow you to change the configuration of material variants in the sales order, the Configuration allowed or required indicator must be set in Customizing for Sales and Distribution. The requirements class is determined using the strategy group and requirements type defined in the material master.
The req. class parameter, mentioned not very clearly by the SAP help, that allows changing the characteristic values of a material variant during the SO configuration is V_T459K-KONFI and value must be either * or +
Hint: A quick check can be done In the SO entry: go to the procurement tab and replace your requirement type by KEL, you'll see that configuration is "open" 
Hope this helps
Iñaki
Edited by: InakiGonzalez on May 11, 2009 8:08 PM
Edited by: InakiGonzalez on May 11, 2009 8:15 PM

Similar Messages

  • How to take the values from a  String ( CSV   values).

    Hi All,
    I am passing csv String to a procedure as in parameter,but I have to take the values from a csv String one by one.Please let me know Is there any StringTokenizer function in oracle to take values like in java. Here is my javacode.
    import java.util.StringTokenizer;
    public class Sample {
         public static void main(String[] args) {
              String s="one,two,three,four,five";
              StringTokenizer stringTokenizer=new StringTokenizer(s,",");
              System.out.println( stringTokenizer.countTokens());
              System.out.println(stringTokenizer.hasMoreTokens());
              while(stringTokenizer.hasMoreTokens()){
                        System.out.print(stringTokenizer.nextToken());
    o/p: one two three four five

    Something based around one of these two methods should assist...
    select substr( the_string 
                  , decode( level, 1, 1, instr(the_string,',',1,level-1)+1)
                  , decode( instr(the_string,',',1,level), 0, length(the_string), instr(the_string,',',1,level) - decode( level, 1, 0, instr(the_string,',',1,level-1))-1)
                  ) the_value
                  from ( select '10,12,20,30,30,3,12,12,56' the_string
                         from dual
                  connect by level < length(replace(translate(the_string,'01234567890','00000000000'),'0')) + 2
    or
    SQL> select REGEXP_SUBSTR ('a,b,c,d,e', '[^,]+', 1, level) from dual connect by level<=5
      2  /
    REGEXP_SU
    a
    b
    c
    d
    e
    SQL>

  • Need to take a value from the csv file and query in a OAF page.

    Hello,
    I have a requirement to take the list of employee numbers in a csv file and display its corresponding job on the page.
    I have created a item 'MessageFileupload' where the user will upload the csv file containing the employee number and a Button 'Display Jobs' which will display the corresponding jobs on the page.
    Any idea how to take the values from the csv file and query it?
    Regards,
    den123.

    Hi ,
    Check
    http://oraclearea51.com/contribute/post-a-blog-article/csv-file-upload-for-oa-framework.html
    http://www.roseindia.net/jsp/upload-insert-csv.shtml
    Below code works from above blogs.
    package xx.oracle.apps.pa.Lab.webui;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    // import java.io.*;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.domain.BlobDomain;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.Row;
    * Controller for ...
    public class deptCsvUploadCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        // Code Addition Started for CSV upload
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
        OAViewObjectImpl vo = (OAViewObjectImpl) am.findViewObject("deptCsvVO1");
          //if ("GoBtn".equals(pageContext.getParameter(EVENT_PARAM)))
           if (pageContext.getParameter("GoBtn") != null)
          System.out.println("Button Pressed");
              DataObject fileUploadData =(DataObject)pageContext.getNamedDataObject("FileUploadItem");
              String fileName = null;
              String contentType = null;
              Long fileSize = null;
              Integer fileType = new Integer(6);
              BlobDomain uploadedByteStream = null;
              BufferedReader in = null;
                      try
                      fileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
                      contentType =(String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
                      uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
                      in = new BufferedReader(new InputStreamReader(uploadedByteStream.getBinaryStream()));
                      fileSize = new Long(uploadedByteStream.getLength());
                      System.out.println("fileSize"+fileSize);
                      catch(NullPointerException ex)
                      throw new OAException("Please Select a File to Upload", OAException.ERROR);
                      try{ 
                      //Open the CSV file for reading 
                      String lineReader=""; 
                      long t =0;
                      String[] linetext; 
                      while (((lineReader = in.readLine()) !=null) )
                      //Split the deliminated data and
                      if (lineReader.trim().length()>0)
                      System.out.println("lineReader"+lineReader.length());
                      linetext = lineReader.split(","); 
                      t++;
                      //Print the current line being
                      if (!vo.isPreparedForExecution())
                              vo.setMaxFetchSize(0);
                              vo.executeQuery();
                        System.out.println("Trimmed "+  linetext[1].replace("\"", ""));
                      Row row = vo.createRow();
                      row.setAttribute("Deptno", linetext[0].trim());
                      row.setAttribute("Dname",linetext[1].trim().replace("\"", ""));
                      row.setAttribute("Loc",linetext[2].trim().replace("\"", ""));
                      //row.setAttribute("Column4", linetext[3].trim());
                      vo.last();
                      vo.next();
                      vo.insertRow(row);
                      catch (IOException e)
                            throw new OAException(e.getMessage(),OAException.ERROR);
              //else if (pageContext.getParameter("Upload") != null)
              am.getTransaction().commit();
              throw new OAException("Uploaded SuccessFully",OAException.CONFIRMATION);     
    }Thanks,
    Jit

  • Faces config exception - Can't get value from value binding expression:

    the menuItem_Department shown property takes value from userRight's session bean object userDetail.
    class UserRights{
        public boolean mDept = false;
        public boolean loggedIn = false;
        public boolean admin = false;
       //accessors
    }now, the shown property picks correct value for #{userDetail.admin} but gives erros on this. any idea how to get around this exception:
    Managedbean menuItem_Department could not be created Can't get value from value binding expression: '#{userDetail.mDept}'.
    javax.faces.FacesException: Can't get value from value binding expression: '#{userDetail.mDept}'     at com.sun.faces.config.ManagedBeanFactory.evaluateValueBindingGet(ManagedBeanFactory.java:903)
         at com.sun.faces.config.ManagedBeanFactory.setPropertiesIntoBean(ManagedBeanFactory.java:547)
         at com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:233)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:256)
    .. stack tracepointers appreciated.
    reagrds
    Rabs

    well, i figured out the problem so thought to share with all aswell.
    all i changed was the name of the variable from mDept to dept.
    java beans has its own set of rules and naming conventions which i have not read much about but this problem had to do sumthing with that!
    just changing the name simply works fine!

  • Delivery-related billing for TAS : take VPRS value from GR or Invoice

    Hello,
    One my customers currently invoices stock items and Third-Party Items separately. He now wishes to invoice both items together.
    In Third-Party standard flow no delivery is needed. In order to invoice both items together I have now activated the delivery for the Third-Party item flow (item category TAS).
    I can now invoice both items together based on the common delivery.
    I have now another problem regarding the TAS item invoiced...
    -  In standard flow (third-party processing = order-related billing), the value for VPRS is taken from the MM flow (either from Goods Receipt or from vendor's invoice depending on the customizing) automatically. This is great since the vendor might enter a different cost than the one from the sales order and it is that cost that we need to find in the billing doc and in CO-PA.
    -  When I do delivery-related billing for my TAS item the VPRS is not updated from MM but is taken from Sales order (thus from material cost) --> incorrect value for my customers's need
    I need to do delivery-related billing for item TAS with VPRS in billing doc (SD invoice) = value of MIGO or MIRO
    Can anyone indicate me how to do this (user-exit? routine? ....)
    Thank you
    Regards,
    Cynthia

    Hi Cynthia,
    Anyone, please correct me if i am wrong.
    can we do like this for the given situation:
    instead of changing TAS functionality, let us have billing relevance G (Order-related billing of the delivery quantity) in the item category for the stock items. so that you can bill both stock item and third party item in one billing document with reference to Order instead of delivery document.
    you can have separate Item category for changing in SO for stock item whenever you want to club Third party item and Stock item for billing in the same document.
    thanks
    Rajam

  • Selection of material if no charac value selected or specific charc value

    Hi
    In Variant configuration, in dependency rule, i have to make for the following requirement:
    CHARACTER     CHARACTER VALUE
    ABC                   YES
                              NO
    Mateiral X has to be selected if CHARACTER VALUE NO selected or if no one character is selected(either YES or NO)
    Means only for value YES material should not be selected, otherwise it can be selected for NO and null value.
    How to set rule for this in selection condition,BOM assignment.

    Dear,
    Best and simple way is make value NO as default value for charecter, write selection condition as below in the component where it should be selected if no or null
    ABC = 'NO'
    i hope this is the best way
    one more way which is complicated way by defining a variant table.
    Edited by: Rajesha Vittal on Jan 4, 2008 2:05 PM

  • Delivery to copy weights,volumes from material master,instead of sales ord

    hi,
    The weights/volumes get copied from the material master to the sales doc and from the sales doc to the delivery.
    We have a issue where proper weights/volumes are not known at the order entry. thus when the new weights etc are noted, they change it in the material master.
    could some one please let me know how to configure the system to take the values from the material master for these instead of the sales doc to get the weights/volumes.
    that is the delivery doc should get the weight and volume from the material master(changed values)
    Appreciate your help on this.
    Thanks & Regards,
    Keshini

    Hi Keshini
    So , lets assume that you have created a sales order for the material MAT1 and it has Net weight 5kg & Gross weight 6kg ,Now the sales order status is open you have not yet delivered that order and you have changed the Net weight 10kg & Gross weight 14kg. So you want to update that open sales order to Net weight 10kg & Gross weight 14kg. If that is the problem then just go to VA05 and give the material (MATNR) and check the box open sales orders then you will get the open sales orders then in the menu you select to carryout the net weight & gross weight there you can change .and then you can do delivery then the updation will take place in the Net weight & Gross weight also
    Regards
    Srinath

  • Inactive Material Display from Sales Order screen

    Hi Everyone,
    In Continuation to my previous thread,
    [Suppress Cost Feild in Sales Order;
    I want to inactive "Material Display (F8)" from Menu: Enviornment, in Sales Order Screen.
    The requirement is that user must not display material related details, mainly cost, from Sales Order screen, itself.
    Thanks,
    -Sumi.

    Hi,
    To prevent user from displaying MAterial information from Menu bar refer to the following link form SAP. It has the complete answer to your question although it is for a different module.
    http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation
    The procedure would be same, except that in SHd0 transaction code you would be giving VA02 as T.Code instead.
    You can feel free to raise your queries if any after going through this link.
    Regards,
    Rohan Gudavalli

  • How to take Purchase order Pending quantity value from Table. ?

    Hai SAP Gurus,
                             Now Using ME2N, I am taking Pending Purchase Order Value against Plant wise & Material Type wise. Its takes lomg time to see this report.. Kindly guide me  how to takes those value from table..?
    ex:  Material Type     Plant 1
           RM                     1716294228
           HIBE                         63586533
           ERSA         27143712
           VERP      7551982745
           Components      7375781142
           Total                    Rs. 16734788360

    Hi
    It is possible through ME2N plantwise pend PO report.
    Put plant and WE101 in selection parameters

  • How i can make multilanguage application .. take his vlues from database

    How i can make multilanguage application .. take his values from database
    and can change labels of massages , buttons ,text fields and name of columns in run time
    in jdevelpoer11g
    great thank

    Hi,
       I think that there is not a standard support for retrieving multilanguage texts from database in ADF. What we did is to implement our own ResourceBundle that retrieves the translated text from custom database tables. We also introduced a cache for optimizing the access to the translations.
    I hope this can help,
    Juanjo

  • Variant config - error Material ZZZ is not copied from the bill of material

    Hello guys,
    I try to obtain a material configurable in a new plant.
    I have more errors and I don't know exactly if the problems are in setting of the variant configuration, or if the problems are in customizing.
    When I try to make a Sale Document (Standard Order VA01), the following error occurs:
    Material ZZZ is not copied from the bill of material.
    Message no. V2003
    Diagnosis
    When the bill of material was exploded, it was established that no sales document item could be created for material ZZZ.
    System Response
    The system ignores the material during bill of material explosion.
    Procedure
    Check if the BOM explosion can be used without material ZZ. If not, delete the main item which lead to the BOM explosion. You may be able to enter an item manually in which the material ZZZ in the BOM.
    What do you think it might the solution for this challenge?
    Thanks in advance.

    hello, friend.
    the issue you presented is very broad and requires some more info, such as:
    1.  what are the item category groups of the material and ZZZ?
    2.  did you check item category determination in your sales doc type?
    regards.

  • Picking or copying Characteristics  Value from material master

    Dear Experts,
      Please i create   five Characteristics  which i assign to a Class ( of type 022 ). The Class is then assigned to  materials in the classification View of the Material Master.
    I want  one of the five Characteristics to copy its values from specific parameter value  maintaned in the  Material Master.
    Please assist on how to accomplish this?
    I did the following but did not get the desired results;  While creating this  Characteristic, in the Values Tab, I filled  ''MARC'' in the Tablename field   & in the Fieldname field, i enter the technical fieldname of the particular field from table MARC which i want.
    I want this particular value to be automatically copied into the Characteristics Value field in the Foreground  for eacb batch anytime Goods Receipt is done.
    after doing this, anytime Goods Receipt is done & a batch number generated, it takes me to the Classification screen, but this particular field which i desire  to be auto updated remains blank. 
    Please assist ?

    Hi,
    1. This will not automatically updated just as we wil fill the addtional date table and field.
    2. you need to write the object dependency to get it updated when you call somewhere
    3. Generally in the batch level you will be able to do this .( even you can use function / object dependency )
    Reg
    Dsk

  • How to Load Historical values from Material Prices

    Hi
    I have to load historical values from Material Prices.
    I'm using extractors 0CO_PC_ACT_02 and 0CO_PC_ACT_05.
    Do you know how I can do this in a easy way?
    Help is appreciated.
    thanks in advance.
    best regards

    Hi Joao,
    This extractor0CO_PC_ACT_05 takes the data from table MBEW. ( data for the current period, previous period and last period of the previous year )
    If material ledger is active, then it takes the information from table ckmlhd for those materials.
    It does not look like fetching from MBEWH.
    Please validate my above comments with sample extraction for a material and plant.
    If that is the case, I would suggest you have to create a custom extractor based on MBEWH to get the historic price data and with 0CO_PC_ACT_05 you can get the prices for the previous period as they get completed .
    0CO_PC_ACT_02 gets you the inventory value and not the price in the same way.
    You might have to think about 0CO_PC_ACT_06 and 0CO_PC_ACT_07, if you have project stock and sales order stock in your business scenario.
    Please let me know, how this goes.
    Thanks,
    Krishnan.

  • He material is not displayed as valuated Sale Order Stock

    Sale Order has been created and MRP execution is done at MD04.
    The Sale Order is released as Production Order.
    But when I am executing T Code  MBBS I am getting error message syaing
    The material is not displayed as valuated Sale Order Stock.
    Diagnosis
    The system has not found any stock that satisfies the selection criteria entered.
    Possible reasons for this are:
    The material does not exist. Have you entered the right material number?
    Your selection is too restrictive. The system was not able to find any stock that satisfies all selection criteria.
    The stock balance is zero.
    Procedure
    Check all the selection criteria you entered.
    Stock overview has displayed enough stock for material.
    Please adivse me how Material  can be displayed as valuated Sale Order Stock at MBBS.
    Regards

    Hi,
    Check whether the Production order execution is done and any GR has been done against the Order.
    Once the above is done, check in MBBS, the stock will sit in the Valuated SO stock.
    Even wait for any other replies.
    Thanks & Regards,
    Ravi Kumar

  • Mb1b movement 453 - profit center not from material but from sales order

    Dear All,
    we have the problem that by return process from sales order stock to free stock (453 movement) we would like to have the original Profit center from sales order, but as SAP standard it moves PC from material master.
    we have implemented already oss 978159 sowie 1038490, but did not help.
    Since days we try to find an uxer exit in MM or CO!? where we could write in the correct profit center. But unfortunately PC from material master pops up at the end of the process, and the system overwrites it again and again.
    Had sy of you similair problem? can you please help with an user exit?
    Thanks,
    BB

    Hi
    I think this behaviour is correct.. Since you are moving from Sales order stock to Unrestricted stock, the PC from mat master would prevail...
    As far as I know, this behaviour is correct
    Regards
    Ajay M

Maybe you are looking for

  • How can i display Waveform chart in a subpanel using Vi templates.

    Hi All I am new to Labview hence need  some help. I am trying to develop an application which reads some data from a Wireless Sensor Network (WSN). The WSN consists of base station connected to the USB port which recieves data from other sensor nodes

  • Can I create a digital id for electronic signatures in adobe reader for ipad?

    Can I create a digital id for electronic signatures in adobe reader for ipad?

  • Iphoto is gone HELP!!!!!!!

    I logged in and my mac said iPhoto had not been set up i typed in iPhoto set it up it reovered the photos from i cloud but everything else is gone . I tried doing the rebuild iPhoto library it is not working . I did an update last week for Security 2

  • Can IT0077 be added in the portal

    Hi Gurus, Can IT0077 be added in portal as part of standard SAP? Please let me know how can it be done? Thanks,

  • FS Cache Ref queue issue

    I have an issue with object.wait and reference queue lock issue. The web logic server thread hung up and indicate "local Variable unavailable". From thread dump, it appears it is waiting for a cache reference queue lock. Any one can give some directi