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!

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

Similar Messages

  • Reprocessing IDOCS with status 52

    Hi all,
    I facing a problem with IDOC status 52.
    After correcting the error it had given, I want to reprocess it again.
    Kindly tell me any report or transaction name for reprocessing IDOC with status 52.
    Regards,
    Rahul

    Hi Rahul,
    You can use the below Programs for IDocs Reprocessing:
    RBDMANI2 : Reprocess Idocs manually
    RBDMANIN : Posting of IDocs with Status 51
    RBDMOIND : Outbound Idocs status 03->12
    RSEOUT00 : For Processing 30 Status IDocs
    RBDAPP01 : For Processing 64 Status IDocs
    RBDAGAIN : Reprocess Incorrect Outbound IDocs
    RBDAGAI2 : Reprocessing of IDocs after ALE Input Error
    Regards
    Aneesh.

  • Reprocessing IDOC with status 52

    Hi,
    I got status 52 for one of the IDOCs, I want to reprocess it . When I use BD87 & BD73, those are not working.
    Please tell me any other way to process it.
    Thanks & Regards
    Vijay

    Hi..Vijay,
    There are already many threads with the same question.
    pls search for your query before posting.
    Eg:
    Re: Idoc status 52 -> How to make it green i.e. 53
    Reprocessing IDOCS with status 52
    regards,
    Padma

  • Performance issues in using RBDAPP01 for reprocessing iDocs with Status 64

    Hi All,
    I am using the Standard ABAP Program 'RBDAPP01' for reprocessing Inbound iDocs with Status 64 (Ready to be posted).
    When this is scheduled as a job in background, I find that it opens multiple sessions and occupies all available dialog sessions.
    This in turn slows down the entire system.
    Also, I find the addition 'Packet Size' on the selection screen for the program.
    Is it related in any way to the number of sessions the program creates?
    Any pointers in resolving this issue will be extremely helpful.
    Thanks in advance.
    Regards,
    Keerthi

    Hi,
    When you mention Parallel Processing, it becomes active only if I choose that particular option on the selection screen right?
    In my case, I haven't chosen parallel processing, but still the overall system performance seems to have fallen very badly.
    Now please correct me if my understanding is wrong.
    If I increase my Packet Size, it should improve the system performance, but will increase my runtime for the selected iDocs.
    But as I have not selected parallel processing in this current situatuon, it should not have any impact here.
    Have I summarized it rightly?
    Thanks in advance.
    Regards,
    Keerthi

  • Reprocess Idocs with status 3

    Hi ,
    I want to reprocess successful IDOCs with status 3 again,how can I do that?
    I think logically we can change the status other than 3 and use BD 87 to reprocess them?is this correct way?Idoc numbers would change or they would create new IDOCs?
    thank you,
    Babu

    Hi,
    You can use transaction BD87 to monitor the IDoc statuses.
    and use the following programs to reprocess outbound and inbound error IDoc(s).
    RBDAGAI2 - Re-processing of IDocs after ALE Input Error
    RBDAGAIE - Reprocessing of Edited IDocs
    RBDAGAIN - Process Outbound IDocs with Errors Again
    RBDAGAIP - New Posting of Partially Posted IDocs
    RBDMANI2 - Manual Processing of IDocs: Post IDocs Not Yet Posted
    RBDINPUT
    <b>Reward points</b>
    Regards

  • BDoc Intermediate State - CRM2007

    Hi everyone
    I have Bdocs thats in Received (intermediate state)
    BDoc Type: BUPA_MAIN,
    Flow Contect Description: mBDoc Validate
    Sender Site Name: OLTP
    Queue Name shows R3AD_CUSTOME.........
    User: CRMUSER ( batch )
    When I try to reprocess these Bdocs , I get a runtime error " CALL_FUNCTION_PARM_MISSING
    " It seems as if though I need to maintain a parameter under one of my Z function modules
    This I can fix
    But why am I getting these Bdocs in this state? Seems like all BDocs coming from R3 doing this. This is only happening in our production system
    Inbound and oubound queues are cleared
    Please advice
    regards
    Manie

    Hi Manie,
    How these intermediate BDocs are getting created?
    Are you triggering any type of load(delta,initial or request)?Or they are coming down due to delta flow
    from R/3 automatically?
    Does these BDocs contain data or they are empty?
    Which version of CRM ,you are using?
    Thanks and Best Regards,
    Shanthala Kudva.

  • BDoc stored before update task (intermediate state)

    Hi Experts,
    I see every month 2 to 3 messages in SMW01 with status I04. I have cheked many blogs and they suggest to check in SM13. But on our system i don't see any messages in SM13. Also these messages doesnot display what the error is through Tcode SM13.
    Can you please help me to find a solution for this messages.
    regards,
    Vicky

    Hi Rohit,
    Thanks for the information. I need some more info.
    These are all :mBDoc Notification
    We have not received any update error so far for any BDocs which can relate to these messages.
    But these messages keeps on failing. I am still confused, if the update was done successfully how can these BDocs failed?
    Or is it like these are just warning messages and its says that your inbound BDocs were successfully stored in the database but since these inbound BDocs were stored before the update operation could be performed, the system generates this warnings?
    If so can you please help me understand the followings:
    1. How come BDocs getting processed successfully if the update only fails? Are these two different things. I wanted to know the flow of message.
    example:
    message -> CRM ->update operation -> Data save to CRM database or others like mobile database.
    How the flow of message is when it enters CRM system?
    2.Also you have mentioned that there will be an inbound BDocs too for the same message. Do the inbound BDoc will have same BDoc Message ID or how can i verify that the BDoc corresponding to all these BDocs with I04 status has been successfully processed. I check with the BDoc message ID and it has only one BDoc in SMW01 i.e these errors.
    Thanks,
    Vicky

  • Reprocessing of BDOC with state I04

    Hi,
    If we try to reprocess the BDOCs with BDOC sate I04 through smw01, It will not allow to reprocess it. But if we want to reprocess it, how we can do it ?
    Thanks
    Rajesh

    Hi
    I04 Bdocs can not be reprocessed. Normally Bdocs in I04 have generated a short dump.you can check the dumps in ST22 You can see also the content of the Bdoc.. with the tasks, if it's modification, creation or deletion .
    Regards

  • BDocs in intermediate state.

    Hi All,
    While making delta changes to business partners I find that the BDoc's are going into an intermediate state. When I check the Inbound queue in CRM the queues seem to get into a 'READY' status, if I unlock these entries in smq1, or if i reprocess the BDOC, things are working fine. However the delta changes are not taking place automatically.
    I have checked the queue registration, the following queues have been registered CRI, CIR, CRM_BUPA, CSA, R3A, AND R3U. I find that the status of queue demon in t-code smohqueue is Running. However I find that in most systems where the delta changes are taking place automatically, the status is released, and not running. What should the correct status be?
    If i click on start queue demon, it goes into running status, and i am unable to change it to released status.
    Kindly request your help in analyzing why the delta changes are going into intermediate state.
    Regards,
    Thiru

    I have the same problem. Did you solve?
    Regards,
    Lyda

  • Bdoc state - Received (intermediate state)

    Hi experts,
    Can you please help me with this. We've just found out that we have several bdocs with state "Received (intermediate state)" in middleware. They said that if these are in this state for quite some time, we need to reprocess it to prevent any future problems. When I choose one and click on Show Bdoc Msg Errors/Receivers, it only says "No receivers or error segments for Bdoc message found."
    Can you please let us know how to clear these? I'm providing below two bdocs on these state that may help you understand the problem.
    1.
    Bdoc state description: Received (intermediate state)
    Bdoc type: BUPA_REL
    Flow context description: mBdoc Validate
    Send date: 01.09.2010
    Send time: 19:01:06
    Sender site name: (This is our ECC box)
    Queue name: R3AD_CUSTOMExxxxxxxxxx   (x > customer number)
    User (Creator): MWRFCXXX (x > our ECC box)
    2.
    Bdoc state description: Received (intermediate state)
    Bdoc type: CND_M_SUP
    Flow context description: mBdoc Validate
    Send date: 09.02.2011
    Send time: 15:43:04
    Sender site name: (This is our ECC box)
    Queue name: R3AD_DNL_COND_A594
    User (Creator): MWRFCXXX (x > our ECC box)
    Hope you can help us here. Thanks a lot!
    Kind regards,
    Mike

    Hi,
    Go to transaction R3AR3,Are all your requests still there.IS there any queue stuck in smq2  and SMQ1.If there is nothing stuck in SMQ1 or SMQ2,then i think for you Bdoc type BUPA_REL,for all those queues in intermediate state there is no number found for the range which you used to create request for Partner relationship.
    Regards,
    Arya

  • Bdocs are in intermediate state I01

    Hi all,
    When I checked SMW02 transaction,some bdocs are in intermediate state I01.
    I tried to reproces, but it's giving shortdump.
    Shortdump is trying to insert table entries, already exist.
    Bdoc type - CND_M_SUP
    someone could help me how to clear these Intermediate bdocs.
    Thanks in advance,
    P.V

    Hi all,
    I did not find anything in the condition log but this is the description of my short dump:
    Error analysis
        Short text of error message:
        Error in mass insert in table CNLCRMPRSCALEDIM.
        Long text of error message:
         Diagnosis
             You tried to insert entries in the database table CNLCRMPRSCALEDIM.
             This operation failed because one or more entries with the
             specified key already exist in the table.
         System Response
         Procedure
             Inform your support organization.
         Procedure for System Administration
        Technical information about the message:
        Message class....... "/SAPCND/DB_ACCESS"
        Number.............. 002
        Variable 1.......... "CNLCRMPRSCALEDIM"
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    Regards
    André

  • Bdoc intermediate state( I02)

    Hi,
      I am creating bdoc thru report program. When i execute the program Bdoc is creating as a Intermediate state ( I02) and it is stored in SMQ2(Inbound queue) level. In the queue level it is showing status like RETRY.
    Please help me in this.
    Regards
    Srinu

    Hi,
    have you already successfully created the replication object, publication and subscription in the administration console (transaction SMOEAC)?
    Maybee this hind helps.
    Best regards
    Manfred

  • BDOC Error : "BDoc stored before update task (intermediate state)"

    Hi Experts,
    I have stuck BDOCs under BDOC type "BUS_TRANS_MSG" and the error msg as "BDoc stored before update task (intermediate state)". The error occurs when BDoc Message was not written to qRFC queue. I checked the update tasks in transaction
    SM13 and could find the entries there. I opened one of the entry and was able to spot the error in one of the function module.
    The error was encountered at some later point in time and is been fixed. I now want to re-send the update so that the new update is written and the BDOCs are processed.
    Kindly guide me through the steps that need to be performed in order to re-process the BDOCS.
    Thanks,
    Chaudh

    Hi,
    BDocs were stuck at time when we really had a problem; now the problem is re-solved. I have checked SM13 we have entries highlighting the problem, but i really don't know how to re-update the error entries in SM13.
    I believe once that is done then i might possibly be able to re-process the BDOCs in SMW01.
    Thanks,
    Chaudh

  • CMPControlManager::PublishInDNS: DnsReplaceRecordsInSet() failed with status 9005 in MPControl.log and MP is showing in critical state

    CMPControlManager::PublishInDNS: DnsReplaceRecordsInSet() failed with status 9005  error message in mpcontrol.log  and management point showing critical state in Monitoring-Site status
    Please help to resolve the same.

    Based on this thread ---> http://social.technet.microsoft.com/Forums/systemcenter/en-US/f66a8f0f-31df-49b1-b385-450c522aac0f/cmpcontrolmanagerpublishindns-dnsreplacerecordsinset-failed-with-status-9005-getting-this?forum=configmgrinventory
    a possible workaround is:
    1. Start DNS
    2. Navigate to following DNS SRV record: _mssms_mp_<SMS_SiteCode>._tcp.AD_FQDN
    3. Right click on this record; and add all MP Machines Account and provide Full Control permissions on this DNS SRV Record.
    4. Restart "SMS_EXECUTIVE" service on all MPs
    You will then see that each MP will successfully register each DNS SRV records successfully.

  • BDOC stops with status ready

    Hi
    I am replicating campaigns from CRM to PS. Now as I release the campaign BDOC is triggered and goes to backend ECC system. But after replication BDOC comes and stops in inbound queue of CRM with status ready. When I goto SMQ2 and unlock it, it flows through.
    This problem I am facing for all campaigns transfered not for any specific one.
    Please help me in resolving this issue.
    Thanx in advance.
    Cheers
    Hits

    Hi,
    This happens because the Queues are not registered.
    In SMQ2, note the first 3 cahracters of the queue, e.g, R3A or CSA.
    Now goto SMQR and see if any Queue exists with this name like R3A* or CSA*.
    If it does, then select the Queue and press button Registration.
    If it does not, tehn create a new entry by pressing the same registration button and entering the following value:
    Queue name     CSA*  
    EXEMODE     D     
    MAXTIME                     60    
    USERDEST           
    NRETRY                     30    
    TDELAY                     300   
    Doing this is sufficient for your Queue to get executed automatically.
    Kindly reward with points in case helpful.
    Sharif.

