Duplicate record in Condition record table

Dear Experts,
when we create a record in the same access and in same validity period with same processing status. System give a popup of overlapping the dates and short close the existing record.
But we are facing issue if existing record status is released and when we create record with the same validity period  with block status, system not splitting the condtion and save with the same validity period and after that system give a error massage in VK12 for duplicate insertion.
I want that system will split the condition record even if existing condition record with different release status.
Please help.
Regards,
Lucky verma

Dear Lucky,
I understand your scenario, when you create Condition Record at the first time in Vk11 by block status "A" lets say 01.01.2014 till 31.01.2014. Afterward you change the processing status as "C" release. at the middle of the month you come up with new price so you maintain with processing status "A" from 15.01.2014 till 31.01.2014, system will not stop you at that time because processing status is with blocked. when you release this status into "C" . system will not allow you to do so why because this is standard behavior that when you have an existing record with same Access Sequence, Condition, processing status and Validity. system will not overwrite it until or unless you change the from date as same as you have already maintain.
If you want to propose your date while creating condition record, you have to change your settings in V/06 Valid From and Valid to as "No proposal" so that you can maintain your own validates but when ever you have to create new condition record at the same time (in middle of the month) you have to manually change the first one as 14.01.2014. this is because as i have mentioned system cannot allow two condition record as the same time with your same characteristics. Furthermore you can ask freely if you have any query.
Please go through this information too. hope this will clear your understanding.
Validity Periods - Pricing and Conditions (SD-BF-PR) - SAP Library  Thanks
Regards,
Suhaib Bin Aziz

