Deleting a condition record

hi guys,
i want to delete a condition record using VK12, am selecting the row and pressing the icon 'Delete Row' but its not working out, and the row still remains the same(the condition record not getting deleted). More over, the 'Deletion ID' is selected in the condition record.
how do i delete the condition record in this case. this is very urgent. plz send the replies ASAP.
thanks in advance.
kumar.

Dear Kumar,
There are two possible procedures for deleting conditions. There is either immediate deletion or a deletion flag for archiving at a later date. You enter the type of deletion that should be proposed during condition maintenance into Customizing for a condition type, . When deleting immediately, a dialog box can be created which indicates immediate deletion but offers a deletion flag as an
alternative.
<b>Deletion Flag</b>
You can mark condition records for deletion. These are then no longer taken into consideration during automatic pricing. However they remain as condition records in the system until the next archiving update. This means you can reset a deletion and reactivate a condition record.
<b>Physical Deletion</b>
If you use physical deletion, the condition record disappears immediately. It is no longer available during condition record maintenance or pricing. This deletion cannot be reset once it has been carried out. You have to recreate the condition record if you need it again. To be more exact, the reference to the condition record for pricing and condition record maintenance is deleted completely with physical deletion. The actual condition record must be kept for old documents.
Recommendation:
SAP recommends the physical deletion procedure. The deletion flag improves upwards compatibility in the system.
A pricing error can occur when using hierarchical accesses in combination with the deletion indicator (See the hierarchical access documentation in the SAP library).
The deletion flag used to be used as a replacement for a missing release procedure. This is no longer necessary, as there is now a separate release procedure available (see the release procedure in the SAP library).
Physical deletion can be included using the change documents – for example deletions in a specific period (Report RV16ACHD).
Reward points if this is helpful.
Regards,
Naveen.

