sweetstuff4u / zaplink

Automatically exported from code.google.com/p/zaplink
0 stars 0 forks source link

ITAB_DUPLICATE_KEY on FUGR extraction #95

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Extract a FUGR without any function

What is the expected output?
FUGR withour any function

What do you see instead?
Short dump : ITAB_DUPLICATE_KEY
An entry was to be entered into the table
 "\PROGRAM=ZAPLINK_EXTRACTOR_STANDALONE\CLASS=ZAPLINK_FUNCTION_GROUP\METHOD=ZAP
LINK_CONNECTOR~READ_FROM_SAP\DATA=S_FM_DATA-PARAM_TEXTS" (which should have
had a unique table key (UNIQUE KEY)).
However, there already existed a line with an identical key.

SELECT * INTO TABLE s_fmd_fugr-texts FROM tlibt WHERE area = 
s_fmd_fugr-header-area.
SELECT * INTO TABLE s_fmd_fugr-function_texts FROM tftit FOR ALL ENTRIES IN 
t_functions WHERE funcname = t_functions-funcname.     
SELECT * INTO TABLE s_fmd_fugr-param_texts FROM funct FOR ALL ENTRIES IN 
t_functions WHERE funcname = t_functions-funcname.

T_functions is empty so for all entrie return for database data with duplicate 
entries.

Original issue reported on code.google.com by taryck%b...@gtempaccount.com on 25 Jun 2010 at 9:54

Attachments:

GoogleCodeExporter commented 8 years ago
This is has been already fixed in 0.0.006 because Functions in Function group 
is not a Component and select for all entries have been removed.

Original comment by taryck%b...@gtempaccount.com on 25 Jun 2010 at 9:55