Get batch characteristic value

Hi Experts,
I need to get the characteristic value of a batch if I provide with batch number and characteristic name as parameters.
Is there any standard function module for this?
Regards
Thanks in advance
Prathib

Dear,
BAPI_CLASS_SELECT_OBJECTS gets objects for a class. If you want to retrieve the characteristics, try using BAPI_CLASS_GET_CHARACTERISTICS.
or check FM CLFM_SELECT_AUSP
Regards,
R.Brahmankar

Similar Messages

  • Populate Batch characteristic values in create sales order BAPI

    Can anybody help me in populating the batch characteristic values using BAPI_SALESORDER_CREATEFROMDAT2?
    I have checked the related notes provided by SAP, like, 567348 but it will be great if someone can send some code snippet on this.

      Subramanian, Brad and Raja.
      Thanks for your suggestions its were useful, with
      these i can resolve my problem.
       !!! Best Regards !!!
    Raja
      I used the se37 to test bapis, is more easy and fast !!
      and you can save data like variant, and you can simulate the real execution without write any code abap,
    and re-process the times that you need,
    when you know what fields you need you write your abap code faster.
       Thanks !!!
    Message was edited by: Noemi Huerta

  • When we run query how it gets the characteristic values and attributes.

    Hi,
    When we load transaction data it chacks characteristic values then SIDs then DIM IDs then insert  DIM IDs into fact table but when we run the query how it checks and gets the characteristic values and attributes.
    Bye
    GK

    when we run the query how it checks and gets the characteristic values and attributes.
    Just the opposite way you have described. It gets from the corresponding masterdata tables, with the connected SID.

  • From which table I can get Vendor characteristic values ?

    Hi Everybody,
    From Which table I can get <b>Vendor Characteristic values from Vendor classification ?</b>
    Thanks & Regards,
    Nagaraju Maddi

    Hi
    Check the Tables
    CABN and AUSP
    or use the following
    Use the following BAPI's:
    BAPI_OBJCL_GETDETAIL
    or use the fun module:
    CLAF_CLASSIFICATION_OF_OBJECTS.
    Reward points for useful Answers
    Regards
    Anji

  • Batch characteristic value not populated!

    Hello guys,
    please would appreciate advice to following:
    I created two reference chars z_goods_receipt (MCH1-LWEDT) and z_created_on (MCH1-ERSDA). Chars assigned to material batch class. During GR in Classification Dates (chars values) are visible, but after GR is saved, in batch chars values are not populated.
    Consequently, I can not use these chars in sorting criterium for delivery batch determination - batches are not sorted acocrding to dates.
    Batches on material level. In Customizing (Classify batches within goods mvt), for mvt 101 setting is 4 (Classification always in foreground (all batches)) - but bug remains even if i try with other options. Check with developer shows not much help from EXIT_SAPMM07M_004 or EXIT_SAPMM07M_004 or EXIT_SAPLV01Z_012.
    Any idea how to populate these chars in batch?
    Alternatively, what else I could use in order to enable FIFO batch determination for batches in delivery?
    Thanks for prompt replies!
    Br, Jan

    Hello,
    SAP reply -standard behaviour. After save in MSC2n values read from MCH1, after that in MSC3N value read from AUSP.
    Issue solved using non reference charactereristic and adding code into ZXMBCU04.
    Br, Jan

  • Issue in getting Characteristic Values of Contract

    Hi Experts,
    Can anyone let me know, how to get all the Characteristics entries for a line item in a Contract ( i.e. VA43 -> Extras -> Configuration ).
    I have used VC_I_GET_CONFIGURATION_IBASE, VC_I_GET_CONFIGURATION, and CUCB_GET_SINGLE_INSTANCE,
    however all these FMs are missing a particular characteristic of a material.
    Kindly let me know if you have an workaround.
    Many Thanks,
    Prasad.

    Hi Prasad,
    Welcome to the SDN forum,
    You can know the Characteristic values from the Table AUSP go to SE16N give the table AUSP and get the Characteristic
    value. For tables relevant to characteristics are given below.
    CABN              Characteristics ( o.a. batch/vendor)
    CABNT            Characteristics description
    CAWN             Characteristics ( o.a. material)
    CAWNT           Characteristics description
    AUSP              Characteristic Values
    Regards
    Ram

  • How to get Characteristic Values assigned to the line item of Sales Order?

    Hi,
    I want to get the Characteristic Values( Variant Configuration )assigned to First Line Item of Sales Order.
    I was using the Fn. Mod.: VC_I_GET_CONFIGURATION_IBASE,
    this fn. mod. giving all the Characters but not the assigned characteristic values.
    Is there any other way to find characteristic values of sales order.
    Thanks,
    vinayak.
    Message was edited by: vinayaga sundaram

    For example, please see this example program.
    It lists the characteristic names, the values, and the description of the values which are tied to a sales document.
    report zrich_0001.
    * Internal Table for Characteristic Data
    data: begin of i_char occurs 0.
            include structure comw.
    data: end of i_char.
    data: xcabn type cabn.
    data: begin of xcawn,
          atwtb type cawnt-atwtb,
          end of xcawn.
    data: xvbap type vbap.
    parameters: p_vbeln type vbap-vbeln,
                p_posnr type vbap-posnr.
    start-of-selection.
      select single * from vbap into xvbap
                 where vbeln = p_vbeln
                   and posnr = p_posnr.
      clear i_char.  refresh i_char.
    * Retrieve Characteristics.
      call function 'CUD0_GET_VAL_FROM_INSTANCE'
           exporting
                instance           = xvbap-cuobj
           tables
                attributes         = i_char
           exceptions
                instance_not_found = 1.
      loop at i_char.
        clear xcabn.
        select single * from cabn into xcabn
                 where atinn = i_char-atinn.
        clear xcawn.
        select single cawnt~atwtb into xcawn
                   from cawn
                     inner join cawnt
                       on cawn~atinn = cawnt~atinn
                      and cawn~atzhl = cawnt~atzhl
                          where cawn~atinn = i_char-atinn
                            and cawn~atwrt = i_char-atwrt.
        write:/ xcabn-atnam, i_char-atwrt, xcawn-atwtb.
      endloop.
    Regards,
    RIch Heilman

  • Changing DATE as a Characteristic value of batch with BAPI_OBJCL_CHANGE

    Hello,
    Could you give advice for using BAPI_OBJCL_CHANGE?
    I decided to use BAPI_OBJCL_CHANGE to update Batch characteristic value.
    I could update CHAR field but could not DATE.
    I set like below :
      - Characteristic name (e.g. Z10001) to CHARACT of ALLOCVALUESNUMNEW(Tables)
      - DATE(e.g. 20081211) to VALUE_FROM of ALLOCVALUESNUMNEW(Tables).
    But it does not work.
    Of course, I executed BAPI_TRANSACTION_COMMIT after the FM done.
    I found the value of VALUE_FROM is missing when debugging.
    Thanks in advance.
    Takeru Miyagawa

    Hello,
    you said :
    - DATE(e.g. 20081211) to VALUE_FROM of ALLOCVALUESNUMNEW(Tables).
    Data type of field VALUE_FROM is FLTP. How do you fill this field ? by MOVE ?
    You should not use MOVE, you should use :
    DATA:
    wlv_date              TYPE d,
    wls_ALLOCVALUESNUMNEW TYPE BAPI1003_ALLOC_VALUES_NUM.
               CALL FUNCTION 'CTCV_CONVERT_DATE_TO_FLOAT'
                             EXPORTING date          = wlv_date
                             IMPORTING   float       = wls_ALLOCVALUESNUMNEW-VALUE_FROM.
    - I found the value of VALUE_FROM is missing when debugging.
    Can you show us your code ?
    Cordialement,
    Chaouki.

  • Transfer single results from results recording to batch characteristic

    Hi all,
    I've a question. Is it possible to transfer multiple single results from results recording to a batch? It should only be qualitative results. The problem is as follows.
    We have a SAP - LIMS interface (QM-IDI). In SAP we have an inspection plan with two MICs:
    Customers OK
    Customers Not Ok
    Both MICs are linked to a catalog with customer + specification number. For example:
    0001 - Customer A v. 2015.01
    0002 - Customer B v. 2014.08
    0003 - Customer C v. 2015.02
    0004 - Customer D v. 2015.01
    LIMS determines which customer specifications passed and which failed. We'd like to get the following batch from LIMS:
    Customers OK
    0002 - Customer B v. 2014.08
    0003 - Customer C v. 2015.02
    0004 - Customer D v. 2015.01
    Customers Not Ok:0001 - Customer A v. 2015.01
    This is what we would like to see in the batch as well. Batch selection should be performed based on this information. Ik looked into multiple specifications, but I don't think this can help.
    Thanks for your help.
    regards,
    Maarten

    This is basically standard SAP functionality under Multiple specifications functionality.  With that process you can specify what country a material is Ok for or not ok for.
    Multiple Specifications in Inspection Planning - Quality Management (QM) - SAP Library
    Otherwise, without this, there is no standard way to implement what you want.
    However, since you are using an interface between your LIMS and SAP, you can have your system, based on values in the file transfered, take certain values from the file and directly update the batch characteristic values, (MSC2n) and record the countries it's ok for.  It would simply be a mult-value characteristic.  But the data for it comes from the transfer file, not QM.  There would basically be nothing visible about this in the inspection lot.
    Craig

  • Editing the formula in batch characteristic

    The product is maintained with batch. The batch is created for the finished product manually at the time of confirmation. The batch characteristic values are maintained at the same time.
    One of the characteristic value is to be calculated by using algebraic formula which includes simple mathematical operations on the values of the other characteristic.
    for ex---
    characteristic a---- 89 (VALUE entered by user)
    characteristic b---- 1 (VALUE entered by user)
    characteristic c---- 5 (VALUE entered by user)
    characteristic d-----Automatic calculation based on above values & the formula.
    I want for characteristic D----
    Char D = {(a-0.03-0.07) * b + c} / d
    How can I do this???? What will be syntax for this???
    Please if anybody can help on this........

    Dear Ramanujan,
    I have received the reply from you & thanks very much for ur quick reply.
    I have tried the settings suggested by you, but having still the problem.
    Conversion factor is a batch characteristic which is to be calculated based on the other batch characteristics values entered by the user at the time of confirmation.
    I have maintained the objectdependency in the class as mentioned by you. The dependency type mantained is "Procedure". The formula is as follows
    $self.conversionfactor=((($self.actthickness-0.067)*$self.density)
    ($self.paintgsm$self.metalgsm))*$self.width/1000
    The formula is appearing in 2 lines in the dependancy editor. There is no syntax error. As well as the the dependency status is also "released".
    But at the time of confirmation, if the values of the other characteristics are entered, no calculation for the characteristic conversion factor is done by the system.
    Can you please guide on this???

  • Characteristic values for a stock transfer Purchase Order

    Hi Experts,
    We are using material variant concept. I created stock transfer purchase order for a variant material. There i'm able to give characteristic values. How to extract that characteristic values into a report.
    We are getting the characteristic values from Production order and sales order based on configuration object. I'm passing that configuration object through functional module, i'm getting the values.
    Functional module : VC_I_GET_CONFIGURATION_IBASE
    I tried with that functional module with configuration object value for stock transfer purchase order. I'm not getting the values. How to extract the characteristic values.
    Please help me.
    Thanks in advance.
    Naren

    Hi,
    Assign document type of stock transport order  to supplying plant and receiving plant in the path:
    SPRO-> MM-> Purchasing->Purchase Order-->Setup Stock Transport Order -
    > Assign Document Type, One-Step Procedure, Underdelivery Tolerance
    Here assign STO document type to your supplying plant and receiving plant & save.
    Now try doing PGI.
    For more check the link:
    http://www.scribd.com/doc/8985938/STO-Configuration-in-ERP-SAP-ECC-6-
    Regards,
    Biju K

  • All Dates displayed for "Characteristic Values" in Query Designer

    Hello Experts,
    We are on BI 7.0, level 13.  I am having an issue within the Query Designer with regards to dates.  I have a write-optimized DSO that contains 3 date fields (for example, ZDATE1, ZDATE2, and ZDATE3).  Each date InfoObject is of type DATS so the system automatically creates it with reference to 0DATE. 
    When I create a query in the Query Designer, on the left hand side, I expand the "Characteristic Values" node under each date field.  The Query Designer shows the same list of values for each of the 3 dates even though they are not valid values posted in the DSO for those fields.
    For example, ZDATE1 only has 1 value posted in the DSO (01/01/2005).
    ZDATE2 only has 1 value posted in the DSO (01/01/2006).
    ZDATE3 only has 1 value posted in the DSO (01/01/2007).
    Bute when I expand the "Characteristic Values" node in the Query Designer, I see ALL THREE values under each date field.  I would expect to only see the 1 value posted for the InfoObject in the DSO.  Also note that each InfoObject is defined to show "Only posted values in InfoProvider".
    It appears that Query Designer will show all values for the reference InfoObject 0DATE instead of the ones posted to the actual InfoObject in the DSO.  If I delete the data in the DSO, the Characteristic Values list still remains because they exist in 0DATE.  Anyone encounter this before?  How can I get the Characteristic Values list to only show posted values for that InfObject?
    Thanks for your help!
    J

    Thanks for the response.  I went into the DSO and right clicked on each of the Date fields.  I looked at the Provider-specific properties and there is the option for "Query Exec.FilterVal" which only restricts what values appear when restricting during execution, not during query creation.
    Is there someplace else I should look or someplace else I can make change to only display posted dates when creating a query?  Thanks!

  • No characteristic value of the material in PO

    Hi,
    I am testing the configuration material. I've maintianed a class of class type 200 in BOM, and get the PR after running MRP. No any field or view in PO to display the characteristic value of material. How to get it? I thought it should be display somewhere in PO and in the GR view, because the buyer should know what product they should get and the inspector should know what should be inspect and the pass level.
    Thanks!

    Hello,
    I checked all the tab in PO and PR, but no any icon to see the characteristic.
    I've created a PO for a material which was maintain a class of class type 001, then I've seen the icon 'configuration'.
    Is it necessary to maintain a class of class type 001 for the material related class item in BOM? The on line help told that could create some materials with different characteristic value of one characteristic assigned to a class of class type 200, then maintain this class in BOM. System will pick the right material according to the characteristic value in SO.
    I am confused that why have to create some materials to do that because this application is to reduce redundance of material. I thought one material is enought, which will be required by the characteristic value and taking this value in PO. Do I have to maintain the class 001 for this? If yes, how can I get the characteristic value of class 001 from same charactieristic in the class 002?
    Lin
    Edited by: liang_yielin on May 18, 2010 11:46 AM

  • DMS - BADIs: Read Characteristic values

    Hello,
    we want to implement a characteristic-check in the Document BADI DOCUMENT_STATUS01~AFTER_CHANGE_STATUS.
    Therefore we need to read the chacteristic values of the default class.
    If the user enters i.e. some characteristic values in the CV02N an changes the Document Status (without saving between), the new characteristic values cannot be accessed via BAPI_DOCUMENT_GETDETAIL2 (getclassification=x).
    Is there an other way to get the characteristic values in the Document BADIs ?
    Best regards,
    Stefan.

    Hello Pelaez,
    thanks, we read the buffer with the the function module CLFM_GET_INTERNAL_TABLES.
    If the buffer is empty, we get the characteristic values with the BAPI_DOCUMENT_GETDETAIL2.
    Stefan.

  • BAPI_SALESORDER_CHANGE with characteristic values

    Hi everyone,
    I am dealing with BAPI_SALESORDER_CHANGE. I have tried to update an item by replacing a certain material for a configurable one, and everything worked fine.
    However, I cannot get the characteristic values are stored in the sales order line.
    I have filled in values in ORDER_CFGS_VALUE & ORDER_CFGS_INST tables this way:
    I guess I am dpig something wrong but I cannot fin the reason.
    3GAA100 is the name of my configurable material.
    Could someone please explain me the difference between the fields WA_VALUE-CONFIG_ID and WA_VALUE-INST_ID?
    Am I filling some field with a no suitable value?
    Characteristic values
    WA_VALUE-CONFIG_ID = '3GAA100'.
    WA_VALUE-INST_ID = '3GAA100'.
    WA_VALUE-CHARC = 'M_001'.
    WA_VALUE-VALUE = '1'.
    APPEND WA_VALUE TO IT_VALUE.
    WA_INST-CONFIG_ID = 'LEFT'.
    WA_INST-INST_ID = '3GAA100'.
    WA_INST-OBJ_TYPE = 'MARA'.
    WA_INST-CLASS_TYPE = '300'.
    WA_INST-OBJ_KEY = 'LEFTEYE'.
    WA_INST-QUANTITY = 1.
    APPEND WA_INST TO IT_INST.
    I would be very greateful if someone could help me.
    Thanks a lot in advance and best regards.
    Ben.

    Hi everyone,
    I am dealing with BAPI_SALESORDER_CHANGE. I have tried to update an item by replacing a certain material for a configurable one, and everything worked fine.
    However, I cannot get the characteristic values are stored in the sales order line.
    I have filled in values in ORDER_CFGS_VALUE & ORDER_CFGS_INST tables this way:
    I guess I am dpig something wrong but I cannot fin the reason.
    3GAA100 is the name of my configurable material.
    Could someone please explain me the difference between the fields WA_VALUE-CONFIG_ID and WA_VALUE-INST_ID?
    Am I filling some field with a no suitable value?
    Characteristic values
    WA_VALUE-CONFIG_ID = '3GAA100'.
    WA_VALUE-INST_ID = '3GAA100'.
    WA_VALUE-CHARC = 'M_001'.
    WA_VALUE-VALUE = '1'.
    APPEND WA_VALUE TO IT_VALUE.
    WA_INST-CONFIG_ID = 'LEFT'.
    WA_INST-INST_ID = '3GAA100'.
    WA_INST-OBJ_TYPE = 'MARA'.
    WA_INST-CLASS_TYPE = '300'.
    WA_INST-OBJ_KEY = 'LEFTEYE'.
    WA_INST-QUANTITY = 1.
    APPEND WA_INST TO IT_INST.
    I would be very greateful if someone could help me.
    Thanks a lot in advance and best regards.
    Ben.

Maybe you are looking for

  • ARD no longer shows "control computer", only "screen sharing avail"??

    I have been running ARD for well over a year on my iMac to manage several servers that are located far away from me. I normally use the "copy" feature to push new zip files of our Web site to the server when it is updated. When logging into ARD today

  • Creating abap program to develop and activate a global table type and global structure.

    Hi friends, I want to create and activate a global structure and global table type by coding in ABAP editor only. so can I do that anyhow. Please help me. Thanks in advance.

  • MAC MINI AND MB

    does anyone currently have the Intel Mac Mini Core Solo with upgraded RAM and the MacBook (1.83 GHz) with extra RAM??? if so, how much faster is the MB than the mac mini, because i still have a week to decide if i want to return the mac mini

  • JSp vs Web dynpro

    Hi to all, i must create the EP from an internet site. The site has more table generate from SQL database. I read that the JSP page don't is recompileted when i call the page that contain the JSP code. I read that the JSP page is recompilated only wi

  • How can I modify supplied WP template & keep the changeable fields eg date

    Sorry couldn't find any details on this. If I use one of the supplied 'letter' templates - it includes a date field which is created when I create document. If I modify the rest of this template and then save it as a template - I lose this automatic