Duplicate entry in AS2 EDIINT MIC table
Hi,
While sending a AS2 message to a partner, got an error saying -
Unable to create the entry in the AS2 EDIINT MIC table. This could be caused by duplicate AS2-From, AS2-To and MessageID combinations being written to the table.
MSDN says that I need to delete the duplicate entry. As this happened in Test environment, I did the same and everything fine.
But, in Production, I don't want to delete anything.
So, can somebody help me on understanding the importance of MIC table i.e how it works and when/how duplicate transactions can happen in this table?
Thanks and Regards,
Sugata
Hi,
As the error message reads the problem is due to a deadlock situation.
http://stackoverflow.com/questions/5389261/sql-transaction-was-deadlocked
http://www.toadworld.com/platforms/sql-server/b/weblog/archive/2012/05/16/transaction-process-id-was-deadlocked-on-resources-with-another-process-and-has-been-chosen-as-the-deadlock-victim-rerun-the-transaction.aspx
Check with the above articles in which deadlock can be identifed and removed.
Regards, Vivin.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.
Similar Messages
-
Unable to create the entry in the AS2 EDIINT MIC table
This could be caused by duplicate AS2-From, AS2-To and MessageID combinations being written to the table. Error: Violation of PRIMARY KEY constraint 'PK_EdiInt_Mic'.
Cannot insert duplicate key in object 'dbo.EdiInt_Mic'.
How to reprocess this feed?Hi,
To resolve this error, check the full error message for information about why the insert operation failed. In SQL, in the EDIINT_MIC table, determine whether there is duplicate AS2-From and AS2-To MessageID combinations. If so, remove them.
For more information, you can refer the document:
http://msdn.microsoft.com/en-us/library/bb967928.aspx
Hope it can help you.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
ORA-13223: duplicate entry for string in SDO_GEOM_METADATA table and
I got the above error while trying to insert a record into the table SDO_GEOM_METADATA. However, when querying this table I did find any duplicate table_name, column_name pair that match with the error.
Here are the steps that I worked on:
1. Add a geometry column into an existing table.
ALTER TABLE GEO_MAP ADD (ORG_GEOM mdsys.sdo_geometry);
2. Register the new column into mdsys
insert into USER_SDO_GEOM_METADATA
values ('GEO_MAP','ORG_GEOM',
mdsys.sdo_dim_array(
mdsys.sdo_dim_element('LONG',-180,180,0.00005),
mdsys.sdo_dim_element('LAT',-90,90,0.00005)
8307)
I got the error ORA-13223: duplicate entry for string in SDO_GEOM_METADATA table even there was no such record in there.
3. I inserted values in the column ORG_GEOM fine.
4. However, when I tried to create the index for this column I got the error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read
Please help.
Thanks.SQL> select * from mdsys.sdo_geom_metadata_table;
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
QW_USER1 GEO_REF
LOC_GEOM
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('LONG', -180, 180, .00005), SDO_DIM_ELEMENT('LAT',
-90, 90, .00005))
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
8307
MDSYS SDO_CMT_CBK_RTREE_TAB
GEOM
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .000000005), SDO_DIM_ELEMENT('Y',
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
-90, 90, .000000005))
The situation is we have 2 tables (GEO_MAP, and GEO_REF) that have spatial columns. Everything worked fine until when one of the queries that searched through the table GEO_MAP ran so slow, we decided to rebuild the related spatial index by dropping and recreating it. However, after I dropped it I could not recreated. Keep getting the error:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13203: failed to read USER_SDO_GEOM_METADATA view
ORA-13203: failed to read
Any help is very much appreciated. -
Duplicate entries in REGUH and REGUP table
Dear All
Whenever we make payment in SAP either through FBZ5 or APP or any other payment transactions, SAP updates 2 tables REGUH and REGUP tables.
I believe SAP allows to make full payment for given invoice only once.
We are seeing some duplicate entries in REGUH and REGUP table for the given Payment document and Invoice.
Does anybody faced similar kind of issue
Regards
Madhan DI have been facing same kind of problem but in REGUP table, in Payment programe I have make cheque formart in smartform and made Z copy of payment program ZRFFOUS_C, I have also not find out the solution yet, it might be the issue of Z programe or SAP. I am using the ECC5.
I have to control this issue during printing cheque and delete duplicate entry. but still REGUP table have the duplicate entry.
if you find some solution please share with me
Regards -
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); -
Check Duplicate Entries in Dynamic itab.
Hi,
I have a dynamic internal table populated with some records.
This internal table refers to different DDIC structures dynamically.
I'm trying for a logic to check the duplicate entries that exists in this internal table and also to check whether these entries are already existing in another internal table, but i cant reach upto it.
I tried many options but failed.
So please help me in this logic ( just a hint or pseudocode would be enough ) to check the duplicate entries in a dynamic internal table comparing the key fields.
I have the key fields of the internal table for each different structure.
Regards,
Keshav1. Sort table
2. Access to Table line 1 and 2
And now:
clear lv_error.
do.
assign component sy-index of wa1 to <fs1>.
assign component sy-index of wa2 to <fs2>.
"exit if not successfull
if <fs1> ne <fs2>.
lv_error = abap-true.
exit.
endif.
enddo.
if lv_error is initial.
==> duplicate lines
And then do this for line 2 and 3 and so on ....
Regards
André Witt -
Duplicate entries during payoff period
Hello expert,
our user have the oppurtunity to administrate their Clock-In/Out Correction with the BP Standard ESS.
For this scenario we have a really really strange phenomenon during our payoff period.
--> All Corrections are duplicate.
I checked the Transaction "PTCORE" and found the duplicate datasets.
For example:
ID:_________Date:_________Persono. _____Clock-In____Clock-Out
001ABC____01.01.2009____1234 ________08:15_________ 12:00
ID:_________Date:_________Persono. _____Clock-In____Clock-Out
003CDF____01.01.2009____ 1234_________08:15_______12:00
the same for the Clock Out date.
This means we have several Data Entries for the same Time - Activation.
But the strange thing is that that happen onloy in our payoff period.
Any ideas?
Many thanks
Marcoindeed strange, You can control duplicate entries using
PLease refer the Table V_T705B here you can
have the reaction for the repeated time events. -
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. -
Middleware Settings - Duplicate entries in the Table TCURC
Hi Experts,
I am doing middleware settings for integrating SAP CRM 5.0 with SAP R/3 4.7.
Before replicating the customizing objects, i found duplicate entries for ISO Codes in the table TCURC (Field name-ISOCD).
Following are those entries
MANDT WAERS ISOCD ALTWR GDATU XPRIMARY LTEXT KTEXT
949 CFP XPF 953 00.00.0000 French Franc (Pacific Islands) Fr. Frank (Pac)
949 CNY CNY 156 00.00.0000 X Chinese Renminbi Renminbi
949 DEM DEM 280 00.00.0000 X German Mark German Mark
949 DEM3 DEM 280 00.00.0000 (Internal) German Mark (3 dec.places) (Int.) DEM 3 DP
949 RMB CNY 156 00.00.0000 Chinese Yuan Renminbi Yuan Renminbi
949 USD USD 840 00.00.0000 X United States Dollar US Dollar
949 USDN USD 840 00.00.0000 (Internal) United States Dollar (5 Dec.) US Dollar
949 XPF XPF 953 00.00.0000 X CFP Franc Franc
Duplicate entries are in the third column.
Please kindly let me know what is the impact and what should i do now.
Points will be rewarded for the helpful answers.
Thanks in advance
Nadh.RHi Murali,
Thanks for your reply.
But i didnt find anything related to the issue in that note.
Do you have any other solution.
Thanks
Nadh. -
Hi everyone
I am a little confused by a situtation I have come across in one of our bespoke tables. I was under the impression that all fields in a table that are marked as Key form a Primary Key and therefore it is <b>impossible</b> to create records where these key fields contain duplciate data. However, I have found a bespoke table that is used for logging exception messages that appears to hold records with duplicates in the Key fields. Has anyone else come across this or have any idea how it might be happening? When creating a table is possible to specify a non-unique key in the same way you might for an internal table?! If it is relevant, the table is updated from a program that locks and unlocks the table before and afer the insert takes place and can be caused by both batch and manual changes.
Thanks
AndyThanks Roopesh
I understood the [ACCEPTING DUPLICATE KEYS] flag to mean that a a 'bulk' insert would not fail if a duplicate entry was identified but instead would set subrc to 4, skip the record in question and continue with subsequent records. If this is the case it still should not actually create duplciate entries - surely in doing so referential integrity is being violated...
Here is the section of code that performs the insert if that helps at all:
*lock table and insert processing log details
CALL FUNCTION 'ENQUEUE_EZLG_T024E'
EXPORTING
MODE_ZLG_T024 = 'E'
MANDT = SY-MANDT
EMPLOYER_REG_NO = zlg_t024-EMPLOYER_REG_NO
GRANT_CLAIM_NO = zlg_t024-GRANT_CLAIM_NO
ITEM = zlg_t024-ITEM
EXCEPTIONS
FOREIGN_LOCK = 1
SYSTEM_FAILURE = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
insert zlg_t024.
* unlock table.
CALL FUNCTION 'DEQUEUE_EZLG_T024E'
EXPORTING
MODE_ZLG_T024 = 'E'
MANDT = SY-MANDT
EMPLOYER_REG_NO = zlg_t024-EMPLOYER_REG_NO
GRANT_CLAIM_NO = zlg_t024-GRANT_CLAIM_NO
ITEM = zlg_t024-ITEM
Kind regards
Andy -
Trick to remove duplicate entries from tables ?
hi.
i have 53tables which are having duplicate entries and names of all 53 tables r listed in top_t table ?
can any1 provide me solution to show and if possible ask for remove of those duplicates entries from each table if required ?
daily i am removing duplicates manually ....its too tedious now !
can any1 help me out ?Well, I suppose if the duplication is such that
SELECT DISTINCT * FROM tablename;gives you the required result, then you could have a procedure that made a copy of the table, deleted/truncated the original, then inserted the distinct values back into it.
In 10g you could even use flashback to avoid the temp copy - but it also means you can't use TRUNCATE so whether it's any more efficient I'm not sure. But just for fun and since it's urgent:
CREATE OR REPLACE PROCEDURE dedupe_table
( p_table_name user_tables.table_name%TYPE )
IS
k_start_timestamp TIMESTAMP := SYSTIMESTAMP;
BEGIN
SAVEPOINT start_of_dedupe;
BEGIN
EXECUTE IMMEDIATE 'DELETE ' || p_table_name;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK TO start_of_dedupe;
RAISE_APPLICATION_ERROR
( -20000
, 'Error deleting ' || UPPER(p_table_name) ||
CHR(10) || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE
, TRUE );
END;
BEGIN
EXECUTE IMMEDIATE
'INSERT INTO ' || p_table_name ||
' SELECT DISTINCT * FROM ' || p_table_name || ' AS OF TIMESTAMP :b1'
USING k_start_timestamp;
EXCEPTION
WHEN OTHERS THEN
ROLLBACK TO start_of_dedupe;
RAISE_APPLICATION_ERROR
( -20000
, 'Error repopulating ' || UPPER(p_table_name) ||
CHR(10) || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE
, TRUE );
END;
END dedupe_table;
SQL> select * from wr_test;
COL1 C C
1 A B
1 A B
2 C D
2 C D
4 rows selected.
SQL> BEGIN
2 dedupe_table('WR_TEST');
3 END;
4 /
PL/SQL procedure successfully completed.
SQL> select * from wr_test;
COL1 C C
1 A B
2 C D
2 rows selected.I make no claims for robustness, efficiency or human safety.
Edited by: William Robertson on Sep 24, 2009 7:12 PM -
Duplicate entries in Table T5UGJ - Garnishment notice letters printed twice
Hi Experts,
We have a scenario where duplicate entries have been created for an employee in the table T5UGJ. Hence when the notice letters were printed, they printed twice.
Would there be any specific reason or any master data change in IT 0194 / IT195 which would trigger a duplicate entry in this table?
Any information is highly appreciated.
Thanks,
Dipesh.Hi Arti,
Please find my responses below :
1. The employee has two different Creditor garnishments, one dated for June and second for July.
2. The duplicate notice letters are printed for second garnishment
Thanks,
Dipesh -
Remove duplicate entry from table
Hello all,
In my one table
File Stage log (File_Stage_Log_ID int identity(1,1),File ID int ,Quarter_Date nvarchar(50),StageID int )
have done duplicate entry by mistake on similar quarter_date
something like ..
FILE_ID
Quarter
FILE_STAGE_LOG_ID
STAGE_ID
22401
Dec-13
233091
450
22401
Dec-13
244116
420
22401
Mar-14
233095
450
22401
Mar-14
237478
405
22401
Jun-14
237479
405
22401
Jun-14
233099
450
22401
Sep-14
233102
450
22401
Sep-14
237480
405
22401
Dec-14
237481
405
22401
Dec-14
227275
420
there are too many files which have the same duplicacy ..
now , above you can see that dec -13 quarter coming twice for a single file
tell me the way to delete one entry from the table for a files
so that i have output at the end like ...
FILE_ID
Quarter
FILE_STAGE_LOG_ID
STAGE_ID
22401
Dec-13
233091
450
22401
Mar-14
233095
450
22401
Jun-14
237479
405
22401
Sep-14
233102
450
22401
Dec-14
237481
405
Please help me with easiest possible way ..
Dilip Patil..How do you determine which one out of duplicate to be kept? As per output it doesnt follow any pattern
so it may be this
--DELETE t
SELECT *
FROM
SELECT ROW_NUMBER() OVER (PARTITION BY FILE_ID,Quarter_Date ORDER BY FILE_ID) AS Rn,*
FROM FileStageLog
)t
WHERE Rn >1
Run the select above to see records to be removed and once happy uncomment the delete, comment the select * and run the query to do the delete
If it doesnt give expected records, explain on what basis you want to identify records to be deleted
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Duplicate entry is not deleted from the TCA tables
Hi
We are using Oracle Customer Online to find the duplicate data and Oracle Data Librarian to remove the duplicacy. The request to remove the duplicates is taken up by ODL and the task is performed. When checked from OCO it shows that the duplicate entry has been erased but when checked in the TCA table HZ_PARITES, the entry is still there. Can anyone please help regarding this as why this is so... after removing the duplicate entry why is it still there in the table or if the entry is still there then why cant you access it through OCO
Regards
Sourav BiswasHi,
Did you check the value for "STATUS" column in HZ_PARTIES table for the deleted records? It must be "D" which reperesents "Deleted". See the "REGISTRY_STATUS" AR lookup which validates the Party Statuses.
When duplicates are eliminated using Data Librarian/Party Merge, the records are not actually deleted from the database, instead the party status will be changed to "D". This must be the reason for not being able to see the records from Customers Online.
I guess, the same case might have occurred to your entries.
Wishes,
RK Goud -
Short dumop in J2I5 (provide duplicate entry in Standard table)
Hello Expert ,
We have a problem in T.Code J2I5 ( Excise Register Extraction) input entry is lelect Excise group 20 . and a date from 04.08.09 onwards. and select the register RG23D . it shows the run time error ( Eg The ABAP/4 Open SQL array insert results in duplicate database record ) . but in the standard Tcode is there possible to provide duplicate entry in Standard table
Thaks & regards
Aditya Kr TripathiRuntime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Date and Time 29.01.2010 10:57:09
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
problem occurs in this code :
assign I_RG23D_TAB-I_RG23D_TYP to <x_rg23dtyp> casting.
<x_extrctdata> = <x_rg23dtyp>.
class CL_ABAP_CONTAINER_UTILITIES definition load.
call method CL_ABAP_CONTAINER_UTILITIES=>FILL_CONTAINER_C
EXPORTING
IM_VALUE = i_rg23d_tab-i_rg23d_typ
IMPORTING
EX_CONTAINER = i_report_tab-extrctdata
EXCEPTIONS
ILLEGAL_PARAMETER_TYPE = 1
others = 2.
I_REPORT_TAB-EXTRCTDATA = I_RG23D_TAB-I_RG23D_TYP.
COMPUTE I_REPORT_TAB-EXTRCTLNGT = STRLEN( I_REPORT_TAB-EXTRCTDATA ).
APPEND I_REPORT_TAB.
ENDLOOP.
IF M_EXTRACTED = 'X'.
LOOP AT I_RG23D_KEY.
DELETE
FROM J_2IEXTRCT
WHERE BUDAT = I_RG23D_KEY-BUDAT
AND SERIALNO = I_RG23D_KEY-SERIALNO
AND REGISTER = I_RG23D_KEY-REGISTER
AND EXGRP = I_RG23D_KEY-EXGRP.
ENDLOOP.
ENDIF.
Control table check here for data Extraction
INSERT J_2IEXTRCT FROM TABLE I_REPORT_TAB.
If the insertion of the extract table is successfull then the table
for Extraction is Inserted
IF SY-SUBRC EQ 0.
PERFORM FILL_EXTDT USING C_RG23D M_EXTRACTED.
ENDIF.
ENDFORM. " RG23D
*& Form RG23CPART1
Purpose : RG23C Part I extraction logic
FORM RG23CPART1.
DATA: $PART1 TYPE PART1_TYP,
$LINCNT LIKE SY-LINCT,
M_EXTRACTED VALUE '',
$RC LIKE SY-SUBRC.
*********************************************************************************************8
Maybe you are looking for
-
Java.sql.SQLException: ORA-00979: not a GROUP BY expression in a query
I am getting java.sql.SQLException: ORA-00979: not a GROUP BY expression when I run select count(*) from ( select count(rec_no) AS REC_NO_NUM,created_by AS CREATED_BY,to_char(created_dt,'Mon YYYY') AS CREATED_DT,to_date(to_char(created_dt,'Mon YYYY')
-
Can't see my PS exported jpg's in Lightroom 4.3
Hi, I recently had my hard drive replaced by Apple and did a clean install of my programs, no Time Machine. I have LR 4.3 and CS5. I have always chosen the Edit in PS CS5 option from LR for editing individual RAW files. When I save my photo in PS,
-
Error while approving time - Portal crashes or hangs up
Hello, We have this one end user who approves time for a lot of people (>150). When trying to approve time as this user, portal crashes or hangs up. This user has approximately 5000 individual items combined that user needs to approve Steps 1) Click
-
I'm new to JavaScript and to LiveCycle ES2 and I am having some trouble with a form I designed. It's a little crude, but for the most part it works. It is an internal form for staff only and once completed, I need to save it in a shared folder withou
-
User session doesn't disconnected
Dear Friends , I got a problem in my production server (oracle-10.2.0.1.0) in unix (AIX - 5.3) server where I kill the user's session but it is not disconnected from the database . Here the output : SQL> select username,sid,serial#,status from v$sess