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

Reprocess Bdoc with status I04 (Intermediate state)

Hi All,

I have problems to reprocess Bdoc's with status I04 (Intermediate state).

In a batchprogram I created businesstransactions. But when a central blockade was set on the businessparter, no businesstransaction appear.

In the SM13 I have Update-errors (SAPSQL_ARRAY_INSERT_DUPREC).

In the SMW01 I have Bdoc's (BUS_TRANS_MSG) with status I04.

I'm having problems to reprocess the Bdoc's.

After uncheck all central blockades, the reprocess of the bdoc failed.

After changing the status of the Bdoc from I04 to I01, the bdoc will be reprocessed (green), but the data in the Bdoc will not be written to the database (CDB).

What could be a solution to reprocess the Bdoc's with an update of the CDB (and the businesstransaction appear)?

Thanks!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Nov 22, 2007 at 06:20 PM

    Hi G. van Doom,

    You got a system error: <b>SAPSQL_ARRAY_INSERT_DUPREC</b>, this means that the running process tried to insert to the DB a records that is already existing. Hence it raised this system error.

    Reprocessing the BDoc won't solve the issue since you will again try to insert record that already exist.

    I would suggest you to maybe check the <b>task</b> you set in the BDoc from your batchprogram, if the records was already existing then you should rather do an update, by using Task = 1. Therefore you must have a logic in your program which can find if the record exist or not in order to set the appropriate task.

    Task:

    1 - Update

    2 - Insert

    3 - Delete

    Hopping this help.

    Sincerely,

    Alain Gauthier

    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.