Similar Messages

  • Warning message required in po to identify whether price is taking from info record or condition record

    Hi experts,
                        while  creating purchase order,If condition record and info record both are exists means how system will identify that which price need to pick for particular vendor.
                       Is it possible to set  warning or error message for above mentioned scenario.
    Thanks ,
    Deepika.

    If an info record has no  price conditions itself then the price is determined from the last PO.
    It is not always table A017, there are more tables for conditions to the info record, e.g. A018 and A025, this is dependent on the level of your info record which can be created at plant level or at purchasing organization level (no plant entered), with or without material number.
    For more detailed information see the docu in help.sap.com: Price Determination - Purchasing (MM-PUR) - SAP Library
    and the OSS note 456691 - FAQ: Price determination in purchasing
    and 569885 - About Info Record Update indicator (EKPO-SPINF)

  • Where it is advisable to store PRICE - Info record or condition record

    Hi Gurus,
    I maintained a pricing procedure and PO is taking price from the condition record maintained. I would like to know why we have to maintain a condition record, we can maintain the Price and other condition types in info record itself...
    So my question is where we have to store prices, ie. in info record or in condition record...in which all cases we'll go for maintaining condition records...
    thanks in advance...
    robin

    Hello,
    We stored prices in info records.
    In info records you will get updated price.Short for "(purchasing) information data record". Provides concise information on a vendor and a material that you already procure from the former. The info record thus represents a vendor-material relationship.
    The purchasing info record permits the purchasing department to obtain data such as the following:
    which materials has a certain vendor submitted quotations for or supplied to date?
    which vendors have quoted prices for or supplied a certain material?
    It may essential if you want to create automatic purchase order with in connection with MRP.(It always refers to info record)
    Always refer to purchasing info record.
    Regards
    Kedar Kulkarni

  • Condition records and Acess Sequence

    Hi,
           Can u give me a detailed explaination on Condition records and Acess sequence..I tried searching froum,. did not get any satisfactory result.. Please help
    Thanks In Advance
    Sanu Pillai

    Hi sanu Pillai,
    Access sequence is search strategy which
    searches valid condition records from condition table for
    condition types.
                 If we want to make the condition type
    independent then we assign access sequence to it so that it
    will fetch the value from condition tables .
                 But we dont assign access sequence to
    dependent condition types because they take value from the
    independent codtion type on which it is dependent .
                For example PBOO is a independent condition
    type so it will fetch value from the condition table
    related to info record.Then other dependent condition 
    types related to surcharge , discount will take the value
    from PBOO.
    Condition record
    A condition record to be the 'right' record, the information in the order, customer master or material master must match the key of the record.  If not then the system will go on to check the next table.
    Worked Examples using data from the example tables above
    Customer    Customer Group (from the customer master)    Region    Material    Price
    1234    A    NSW    X    11
    1224    A    WA    X    10
    2346    C    QLD    X    15
    1224    A    WA    Y    200
    A similar lookup is then done for each condition type. E.g.: the discount condition could specify various percentage discounts.
    For more information check below links
    http://help.sap.com/saphelp_47x200/helpdata/en/08/2bcd37b5264a54e10000009b38f842/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/9c/a6c2086b4b11d395b200a0c929f4c9/frameset.htm
    Thanks,
    Swamy H P

  • FM for creating Condition Records

    Is there FM for creating Condition Records for output type like transaction VV11 (Create Output - Condition Records: Sales)

    Hi there,
    FM for condition records? Why do you want to think of a FM for creating conditon records?
    Condition records is a master data that has to be manually created as per the business requirement.
    But what we can do is that if the data ia existing in an external legacy system, we can migrate that into SAP through a BAPI / BDC or LSMW depending on the volume of data.
    But in other cases condition records are manually created in SAP system.
    If at all you have a function module to create condition records, how would you ensure that it feeds correct data into the condition records? What key combination would the system take & what data would you want the FM to upload?
    How will you monitor what data is uploaded,.
    Regards,
    Sivanand

  • Rebate Condition Records Redetermination

    Dear All,
    When we Copy the Service Rendered Date in Billing Document into Billing Date using User Exit then Rebate Condition Records are not getting determined. If I go to the Analysis then i can see that the rebate Condition Record Exists but it does not gets set. In the analysis this is the message which shows for the Condition Record.
    "Condition record exists, but has not been set"
    Any Pointers as to which User Exit can be used to Redetermine the Rebate Condition Records.
    Regards,
    Madhukar

    Hi,
    Did you try to use transaction VBOF to rebill those invoices to set the rebate conditions.
    Regards,
    Rajesh Kumar

  • Retrieve the Purchase Order Condition Records Table

    Hallo!
    I have found this code right here:
    http://www.sap-basis-abap.com/sapab025.htm
    It is very useful particular for purposes which I need. Please can somebody
    try to fix the error to get it working. There is an internal table missing.
    Regards
    Ilhan
    Retrieve the Purchase Order Condition Records Table
    select * from ekko.
           select * from konv where knumv = ekko-knumv
               "Get all the condition records for the purchase order
           endselect.
    endselect.
    * Get the info record conditions record
    * First declare the record structure for the key
    data: begin of int_konp,
                 txt1(5),
                 lifnr(5),
                 matnr(18),
                 txt2(4),
                 txt3(1),
            end of int_konp.
    clear: konh, konp, int_konp.
    * data for the record key konh-vakey
    int_konp-txt1    = '00000'.
    int_konp-lifnr    = ekko-lifnr+5(5).
    int_konp-matnr = ekpo-matnr(18).
    int_konp-txt2    = 'ALL'.
    int_konp-werks = ekpo-werks.
    int_konp-txt3    = '0'.
    select * from konh where      kschl = 'PB00'            "Conditions (Header)
                                         and datab => p_datum.       "valid from date
          if konh-vakey = int_konp.                                  "Conditions (Item)
                 select single * from konp where knumh = konh-knumh.
                 continue.
          endif.
    endselect.

    Hi flora
    Just get through the sequence .
    see the table fields ...
    1. From EKKO table take an entry which is having pricing conditions.
    Now in the fields list check out for field EKKO-KNUMV(document condition number).
    2.Take this condition number and now goto table KONV.
    Give the document condition number in the field  KONV-KNUMV and execute .
    This will lead to a list of document condition numbers and some other fields .
    3.Now check for field KONV-KNUMH ,KONV-KAWRT(quantity) and note the value KONV-KWERT  .
    (Remember this is at header level).
    This is ur condition record number.
    **comments
    Now from document condition number we got the condition record number (KNUMH).
    4. now since u want the item level tax procedure go to table KONP and give the condition record number and execute .
    This will give u a list of details .
    Now concentrate on KONV-KAWRT (scale quantity) KONP-KBETR(rate) as this table will store “Pricing  per UNIT “ so product of these two will give u the total pricing tax, for a particular condition type say PR00  .
    For that particular condition item .
    Check the pricing procedure .
    See t-code VK13 and check the pricing procedure .
    From me23 check the same PO num select the item and check the pricing conditions applicable .
    Select a particular pricing and goto condition->analysis->analysis pricing  ,
    Better take help of a SD functional consultant in the process.
    regards,
    vijay.

  • Duplicate records in the same table

    Hello.
    I want to duplicate records in the same table, changing just two date fields and id. Id is changed with sequence.
    Example:
    id name start_date end_date
    1 record_1 01.01.04 31.12.04
    2 record_2 01.01.03 31.12.03
    I want to duplicate record with the start_date year 04 and the duplicated record would change that start_date into year 05.
    After duplicate it should look like:
    1 record_1 01.01.04 31.12.04
    2 record_2 01.01.03 31.12.03
    3 record_1 01.01.05 31.12.05
    How should my insert look like?
    Thanks

    create sequence A_SEQ
       start with 3
       nocache
    insert into tableA
            (ID, name, start_date end_date)
       select
               A_SEQ.nextval   
              ,NAME
              ,start_date + add_months (12)
              ,end_date   + add_months (12)
         from
               tableA
        where
               start_date >= to_date('01.01.2004','dd.mm.yyyy')
          and  start_date <= to_date('01.01.2004','dd.mm.yyyy')

  • PO item Condition Record number and delivery address of PO - Need a table n

    Hello Experts,
    I need some help as I have searched enough but did not find any solution.
    I need a table name where I can find Condition Record number for PO line item.
    As I have to create a new PO Layout in which I have to mention each & every condition type with value for line item.
    I need to know one more thing that from which table I will get delivery address number so on the basis of that I can read entries from table ADRC.
    Thanks in advance.
    Bhagat

    HI,
    The First Question is regarding the PO Conditions.
    For Extracting the same. we have to Go to The Table EKKI and in this table pass the PO Number and after entering the PO NUmber ,at each item level we will have a condition record number KNUMV created,
    collect the condition record number and pass the value in KONV table ,in that table we will get all the conditions and its values maintained.
    The second question is the delivery Address
    the Delivey address comes from four ways
    Plant
    EKPO -Pass PO NUmber - collect the plant and pass in table T001W  to get the address number
    and pass the address number to ADRC table
    Customer (third party)
    IN table EKPO -collect the customer Number-KUNNR and pass that value to KNA1 table and then get the address number and then get the address from ADRC table.
    Direct address number ( created by t code MEAN- Type ME01)
    This adress number-ADRNR can be taken from EKPO table and pass this value to adrc table to get the address.
    Vendor ( subcontracting)
    In this IN EKPO we will have the vendor field -LIFNR and this field collect the vendor number and pass in LFA1 and get the address number and then pass the address number to ADRC table
    If in EKPO,the address number and customer vendor field are blank then it picked from the plant and we have to default the Plant Address
    Hope so it helps
    Regards
    Anjanna.

  • Calcullating no. of records in an internal table based on condition

    Hi,
    i have several records in an internal table. i need to calculate the number of records which meets a condition. is there any simple logic to find the records which meet the required criteria apart from looping into the internal table.
    your help would be appreciated.
    Thanks,
    kranthi.

    Hi,
    U can use sy-dbcnt after the select querry.
    DBCNT  Number of elements in edited dataset with DB operations
    WRITE: /12 'Number of selected records:', SY-DBCNT CENTERED.
    REPORT ZZZ_TEST1 .
    Tables: mara.
    Types: begin of ty_mara,
           matnr like mara-matnr,
          end of ty_mara.
    DATA: i_mara TYPE STANDARD TABLE OF ty_mara.
    DATA: v_cnt like sy-dbcnt.
    SELECT-OPTIONS: s_matnr FOR MARA-matnr.
    SELECT matnr from mara into table i_mara.
    if sy-subrc = 0.
    v_cnt = sy-dbcnt.
    WRITE: /12 'Number of selected records:', v_cnt CENTERED.
    endif.
    Hope this helps u.
    Thanks & Regards,
    Judith.

  • Function Module for creating condition record (XKOMV table record)

    Hi,
    I have a requirement as like below,
    In the repair order i need to sum the GRWR condition type's  conditional values for all the line items (Except deliverable line item) and then i need to create an condition type GRWR under the deliverable line item with the above calculated conditional values,
    the table XKOMV will be having details about all the line item's condition types, in this table i need to add one more new record with the condition type of GRWR and the above calculated conditional values under the deliverable line item.
    for the above logic i am using the user exit
    USEREXIT_SAVE_DOCUMENT_PREPARE
    All the above things need to be done when the user click the save button in the transaction (VA01/VA02).
    Problem here is table XKOMV contains somany fields so manually we can't create xkomv record, is there any Function module to create condition type record?
    Regards,
    Manikumar
    Edited by: Manikumar Shanmugam on Mar 8, 2008 3:53 PM

    Hi,
       You can use Function module PRICING_CHECK to check condition record. Do a where-used list on it to see how to call it.
    Regards
    Kiran Sure

  • Get records number from internal table with condition.

    Internal table itab got more than 1000 records,now i need to get the number of records with condition that itab-field1 = 'XXXX'.
    actully, i got an inefficient logic to count the number in a loop statement. is there better way to implement it?

    hello,
    Every time assigning data into temp table and delete may that may not be much efficient. You can check in loop logic how much time is taken. You can check the below code. here I am trying to check the numbers of plant for for one material.
    In this logic material is the first field. So if there is option to make the required field in to the 1 st position then it will be nice.
    TYPES: BEGIN OF x_count,
            matnr TYPE matnr,
            count TYPE i,
           BEGIN OF x_count.
    DATA: i_marc  TYPE STANDARD TABLE OF marc,
          i_count TYPE STANDARD TABLE OF x_count,
          wa_count TYPE x_count.
    FIELD-SYMBOLS: <wa_marc> TYPE marc.
    SELECT * UP TO 1000 ROWS
      FROM marc
      INTO TABLE i_marc.
    IF sy-subrc = 0.
      SORT i_marc BY matnr.
      LOOP AT i_marc ASSIGNING <wa_marc>.
        wa_count-count = wa_count-count + 1.
        AT END OF matnr.
          wa_count-matnr = <wa_marc>-matnr.
          APPEND wa_count TO i_count.
        ENDAT.
      ENDLOOP.
    ENDIF.
    Thanks
    Subhanakr

  • Select records from MS Access tables using multiple conditions

    Hi,
    I am trying to build s select list of team names for a
    sporting club website. The select list should include teams if the
    currently logged in user is a coach, team manager, assistant coach,
    player or a parent of a player.
    When I have only one group of conditions in the where clause
    it works fine. But that only accounts for one of the above roles.
    As soon as I ad an OR and another set of criteria my CF7 server's
    swsoc.exe goes into an permanent loop (well, at least 10 minutes, I
    reboot after that :-)
    For example, this works fine ...
    <!--- select teams I coach, assistant coach, manage, am a
    parent of a player, or am a player --->
    <cfquery name="teams"
    Datasource="#Application.Datasource#">
    SELECT distinct teams.uid_team, team_name, uid_coach,
    uid_team_manager, uid_coordinator, team_asst
    from teams, player_agegroups, players
    where
    (player_agegroups.uid_team=teams.uid_team and
    players.uid_user=player_agegroups.uid_user
    and teams.uid_season=#session.season# and
    players.uid_invoice_to=#session.userid#)
    Order by team_name
    </cfquery>
    But as soon as I add another condition cf7 goes into a
    loop...
    <!--- select teams I coach, assistant coach, manage, am a
    parent of a player, or am a player --->
    <cfquery name="teams"
    Datasource="#Application.Datasource#">
    SELECT distinct teams.uid_team, team_name, uid_coach,
    uid_team_manager, uid_coordinator, team_asst
    from teams, player_agegroups, players
    where
    (player_agegroups.uid_team=teams.uid_team and
    players.uid_user=player_agegroups.uid_user
    and teams.uid_season=#session.season# and
    players.uid_invoice_to=#session.userid#) or
    (player_agegroups.uid_team=teams.uid_team and
    players.uid_user=player_agegroups.uid_user
    and teams.uid_season=#session.season# and
    players.uid_user=#session.userid#) or
    (player_agegroups.uid_team=teams.uid_team and
    players.uid_user=player_agegroups.uid_user
    and teams.uid_season=#session.season# and
    teams_uid_coach=#session.userid#) or
    (player_agegroups.uid_team=teams.uid_team and
    players.uid_user=player_agegroups.uid_user
    and teams.uid_season=#session.season# and
    teams.team_asst=#session.userid#) or
    (player_agegroups.uid_team=teams.uid_team and
    players.uid_user=player_agegroups.uid_user
    and teams.uid_season=#session.season# and
    teams.uid_team_manager=#session.userid#)
    Order by team_name
    </cfquery>
    Any combination hangs CF7, whether it be two, three or all
    conditions, and any combination of conditions..
    The teams table stores team name, coach, team manager,
    assistant coach and coordinator. Players table stores the player
    records, and the parent (uid_invoice_to), is part of the player
    record. player agegroups has the teams, with a record for each
    player in a team. The whole system is based around seasons, hence
    the #session.season# variable.
    What should happen is I get a very short list of teams. When
    I select a team from the select list I then go and grab all the
    player records from the player_agegroups table joined to the users
    table to get their names, date of birth etc...
    Can anyone see what I am doing wrong?
    thanks
    Tanya

    You might try to change your query using a SQL JOIN command,
    so you can link the appropriate tables independently from the WHERE
    selection criteria. You could use Access to create the query and
    then go to the SQL command view to get the correct synyax.

  • Table for Condition Records

    Hi Gurus,
    In which table the Condition Records will be stored(vk11)...
    thanks in Advance

    Hi,
    Pls check this , if you need further assistance pls do get back to us.
    KONV : Conditions for Transaction data
    KONP : Conditions for items
    KONH : Condition Header.
    Regards,
    Vvieks

  • To count number of records in an internal table for a condition

    Hello All,
            I want to count number of records in an internal table for a condition.
    For e.g. -- I have one internal table IT which having fields F1, F2, F3, F4, F5.
                     Now, I want number of records in itnternal table IT where F1 = 'ABC'.
    Is it possible to do..?? If yes, then how.??
    Thanks in advance...!!
    Regards,
    Poonam.

    Hi,
    If you mean an internal table, there are a few ways to do this.
    1 One would be to loop over the table with a WHERE clause and increment a counter.
    data: lv_counter type i.
    clear lv_counter.
    loop at itab where fld1 = 'ABC'.
    lv_counter = lv_counter + 1.
    endloop.
    lv_counter now has the number of rows per the condiction.
    2  Well, you may want to try this as well, and compare to the LOOP way. Not sure what kind of overhead you may get doing this way. Here ITAB is our main internal table, and ITAB_TMP is a copy of it. Again I think there may be some overhead in doing the copy. Next, delete out all records which are the reverse of your condition. Then whatever is left is the rows that you want to count. Then simply do a LINES operator on the internal table, passing the number of lines to LV_COUNT.
    data: itab type table of ttab.
    data: itab_tmp type table of ttab.
    itab_tmp[] = itab[].
    delete table itab_tmp where fld1  'ABC'.
    lv_count = lines( itab_tmp ).
    Thanks & Regards,
    ShreeMohan

Maybe you are looking for

  • Rate Apple customer service for me

    I'm a new user and finding Apple customer service very un-responsive to resolving a problem I had with an unrecognized charge to my account. Account has been disabled and I have no access while they "investigate." I have given new credit card but tha

  • Mount an USB key under solaris 10 x86

    I've got a problem with solrais, I have got an USB key, and when I connect it to the computer, nothing is done. I want to know how I can mount my USB key. Willits

  • X220 - Restore from R&R backup onto formatted drive

    My x220 seems to have a broken MBR. I have tried every suggestion I could find on the internet to fix it (Lenovo R&R USB HDD backup, bootrec fixmbr and fixboot in Windows PE, Parted Magic LiveOS, EasyBCD, installing GRUB) but nothing seems to work. T

  • Itunes apps tab not working

    I have an iPad 2 with iOS 5.0.1.  I have installed the latest iTunes desktop.  However, each time I click the Apps tab, iTunes says its not working and the entire iTunes desktop app closes out. What I've done: 1.  Repaired iTunes 3 times.  Didn't wor

  • Mapping / Mounting to a network source

    I have just changed from the Windows World to the Mac World with a mac book air and Mac OSX 10.5.4. In windows you could easly find your network folders a right click on them and map as a network drive, and then make a shortcut to this on your deskto