Compare Characteristics value to calculate keyfigure.

Hi all,
I have a characteristics named 0EXTMATGRP , now if the value of this characteristics is "A" then i have to take 1% value , if it is "B" then 2% . Means based on the value of this characteristic i have to take diffrenet percentage for a keyfigure .. How it could be possible in BEX query designer. I did the same thing in another query but in that query i have to check the divison whose values are number but here the values are letters rather than numbers..
Could anybody hel[p me in this regard ..
Thanks in advance.

Hi,
PLease check out this PDF it might be helpful in your case.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2056ef93-2004-2d10-21ae-f973bb48d7a1?quicklink=index&overridelayout=true
Regards,
AL

Similar Messages

  • Where we maintain the cost of  characteristics  values in variant  conf.

    Hello guys,
      This thread i have posted many times in sdn , but never got the satisfactory answer.This time again i am trying my luck.
        Actually i am unable to understand how costing takes place in variant configuration.
        Suppose i have created one sales order for configurable material and there we select all the characteristics values which we want.
    But we don't maintain the prices of these characteristics values anywhere.So when i create the sales order than how the sales people calculate the cost of that order.
        Take a example of computer.For making computer,i want cabinet, processor, Harddisk, Ram, which are available in many sizes.So What we do that we create one configurable material and inside it we maintain all this characteristics and its values.And then i create one sales order for that configurable material and select the suitable characteristics and its values as reqd my customer.
         Now my question is how they cost that sales order?As we don't maintain the Accounting and costing view in material master of configurable material.
       So where to maintain the prices of these characteristics values?
            Plz guide.

    Hi
    You can make the price of a variant dependent on the characteristic values assigned (Pricing).You can use
    variant conditions to define surcharges and discounts for a variant
    Variant u2013Pricing steps
    Create condition record
    create a procedure where you enter the reference from the characteristic
    Assign the procedures to either the characteristic values
    configure the material in the sales order
    The net price for the material is displayed
    If a value that triggers a variant condition is selected when configuring a material in a sales order, the price of the material displayed under Net value is automatically increased or reduced.
    In addition, the Conditions pushbutton is displayed.
    On pressing this pushbutton,
    One can see which conditions have
    influenced the price.
    I tried to list you as much detail as possible. Hope that you will be able to resolve your issue
    Thanks

  • FM to check Characteristics values assignment

    Hi , Experts:
    Can tell me which FM should I use to check if a Characteristics value has been assigned to a material?
    Thanks for your help
    Sanwei

    I believe that there is no such FM. You need to build a range for your constant values and then compare your select option with the range build for constants.
    Eg.
    select-options: s_werks for t001w-werks.
    ranges r_werks for t001-werks.
    r_werks-sign = 'I'.
    r_werks-option = 'EQ'.
    r_werks-low = '2101'.   "Pass the constant value.
    append r_werks.         "Range built for one entry 2101. Similarly append further constant values.
    *Check if select option contains any of the constant values.
    if s_werks in r_werks.
    * Select-options contains value as defined in range
    else.
    * No matching value found.
    endif.

  • Compare Characteristic Values

    I have run into a situation where I need to compare 2 characteristic values in a query.  I have one characteristic named "Sales PNL" and one characteristic named "Financial PNL".  The values for these characteristics are text like "BREAD" or "CEREAL".  I need to create a query that returns all the rows where "Sales PNL" does not equal "Financial PNL".  So, a row where both characteristics equal each other should not be returned from the query, but a row where one characteristic equals "CEREAL" and one equals "BREAD" should be returned from the query.  Any ideas on how to accomplish this?

    Hi Mark,
    What do these chars have as a Key Value (assuming BREAD is the text value)? And then does Sales PNL 101 (Bread) = Financial PNL 101 (Bread)?
    If yes, then you can create a formula variable that will be replaced with the key value (101). This converts it into a KF and then you can compare the values in a formula to return 0 or 1. Then create a condition on this formula to display the rows as reqd.
    Hope this helps...

  • From which table characteristics value is been picked in Batch(023 class)

    Hi gurus,
    Could anyone helpme out of this problem
    While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification screen , characteristics value have to be given manually for the material  that is to be receipt in migo.
    Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
    I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table  Cawn,cabn is there but how to link with other tables like mseg or MKPF.
    In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
    Guys please help me out of this.
    Thanks N regrds,
    Siddhrtha

    Hi
    CABN Characteristics ( o.a. batch/vendor)
    CABNT Characteristics description
    CAWN Characteristics ( o.a. material)
    CAWNT Characteristics description
    AUSP Characteristic Values
    Class types and objects :TCLAO Several class types for object
    TCLA Class types ( vb. lfa1 => v10 en 010)
    TCLAT Class type text
    TCLT Classifiable objects
    TCLC Classification status
    Regards

  • From which table characteristics value of Batch management is been picked

    Hi gurus,
    Could anyone helpme out of this problem
    While creating migo ,batch no gets automatically assigned for the material when I click on the check button and then clicking the classification button , there characteristics value have to be given manually for the material  that is to be receipt in migo.
    Now My problem is I am creating a report where the material no along with the batch no and the characteristics value of the batch is required , but I cannot get the table name
    I have tried with mcha,mch2,mch1 but here no characteristics value could be derived ,Table  Cawn,cabn is there but how to link with other tables like mseg or MKPF.
    In table AUSP characteristics value is picking but same problem how to link it with mseg or mkpf etc.
    Guys please help me out of this.
    Thanks N regrds,
    Siddhrtha

    Hi Merwyn,
    I cannot  find any common field between AUSP and  MCH1 ,could you tell me the procedure to link these 2 tables.
    Thanks N Regards
    Siddhartha Chatterjee
    Hi,
    Using AUSP table pick the object No. and link it with MCH1 to find the Batch No.
    using the batch No. link to MSEG-CHARG

  • How can I reduce the selection for the characteristics value in a BW query

    Good morning,
    I need to find out how I can reduce the selection for the characteristics values in a BW query.
    In a BW query I have a characteristic "Due month".
    The characteristic values shown in the query are from 01.2001->03.2007. I would like to reduce it to the last 2 years,in the query view,  without deleting the data for the other years in the cube.
    Do you know how this can be done?
    Thank you in advance for your feedback.
    Kind regards,
    Linda Verding
    Staff Consultant - CSC

    hi,
    First thing you have to do is check the report how the data is being restricted only to those months.
    1) one it can be variable in which the code is written for that to populate for last few years.
    or else it must have been hardcoded for these months.
    Go into your report and underneath the characteristicsCALMONTH there must be an variable or hardcoding.
    You need to change this here in the report.
    You dont have to delete anything there.
    Regards, Siva

  • Create a new column in a table that compares the value of one column with its previous value

    The DDL:
    DECLARE
    @T TABLE
    IDNO
    int,
    name
    varchar(40),
    [Date]
    datetime2,
    Price1
    float,
    Price2
    float
    DECLARE
    @K TABLE
    IDNO
    int,
    name
    varchar(40),
    [Date]
    datetime2,
    Price1
    float,
    Price2
    float
    INSERT
    INTO @T
    VALUES(22,'C_V_Harris','2014-01-02 10:23:49.0000000',
    23.335,      
    23.347)
    INSERT
    INTO @T
    VALUES(21,'C_V_Harris','2014-01-02 10:05:13.0000000',
    23.357,      
    23.369)
    INSERT
    INTO @T
    VALUES(20,'C_V_Harris','2014-01-02 09:56:15.0000000',
    23.364,      
    23.377)
    INSERT
    INTO @T
    VALUES(19,'C_V_Harris','2014-01-02 09:45:26.0000000',
    23.351,      
    23.367)
    INSERT
    INTO @T
    VALUES(18,'C_V_Harris','2014-01-02 09:43:20.0000000',
    23.380,      
    23.396)
    INSERT
    INTO @T
    VALUES(17,'C_V_Harris','2014-01-02 09:34:28.0000000',
    23.455,      
    23.468)
    INSERT
    INTO @T
    VALUES(16,'C_V_Harris','2014-01-02 09:30:37.0000000',
    23.474,      
    23.486)
    INSERT
    INTO @T
    VALUES(15,'C_V_Harris','2014-01-02 09:18:12.0000000',
    23.419,      
    23.431)
    INSERT
    INTO @T
    VALUES(14,'C_V_Harris','2014-01-02 09:16:06.0000000',
    23.360,      
    23.374)
    INSERT
    INTO @K
    SELECT
    ROW_NUMBER()
    OVER (ORDER
    by IDNO)
    AS RN,*
    FROM
    @T
    SELECT
    * FROM
    @K
    --not working:
    SELECT
    a.RN,a.Price2
    FROM
    @K a
    INNER
    JOIN @K
    b
    ON
    a.RN=b.RN-1
    WHERE
    a.Price2>b.Price2
    I need to create  a view with a column (say 'Comp' below) that compares the value of each row in Price2 with the previous Price2 row, and it is greater then +1, the
    same 0, and less -1.
    The processed table should be:
    IDNO
    name
    Date
    Price1
    Price2
    Comp
    22
    C_V_Harris
    1/2/2014 10:23:49
    23.335
    23.347
    0
    21
    C_V_Harris
    1/2/2014 10:05:13
    23.357
    23.369
    1
    20
    C_V_Harris
    1/2/2014 9:56:15
    23.364
    23.377
    1
    19
    C_V_Harris
    1/2/2014 9:45:26
    23.351
    23.367
    -1
    18
    C_V_Harris
    1/2/2014 9:43:20
    23.38
    23.396
    1
    17
    C_V_Harris
    1/2/2014 9:34:28
    23.455
    23.468
    1
    16
    C_V_Harris
    1/2/2014 9:30:37
    23.474
    23.486
    1
    15
    C_V_Harris
    1/2/2014 9:18:12
    23.419
    23.431
    -1
    14
    C_V_Harris
    1/2/2014 9:16:06
    23.36
    23.374
    -1
     How can I structure the statement to get (the most recent - order by date ) result for Comp?

    Satheesh Variath, I just had to make some corrections from your script to get the correct answer:
    CREATE
    VIEW vw_Comp
    AS
    SELECT
    TOP 1 t.IDNO,t.name,t.[Date],t.Price1,t.Price2,
    CASE
    WHEN t.Price2
    > LAG(Price2,1)
    OVER (PARTITION
    BY name
    ORDER BY IDNO) 
    THEN 1
    WHEN t.Price2
    < LAG(Price2,1)
    OVER (PARTITION
    BY name
    ORDER BY IDNo) 
    THEN -1
    ELSE 0
    END
    AS Comp
    FROM 
    @T t
    ORDER
    BY DATE
    DESC
    The adjustments: the selection of the most recent comparison (Top 1) and the use of the function LAG (instead of LEAD) to get the previous value of the column.

  • SSRS Expression to compare two values and get data from another dataset

    Hi,
    I have a requirement where in i need to compare a value of a dataset (not the one which table is poiting to)
    with the value of a text box, and return the count if it matches else 0, the expression is as below. Here 
    industryName and recCount are from the dataset ds_MedimOrLowImpactEntities.  whats wrong in this expression
    =Sum(IIF(Fields!industryName.Value = reportItems!hpapra_name.Value, Fields!RecCount.Value, 0), "ds_MediumOrLowImpactEntities")
    This is the error that i am getting:
    Any help on this is appreciated
    Kruthi Hegde

    Hi Kruthi,
    After testing the issue in my local environment, I can reproduce it. Just the error message said, “Aggregate function can be used only on report items contained in page headers and footers”. So the sum function that contains report items should be stayed
    at page headers or footers. Besides, you said the hpapra_name textbox contain a field from another dataset, not the ds_MedimOrLowImpactEntities dataset. While in Reporting Services, Report item expressions can only refer to other report items within the same
    grouping scope or a containing grouping scope. So consider the two issues, we should use some other expression to instead the “reportItems!hpapra_name.Value” expression.
    Take a look at the "Looking up values from another dataset" topic here:
    http://msdn.microsoft.com/en-us/library/ms159673.aspx#LookupFunctions
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to find the list of material variant based on the characteristics value

    Hi
    We are creating materials variants for FERT Material Type in material master in MRP-3 view .There we configure the variant by attaching characteristics value 
    Now we want to have a report , which can give the list of material variants , if char value is given in selection
    Can somebody guide me if there is standard report for this OR what is the linkage in Table , so that we can develop a report
    rgds
    Sandeep

    I couldn't find a standard report to get the material variants based on characteristic values (the nearest I could find was CT12) but I wrote a report some time back here's the table join logic for the main select statement.
    select a~matnr
            e~atwrt
            h~atwtb
    into table i_tab
          from MARC as a
          inner join IBIN as b
          on b~instance eq a~cuobj
          inner join IBIB as c
          on c~ibase eq b~ibase
          inner join IBINVALUES as d
          on d~in_recno eq b~in_recno
          inner join IBSYMBOL as e
          on e~symbol_id eq d~symbol_id
          inner join CABN as f
          on f~atinn eq e~atinn
          inner join CAWN as g
          on g~atinn eq e~atinn
          and g~atwrt eq e~atwrt
          inner join CAWNT as h
          on h~atinn eq g~atinn
          and h~atzhl eq g~atzhl
         where     a~matnr in s_matnr
                and e~atinn in s_atinn
                and e~atwrt in s_atwrt
               and b~valto eq '99991231235959'. "This is important condition
    I included bare minimum fields to suite your requirement needs you can add whatever other field you want . Though I tested the table join, I suggest you to test it again before writing your own ABAP program using SE16N.

  • Transfer of characteristics values from material variant to its subordinate

    Gurus
    Need your Expert opinion on Variant configuration
    We are using Multi level Material Variants and our bussiness process demands for configuration of These Material variants in Transaction MD81 and during creation of Sales order .These configuration will not affetc the BOM explosion but will only be passed to the The lower level components (Which are again theMulti level Configuriable  Material variants ) as manufacturing instructions .To Enable these Flow of Characterisitcs we have Applied a Note which allows the Multi level Configuration of Material Variants and Pass this Values to lower Level and the characteristics value flow is visible as well for lower level from CU50 ,but when i create the requirement through  CIR or sales order and Configure the Material Variants  and Generate the Procurement Proposals to fullfill these requirements (MD02) in the form of Planned order  we are unable to pass one the Characterisitcs values to planned orders of  lower level Components of Material Variants .These characterisitc values are Used as Manufacturing Instructions and should be passed on to the Lower level of Material Variants through the use of dependencies in Configuration profile .but the problem is it works in CU50 and does not flow in planned orders , does any body have a solution for this ?
    Thanks In Advance
    awaiting reply
    Milind

    Hi Milind,
    I check that you implement a Note which allows the Multi level Configuration of Material Variants? is it sap note? mind to share the number.
    I ever faced this problems to before but fortunately the case in simpler so i just create another variant and maintain the component for the variant. For example : characteristic color. I create variant with color red black etc. For variant red, maintain component red. For variant black maintain component black, so on. Is it possible for your case?
    Regards,
    Arman

  • Copy of Batch characteristics value from material master to Batch

    Hi Gurus,
    I have maintained some values in the characteristics under batch classification in material master and want to copy the values in batch characteristics during batch creation at process order release.
    Can any one help me to achieve this in standard way?
    Thanks
    Sandip

    Hi,
    Try to understand the batch classification functionality...In batch classification characteristic values changes from batch to batch...Values should not be maintained in the material master...it does not have any meaning...in the material master we need to assign only the batch class with class type 023 in classification view ...no need to assign the values there....Batch classification means characteristics values differs from batch to batch...
    Thanks
    Kumar 

  • Mass Upload of object dependency for characteristics value

    Hi ,
      I need to upload the object dependency for characteristics values through transaction CT04. My input data consists of characteristcs name , characteristics value and the object dependency (KNNAM) . Need to populate the KNNAM field alone .
    Have tried with the FM 'CTMV_CHARACT_CHANGE_KNOWL_VAL' which suits my requirement but teh dependencies are not getting uploaded . Am I missing anything ? Since I do not have class details i.e class num and class type I am not able to use  the BAPI like 'BAPI_CLASS_CHARVALUE_LOCAL_DEP ' . Please suggest any othe r suitable method .
    Thanks in advance.
    Sanjeev

    Hi,
    Please check the below link..
    BAPI for Characteristic Dependency
    Thanks.

  • How to change characteristics values in PPDS planned order?

    Hi,
    I have few PPDS planned orders. I want to change the value of few characteristics of existing PPDS planned order.
    How can I do the same?
    Any standard T.Code or function module or report available to update the characteristics values of PPDS planned order in APO.
    Thanks in advance.
    Warm Regards,
    Surajit Das

    Hi Surajit,
    Char can be changed programatically.
    If you want to change the Planned Order characteritics before its creation, you can do so at the time Planning run itself (/SAPAPO/RRP3) in BADI /SAPAPO/RRP_SRC_EXIT, Method RRP_USEX_PLORD_CREATE.
    Planned Order characteritics can be changed after it creation.using BAPI BAPI_MOSRVAPS_SAVEMULTI3.

  • Table for characteristics values in the sales order

    Hi Experts
    I am entering the characteristics values in the classification screen in the sales order.
    I want to capture the characteristics & values with reference to the individual sales order for reports.
    Please let me know the tables for the same as it doesn't get capture in the item table..
    Thanks
    Ganesh
    Edited by: jganesh on May 4, 2011 1:26 PM

    Hiii,
    you may use VELO01_GET_CONFIGURATION function module to pass VBAP-CUOBJ value
    Hope it will solve your problem.
    Regards
    Shambhu Sarkar

