on 09-16-2011 12:53 PM
Hi,
Some of our CIF jobs are failing with the error as below
SAPSQL_ARRAY_INSERT_DUPREC - CX_SY_OPEN_SQl_DB
Termination occurred in ABAP program SAPLCSRS in CIF_IMOD_MAP_T_SRCI, the main program was RIMODGEN
In the source code termination at line ---147 of the include program LCSRSU18
The termination is caused because exception CX_SY_OPEN_SQl_DB occurred in procedure CIF_IMOD_MAP_T_SRCI
Can anyone please explain me what this error means and are there any Notes to resolve this issue of standard program.
I am currently on SCM7 - ECC
Hi,
Please highlight more about the coding places where the dump happens, it may vary if the ECC version is different.
read corresponding filter object key
SELECT * FROM cif_imsrci
INTO TABLE lt_cif_imsrci
FOR ALL ENTRIES IN it_segpos
WHERE segment = it_segpos-segment
AND pos = it_segpos-pos.
Best regards/Tiemin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi please find the code below
117| l_tabix = sy-tabix. |
118 | MOVE-CORRESPONDING lt_t_srci TO lt_cif_imsrci. " Keys |
119 | PERFORM find_unused_imod_slot IN PROGRAM saplcmq2 |
120 | USING |
121 | 'CIF_IMSRCI' |
122 | CHANGING |
123 | l_next_segment |
124 | l_next_pos. |
125 | lt_cif_imsrci-segment = l_next_segment. |
126 | lt_cif_imsrci-pos = l_next_pos. |
127 |
|
128 | INSERT lt_cif_imsrci INDEX l_tabix. |
129 |
|
130 | APPEND lt_cif_imsrci TO lt_cif_imsrci_ins. |
131 |
|
132 | MOVE-CORRESPONDING lt_cif_imsrci TO ot_segpos. |
133 | ELSE. |
134 |
|
135 |
|
136 | CLEAR ot_segpos. |
137 | ENDIF. |
138 | ELSE. |
139 |
|
140 | MOVE-CORRESPONDING lt_cif_imsrci TO ot_segpos. |
141 | ENDIF. |
142 | APPEND ot_segpos. |
143 | ENDLOOP. |
144 | |
145 |
|
146 | IF NOT lt_cif_imsrci_ins[] IS INITIAL. |
|>>>>>| INSERT cif_imsrci |Failed here| 148| FROM TABLE lt_cif_imsrci_ins. |
149 | ENDIF. |
150 |
| 151| ENDIF.
User | Count |
---|---|
8 | |
4 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.