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

Similar Messages

  • 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 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

  • WHAT IF I DELETE THE SYSTEM06.DBF FILE FROM DATABASE /U01/DB/apps_ sid / system06.dbf and how to recover it in apps

    WHAT IF I DELETE THE SYSTEM06.DBF FILE FROM DATABASE /U01/DB/apps_<sid>/ system06.dbf and how to recover it in apps

    Hi,
    First of all you must Open a ticket with oracle Support and explore the options
    You can use this note to fix it:
    RECOVERING FROM A LOST DATAFILE IN A UNDO TABLESPACE [ID 1013221.6]
    If you is Unable to Drop Undo tablespace Since Undo Segment is in Needs Recovery
    You can Upload the following trace file while opening the ticket
    SQL>Alter session set tracefile_identifier='corrupt';
    SQL>Alter system dump undo header "<new of undo segment in recover status>";
    Go to udump
    ls -lrt *corrupt*
    Upload this trace file
    Also upload the alert log fileRegards,
    Levi Pereira
    Edited by: Levi Pereira on Nov 29, 2011 1:58 PM

  • Tax condition records replication from r/3 to CRM.

    Hi,
    We are on CRM 5.0 and backend is 4.7. We have downloaded all condition objects from r/3 to crm. When I tried to create an order everything is determined in CRM (R/3 pricing procedure, PR00) but for tax conditions.
    Where I can view the condition records downloaded from R/3 in CRM system?
    Thanks in advance.
    Srinivas

    Hi Nitin,
    I believe the maintenance of the condition type is done in R/3. If this is the case then in R/3 you can go to the following path
    Under SPRO ->SAP Customizing Implementation guide ->Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control ->Define Condition Types.
    Here for the condition type you wiill maintain the "Condition Class" and  "Calculation Type". Once it is maintained You can trigger DNL_CUST_CNDALL to bring it down to CRM.
    you can monitor the trigger that you did using SLG1 transaction.
    Thanks
    Abishek

  • 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.

  • Customer heirachy 3data is not populating in condition record(vk11)- urgent

    Gurus
    Please some one can help me on this issue , very urgent.
    also ask me if you have any further questions.
    my access seuqence  key combination are
    sales org,
    Distribution channel,
    customer heirarchy3 ,
    product heirachy1,
    product heirachy2,
    product heirachy3,
    product heirachy 4 and
    Materila group 4               total 8 fields
    for the above mentioned fields when trying to create condition record in vk11
    from drop down box I am not able to see data from customer heirarchy3-HIENR03(drop down box in condition record screen -vk11)  field --?
    whats wrong with that?
    how to solve this issue?
    thanks
    kris

    Some one can help me on this issue.
    thanks
    kris

  • BAPI or FM to Create Condition Records (VK11)

    Hi!
    Is there a BAPI or a FM (or something else) to create condition records in the same way as with transaction VK11 (or XK15)?
    I am aware of the LSMW program RV14BTCI (althought never have used it).
    Thanks!
    Kind regards,
    Igor

    Hello Igor,
    It's not trivial, but let's have a try. Use transaction SALE to get into the ALE business. Then option Modeling and implementing Business Processes -> Maintain distribution model.
    Get into change mode and create model view (any name will do). Then selected the newly created node and Add message type. Here you have to enter the sending and receving system and the message type (COND_A).
    Afterwards select the node and then via menu Environment->Generate partner profiles execute the partner profile will be generated automatically.
    Now you are able to send a condition records from system A to B.
    Regards,
    John.

  • 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

  • Create Condition Record - VK11

    Dear All,
    My Requirement is when we maintain the Condition Record with Validity Dates - From and To .  it should trigger the workflow and once approved then the Condition should be valid.
    is there any way we can achieve it.
    Appreciate your time.
    Thanks and Regards
    Mahesh

    Hi,
    While creating the condition record in VK11,click on Key combination.Identify your condition table/access.
    Goto the path:
    SPRO>Sales and Distribution>Basic Functions>Pricing>Pricing Control-->Define Condition Tables.
    Goto "Display Condition Tables".Press F4 on the table field.
    Identify your table based on the short description.
    Identify the table number.
    Goto the T.Code "SE11/SE16".
    Enter the table name as "A" followed by that number.Suppose the number is 909,identify the table name as A909.
    Execute.
    Get the condition record number.
    If a new number is generated means there is anew record.By using that numebr you can get the details from the table "KONP".
    If there is a new number other than the existing one,for that one all the details should be fetched from "KONP" table and then workflow should be triggered with that specified details from "KONP".
    For this we have write a code.Ask your ABAPer to write the code as per the above logic.
    Regards,
    Krishna.

  • 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

  • Client copy & condition records: Printing from QA system to production

    Hi,
    We have the following problem: When production system is copied to quality assurance system (full system copy / client copy), also the condition records are copied. This means that when e.g. a sales order is printed in QA system, this printout goes to a business printer by default. This is a matter which is definitively annoying to the business.
    Is it possible to find an easy way to fix this problem? For example, can the condition records be cleared after the full system copy? Or, is it possible to add word "TEST" on top of the printout if it is printed in QA system? We are looking an easy and simple solution to this.
    I tried to find a solution in SAP Printing Guide, but couldn't find any help in there. Do you have any ideas or suggestions where can I find more help? Do you know if there is an SAP Note for this? Is the Message Control (CA-GTF-BS) http://help.sap.com/saphelp_46c/helpdata/en/c8/19878343b111d1896f0000e8322d00/frameset.htm right place to start the investigating?
    Thanks in advance!
    Regards,
    Jarmo Tuominen

    After the system copy we go in and lock all printers then clear all the queues.  Simpler ways we've not found.
    We wrote ABAP programs that lock the printers then deletes the queues thus giving us the chance to clear things up as soon as the copy is done.
    Be nice to hear if anyone has a better way.

  • Deleting and updating records in a database table

    dear all ,
    i have created a databse table to which i have to update and delete records thru my program whixh i am unable to do so plz help me.

    Hi Sonu,
    To delete and update the records in your database table, you can create a Function Group and all the necessary function modules for it. This will a good approach as this will separate the database interface logic and the business logic. You need to use the DELETE and UPDATE ABAP keywords to delete and update the records of the database tables. Have a look at the ABAP Keyword documentation for a complete details of the usage.
    Have a look at the following link:
    DELETE
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
    UPDATE
    http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb3aef358411d1829f0000e829fbfe/frameset.htm
    Hope this will help.
    Thanks,
    Samantak.

  • BI statistics - problem with records transferred from database

    Hello,
    I just recreated an old BW statistics report in the new 7.0 version and this on multicube 0TCT_MC01.
    In the old report (BW 3.5) there was a difference between:
    1) - records transferred from DB (0TCTDBTRA)
    2) - Cells transferred to Front End (0TCTNCELLS)
    I red the following paper on SDN, titled: 'SAP NetWeaver BI Administration Cockpit Technical Content BI Statistics'.
    And here they talk about:
    - 0TCTNDBTRA (unfortunately this is a keyfigure of another multicube 0TCT_MC03, so it can not be used in my report)
    - 0TCT_DBTRA (this KF even does not exist in the technical content!)
    In the new report (BI 7.0) I used 0TCTDBTRANS to replace the 0TCTNCELLS.
    Now my question is how can I replace/define 0TCTDBTRA in the new report. I really need this key-figure in a report on the 0TCT_MC01 multicube.
    Hope you can help me, I you have any further questions do not hesitate to contact me.
    Kind regards,
    lex

    I posted the issue with another user but from this moment I will check it with my user.
    Hopefully somebody can help me with the issue....
    Regards,
    lex

