cancel
Showing results for 
Search instead for 
Did you mean: 

error FB08 Error when inserting table BSEG

Former Member
0 Kudos

when I post FB08 to reverse a vendor document posted manually in FI

the document is posted, but it can't be displaid

Document XXXXXXXX does not exist in company code xxxx or has been archived

in parallel, the invoice we want to reverse is still open item

error received in Error when inserting table BSEG

Accepted Solutions (1)

Accepted Solutions (1)

vinod_vemuru2
Active Contributor

Hello,

This may be due to some update termination during reversal. Did you get any express popup message after performing FB08? Check SM13 to see if any terminations happened. In this case, you get a message saying Document XXX posted in company code ABC. But when you display in FB03, you can't find in database. This may be due to update termination.

Thanks,

V V

Former Member
0 Kudos

THANKS VINOD

Update was terminated

System ID....   P01
Client.......   XXX
User.....   XXXXXXXX
Transaction..   FB08
Update key...   5388FA9F3C0E0F90E10080000A012E01
Generated....   30.05.2014, 18:58:33
Completed....   30.05.2014, 18:58:33
Error Info...   System error: Error when inserting table BSEG

Message was edited by: Hatem ABIDI SM13 ERROR IN POSTING STEP / ERROR WHEN INSERTING TABLE BSEG

vinod_vemuru2
Active Contributor
0 Kudos

Hello,

This must be because of overlap of number ranges. System is identifying already used number and trying to insert duplicate record in BSEG. Please check the number range assigned for your reversal document type and current number updated. Current number might be incorrect due to some reason. If your number ranges are year dependent, please check what was the last document number posted in that range in 2014 and update that as current number in FBN1 for your number range number. This should solve the issue. Check these and let us know in case of further issues.

If number ranges are fine, check with your basis team to analyze the error further and trigger the update again from SM13.

Thanks,

V V

Former Member
0 Kudos

thanks a lot Vinod;

The problem happen only for the document with the recon account we run in zfsepa**

all other document can be correctly reversed.

vinod_vemuru2
Active Contributor
0 Kudos

Hi,

You may have to search if any OSS notes exist for this error. If no notes found, contact SAP by raising OSS message.

Search with key words POST_DOCUMENT or FB08 error. There are couple of notes similar to this error.

Thanks,

V V

Answers (3)

Answers (3)

former_member183378
Active Contributor
0 Kudos

Hi Hatem,

Please check this once if your document is archived or not first in T code - S_ALR_87012342.

I hope it is helpful else pls revert us with your query.

Thanks & Regards,

Lakshmi S

Former Member
0 Kudos

yes

I find my document there

Former Member
0 Kudos

Document still can't be reversed

former_member183424
Active Contributor
0 Kudos

Can you see the document in table BSEG and BKPF ?

Also can you display the document from FB03 ?

Is there any archive run recently in your organization ?

Former Member
0 Kudos

Thank you Dëv

it is not possible to  display the document of reversal

but the initial document is able to be displaid

there is no archive;

former_member183424
Active Contributor
0 Kudos

I think its well possible to display the reversed document in table BKPF or BSEG and also FB03.

If you can't see the document in these tables, then it is possible that the document hasn't created yet..

Or may be possible, someone edit the table BSEG or BKPF directly and delete the document by using SE16N and &sap_edit.

Former Member
0 Kudos

thank you Dev

but I'm sure that no one delete the document

this behaviour happened many times and immediately it is not possible to display it and the document is still open item

former_member191939
Active Contributor
0 Kudos

Hi Hatem,

Please check the fiscal year in  which the document was posted.

Regards

Eugene

Former Member
0 Kudos

same fiscal year

recon account was changed by zfsepa02 then zfsepa03

it was wrong thing done by mistacke.

after that the error happened

former_member191939
Active Contributor
0 Kudos

Hi Hatem

Your scenario is not clear to me,you mean to say at the time of posting the vendor document your recon account was something else and when you reversed the document then it has been changed to other recon account and due to which you are getting the error.

Is this the scenario??


Can you please share the Error Message no.

Can you please tell me what document is it.


Regards

Eugene

Former Member
0 Kudos


Hii Ranu

the scenario is :

1-we execute program zfsepa02 for Recon account to activate open item management

2-run zfsepa03 to deactivate open items management since it is recon account

then, when reverse document posted in this recon account :

the document is posted

then a message express is sent to the user : "Error when inserting table BSEG"

but the invoice is still open item

then it is not possible to display t he document

Document XXXXXXXX does not exist in company code xxxx or has been archived

Message no. F5238

Former Member
0 Kudos

Hi ,

Its looks like docuemnt is old fiscal year which is still open  but arvhived . Please go to SARI  and check whether you can see there ornot.

if you can see that's meabs you cann't reverse.

I would suggest to post manually reversal of this  in currenct year .

Many Thanks