cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CO11N Duprec program SAPLCORB

Former Member
0 Likes
1,983

Hi,

We are getting the following dump in our system in TCD CO11N:

Runtime Error RAISE_EXCEPTION

Date and Time 24.11.2008 07:05:46

ShrtText

Exception condition "DUPREC" raised.

User and Transaction

Client.............. 010

User................ "CZPR57"

Language key........ "C"

Transaction......... "CO11N "

Program............. "SAPLCORB"

Screen.............. "SAPLCORU_S 0100"

Screen line......... 10

Information on where terminated

The termination occurred in the ABAP program "SAPLCORB" in

"CO_RU_DI_AFRU_INSERT".

The main program was "SAPLCORU_S ".

The termination occurred in line 100 of the source code of the (Include)

program "LCORBU08"

of the source code of program "LCORBU08" (when calling the editor 1000).

Source Code Extract

Line SourceCde

70 IF ls_rcols_2-aplfl = afrud_ins-aplfl AND

71 ls_rcols_2-vornr = afrud_ins-vornr AND

72 ls_rcols_2-uvorn = afrud_ins-uvorn.

73 l_subrc = 0.

74 EXIT.

75 ENDIF.

76 ENDLOOP.

77 IF l_subrc = 0.

78 * Indices auf Belegtabelle in Rückmelde-Dialogtabelle übernehmen

79 ls_lst-index_plko = dialog_tab-index_plko.

80 ls_lst-index_plfl = dialog_tab-index_plfl.

81 ls_lst-index_plpo = dialog_tab-index_plpo.

82 ls_lst-index_sopr = dialog_tab-index_sopr.

83 ENDIF.

84 ENDIF.

85

86 * prüfen, ob Storno einer Rückmeldung

87 IF NOT afrud_ins-stzhl IS INITIAL.

88 * Verweisflag in Dialogtabelle setzen (Stornorückmeldung)

89 MOVE yx TO ls_lst-flg_verw.

90 ENDIF.

91 * Satz in Dialogtabelle einfügen

92 ======================================================================

93 * Ausetzpunkt für einzufügenden Satz suchen

94 READ TABLE afru_dia_tab WITH KEY ls_rcols BINARY SEARCH.

95 afru_dia_tab = ls_lst.

96 * Satz in Dialogtabelle einfügen

97 IF sy-subrc <> 0.

98 INSERT afru_dia_tab INDEX sy-tabix.

99 ELSE.

>>>>> RAISE duprec.

101 ENDIF.

102

103 * aktualisierte Dialogtabelle bereitstellen

104 REFRESH diatab_cnf.

105 * Der Loop über die AFRU_DIA_TAB ist hier unbedingt notwendig!

106 LOOP AT afru_dia_tab.

107 APPEND afru_dia_tab TO diatab_cnf.

108 ENDLOOP.

109

110 ENDFUNCTION.

111 *eject

Unfortunately the functional guys have no clue about the reason for this issue!

I hope maybe someone have an idea and can help me???

Thank you in advance!

Best regards,

Frank

Accepted Solutions (1)

Accepted Solutions (1)

ruediger_fritz
Advisor
Advisor
0 Likes

with exactly the same dump, I found deep in the debugger the root cause: "In Number range Object RF_BELEG + My Company Code + My Fiscal Year" the Number Range 23 was not maintained for my fiscal year ...

After maintaining RF_BELEG + 1710 + 2024 + 23 the confirmation of activities via CO11N worked again

Answers (1)

Answers (1)

Former Member
0 Likes

Hello Frank,

I would have a look at the OSS, as CO11N is a SAP standard transaction. If there's no OSS note, I would open a SAP call.

Best regards

Stephan