Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ME-807 System error: error during insert in table EKKO in SM13

former_member288488
Participant
0 Kudos

Hello Experts,

I have been searching a lot in SDN and in google about the ERROR ME-807 System error: error during insert in table EKKO but still i have not got any satisfactory answer.

In ME31K when I create the contract and put some validation check on target value filed in BADI Implementation ME_PURCHDOC_POSTED while saving it .

Now after rectfying the valdiation checks and saving the contract again i get this ERROR in SM13 and i can not even see the contract in ME33K. It says that doument does not exist.

Please let me know what could be the possible reason for this.

Thanks,

Naveen

4 REPLIES 4

Former Member
0 Kudos

Hi,

they are couple places where this error is used.

Debug you program and set up your watch point as

sy-msgno = '807'

Program will stop at place where error is raised.

Send me code around this error.

Bye Jan

0 Kudos

Hi Jan,

This ERROR is coming from a function module ME_CREATE_DOCUMENT .

The code snippet from where this error s comin is as below:-

DATA: LS_EKUB_NEW TYPE EKUB.

DATA: L_EBELP LIKE IND_EKKI-EBELP,

L_TABIX LIKE SY-TABIX,

L_TABIX_1 LIKE SY-TABIX,

L_EHP4_P2PSE_ACTIVE TYPE XFELD.

------- Bestellkopf hinzufuegen -


MOVE NEKKO TO EKKO.

INSERT EKKO.

IF SY-SUBRC NE 0.

MESSAGE A807 WITH 'EKKO'.

ENDIF.

Thanks,

Naveen

0 Kudos

Dear Naveen,

                     i am also facing same problem.plz share me,what is the solution for above error.

Thanks

Sarvottam

AnupKumar
Explorer
0 Kudos

Hi Naveen,

Did you got any solution for this issue?

I am facing the same issue while creating RFQ via ME41 as ME41 is also using the FM Customer_data_post and meet the same situation.