Maybe you are looking for

  • CTI - Telephone Number translation

    I am facing a challenge in identifying the customer during the inbound call in ICWC. The Inbound call alert is showing  +90507303790 (with a prefix of 9) but we have maintained the telephone number as 0507303790 in the BP. So when the call comes to C

  • SQL LOADER and ORA-01861: Please ignore,,my mistake...its duplicate

    Hi, I've to load data through control_file(.ctl) into oracle table through sqlldr. Oracle 11g, win xp. as soon as I use - sqlldr dss/dss control=orders.ctl I get error or nothing. Text file that is generated after loading fails has the following erro

  • Add sig to word doc conversion from pdf

    Why can't I add a signature to the word doc I just converted from .pdf?

  • Sequence Behavior - not clear

    Hi, I cannot understand the behavior of this sequence CREATE SEQUENCE NS5; ALTER SEQUENCE NS5 INCREMENT BY 10; SELECT NS5.NEXTVAL FROM DUAL; Why is the first value being generated : 10 The default start with value is 1, why isn't 1 displayed. Thanks

  • ComboBox created in AS

    I am creating a bunch of ComboBoxes at run time according to some info loaded from an XML file. The problem is I have no idea how to grab the selectedItem when the user clicks in an option. I have tried myComboBox.close(onClose()), but Flex gives me