Similar Messages

  • How to Delete the condition record in CRM

    HI,
    Can you please help me how to delete the condition record from condition table in CRM.
    Please explain the usage of FM CRMXIF_CONDITION_SEL_DELETE with examples.
    I have also read the documention of the function module. How to use this FM for custom defined condition table.
    (this is the code given in Documentation)
    DATA-OBJECT_REPRESENTATION         = 'E'
    DATA-SEL_OPT-CT_APPLICATION              = 'CRM'
    DATA-SEL_OPT-OBJECT_TASK                    = 'D'
    DATA-SEL_OPT-RANGE-FIELDNAME        = 'PRODUCT_ID'
    DATA-SEL_OPT-RANGE-R_SIGN                  = 'I'    (Including)
    DATA-SEL_OPT-RANGE-R_OPTION           = 'EQ'
    DATA-SEL_OPT-RANGE-R_VALUE_LOW  = 'PROD_1'
    Thanks
    Shankar

    Hi Shankar,
    I am using the same CRMXIF_CONDITION_SEL_DELETE function module to delete condition record present in CRM.
    But it is giving me below error in the return table of the FM after i run the program. Can you please correct me if I am doing any thing wrong?
    Error in  lt_return: SMW3     CND_MAST_SEL_DEL_EXT_VALIDATE     CND_M_SD
    code:
    ls_range-fieldname = 'PRODUCT_ID''.
    ls_range-R_SIGN = 'I'.
    ls_range-R_OPTION = 'EQ'.
    ls_range-R_VALUE_LOW = '123456'.
    APPEND ls_range TO lt_range.
    MOVE lt_range TO ls_entry-SEL_OPT-range.
    ls_data-SEL_OPT-object_task = 'D'.
    ls_data-SEL_OPT-ct_application = 'CRM'.
    ls_data-object_representation = 'E'.
    CALL FUNCTION 'CRMXIF_CONDITION_SEL_DELETE'
      EXPORTING
        DATA          = ls_date
    IMPORTING
       RETURN        = lt_return
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      IMPORTING
        return = lt_ret.
    Edited by: Saravanaprasad Nadar on Jul 7, 2010 1:27 AM

  • Mass delete of condition records

    Hi All,
    Please advise if there is a mass delete function of condition records. I have uploaded prices for customer/material conbination for the month of novemver and i want to delete them all. I can do it one by one but it will take tooooo long. Also please advise that if a record is marked for delete indicator, then can it be used again ? or can i reomve it completely becasue i want to upload again with correct prices.
    Appreciate your help
    SAPXPT

    Hi,
    Let's get one by one.
    > Please advise if there is a mass delete function of condition records. I have uploaded prices for customer/material conbination for the month of novemver and i want to delete them all. I can do it one by one but it will take tooooo long.
    There is no such Transaction available to delete those like in MASS.
    Best thing is to use a LSMW with VK12 transaction.
    > Also please advise that if a record is marked for delete indicator, then can it be used again ?
    Yes, You can.
    Once marked for deletion they won't appear in the sales order automatically. Pricing Analysis will show you like this.
    "Condition record has been deleted"
    If you want to use it again go to VK12, and go in to your condition record.
    Highlight the condition line item and press "Details" button (Magnifying Glass)
    Un-tick the "Deletion lndicator" check box.
    Save.
    Then you can use it again as normal way.
    > can i reomve it completely becasue i want to upload again with correct prices.
    Yes, You can.
    You can remove it completely from the data base. First you have to configuret your condition type in IMG to enable that function..
    Go to V/06
    Select you condition record & go in to details.
    There you get a filed called "delete fr. DB"  under "Master data" section.
    Change it to "A with popup" or "B without popup".
    Which means your going to delete it from the data base. (Where as you cannot use it again, like you do in Deletion indicator)
    Save
    Then come to VK12,
    Go in to your condition record.
    Highlight the condition line item and press Delete button from lower area.
    If you set "A with pop up" in the condition record, you'll get a pop up saying,
    "The condition type XXXX is set so that when the deletion indicator is set, the condition record can be physically deleted from the database.Do you want to delete the condition record physically?"
    Once save system will delete it from the data base.
    If you set "B without pop up", system will delete it without a pop up.
    Hope this helps you !
    Best regards,
    Anupa

  • Delete pricing condition records : vk12

    When i mark a record as deleted in vk12, there add a tick in DeletionID column. I was told the record would be deleted after database reorgnization.
    I want to ask, when will DB reorgnize? Would the deleted records be active before DB reorginze?
    Can anybody help me?
    Thanks a lot

    hi Yimeng,
    In v/06 for your condition type check the field delete from DB
    If you set this field as A or B,then only you will be able to delete the condition record permanently via VK12.Otherwise you can only set deletion indicator. after u set the indicator in v/06, then goto
    vk12 and set the record as delete.so the first one controls the actions in vk12.
    condition record can be deleted in two ways
    1.physical deletion
    2.marked for deletion.
    The customizing can be done at the condition type maintainance in V/06,
    u have three options
    1.physical deletion with pop up
    2.physical deletion without pop-up
    3.mark for deletion.
    select an option there and in condition record in VK12, select the record and
    and delete with the deletion indicator.
    SAP recommends physical deletion
    reward if it is useful
    bye MCM

  • How to delete a condition record

    hi,
    i maintained one condition record and deleted it in chane mode i.e using t.code vk12. Again if i make new condition records the system showing "validity dates are over lapping".
    wt is it?

    hi srinivas,
    go to VK12 , there you can see the record maintained and the validity period. Just do one thing, select your condition record and change the valid to date in the past. Thn you will get a warning below that the date is in past, just press enter and save the record. Then if you go and check the record it will not be there. Then created your new condition record.
    I hope i have answered your query. reward points if solution helps.
    Regards,
    Allabaqsh G. Patil

  • Deletion of condition record (vk11) from Database

    Dear,
    can anybody tell me how to delete condition record completely from database nt delettion flag.
    regards,
    Debesh

    Hi,
    I think archive the condition record is better option for you insted of deleting it !!!!
    For archiving please go through the below link.
    http://help.sap.com/saphelp_45b/helpdata/en/8d/3e5ae4462a11d189000000e8323d3a/content.htm
    Hope this will help you to resolve your query!
    Regards,
    KRishna O

  • Tracking deleted pricing condition records

    Hello,
    I Have a condition record for a condition type with a  particular price of USD 100 with validity date from 1.10.09 to 30.10.09.
    Now we create another condition record for the same condition type with a new price of USD 50 with same valid date from 1.10.09 to 30.10.09..
    So now the systems delete the old condition reocord of USD 100.This is standard sap.
    Now I want to know is there any way of tracking the deleted condition records like  the ones the system has deleted. If there is no standard report and if we have to develop a Z report, then how to develop that since the tables do not contain the old conditon records.
    regards
    sachin

    Hi,
    Yes, from the condition table that you are going to maintain the condition records (check the condition table assigned to the access sequence, from the condition type), we will get all the condition records maitained for specific combination/material
    Now go to se16 and enter the condition table name and give the proper selection criteria then you will get all the condition record numbers maintained to your selection with validity dates. then you can go to KONP and pass the condition record and you can get the condition values for that particular combination with proper validity dates.
    (Actually from VK13/VK12 based on validity date that we have mentioned in the selection screen will display the condition record valid on that paricular date, from the system those condition records will not be deleted at all)
    OR
    There are two possible methods of displaying change documents:
    Choose Environment -> Changes -> For condition record.
    Change data for the selected condition record(s) will be displayed.
    Choose Environment -> Changes -> Report.
    A selection screen will appear where you can choose multiple criteria for displaying change documents. The result of the selection report is displayed.
    Regards,
    Satya

  • Mass Deletion of Condition Records

    Hi
    I have created tax condn. records for various combination of plant regions and customer regoins. Can you pls. tell me how can I delete all of them without going to VK12 for each separately? Is there any mass deletion facility. LSMW does not work here since it is not defaulting the region fields.
    Thanks

    answered
    Solution - the values would be replaced once i upload new values th. LSMW
    Thanks

  • Condition record deleted still it is reflecting in pricing

    Hi Gurus,
    I have created sales order and saved when i was analyzing sales order i came to know that system has taken two taxes (VAT and CST) . After i realizing that there two condition records maintained in system then i have deleted one condition record which is not required. Then i went to change mode of sales order and  carried out new pricing but system is still showing both conditions and both the amounts are reflecting. Interesting is in pricing analysis the condition record which i have deleted is showing deleted but system is showing deduction amount in pricing. So please suggest me what should i do so that system will take only one condition record and show only that amount.
    Pls reply me urgent since client is stuck up.
    correct asn will get good reverts.
    thanks & regards
    Sree

    Hi,
    U are correct. Please check any subsequent documents exist for that sales order..
    Please also check whether u have deleted entire record or only set the deletion indicato and also check the document pricing date and condition record validity date factors also..
    Please try it once again in VA02 by carrying out new pricing and also click on price analysis and condition record buttons see that information there also..
    Hope it will help u...
    Regards
    Sankar
    Edited by: sankar sankar on Jun 6, 2008 2:47 PM

  • Delete condition records in VA01

    Hi,
       I am trying to write a BDC for VA01. There are SOME(not all) unwanted condtion records comming. how can i remove those condition records (Goto - > Header - > Conditions) thru BDC.
    Regards,
    Naveen Vishal

    HI NAVEEN,
                    goto vk12,choose the condition types which you dont want to be in the sales order,select the line and delete the condition record and save.
    you have to delete all the access sequence condition record for that condition types.
    then it will not appear in the sales order,
    but the best way is to do it in the configaration settings in v/08
    regards
    senya

  • Is their any function module for deleting condition record i am trying

    Hi Experts,
    Is their any function module for deleting condition record i am trying  this way.......
    DATA: TABLE (4) TYPE C.
    DATA: KNUM LIKE KONH-KNUMH
    DATA: K_VEWE LIKE T681-KVEWE VALUE 'A'.
    DATA: T681_STR LIKE T681.
    DATA: LV_NUM TYPE I.
    GET PARAMETERS
    PARAMETERS: TABNO LIKE T681-KOTABNR.
    PARAMETERS: TESTMODE DEFAULT 'X' AS CHECKBOX.
    REFRESH INT_KNUMH.
    Select single * from T681 into T681_STR
    where kvewe = K_VEWE AND
    KOTABNR = TABNO.
    IF SY-SUBRC NE 0.
    WRITE: / 'No entry in T681 for number ', TABNO.
    WRITE: / 'Check whether corresponding condition table exists.'.
    EXIT.
    ENDIF.
    TABLE = T681_STR-KOTAB.
    SELECT KNUMH FROM (TABLE) INTO KNUM.
    SELECT SINGLE * FROM KONH WHERE KNUMH = KNUM.
    IF SY-SUBRC NE 0.
    INT_KNUMH-KNUMH = KNUM.
    COLLECT INT_KNUMH.
    ENDIF.
    ENDSELECT.
    DESCRIBE TABLE INT_KNUMH LINES LV_NUM.
    IF LV_NUM EQ 0.
    WRITE: / 'No inconsistent entries found.'.
    WRITE: / 'Each record in the condition table has a corresponding.'.
    WRITE: / 'entry in the KONH table.'.
    EXIT.
    ENDIF.
    LOOP AT INT_KNUMH.
    IF TESTMODE IS INITIAL.
    DELETE FROM (TABLE) WHERE
    KNUMH = INT_KNUMH-KNUMH.
    IF SY-SUBRC = 0.
    WRITE: / 'KNUMH =', INT_KNUMH-KNUMH(10), ' deleted from table ' ,TABLE.
    ELSE.
    WRITE: / 'DELETE: SY-SUBRC is', SY-SUBRC , ' FOR KNUMH = ' .
    WRITE: INT_KNUMH-KNUMH(10).
    ENDIF.
    ELSE.
    WRITE: / 'TESTRUN: KNUMH =', INT_KNUMH-KNUMH(10).
    ENDIF.
    ENDLOOP.
    is their any Standerd Function module  for comparing  tables if the condition record not exist in it has to exit if it is their then compare  those two tables if not exist in one table also that has  to be delete  the condition record
    Please let me know .....

    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

  • Delete Condition Records

    Hi,
    I have a requirement to delete condition records. Please let me know if there is any BAPI or Function Module which deletes the condition records from VK12. Its very urgent.
    Thanks,
    Meenu

    Meenu,
    Use VK12 and set the deletion flag.
    The deletion flag means that the record is logically deleted and not phisically.
    some of the conditions records cannot be delete, example 'MWST'.
    In such cases, the best way is to change the end date to the current date.
    more adding for you;
    In v/06 for your condition type check the field delete fr. DB
    If you set this field as A or B,then only you will be able to delete the condition record permanently via VK12.Otherwise you can only set deletion indicator.
    Amit.

  • Condition record deletion

    Gurus
    Please can some can explain me how to delete pricing condition record(permanently from the system).
    Not from the vk12T .code.
    can we or we can not?
    Thanks
    Kris

    Norally, Condition record can be marked for deletion, but not deleted. Alternatively, you can change the period in condition record to the period you wamt is effective, say 1st April 2006 to 3ist May 2007, so being in June, we have terminated the validity of condition record in May. This can be done in T.Code: VK12.
    Regards,
    Rajesh Banka
    How to give points: Mark your thread as a question while creating it. In the answers you get, you can assign the points by clicking on the stars to the left. You also get a point yourself for rewarding (one per thread).

  • Find out the Condition record deletion

    Please help me anybody  below issue.
    My issue is how to find out the Log  " deletion of condition record".
    i need  which user has been deleted the condition record. Please help me this how to find it. I checked in Standard we didn't able to find out..

    condition tables have usually no change log, as most of them are created by yourself anyway.
    If you missed to activate the log for table changes (via SE11, enter condition table, click change, goto technical settings and find the box for activation of change log ) then you will not find anything.
    Check how this setting is for your condition tables and revert back

  • Delete condition record??

    how to delete condition record from VK11. can i have t code plz.

    Hi,
    Just to add,
    There are two possible procedures for deleting conditions. There is either immediate deletion or a deletion flag for archiving at a later date. You enter the type of deletion that should be proposed during condition maintenance into Customizing for a condition type, . When deleting immediately, a dialog box can be created which indicates immediate deletion but offers a deletion flag as an alternative.
    <b>Deletion Flag</b>
    You can mark condition records for deletion. These are then no longer taken into consideration during automatic pricing. However they remain as condition records in the system until the next archiving update. This means you can reset a deletion and reactivate a condition record.
    <b>Physical Deletion</b>
    If you use physical deletion, the condition record disappears immediately. It is no longer available during condition record maintenance or pricing. This deletion cannot be reset once it has been carried out. You have to recreate the condition record if you need it again. To be more exact, the reference to the condition record for pricing and condition record maintenance is deleted completely with physical deletion. The actual condition record must be kept for old documents.
    <b>Recommendation:</b>
    SAP recommends the physical deletion procedure. The deletion flag improves upwards compatibility in the system.
    A pricing error can occur when using hierarchical accesses in combination with the deletion indicator (See the hierarchical access documentation in the SAP library).
    The deletion flag used to be used as a replacement for a missing release procedure. This is no longer necessary, as there is now a separate release procedure available (see the release procedure in the SAP library).
    Physical deletion can be included using the change documents – for example deletions in a specific period (Report RV16ACHD).
    Hope this helps. Please reward if useful.
    Thanks & Regards
    Sadhu Kishore

Maybe you are looking for

  • T400 Supported resolution for external monitor

    I have Video Adapter Intel GL40/GM45/GM47/GS45 Chipset - Graphics Controller 0 [B-3]. Can I use 24" monitor with native resolution 1920 x 1200 px (94 DPI) ? Thank you Solved! Go to Solution.

  • Samsung LCD TV will not recognize Sandisk drive

    I am trying to download a short video to my Sandisk Cruzer to be played via the USB port in a Samsung LCD TV. How do  format the drive in Mac utilities to work with Samsung USB port. Thank you

  • Where to find a Discussion Forum JSP application?

    Hi! I am just wondering if there is, somewhere an application for a discussion forum made in JSP. It is a so common application that I don't want to bother to start one from the scratch. It is aimed for an Intranet, does any one knows where can I fin

  • Problem importing contacts from Outlook

    I maintain my address book in an MS Access database. I have defined a query that extracts the fields and records I want in my contacts list. My goal is to have the same contacts list in Outlook and on my iPhone. After exporting the query data to a CS

  • Delete function

    Once I open documents in Adobe Reader on my iPad and they are included in my document library, how do I delete them?