Maybe you are looking for

  • Creating file in shared folder

    I need to access a folder on a network ( say \\server1\test ). test folder is shared on \\server1 with permission only to user 'A'. Now a java program ( Simple code snippet given below ) running will not be able to access the given folder due to acce

  • Problem in paintComponent()

    i have a java class Post which is called from another java class.The Post class extends a JPanel. The constructor of this class is called. But the paintComponent() method is not called....This problem is ocurring in some of the computers only....and

  • MobileMe acct not showing up in Mail

    hi all - yesterday i got a new iPhone 4 and synced everything from my 3GS. no problem. this morning i noticed that my mobile me account was not on the e-mail list (i have a few other gmail accounts). i'm not sure if it was on last night, i was too bu

  • Elements 9 missing images

    Ok sorry to bother you more experienced people. I have Elements 9 and have been using for several months. I'm not totaly out of sinc but I did somthing and now all I can desplay is some audio files that must have been in the program. I cannot linc to

  • Enable/Disable JMenu in JFrame on click of button in JInternalFrame

    Hello there. Could anybody help me out of the situation? I am trying to enable/disable JMenu of JFrame on click of a button which is in JInternalFrame. I want to set JMenu(this is in JFrame).setEnable(true) in ActionPerformed() of JInternalFrame, but