Material characterstic values

Hi All,
When the material is created via MM01, depending upon the specific class, characterstic values, the material long text is updated.
My requirement is, is there any FM or BAPI which can give me the values of the class and characters which are in Buffer. I am using the user exit present for MM01 transaction to do this.
Please help on how to retrive characterstic values which are in buffer.
Reagrds,
Shahu

Hi,
Check this sample code, if it helps. Also the BAPI is well documented. If you have any question regarding parameter, please have a look at the documentation.
DATA: begin of lt_valchar OCCURS 0.
include structure BAPI1003_ALLOC_VALUES_CHAR.
data: end of lt_valchar.
DATA: gt_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
p_matnr LIKE BAPI1003_KEY-OBJECT,
OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
EXPORTING
objectkey = p_matnr
objecttable = 'MARA'
classnum = 'CL000099' " Give Class number
classtype = '001' " Give Class Type
keydate = sy-datum
TABLES
allocvaluesnum = lt_valnum
allocvalueschar = lt_valchar
allocvaluescurr = lt_valcurr
return = gt_return.
Regards

Similar Messages

  • Material Characterstic values and its text

    HI,
    I need material Characterstic values and its texts 
    CABN Characteristic Detail
    AUSP Characteristic Values
    CAWN Characteristic Values
    CAWNT Characteristic Value Texts
    KSML Characteristic Allocation to Class
    But my AUSP table dont have all material numbers which i need to give the condition ausp-OBJNUM = mara-matnr and my mara-atinn filed also blank to fetch the values directly.
    But the CABN,CAWN,CAWNT holds the data
    Any new inputs and conditions other than these
    Regards
    Rashed

    Hi,
    You need to search the object number in INOB(Link between Internal Number and Object) table first then you will get the record from AUSP.
    In INOB you can put the material number in objek field
    sample attached
    MANDT CUOBJ              KLART OBTAB                            OBJEK                    
    013   000000000000021515 001   MARA                             000000000000905030       
    Hopefully It should solve your probelm.
    Regards,
    Atul

  • How to Check Characterstic Values  assigned  for a material

    Hi ,
    My requirement is , to  check  each and every material entered in the selection screen  and characterstic values assigned to this,
    I dont need characterstic values  for a material, i have to check whether characterstic values assigned or not , if not i have to give a message..
    I used  CLAF_CLASSIFICATION_OF_OBJECTS FM  for  getting charactersic values
    it is giving NO classification found , but for tghat material classification is existing subsequently characterstic values are also there, i passed material no with leading zeros also.
    i used WMCL_MAT_READ_CHAR_VALUES FM also  , but it is giving  No charcterstic values found for that Material  but characterstic values are assigned for that Material..
    Could u please find out ,where  i am missing

    THIS MATERIAL HAS CLASSIFICATION VIEW  AND CHARACTERSTIC VALUES ALSO MAINTAINED
    DATA : MATNO TYPE AUSP-OBJEK,
          L TYPE I,
    T_CLASS TYPE STANDARD TABLE OF  SCLASS ,
    T_OBJECTDATA TYPE STANDARD TABLE OF  CLOBJDAT.
    MATNO ='631165'.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      EXPORTING
        input         = MATNO
    IMPORTING
       OUTPUT        = MATNO
    "use this function moduel...
    *Retrieve Batch class , characteristic name and values for Material
      CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
        EXPORTING
         class              = 'ZCA2535'
          classtype          =  '023'
         features           = 'X'
          language           = 'E'
          object             =  MATNO      "pass material number with leading zeros..
          objecttable        = 'MARA'  
        TABLES
          t_class            = t_class
          t_objectdata       = t_objectdata
        EXCEPTIONS
          no_classification  = 1
          no_classtypes      = 2
          invalid_class_type = 3
          OTHERS             = 4.
      IF sy-subrc = 0.
    ENDIF.
    BUT IT IS GIVING   NO CLASSIFICATION FOUND

  • Updating the characterstic values in the classification view

    Hi,
    We are trying to update the characterstic values in the material master through AUSP table (BDC program). We want to replace the old values with the new values. But the program is appending the new characterstic values to the old values. This is happening inspite of the configuration setting in the characterstic transaction (CT04) such that it allows only a single value. Please suggest us in this regard.
    Thanks
    Ramakanth

    use the following
    Set and Change Values
    Use
    You can use this function as an easy way to change, delete, or create large quantities of assigned characteristic values. Target objects can be classified, or existing assignments can be deleted.
    Prerequisites
    The selected target objects must have the same class type and object type as the template object.
    The characteristics must be the same for the target objects and template object.
    No interval values are processed. No reference characteristics are processed.
    Procedure
    Enter a class type. If the class type is for multiple object types, you see a list of the object types that you can select. Select an object type.
    Enter the characteristics whose values you want to change or set. To find characteristics, display the possible entries. To display all the characteristics of a class, choose Chars of class and enter the class.
    Characteristics: Old and New Values
    You can replace old values with new values. You can set completely new values if no value was assigned before, or delete old values.
    Use the possible entries to select values.
    You can only select one value for each line. If you want to process several values, you must select the same characteristic several times.
    Changing Values with an Operator
    If a characteristic has numeric format, you can use an operator to recalculate values. You can add, subtract, multiply, and divide figures. For character format, the operator fields are grayed out.
    On the Target objs tab, enter the objects to which you want to copy the new values.
    For more details on this procedure, a description of further functions, and information on the log, see the third and fourth steps in Copy Values Assigned to Object.
    On the Assignments tab, you can classify the target objects or delete existing assignments. Enter the class or select one using the possible entries. You can go to class management by choosing  Display class.
    Choose  Carry out a mass change.

  • Updating the characterstic values

    Hi,
    We are trying to update the characterstic values in the material master through AUSP table (BDC program). We want to replace the old values with the new values. But the program is appending the new characterstic values to the old values. This is happening inspite of the configuration setting in the characterstic transaction (CT04) such that it allows only a single value. Please suggest us in this regard.
    Thanks
    Ramakanth

    Hi,
    We are not using BAPI.
    We are using recording the transaction in MM02.
    Regards
    Ramakanth

  • Material classification values

    Hi Experts,
    i want to get material class values on the below parameters
       Material
       Class type
       Class Number
    and i want to get
       Characterstic name
       Characterstic Value
    It is not based on Material + Batch + Plant combination
    it is in the Tcode CU42.
    Is there any function module or BAPI module to get the above values.

    Hi
    Go to INOB table pass your Material Number for Object (OBJEK) you can get the CUOBJ value then go to AUSP table pass this value to ATINN you can get other values corresponding to your Characteristics
    Use VC_I_GET_CONFIGURATION and pass CUOBJ value to it.
    for sales order go to VBAP you can get  CUOBJ
    for Production order go to CAUFV you can get CUOBJ
    Cheers
    Ram

  • FM for characterstic value of a function location (asset)

    Hi All,
    Can any one please tell me the FM module to be used for finding the characterstic value for a given characterisctic name of a function location in IL03 (classification).
    I have tried using BAPI_CLASS_GET_CHARACTERISTICS, but it is not yielding the desired results.
    Thanks in advance
    Deepti

    Hi,
    I don't know why you are not getting the proper reult.
    BAPI_OBJCL_GETDETAIL iis uesd to get both character and numeric values back form the classes.
    Check this:
    LV_OBJECT = I_TPLNR.
    CALL FUNCTION 'BAPI_OBJCL_GETDETAIL'
    EXPORTING
    OBJECTKEY = LV_OBJECT
    OBJECTTABLE = 'IFLOT'
    CLASSNUM = 'Z_DEPOT'
    CLASSTYPE = '003'
    TABLES
    ALLOCVALUESNUM = WT_ALLOCVALUESNUM
    ALLOCVALUESCHAR = WT_ALLOCVALUESCHAR
    ALLOCVALUESCURR = WT_ALLOCVALUESCURR
    RETURN = IT_RETURN.
    Furthermore i have a list of BAPI. [Try this link|http://www.saptechies.com/sap-bapi-list/].
    May it helps you.
    Regards.
    DS.

  • Material Attribute value display based on cost center value

    Hi,
    Is it possible to display the material attribute value based on cost center value. I mean for some cost centers I would like to display the value of other characteristic in place of material attribute. I am trying to create a query on MP.
    Any info in this regard will be appreciated.
    Thank you.
    Harshan

    Hi Adi,
    In Rows, Create a struture. Using New Selection, You can restrict the New Value to the cost center (Restrict again on those some cost centers) and material. And for this New Characteristic, you can have a attribute.

  • Table used in Material cost value

    Hi,
    In Material cost estimation Cost Components views are Material Cost, Material Overhead, Subcontracting Charges, Conversion Cost and Total Cost. Material Cost is calculated based on Material price, Bom Qty, value put in KP26 i.e, fixed and variable pirce with combination of Cost Center and Activity type and processing hours, Labout hours from Routing. Total Cost appears with the combination of Material Cost and Conversion Cost . This Total Cost appears in costing view tab of Material Master and CKIS table. which table stored in Material Cost value. Kindly need your suggestion.
    Regards,
    Anindita

    Hi A Roy
    The tables are KEKO and KEPH....
    In KEKO you will find prod costimation no against the combination of Plant/Material
    Against this Prod Cst Est no, you will find the cost break up in KEPH table
    Regards
    Ajay M

  • I want better solution for adjusting the Material stock values for the last

    my Customer  need to adjust( Decrease)  the closing stock values for the following materials / plant wise as on 31.03.2006 for meeting statuary compliance.
    Material1 :  RS: 4149599    QTY : 10181.03 Ltrs
    Material 2  : RS: 1318596     QTY:  2152.76   Ltrs
    As per my knowledge MM posting periods can open current month and Previous month only. For the reason I proposed the solution as follows:
    Step 1 : post FI Journal Entry on 31.03.2006
    Opening Balance G/L  Account Dr 4149599 + 1318596
    Closting Stock a/c                      Cr 4149599 + 1318596
    Step 2.
    Change the Material Price in MM through T.Code: MR21
    ( Posting will be allowed in current or previous months)
    This makes our CO reports accurate.
    Please  suggest the better solution if it is possible in MM for adjusting the Material stock values for the last financial year.
    WIth Best Regards,
    Rajesh
    <b></b>

    Hi Madhavan,
    Unfortunately this forum deals with migrations from non-Oracle
    environments to Oracle. You seem to be dealing with migrations in
    an Oracle environment mainly.
    I would recommend that you contact Oracle Applications and RDBMS
    support directly. They will have the most up to date
    information/advice on performing these actions.
    Regards
    John
    Madhavan (guest) wrote:
    : Hi John
    : Thanks for your reply.
    : Actually I am planning to upgrade the system.
    : 1. I Want to Upgrade Oracle Financials release 10.7 to the
    : latest version (11.x)
    : 2. Oracle 7 database to oracle 8 or 8i.
    : 3. Oracle is running on NT service pack 3. Do I need to upgrade
    : this?. If not what is the impact on Windows NT?
    : 4. Is the majority still running smart client 10.7 and database
    : 7?
    : 5. What is the necessary time to implement these upgrades? What
    : type of consulting I need to have?
    : 6. I have some employees working on it? Will these changes
    : affect them?
    : What type of precautions I need to take on the whole??
    : Thank You
    : Madhavan
    Oracle Technology Network
    http://technet.oracle.com
    null

  • Material Assessable value in Purchase and Sales order.

    Dear Experts ,
    Case A : How Can we pass on material assessable value from PO to Sales order when Assessable value varies dynamically from one vendor to another vendor for same material.
    For Example :
    Let say we are procuring material X , Quantity 1 from Vendor A at the cost of Rs.1000 and the excise duty on the same will be 10% i.e 100 Rs.
    Same material X procured , quantity 1 from Vendor B at the cost of Rs.2000 and the excise duty on the same will be 10% i.e 200 Rs.
    Now when I create a sales order for two quantity for material X and SP is 5000 Rs. So which value I have to base on for calculating excise Duty and how can we justify for two quantities.
    Case B : I have been to J1id screen and there we can maintain one assessable value but in actual Assessable value is getting varied and using this technique how can we make sure that , Particular vendor stock which is holding XXX and YYY assessable value stock to be picked in sales order.
    Request you all to advice me on the above mentioned requirement.
    Warm regards
    Vijay

    hi
    based on my knowledge ,  your process is job work process, in job work process maintain the this flow,
    first case : please check your sale order customer details , because on one vendor can assign to your customer ,
    goto xd02 , check general data- at control tab, here assign vendor, based on you requirement ,
    will take vendor A stock ,  you assign vendor for you sale customer,
    and you want vendor B STOCK , you can assign for vendor to your sale order customer,
    and also check you vendor details(XK03)  , their is any customer,
    CASE2: TAKE yyy stock  it means ( the second vendor it can assign  you customer), in j1id you maintain the material assemble value , based on date please check, and also check , in j1id at material and  chapter id based , based on you material and chapter id combination , it activate subcontr's  icon check ,
    so please check you xd02 for vendor, xk03 for customer , j1id  assemble value material chapter id subcontr's icon ,
    please try

  • Material specific value contract

    Hi SAP Gurus,
    I have a problem while creating material specific value contract WK2. After creating the value contract for INR 50000 and doing the neccessary settings in item category WKN, i created a relaease order with value as INR 500.
    I can see the release order in the documnet flow of the contract, but in the contract overview screen value released is not reflecting, which i am expecting as 50000-500 = 49500. So the value released should reflect as INR 500.
    Please correct me if i am wrong.
    Regards
    S R Sahoo

    Dear Friend,
    Thanks for your reply. I have already done the following settings.
    In VTAA I have already set the Cont. item copy mode to B for both
    WK2 to WA and WK2 to OR.
    Please suggest further.
    Regards,
    S R Sahoo

  • Problem facing when changing configuration characterstic values in SO

    Hi Experts,
    I am facing a problem when i am chaging sales order configuration characterstic values they are updating perfectly. But when i am creating purchase order with reference to sales order then the sales order configuration currency characterstic values are picking as 0 which are already updated perfectly in sales order.
    I am using cl_cbase-> set_configuration method for to update the characterstic currency values.
                    cl_cbase->set_mark_for_saving after the above method
                    cl_cbase->save_and_free after the above method.
    Would request your suggestions if you have come across this situation.
    Advance Thanks
    Regards,
    Chandra.

    Hi,
    Can do it using Union All is prompt SQL and presentation variable in report.
    Refer : http://www.varanasisaichand.com/2010/01/editing-all-choices-in-dashboard.html
    Regards,
    Srikanth

  • Purchase Rebate is adding to Material cost value field

    HI,
    When i execute purchase rebate scenario, that amount is adding to Material cost value field in COPA report. Kindly tell me what isthe problem and where is the link between this.
    Thanks
    KB

    In customizing the integration of other modules with COPA you have keep in mind the sign logic because it may be different for values coming from different modules.
    Example: In our system revenue-reducing sales conditions come to COPA with a negative sign. In postings that come directly from FI to COPA, a negative sign means earnings. So we cannot assign any Fi account for direct posting to COPA to the same value field as SD conditions, because the sign logic doesn't match. We have to use different value fields and then get the formulas right in creating COPA reports to get the correct result in COPA.
    I think your problem here is of the same kind: Rebates from purchase seem to come with the same sign as cost of goods sold AND go to the same value field, although one consitutes cost and the other a reduction in costs.
    I think you have to get your rebates to post to another value field. Are those rebates an MM-condition or do they go to COPA through an assignment of FI-account to a value field?
    Regards
    Nikolas

  • Copa - text of material classification values to copa

    we will use copa for analysis.
    we want to have some material classification values to pa. we have the ausp value at copa by using
    kedr. but the problem is text of the classification values.
    When i try to create a value field with referance to the data element ATWRT than i have the error length 00030 of the data element is too big.also i know that there is no chance to create ATRWT with 30 chac length.
    when i create the value field without value maintanance then the text of the classification not comes to pa.
    At last i have created the value field as with own value maintanence and double the charecteristic names and text from kes1.
    But this solution is not suitable.
    Is there a way to take this text from cawnt table?

    we will use copa for analysis.
    we want to have some material classification values to pa. we have the ausp value at copa by using
    kedr. but the problem is text of the classification values.
    When i try to create a value field with referance to the data element ATWRT than i have the error length 00030 of the data element is too big.also i know that there is no chance to create ATRWT with 30 chac length.
    when i create the value field without value maintanance then the text of the classification not comes to pa.
    At last i have created the value field as with own value maintanence and double the charecteristic names and text from kes1.
    But this solution is not suitable.
    Is there a way to take this text from cawnt table?

Maybe you are looking for