Maybe you are looking for

  • Wireless fails after Lenovo driver update (X40 23718EU; Atheros 11b/g Mini PCI)

    I use Windows XP SP2.  My wireless LAN adaptor driver was old (ver 3.1.102.23) and did not support WPA2 protocol so I updated it from the Lenovo site using this driver download:   Windows XP, 2000  06 Oct 2009  v7.6.1.260b Immediately afterward  on I

  • ClassCastException when calling SOAP adapter

    Hello, I created a Web service interface to an ABAP RFC via XI and a corresponding communication channel (SOAP/HTTP to a specific message interface with data types, message types, mappings etc. defined in the integration repository). Sending SOAP mes

  • Windows Video Player: Windows Forms application (C#)

    I need to incorporate Windows Video Player in Windows Forms application (C#) using Visual Studio 2013, .Net Framework 4.5 , I have already MS Windows Media Player but it does not meet my demanding situation so I need third party media player control

  • Can't access firefox after using it as primary browser for a few years?

    I've been using Firefox for a few years with AOL dial-up access. I just switched to Comcast and after a few days I lost my connection to Firefox. The icons are there but the program won't come up. The first few days I could just use the Firefox icon

  • Questions regardin "Oracle Database does not support Hyper-V and "

    Platform 287 Microsoft Windows Server 2008 (64-bit Itanium) 1 - Can you give me some details about what is not supported of the Hyper-V environment? 2 - There are know issue running Oracle in a Hyper-V child partition/virtualized partition ? 2 - Ther