Creating scale conditions LSMW / COND_A02

Hi,
I'm trying to create multi-dimensional price conditions in LSMW. All works fine, the condition is created but no the scales values.
The idocs finish without any error so I can't find what the problem is.
If any can help me it will be fantastic.
Thanks in advance and best regards,
Eduardo Cellalbo

What I have further found out:
- It is not a problem of reduced message types or release:
I have tested it with the standard condition Idoc Type and also on a 6.20 and 7.00 basis release system.
It seems that the report RBDMIDOC filters not valid conditions.

Similar Messages

  • How to create scales for conditions for rebate agreements?

    Does anybody know any function modules or bapis to create scales for rebate agreement conditions.I want to create entries in konm table where scales for conditions get stored.Also pls tell me how to link contributory volume by programaticaly?
    Thanks in advance

    Part of my question is answered .I could find parameter in BAPI_PRICES_CONDITIONS to create scales for conditions.But do anyone have any idea how to link contributory volume to conditions? i have conditions and also contributory volume? can anybosy send me some material which explains the contributory volume..atleast functionally?

  • Query on pricing Scales in LSMW

    Hai,
    I have a problem on scales,  In LSMW  through recording method i am creating pricing condition using XK15 transaction. But my problem is if material has 2 or 3 scales, at end of batch input session i am getting last scale value
    Ex :  Matnr      Amount   
            P-100            500
    Scales:  1        500
                 10      300
                 20      100.
    After end of batch  input session, it is showing only 20    100 scale for P-100 material.
    Could any body help me.
    Thanks,
    Raju.

    Hi,
    I think you need to push 'Inset Line' - green plus button and enter the scales. This would create an additional blank line which would enable you to create the new dataset in a blank line in the tablecontrol.
    But I prefer to load the data using LSMW in either of the following methods:
    Object               0070   Condition record
    Method               0000                  
    Program name         RV14BTCI              
    Program type         B   Batch input      
    or
    Message type         COND_A                      Conditions: Master data for price determination
    Basic type           COND_A02                    ALE condition records
    Hope this helps.
    Best Regards, Murugesh AS

  • Create new condition for SO

    Dear Experts,
    Kindly assist me how to create conditiaon type for just 4 sales order type out off 10 sales order type.
    Exp:
    We have ZZ01 till ZZ10 - SO type
    ZZ01-ZZ04 - wanted to add aditional condition, that is admin fee during SO creation.
    Means I need to create new condition type for SO as ZAF1 & then tag this condition type with GL acc. 2000000000.
    - is that possible to view this condition only for those SO type & others are not allow to view during SO creation.
    - this condition ZAF1 (adnib fee) should tag with correct GL acc. the moment billing taking place.
    Kindly advice me what are configuration needed in order to create this settings. I never done this before for SD module. Thus please brief me well in order to place all these settings in SAP. Thank you.
    rgds,
    nantha

    Hi,
    You can also follow this
    Pricing procedure config:
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table: If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence: If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type: If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the necessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure: It is recommended to copy a similar pricing procedure & make the necessary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in SPRO as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure: After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
    Step 5: Condition record: Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc.

  • Trying to create a condition on a BW Universe

    Hi experts,
    I'm trying to create a condition on a BW-Query Universe just like below:
    <EXPRESSION>  IIF([0HALFYEAR1].[LEVEL01].[[20HALFYEAR1]].[Value] = 1 , [Measures].[DAAP8LRPLLYPPU417LVN5XS2Z]-[Measures].[DAAP8LRPLLXY17S9W2G13IDT7] , [Measures].[DAAP8LRPLLYPPU417LVN5XS2Z]-[Measures].[DAAP8LRPLLXY17S9W2G13IDT7]) </EXPRESSION>
    i've searched a lot till get this code, but it still giving me an error when I try to execute.
    Does anyone can please help me?
    Thanks,
    Gui Boscolo from BRZ.

    Hi David,
    Thanks for your answer, I've made the ajustments you have mention, but I'm still getting erros when i'm running a report with an object that contain this 'code':
    <EXPRESSION>  IIF(@Select(SemestreL01 Semestre Chave) = "1" , @Select(Variáveis de CálculoMontante Projetado Sem1) - @Select(ÍndicesSaldo Aplicado) , @Select(Variáveis de CálculoMontante Projetado Sem2) - @Select(ÍndicesSaldo Aplicado)) </EXPRESSION>
    As you notice, now I'm using the @select function, the quotes are in the value of HALFYEAR01 ((@Select(SemestreL01 Semestre Chave) = "1") and removing the IFF function, the expression works.
    The problem, is We need to have this IFF function at BO, because we're trying to complement a expression on BW that cannot be changed!! That's my problem at all!
    Thanks again!

  • How to create report condition based on "total"

    Hello,
    I have a Discoverer report that shows revenue by city and sub-totals revenue by state.
    I need to modify this report so that only cities in states with revenue (sub-total) more than one million are pulled.
    Example:
    Pittsburgh - 100,000
    Harrisburg - 200,000
    Erie - 300,000
    ------State:PA 600,000
    Los Angeles 500,000
    San Fransisco 600,000
    Oakland 200,000
    -----State:CA 1,300,000
    In this example, the report should show only the cities in California, as the revenue sum is over 1 million:
    Los Angeles 500,000
    San Fransisco 600,000
    Oakland 200,000
    ---State:CA 1,300,000
    Is this possible?
    I'm using Discoverer version 10.1.2.2.
    Thank you.
    Edited by: [email protected] on Dec 11, 2009 3:03 PM

    Hello
    You need to do two things to solve this problem.
    1. You need to create an analytic calculation that returns 1 when the sum of the revenue in all of the cities in a state is one million or more
    2. You need to create a condition such that you only include states when the above is 1
    Let's call the calculation, OneMillionStates and I will assume your fields are called State, City and Revenue
    Here's the formula:
    CASE WHEN SUM(REVENUE) OVER(PARTITION BY STATE) > 1000000 THEN 1 ELSE 0 END
    Now your condition shoudl be: ONEMILLIONSTATE = 1
    You don't even need to display the calculation on screen and notice how the city does not even come into the calculation.
    Best wishes
    Michael
    URL: http://ascbi.com
    Blog: http://learndiscoverer.blogspot.com

  • How to create a condition based on a select that retrieve dynamically a LOV

    Hi all, I need to create a condition based on a select that retrieve dynamically a LOV.
    So, the condition have to be:
    inventory_item_id NOT IN (SELECT inventory_item_id FROM apps.mtl_system_items_kfv WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV')
    I need to create a LOV based on this select without making any join with the folder which contains the field inventory_item_id, because otherwise I have the contradiction:
    and o124757.INVENTORY_ITEM_ID = o118741.INVENTORY_ITEM_ID -- join between the main custom folder (o118741) and the LOV custom folder (o124757)
    and o118741.INVENTORY_ITEM_ID NOT IN (o124757.INVENTORY_ITEM_ID) -- condition
    These two condition together don't show any data, obviously....This means also, that I can't use a calculated field, because if I want to see this field, I have to create a join, another time, with the main custom folder.
    I tried to create a LOV on the Administrator, but when I create the condition I have to check manually the values....and if in the future this LOV will increase I need every time to re-check all the values.....instead I need that the inventory_item_id have to be NOT IN dinamically in the list of values retrieved by the select.
    Anybody has inplemented something similar ??
    Thanks in advance
    Alex

    Hi alex,
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    where incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    You want to add this condition to the first query it holds good for this scenerio.All the items which are NOT IN will be retrieved.Here you are selecting other than "General_faults_iptv"
    But again your trying to select in the second query where you want "General_faults_iptv"
    SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    If you carefully go through what your doing,you will understand.In the above explantion ,there will be no records generated.First query your saying NOT IN and again your saying for the same IN,how will records retrieve its meaningless.
    I dont know what you want to get from second query.I would suggest you to do is dont use the second query and just use the first query and you will get.Here is the query and this will give you result.
    SELECT incidents.INVENTORY_ITEM_ID,
    pcodes.PROBLEM_NAME
    FROM apps.cs_incidents_all_b incidents,apps.jtf_rs_problem_codes_v pcodes
    WHERE incidents.category_id IN (SELECT category_id
    FROM mtl_categories_kfv
    WHERE concatenated_segments = 'IPTV')
    AND incidents.PROBLEM_CODE = pcodes.PROBLEM_CODE
    AND incidents.INVENTORY_ITEM_ID NOT IN SELECT inventory_item_id
    FROM apps.mtl_system_items_kfv
    WHERE concatenated_segments = 'GENERAL_FAULTS_IPTV'
    Regards,
    Kranthi.

  • ERROR Message while creating Rebate condition record T code VBO1

    Dear Experts,
    I am getting error message while creating rebate condition record T code-VBO1-Error Msg-862 system cannot read the structure for table,because of this i could not create condition record.
    Please give the solution to create condition record.
    Regards
    siva

    Hi,
    You said you are trying to do this stuff in IDES right.
    If you are using IDES provided by a company and where many people play on IDES, then you can get many such issues...
    This is by our experience.  Today you do something in IDES and tommorow that thing or config is screwed up by others.
    If you have your own IDES, then check the suggestion given by the forum Guru's.
    Regards,
    SB

  • How to create a condition in sap

    Hi all,
    How to create a condition in sap
    i want to create a condition in sap quotation. how to solve this issue please give me idea step by step.
    [http://www.4shared.com/document/MQiBd3bP/screenshot.html]
    Thanks & Regards
    Ambrish
    Edited by: ambrish dwivedi on Feb 28, 2011 12:29 PM
    Moderator message: not related to ABAP development, please do some research before asking.
    Edited by: Thomas Zloch on Feb 28, 2011 9:21 AM

    Hello Ambrish,
    Which condition are you talking about ?
    is it the calculation you want to do in ur driver program or kind of routines which are used in Pricing ?

  • Create a condition based on a select

    Hi, I have the necessity to create a condition, inside a report, based on a select, for example (when I build a condition):
    Item: "Item (RUO)".Description
    Condition: IN
    Values: select item_description from ISUPP_LOV_RUO_SLA_PRODUCTS_V -> 3 values
    How can I dynamically pass these 3 values to the condition, without using hard coded strings as 'A','B','C' ??
    Thanks
    Alessandro

    Hi,
    If you are using Discoverer Desktop then you can create a condition based on a subquery. You create worksheet that returns those 3 rows then create the condition where then item is in the first worksheet.
    If you are Discoverer Plus then you will have to join the folders in the EUL. So you create a folder for ISUPP_LOV_RUO_SLA_PRODUCTS_V and join it to the report folder using "Item (RUO)".Description = ISUPP_LOV_RUO_SLA_PRODUCTS_V.item_description .
    Rod West

  • How to create greater_or_equal condition for file_io storage

    Dear experts,
    Please tell me the how to create greater_or_equal condition for query in file_io as RationalOperatorType.GREATER_OR_EQUAL is not supported for file_IO storage.
    thanks n regards,
    Kapoorchand.

    Hi,
    not sure if I got you correctly, but in
    com.sap.ip.me.api.persist.query.RelationalOperatorType
    There is no condition available that you are looking for. Why do you not work with
    public interface Condition
    Represents a condition for a query. This can either be a single condition, as FIELD = VALUE and / or a composite condition, as ( ( FIELD1 = VALUE1 OR FIELD2 = VALUE2 ) AND FIELDE 3 <> VALUE3 ).
    Hope this helps!
    Regards,
    Oliver

  • Problem in Creating Pricing Condition Table...

    Friends,
    I am creating a condition table.
    i selected perticular fields (S.org, D.ch, Div, So-to-Party,Mat)
    When i click on Generate Icon
    I Got error message:
    Customer Object VKOS A505 cannot be assigned to package

    Hello,
    Which is the number you have given for your table?
    The best way is to search for the table which is having most of these fields and copy that table to a new table. When you create table give a table number after 900 and copy from another table. After this you can add/delete the fields and generate the table.
    Prase

  • How to use DAQmx Create Scale Linear

    Hello. I have an output from an amplifier that is 10mV/V, that is being read by an USB-6002. The voltage range for this amplifier is 0-200 volts. I have been testing the DAQmx Create Scale Vi but do not understand how it works. I have looked at other posts here for answers but am still not clear how this works. To begin with, it says it uses the y=mx+b equation for it. I don't know what the slope is referring to unless it is the angle of the line. If someone might have an example that explains how this works, that would be awesome. I also tried looking at an example but couldn't find one. Thank you

    Here's a "seat-of-the-pants" explanation of y = mx + b.  If you think of "x" as the input, and "y" as the output, then you can consider "m" as the gain, and "b" is the offset, the output that you would read with zero input.  
    If you think about this equation with respect to an amplifier, many are designed to have zero output when there is no input.  This means b = 0.  If you have a gain of 10mV/V (which I assume means that a 1V input would give a 10mV output, then m, usually called "the slope" (which is the slope of the input/output curve), would be .010/1 = 0.01.
    Note you describe the range of your amplifier as 0-200V, so the output will be 0-2V, well within the ±10V of the USB-6002.
    Bob Schor

  • Update SO after creating missing condition record

    Hi Gurus,
    I was getting error message that missing MWST condition in Order, then I investigated and created missing condition record in VK11. Now I would like to update the Sales order and tried update tab on condition but invain.
    Initially the document was created on 17.11.2008 and today condition record was created 18.11.2008.
    Kindly help me in resolving this.
    Thanks
    Bawa

    Dear Bawa,
    While creating Condition Record "MWST" in VK11/ 12;
    What were the Dates maintained in Fields:
    1. Valid From (try with back-date maintenance)
    2. Valid To (Maintain as 31.12.9999)
    Once done, try to Update with "G - Copy pricing elements unchanged and redetermine taxes", in Sales Order.
    Best Regards,
    Amit

  • Bapi to create a condition record

    hi,
    is there any standard bapi for creating ,changing and deleting a pricing record using VK11,VK12.
    any other function module will solve the problem.

    Hi Ajith,
       You can use <b>IDOC approach</b> also for doing teh same solution. Yo get Create/Change/ Delete Option as per indicator passed:
    Refer Code below.
    *&      Form  map_idoc_structure
          Map E1KOMG, E1KONH, E1KONP segment fields
    FORM map_idoc_structure
                  USING fp_condition_table TYPE kotabnr
                        fp_rate            TYPE z_cs_cpp_rate
                        fp_condition_type  TYPE kschl
                        fp_rate_type       TYPE z_cs_file_type.
    *-- Local Data Declaration
      DATA: lw_e1komg TYPE e1komg, "Filter seg. with separated condition key
            lw_e1konh TYPE e1konh, "Data from condition header
            lw_e1konp TYPE e1konp, "Conditions Items
            lv_delete TYPE konp-loevm_ko. " Delete Indicator
    *-- IDoc data internal table
      DATA: i_idoc_data TYPE TABLE OF edidd
                        INITIAL SIZE 0
                        WITH HEADER LINE.
      CLEAR: lw_e1komg,
             lw_e1konh,
             lw_e1konp,
             lv_delete,
             v_segnum,
             w_e1komg,
             v_rate_type.
      REFRESH i_idoc_data.
      v_rate_type = fp_rate_type.
      PERFORM conversion_alpha_input
          USING w_crp_data-kunnr CHANGING w_crp_data-kunnr.
      PERFORM conversion_matn1_input
         USING w_crp_data-matnr CHANGING w_crp_data-matnr.
    E1KOMG: Filter segment with separated condition key
      i_idoc_data-segnam  = 'E1KOMG'.
      lw_e1komg-kvewe     =  c_usage_cond_tab.
      lw_e1komg-kotabnr   =  fp_condition_table.
      lw_e1komg-kappl     =  c_cond_type.
      lw_e1komg-kschl     =  fp_condition_type.
    CONCATENATE p_vkorg p_vtweg p_spart p_hienr p_matnr
      CONCATENATE w_crp_data-vkorg w_crp_data-vtweg
                  w_crp_data-kunnr w_crp_data-matnr
                  INTO lw_e1komg-vakey.
      lw_e1komg-vakey_long = lw_e1komg-vakey.
      lw_e1komg-vkorg      = w_crp_data-vkorg.
      lw_e1komg-vtweg      = w_crp_data-vtweg.
      lw_e1komg-spart      = w_crp_data-spart.
      lw_e1komg-kunnr      = w_crp_data-kunnr.
      lw_e1komg-matnr      = w_crp_data-matnr.
      i_idoc_data-sdata = lw_e1komg.
      APPEND i_idoc_data TO i_idoc_data.
    Segment E1KONH - condition header
      i_idoc_data-segnam  = 'E1KONH'.
      lw_e1konh-datab     = w_crp_data-datab.
      lw_e1konh-datbi     = w_crp_data-datbi.
      lw_e1konh-knuma_pi  = v_promotion.
      lw_e1konh-knuma_ag  = v_sales_deal.
      i_idoc_data-sdata = lw_e1konh.
      APPEND i_idoc_data TO i_idoc_data.
      IF fm_process_type EQ c_pt_dep.
        lv_delete = c_x.              " Deletion Indicator
      ENDIF.
    Segment E1KONP - condition items
      i_idoc_data-segnam = 'E1KONP'.
      lw_e1konp-kschl     = fp_condition_type.
      lw_e1konp-kbetr     = fp_rate.
      lw_e1konp-konwa     = w_crp_data-waers.
      lw_e1konp-kpein     = v_cond_pric.
      lw_e1konp-kmein     = v_cond_unit.
      lw_e1konp-knuma_pi  = v_promotion.
      lw_e1konp-knuma_ag  = v_sales_deal.
      lw_e1konp-loevm_ko  = lv_delete.
      i_idoc_data-sdata = lw_e1konp.
      APPEND i_idoc_data TO i_idoc_data.
    *-- Post Idoc for Creating Pricing Condition
      PERFORM post_idoc
             TABLES i_idoc_data.
    ENDFORM.                    " map_idoc_structure
    *&      Form  post_idoc TABLES i_idoc_data.
          Post Idoc for Creating Pricing Condition
    FORM post_idoc
              TABLES i_idoc_data STRUCTURE edidd.
    *-- Local data declaration
      DATA: lv_komg         LIKE komg,         " Condition Structures
            lv_subrc        LIKE sy-subrc,     " Sy-subrc
            lw_messages     TYPE rsuvm_msg,    " Message Description
            lw_idoc_status  TYPE bdidocstat.   " ALE IDoc status
      DATA: idoc_contrl                        " IDoc Control data
                LIKE edidc OCCURS 1 WITH HEADER LINE.
    *-- Initialize Internal Tables
      CLEAR:  t_konh,
              t_konp,
              t_konm,
              t_konw,
              i_idoc_status,
              t_kona.
      REFRESH: t_konh,
               t_konp,
               t_konm,
               t_konw,
               i_idoc_status,
               t_kona,
               i_messages.
    This code is taken from IDOC_INPUT_COND_A
      PERFORM fill_appl_structures(saplvkoi)
                      TABLES i_idoc_data
                             t_konh
                             t_konp
                             t_konm
                             t_konw
                             i_idoc_status
                             t_kona
                       USING lv_komg
                             lv_subrc
                             idoc_contrl-docnum
                             idoc_contrl-mestyp.
      IF lv_subrc = 0.
    This code is taken from IDOC_INPUT_COND_A
        PERFORM idoc_in_datenbank(saplvkoi)
                  TABLES idoc_contrl
                         t_konh
                         t_konp
                         t_konm
                         t_konw
                         i_idoc_status
                         t_kona
                  USING  lv_komg
                         lv_subrc
                         idoc_contrl-docnum.
        IF lv_subrc = 0.
          COMMIT WORK AND WAIT.
        Endif.
    Reward points if this Helps.
    Manish
    Message was edited by: Manish Kumar

Maybe you are looking for