How to delete duplicate entries in table for the object DNL_CUST_BASIS2
Hi All,
I am trying to download the object DNL_CUST_BASIS2.
In the SMQ2 the status is SYSFAIL.
I checked in the ST22 for dumps.It says about the error while accessing the table T006.
While analysing this,i found some duplicate entries in the related tables of this object.
Can somebody help me how to delete these duplicate entries?
Thanks,
Senthil.
Delete them directly from the table using se16:
select the entries in the classic view (not ALV or grid view).
activate the debugger.
press the view button. --> you'll enter in the debugger
press F7
locate the sy-ucomm variable & change it to "DELE".
press F8
delete the entries.
Trick-shots
but it works!
Michael.
Similar Messages
-
How to delete duplicate entries in address book
Is there an easy way to delete duplicate entries in Address Book?
I have an iPhone where I create new contact details and a MB Air running OX X 10.7.3
In Address Book I see duplicate entries across the whole book. The other day I was traveling without my MB and needed to urgently reach someone who's number I knew was in my iPhone contact list for sure but searched and search and couldn't find it.
Turns out that when I had been going through the Adress Book on the MB Air trying to eliminate some of the duplicates I had chosed --without even knowing it or realzing it-- the card that I guess sync with my iPhone. It was gone. Sure enough, when I got back and looked it up on the MB Air it was still there not syncing to my iPhone.
I have used Address Book / Card / Look for Duplicates ...
I have also followed the Help suggesting and pressed Control / select to highlight two duplicate cards and even though the First / Last / Company / phone numbers / etc. are all the same I get the message: "The cards could not be merged because they came from different accounts."
I have checked with guys from the office who have the exact same problem with no idea how to solve the problem.
Is it that in order to use Address Book on both an iPhone and an OS X machine you've just got to be smarter, more sophisticated, more IT oriented?
Seems like a pretty easy thing not to be struggling with.
I should mention that I was a Mobile Me subscriber and now use iCloud which I'm sure has something to do with all of this.
But it seems pretty basic to me. If I have an Address Book it should synchronize between OX X and IOS. -
How to delete duplicate entries in match code
I want to delete duplicate entries in match code.
If you go down the search exit route, using function module F4_IF_SHLP_EXAMPLE or function module F4_IF_SHLP_EXIT as a template you want it where callcontrol-step = 'DISP'. You would sort the table: SORT RECORD_TAB BY STRING and then delete adjacent duplicates. If this does not wok because of the fields you have in your search help, you will need to select the data into another internal table and match the relevant entries from your internal table with the relevant position in field STRING of RECORD_TAB. The positions in STRING will be as per the order of the parameters you have defined in the search help.
Hope this helps.
Regards
Larissa -
SRM-EBP: How to delete multiple entries in table BBP_DOCUMENT_TAB easier?
We are running SRM 4.0 EBP on classic scenario. I want to delete entries in table BBP_DOCUMENT_TAB easier and faster using FM BBP_DELETE_FROM_DOCUMENT_TAB. Is there a standard program that calls this FM so that inputting the entries will be faster? I see only CLEAN_REQREQ_UP but does not serve the purpose. If none, how can I develop a program to achieve this? Please help SRM Consultants.
Hi,
Please check note 535765, in it there is a special report that deletes entries from this table.
I hope this helps,
Kind Regards,
Lisa -
How to delete an entry from table pat10(standard sap)
hi experts!!
how can i delete an entry in the database table pat10. This is a transparent table.
I need a solution quickly
Thanks
AnilHello,
Table PAT10 contains OCS semaphores. If there is any entry a transport is either about to be imported or the import process did abend.
You should contact your admins instead of deleting anything.
Regards,
Thomas -
How to Delete duplicate Records in Table
CREATE GLOBAL TEMPORARY TABLE MyTable1 (
Name1 varchar2(100)
insert into MyTable1 values ('11');
insert into MyTable1 values ('11');
insert into MyTable1 values ('11');
insert into MyTable1 values ('11');
insert into MyTable1 values ('12');
insert into MyTable1 values ('12');
select * from MyTable1
I want to delete duplicate names from MyTable1..And after delete I should have 11 and 22 only.I got the answer
delete from MyTable1
where rowid not in
(select max(rowid)
from MyTable1
group by Name1
having count(1) > 1
) -
How to delete duplicate entries in iTunes on iPad 2
I noticed a few duplicated songs in iTunes on my iPad 2 iOS 8.3 and there doesn't seem to be a way for me to delete them. I synced with iTunes on my PC desktop hoping this would fix it, but no go. Help!
Nevermind, I just bloody discovered that if you swipe the right area (the album area) towards the left side, a delete option reveals. iTunes doesn't seem to like it much because sometimes selecting that delete button boots you out of the program!
-
How to get standard view or table for the standard inforsource
Hi all:
According to business reqirement, we are going to use standard inforsource 0CO_OM_CCA_10,
we need to know the standard view or table in order to corresponding DataSource?
could you please tell me how to get the standard view or table or DataSource?
Couldn't thank you more!Hi Sony,
Goto RSA1>BI content installation>goto objects>double click on the Infosource>then a pop-up comes search for that infosource-->select it and click on transfer
Before that in the right side of the tab select the grouping as "Before and afterwards of the dataflow" and collection as automatic.
then you get all the datasource/cubes and all the object related to the infosource.
OR another option is-->
Goto RSA6 in the R/3 and search for the datasource with the name "0CO_OM_CCA_10" (don't forget to expand all the tree structure in RSA6)
then goto that datasource and double click on the datasource then you will get the Extract structure of that datasource.
double click on the extract structure then you may get the View name also.
hope this helps...
Regards,
Ravi Kanth -
How to load data to fact table for the year 2008 without modifying session sql
Hi,
I need to load data to OOTB Financial-General ledger related fact tables using new DAC execution plan for the year 2008 (just for the year 2008 not before or after). without modifying OOTB informataica session SQL. do you know how to do it?
appreciate you for your help. thank you.Do you know why you are going for new Execution plan instead of using existing?
let me know this will share what I know
thanks for checking
PS: JV its you!!
Message was edited by: SriniVEERAVALLI -
To delete multiple entries in table control in module pool
Hi,
Please help me out to know , <b>how to delete multiple entries from table control</b> when multiple lines in table control are selected.
Regards,
Irfan Hussainhai,
you can do it inthis way.
in the PAI event.
loop at <table control name>
module del_itab.
endloop.
in the nodule,write the folowing code.
if <tablecontrol>-fieldname = 'X'.
delete <tablecontrol-itab>
endif.
cheers -
How to delete duplicate E-MAIL addresses in "TO" on top of new message
How to delete duplicate E-MAIL addresses in the "TO" box on the top of the new mewssage file
Hi Steven,
Highlight one & hit Delete key. -
How to check duplicate entries in internal table??
Dear Friends,
How to check duplicate entries in internal table??
Exp: In my internal table if I am having the same records more then ones then I need to print the error message, here I am using steploop for selecting the values from screen, and the values are coming into my internal table if user enter the same value more then ones I need to print the error message.
Thanks,
SridharHi,
After storing the data into internal table say ITAb, move the data into another internal table.
t_dup[] = itab[].
LOOP AT itab.
count1 = count1 + 1.
itab-count1 = count1.
MODIFY itab.
ENDLOOP.
LOOP AT t_dup.
count2 = count2 + 1.
t_dup-count2 = count2.
MODIFY t_dup.
ENDLOOP.
DELETE ADJACENT DUPLICATES FROM itab.
LOOP AT t_dup.
record_dup = 'N'.
READ TABLE itab WITH KEY count1 = t_dup-count2.
IF sy-subrc = 0.
record_dup = 'Y'.
ENDIF.
IF record_dup NE 'Y'.
t_dup-message = 'DUPLICATE ENTRY'.
t_dup-flag = 1.
MODIFY t_dup.
ENDIF.
ENDLOOP.
Use this sample code.
Reward pts if it is helpfull.
Regards
Srimanta -
How to choose in Delete Duplicates from internal table?
Now I need to delete Duplicates from internal table,
So at first I sort
than I delete duplicate
Sort itab1 BY Company_Code Asset_No Capital_Date.
DELETE ADJACENT DUPLICATES FROM itab1 COMPARING Company_Code Asset_No Capital_Date
Company_Code
Asset_No
Capital_Date
Remark
BC35
1515593
20021225
Helen
BC35
1515593
20021225
Common Asset
BC35
1515594
20030109
Judy
BC35
1515594
20030109
Common Asset
But here comes my problem~If I want to delete the Common Asset in Remark Column,how I let it choose the right one to do it?Hi Jack
Try the below coding..
Report zsamp.
types: begin of t_tab,
comp_code(4) type c,
***_no(7) type n,
cap_date type d,
remark type string,
end of t_tab.
data: i_tab type TABLE OF t_tab,
w_tab type t_tab.
w_tab-comp_code = 'BC35'.
w_tab-***_no = '1515593'.
w_tab-cap_date = '20021225'.
w_tab-remark = 'Helen'.
append w_tab to i_tab.
w_tab-comp_code = 'BC35'.
w_tab-***_no = '1515593'.
w_tab-cap_date = '20021225'.
w_tab-remark = 'Common Asset'.
append w_tab to i_tab.
w_tab-comp_code = 'BC35'.
w_tab-***_no = '1515594'.
w_tab-cap_date = '20030109'.
w_tab-remark = 'Judy'.
append w_tab to i_tab.
w_tab-comp_code = 'BC35'.
w_tab-***_no = '1515594'.
w_tab-cap_date = '20030109'.
w_tab-remark = 'Common Asset'.
append w_tab to i_tab.
sort i_tab by remark.
delete ADJACENT DUPLICATES FROM i_tab COMPARING remark. -
I have two tables (Accounts, and Accounts_LOAD). The _Load table is a daily feed.
For my first step, I need to delete all the duplicates from _Load that exist in Accounts.
How can I delete duplicate entries which exist in two tables..?I think that the Merge will suffice. My apologies.
But, now (again, sorry) I have a couple questions on the merge.
Below is similar to what I would use and a few Q's on it....
line4: can u use multiple "on" ?
line5:For 'when matched' i only want to update fields from "_load" to "Accounts" that need to be updated. If they are the same, they would be ignored... is that possible...?
1 MERGE INTO accounts acc
2 USING (SELECT **ALLFIELDS**
3 WHERE SOMESTUFF=STUFFS) STF
4 ON (ACC.ID_USER = STF.ID_USER) AND (ACC.SYSTEM_ID = STF.SYSTEM_ID)
5 WHEN MATCHED THEN UPDATE SET acc.bonus = D.bonus + S.salary*.01
6 DELETE WHERE (S.salary > 8000)
7 WHEN NOT MATCHED THEN INSERT (D.employee_id, D.bonus)
8 VALUES (S.employee_id, S.salary*0.1)
9 WHERE (S.salary <= 8000); -
Deleting Duplicate Entries in sender JDBC adapter
Hi i am working on JDBC to IDOC scenario.
When i am fetching the records from the Oracle database table using select query, i am getting the records but its getting duplicated many a times and hence its failing at an idoc processing at ECC side..
Could someone help me in deleting the Duplicate entries and passing only the required entries from Oracle databse to IDOC.
Here is my select query.:
Select a.order_num, a.sap_delivery_number, a.sap_delivery_line_number, a.warehouse, a.product, a.product_size, a.order_qty, a.ship_qty from XXX_h a,tr_log t where a.Prod_id = 101..
Appreciate your help.
Regards>> Its not picking up the old data instead, it is repeating the same set of data multiple times.
The below suggestion might be helpful
a) First do your select statement
b) Second , Use update statement and here set some flag in that table that these records are already queried. say boolean read = true for the above queried records.
That's it. When you query next time, you will not reread the same data. You will read the new data.
Duplicate Entries: Check with db client tool like Toad or sqlplus and see whether duplicate entries exists in the table. If so, then fix the data first.
Edited by: Baskar Gopal on Feb 22, 2011 1:02 PM
Maybe you are looking for
-
How can I view the USMT recovery key in SQL report
Hello all, Can anyone help me to provide sql query for below link- What I am looking is Just to create a report with all computers that has computer association any type with the recovery key information. http://www.windows-noob.com/forums/index.php?
-
We have three drop downs (ddlRotation, ddlOnCallType and ddlHospital) in our webpart. All values are being populated dynamically. One from list (ddlHospital) and other from tool part properties. For dropdown populated from list, we are storing values
-
I have the most recent version of AME CS6 (6.0.3.1) and I have 64GB of RAM installed which once I start encoding any source my RAM will be completely filled within 10 minutes of starting the encode. This is even with my allocating only 10 GB for CS6
-
How do you make an icon from an image
Used to be if you selected "Get Info" you could get an icon from the info window. Now all I get is this.
-
Lose preview files after duplicating sequence
On CS3, if I duplicated a rendered sequence, the rendered timeline remained intact in the duplicated sequence. In CS4, the renders go away, making it necessary to re-render the timeline. What am I missing? The video preview scratch disc is the same.