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
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
SAPXPTHi,
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 -
Mass change of condition record
Hi friends,
One of my client has created a condition record for a pricing condition type long back by mistake. So lot of sale orders have been generated which included that condition record. Now he wants to delete that condition record for all that sale orders. Is there any chance of deleting that condition record for all the sale orders at once in mass level?
Rama raoDear Rama
Go to VK12, change the pricing date to old date (From and To Date may be same) and save.
Now go to MASS, give Object Type "BUS2032" and execute. Here under the Tab, select the Table "Sales Order Item Data" and go to "Fields" tab. Here select the field "Pricing date (MASSSD)" and execute. Now change the date what you have maintained in VK12.
thanks
G. Lakshmipathi -
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
ShankarHi 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 DELETION OF MATERIAL RECORDS
hi frds,
is is possible to delete all the material records at single trial (mass deletion of material records).is that any t-code for this.
is any other way to do this.please advice in this regard.
your advice is consisdered valuable.
regards,
G.V.SHIVAKKUMARNo, there is nothing that can do that.
I know there is a transaction that is able to delete all FI data, but no such transaction available for MM. -
Mass download of condition records from ECC to CRM
Hi Team,
We need to download many condition records from ECC to CRM. We are doing a request download but it takes lot of time. Is there a way to do a mass download of condition records form ECC to CRM.
Regards,
Jan.Hi Robert,
We have all the articles in CRM but the prices are not matching for 2000 articles. Kindly suggest us in doing a mass download of the condition records for those 2000 articles.
Regards,
Jan -
Mass maintainance of condition records?
Hi
I want to know the concept of mass maintainance of condition records in SAP-SD-Pricing.
ThanksHi Subhash,
For Mass Maitenance or Loading of Pricing Condition records, you can use LSMW. Here you can choose either a Standard Batch Input or Recording, or BAPI
The easiest what I felt is Recording. here if you opted to change condition records (you can choose VK12 as the T code) else if you wished to mass load the condition records you can choose VK11 or VK15.
once the recording is complete, you need to give a name to your recording, and then assign a Data structure name to it. after which you can assign the source fields. for this first you will create a list of source fields which you can get by checking what you have recorded, and pick the fields. (as there is an option to see the object list of your recording thus you can identify the recorded fields).
once the source fields are created, you need to map the source field with the source Structure. you can select each field and click the assign button which will pop up a list of the recorded fileds, you can then assign each of them to the respective source fileds. (this is what we call source field mapping)
The Next task is to specify and assign an input file, for LSMW script to read and convert. This input file should have all the records that you wish to add or change as per the source field record structure. You can create the input file as an XL file with all the data, and then save it as a .CSV file. and then specify during the assign file as it is a comma seperated delimiter.
then Choose the convert option to do a data conversion, and then finally process the Batch session, to check your results.
LSMW will successfully change or create Mass data (whether master records for pricing codition or whether mass sales /purchase Transaction data )
Hope this may be what you are expecting.
cheers
Prasad
Singapore. -
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 lothi 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 -
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. -
How to mass upload shipment condition records
Hi buddy,
TK11 - shipment condition records
how can you mass upload shipment condition records, anyother bapi available for the mass upload for TK11.
thanks
pauldharmaHi ,
To creae the Target Group for that BPs . You need to make a selection with their common Attribute value .
For Example :
You have a requirement to Target the Indian Customers then you create a Target Group like this .
Attribute values :
BP Role : Customer
Country : India
Select Attribute List : GL-ORG Master and Relationship Data
Attributes : BP Role : Filter value 'Customer '
Country : Filter value 'India '.
Select : AND Across All Attribute as logical selection .
Press Cntrl Key and select both the Attribute Values and drag to the staging area then you get the Customers in India .
This way you find out the Common Attribute values to the BPs you need to Target and create a Target Group and Use the TG for the report .
Hope this helps .
Regards ,
Nagaraju D. -
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 -
Mass change for condition record
I try to change the condition record for material with validity period of one year starting next year Jan 1st. Since that material is already exists in the system with validity period of current date to 12/31/9999, it is not saving my changes. When increase price by 5%, it is not giving any problem but when I display to see the changes "Environment-Changes-Per condition record", it is giving an popup box saying "Change documents for conditions not yet save are not possible"
I try to delete material condition with longer period. It is deleting at that moment but when I come back and see still that material exists with longer period.
how do I deal with this problem to solve?
Fully rewarded for solution.
Thanks,
Manu.Hi Manu;
At any given point in time you can have only one valid condition record with a validity period.
1. Create a condition record with validity from today to 12/31/2007
2. Create a condition record with validity from 01/01/2008 to ....
You issue would be solved.
Regards. -
Mass Upload of condition records in APO system.
Hi All,
I wanted to mass upload condition records in to the APO system for the transaction /N/SAPCND/AO11 from an external file.
Is there any FM available?
If FM is not available...which one is the best way to do this?
LSMW?? or BDC???
Please guide me..
Thanks,
Babu KilariAt least the key fields of the conditiontable
(here 800) must be filled in structure ls_komg.
ls_komg-vbeln = '1234567890'. " document number
ls_komg-posnr = '000010'. " item number
clear wt_komv.
ls_komv-kappl = 'V '. " Application V = Sales
ls_komv-kschl = lc_kschl. " Condition type
ls_komv-waers = 'EUR'. " Currency
ls_komv-kmein = 'ST'. " Unit of measurement
ls_komv-kpein = '1'.
ls_komv-krech = 'M'. " calculation type;
"M = Quantity - monthy price
ls_komv-kbetr = '1234.56'. " new condition value
append ls_komv to lt_komv.
call function 'RV_CONDITION_COPY'
exporting
application = 'V'
condition_table = '800' " cond. table
condition_type = lc_kschl " cond. type
date_from = '20061101' " valid on
date_to = '20061130' " valid to
enqueue = 'X' " lock entry
i_komk = ls_komk
i_komp = ls_komp
key_fields = ls_komg " key fields
maintain_mode = 'A' " A= create
" B= change,
" C= display
" D= create
with reference
no_authority_check = 'X'
keep_old_records = 'X'
overlap_confirmed = 'X'
no_db_update = space
importing
e_komk = ls_komk
e_komp = ls_komp
new_record = lv_new_record
tables
copy_records = lt_komv
exceptions -
Mass updation of Condition Records.
Hi All,
I need to update Condition Exclusion Indicator in Condition Record for 3 Z Conditions. I have checked it is not possible using Mass Maintenance. Could you suggest either I should use LSMW or Scat to update all the records.
Thanks & Regards,
Sam Rock.Hi Sam,
I suggest LSMW.
Regards,
MT -
Deletion of condition record (vk11) from Database
Dear,
can anybody tell me how to delete condition record completely from database nt delettion flag.
regards,
DebeshHi,
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
Maybe you are looking for
-
Calling WD Java component in WD ABAP
Hi Experts, I've a requirement to call WD Java application in my custom WD Abap component. In Ehp4 time management module, the time recording application is designed in WD java component while Ehp5 the same appln is designed in WD ABAP. Now I need to
-
Hi, when we create excise invoice - accounting document gets generated how 1.modvat suspense account Bed/Ecess/ She cess payable g/l accounts will get determined. -WHERE WE NEED TO DO SETTING *2. there are 2 columns in accounting document 1. payment
-
JAVA ADD -IN Installation error
While try to install JAVA STACK on ABAP STACK ,it shows the error A key/value pair with this key already exists in the store. . I want to know what this error regarding to . Anyone has idea to solve this .
-
Good day, On my Pavilion dv 9000 with windows 7 64 I have the following problem: When I try to switch on my bluetooth with the wireless assistant, the system reports that blue tooth is switched off. I have searched the microsoft system settings but
-
[Bug?] Hypertrend Draws 'Fake' Gaps in Data
Hi I have noticed Hypertrend drawing gaps in the data (when there is actually data there). This can be confirm when you zoom in on the data. Is this a known issue, or is there any workaround/configuration? The images are from Hypertrend in LabVIEW, b