Language import terminates with DUPREC. The error occurs
in function module DOCU_UPD (LADOCU02).
Under certain unfortunate circumstances, adding data records
to table DOKTL causes creation of duplicate records.
A correct version of the function module is delivered in Release 2.1F
and later.
Check whether the module in your system already exists in the updated version.
To do this, call transaction SE37. Enter the name of the function
module and display the source text. Search for the line
"INSERT DOKTL FROM TABLE IDOKTL"; it is in the lower third of the
source text. Check whether the following statements appear
directly or indirectly before the insert statement.
Ensure that this note from 2.1A till 2.1Z does NOT contain an
ELSE component in the IF statement. The ELSE branch is, however,
necessary to solve the problem completely!
If the statements are there, generate program SAPLSDOC. To
do this, call transaction SE38, enter the program name, and
select "Program -> Generate".
Otherwise, insert the above statements in the source text of the
function module, directly before the "INSERT..." statement.
Then, generate program SAPLSDOC.
Restart the language import.
Key word: DUPREC
No comments:
Post a Comment