Skip to Content
author's profile photo Former Member
Former Member

Billing dump error!!!

Hi gurus..

while iam doing easibi transaction iam getting the following dump error.can anyone please tel the reason behind this error?

it would be more appriciatable.

Error analysis

Short text of error message:

200026 already exists

Long text of error message:

Diagnosis

You have specified a record that already exists in the database.

System Response

Procedure

Choose a new key value.

Technical information about the message:

Message class....... "E9"

Number.............. 012

Variable 1.......... 200026

Variable 2.......... " "

Variable 3.......... " "

Variable 4.......... " "

Trigger Location of Runtime Error

Program SAPLERCU

Include LERCUU07

Row 51

Module type (FUNCTION)

Module Name ISU_DB_ERCH_UPDATE

Source Code Extract

Line SourceCde

21 * Falls BelNr leer ==> Abbruch!

22 * Es sind bei Kunden Abrechnungsbeleg mit leerer BELNR

23 * aufgetreten.

24 IF X_ERCH-BELNR IS INITIAL.

25 IF 1 = 2.

26 MESSAGE A674(AJ) WITH X_ERCH-VERTRAG.

27 ENDIF.

28 MAC_MSG_PUTX CO_MSG_PROGRAMMING_ERROR '674' 'AJ'

29 X_ERCH-VERTRAG SPACE SPACE SPACE SPACE .

30 ENDIF.

31 * Eröffnungs-/Änderungsdaten schreiben

32 CALL FUNCTION 'ISU_OPENING_DATA_UPDATE'

33 EXPORTING

34 X_ERNAM = X_ERCH-ERNAM

35 X_ERDAT = X_ERCH-ERDAT

36 X_UPD_MODE = X_UPD_MODE

37 IMPORTING

38 Y_ERDAT = X_ERCH-ERDAT

39 Y_ERNAM = X_ERCH-ERNAM

40 Y_AEDAT = X_ERCH-AEDAT

41 Y_AENAM = X_ERCH-AENAM

42 EXCEPTIONS

43 NOT_CHANGED = 1.

44 IF X_UPD_MODE = CO_UPD_INSERT.

45 INSERT ERCH FROM X_ERCH.

46 IF SY-SUBRC <> 0.

47 * Eintrag schon vorhanden

48 IF 1 = 2.

49 MESSAGE A012(E9) WITH X_ERCH-BELNR."Hier Schlüsselfel

50 ENDIF.

>>>> MAC_MSG_PUTX CO_MSG_UPDATE_ERROR '012' 'E9'

52 X_ERCH-BELNR SPACE SPACE SPACE SPACE .

53 ENDIF.

54 ELSE.

55 IF X_UPD_MODE = CO_UPD_DELETE.

56 X_ERCH-MANDT = SY-MANDT.

57 DELETE ERCH FROM X_ERCH.

58 ELSEIF X_UPD_MODE = CO_UPD_UPDATE.

59 UPDATE ERCH FROM X_ERCH.

60 ELSEIF X_UPD_MODE = CO_UPD_MODIFY.

61 MODIFY ERCH FROM X_ERCH.

62 ENDIF.

63 IF SY-SUBRC <> 0.

64 * Eintrag nicht vorhanden

65 IF 1 = 2.

66 MESSAGE A011(E9) WITH X_ERCH-BELNR."Hier Schlüsselfelder angeben

67 ENDIF.

68 MAC_MSG_PUTX CO_MSG_UPDATE_ERROR '011' 'E9'

69 X_ERCH-BELNR SPACE SPACE SPACE SPACE .

70 ENDIF.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 20, 2008 at 09:55 PM

    Looks like you have duplicate entry somehow in your system. There is an existing billing document in ERCH with the same number and that is why you are getting this dump. So the question is why it is coming up with the same number again. Did someone change the number range interval next number? Are there any user exits implemented, that incorrectly effecting this?

    Please go to SE16 and see if this record exists in ERCH table.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2008 at 04:26 AM

    thanks srinivas,...its help full..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.