Reprocess failed Idoc: new Idoc number?

Hi,
I have a failed Idoc no 4711 with status 51.
Now I want to reprocess the same Idoc because the Idoc content was correct opnly a customizing entry (country) was missing.
Question:
Will the system generate a new Idoc which will have status 53 after successful posting and the old idoc No 4711 remains in status 51 for ever? And if so, how can I link the new Idoc to the old failed Idoc in order to control that all faled Idocs have been re-processed successfully? LIKE OPTION A BELOW
Or will the idoc No 4711 get a new status 53 after successful posting?
LIKE OPTION B BELOW
OPTION A:
Idoc 4711:
20.01.2010: status 51    error: country 'EN' missing
Idoc 6767:
23.01.2010: status 53:   successfully posted (this idoc is the re-processed idco 4711)
OPTION B:
Idoc 4711:
20.01.2010: status 51    error: country 'EN' missing
23.01.2010: status 53:   successfully posted
Hope my question was understandable and would appreciate any answer and comment.
Thanks,
Thomas

OR use the transaction code BD87 to reprocess the error IDocs.
If you process the IDoc using WE19 transaction code a new IDoc number will be created and the status of old IDoc will be unchanged.
Thanks,
Bhanu

Similar Messages

  • How can I get a new IDOC number?

    Hi,
    I have developing a method to send IDOCs from non-SAP system to SAP but I have a doubt:
    -When non-SAP system creates a new IDOC to send it to SAP, what IDOC number can use? I think it's mandatory otherwise how can make a relation between IDOC_CONTROL_REC_40 and IDOC_DATA_REC_40 ?
    Best regards,

    Can you describe the problem in more detail (without giving us your serial number)?
    Exactly what version of LR are you running, the LR on the CD, or a downloaded copy? If downloaded, are you sure it is LR5, and not the Creative Cloud version? Where did you purchase this version of LR 5?
    Have you tried these steps? Find your serial number quickly

  • File2IDoc - new IDoc when client-number in sub-segment of MT is different

    Hi, we have an Message-Type and IDoc with four different Segments. Each of it contains a client-number.
    First segment: Header
    Second-fouth: Childs
    When i read File via FTP in XI it could happen that the Header-Segment is not depending on the child. That is when the client-number in the text-file is different. When this happens, XI should create a new IDoc where no Header-Segment will occur.
    How should i manage this in mapping? i have to read the payload and must compare the client-number of each child in the txt-file.
    Could you give me some help?!
    This is the source-structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <MT_BESTFILE>
       <BestfileRecordSet>
          <BestFileHeader>
             <BDKDNR/> (=client-number)
          </BestFileHeader>
          <BestFilePos>
             <BDKDNR/>(=client-number)
          </BestFilePos>
          <BestFilePos1>
             <BDKDNR/>(=client-number)
          </BestFilePos1>
          <BestFilePos2>
             <BDKDNR/>(=client-number)
          </BestFilePos2>
       </BestfileRecordSet>
    </MT_BESTFILE>

    Hi Carsten,
    Below UDF will solve your problem,
    Here it will take input as BDKDNR from Header, Pos, Pos1 and Pos2, and output should be mapped to IDOC Header so that it will create a new idoc when ever there is a change in child segment.
    as per your query it is clear that BDKDNR from header will match with child segments but some times it will differ at that point we should create a new IDOC.
    in the UDF header BDKDNR will be compared to the child BDKDNR's if it is not matching with  the header then it will create a new idoc.
    Please let me know it the problem still exits.
    public void test(String[] header,String[] pos,String[] pos1,String[] pos2,ResultList result,Container container){
    int i,j,count=0;
    for(i=0;i<header.length;i++)
      result.addValue(header<i>);  
      for(j=0;j<pos.length;j++)
        for(i=0;i<header.length;i++)
         if(!(pos[j].equals(header<i>)))
         count++;
       if(count>0)
       result.addValue(pos[j]);
       count=0;  
      for(j=0;j<pos1.length;j++)
       for(i=0;i<header.length;i++)
        if(!(pos1[j].equals(header<i>)))
         count++;
    if(count>0)
       result.addValue(pos1[j]);
       count=0;  
      for(j=0;j<pos2.length;j++)
       for(i=0;i<header.length;i++)
      if(!(pos2[j].equals(header<i>)))
         count++;
    if(count>0)
       result.addValue(pos2[j]);
       count=0;  
    Regards,
    Karan

  • Why a new idoc number is generating at target in IDOC to IDOC scenario

    Hi Experts,
    I observed that a new idoc number is generated when I triggered an Idoc in an Idoc to Idoc scenario. Please let me know the mechanism that leads to generate a new idoc number at target system.
    regards
    Raj

    Hi Raj,
    I observed that a new idoc number is generated when I triggered an Idoc in an Idoc to Idoc scenario. Please let me know the mechanism that leads to generate a new idoc number at target system.
    An IDoc is an instance of an IDoc type. Each IDoc is assigned a unique number for tracking and futurereference. An IDoc serves as a focal object for tracking the state of the process that generated it.( and laso Every IDOC has an unique number(within a client)).
    thanks,

  • IDOC_INBOUND_ASYNCHRONOUS FM not creating new IDOC?

    Hi,
    IDOC_INBOUND_ASYNCHRONOUS function module is not creating new IDOC in SAP.
    I configured all related functions against message type and idoc type.
    Please let me know the issue.
    I am processing old IDOC (created from non sap system) through BD87 and using custom function module. I called IDOC_INBOUND_ASYNCHRONOUS in custom function module.
    Chandra

    Hello,
    Aren't you getting any error messages ? You may check by creating watch points on the message id and / or number .
    Thanks

  • How to Correct and Re-send new idoc # in WE19

    Hi Expert
    Can you please give me the steps to correct and re-send (new idoc) in WE19.
    Here is the situation:
    Outbound ASN failed in EDI for having special char in field ARKTX(E1EDK08-E1EDP07-E1EDP09-ARKTX).
    Here I just need to remove special character from the material description. I found the value where i need to make changes but from that point I don't know where to go in the screen to save that change and generate new idoc #.
    Please provide steps...
    Thanks in advance for you help !
    Thanks,
    Darshak

    Hi
    As suggested by Jurgen you need to follow the same step, i am just adding the screenshot to make it more visual
    Step 1
    Step 2
    Step 3
    STEP 4
    Remember you can make the change only for the failed idoc,if you will try to follow the above process for the IDoc which are in 53 /03 status system won't allow to make the change

  • Using ALEAUD for application reply? or build a new IDOC ?

    Hello.
    I have a scenario where a 3rd party sends me a message, that I map in my PI to an ACC_DOCUMENT IDOC.
    I need to send a reply on the ACC_DOCUMENT IDOC after processing it.
    The reply must contain several applicative values from the IDOC - so that the 3rd party will be able to
    "understand" on what message it receives the reply.
    Should I use ALEAUD in this case? I'll have to add an extension so that it will contain the applicative values.
    Or should I build a new IDOC or ABAP proxy to send the reply back? will I be able to generate it when I process the IDOC?
    Anyone has a Rule of thumb on this matter?
    Thanks in advance,
    Imanuel Rahamim.

    Hi,
    If you want to give the application response with minimal effor, you might want to change the ACC_DOCUMENT IDoc used so far to calling BAPI_ACC_DOCUMENT_POST. Actually, their data structures are identical, because ACC_DOCUMENT is an ALE interface generated for this BAPI. Thanks to this, you will immediately receive application response from your ECC system, including information like document number of the document posted, and similar.
    Alternatively, if you do not want to use synchronous scenario, I recommend developing a custom ABAP Proxy that you will use to pass posting information from ECC to PI to your 3rd party system. You can call this Proxy after each IDoc is posted, or on a regular basis to collect multiple postings information into a single call. I think this will be easier to do it from scratch than to enhance ALEAUD message.
    Or you can go one step further and configure FIDCC2 IDoc distribution to have the financial postings automatically sent from ECC to PI to 3rd party, immediately after the posting document is created. It is up to you to decide, based on the actual requirements and possibilities of the 3rd party system.
    Hope you'll find this useful,
    Greg

  • Setting up new IDOC message type.

    Hi All,
    I have created a new process code (ZMBGMCR) and linked message type MBGMCR to the process code and configured the process code to use function BAPI_IDOC_INPUT1. The reason I have created a new process code is because the standard message MBGMCR is not linked to a process code. 
    I have also created a new mesage type based on a reduced version of MBGMCR that. I have also link to the new process code. I have gone through all the interface customising to setup the new message type. I have linked an IDOC type (MBGMCR02) to the new message type (WE82), assigned the function module to the message type/ Idoc type (WE57), added the message type to the new process code ZMBGMCR (WE42) and configured the partner profile. 
    In testing the new message type, the IDOC is failing with an IDOC Interface is not complete message in the IDIC status record. In debugging function module BAPI_IDOC_INPUT1, the function fails in the check for an entry in TBDBA.   There is an entry for the standard message MBGMCR which is why the standard message works.
    Does anyone know how this entry in TBDBA is created?

    Hi Sanjeev,
    Message type MBGMCR which I have linked to my new process code works fine.  It's my new message type ZITRANS which I am having problems with.
    I am getting further now by using transation BDBG to generate the ALE interface.  I have taken a copy of the business object BUS2017 to zBUS2017  and tried to link my new message type to the creatfromdata method of the object.  When I try and do this tells me that my IDOC type MBGMCR01 already exists.  This message type is already linked to message type MBGMCR.  Is it not possible to link two message types to the 1 IDOC type and generate the interface.  Do I need to generate the IDOC interface for each new inbound message type?  Am I on the right track?
    Thanks for your help so far.
    Rgds,
    James.

  • A new IDOC status - ex. 80

    Is it possible to create a new IDOC status code? we want to capture some of the intermediate processing messages in the IDOC status log. ex. "status 80 - BDC x done" -> "Status 80 order created" -> "Status 53 order has been imported".
    I couldn't find anything under SALE but did saw couple of tables that list out status numbers and associated texts w/ it.  I thought I would be able to add in a new status number - code, but 'new entries' is not an option.
    Thanks in advance.

    Yes, you have an option to create new status messages. I have done this before.
    Please try running the area menu WEDI from your SAP easy acess screen.
    You will find an option to create new status.
    Let me know if you need more details.
    Regards
    Sabu

  • Creating a new IDoc

    Dear all ,
    I need to create an IDoc for testing in quality enviroment.
    I do not have any IDoc with the same Message type to copy from . How do I go about that ??
    Thanks in Advance ,
    Vivek K .

    here is the procedure to define new IDoc type
    Define Segments                       WE31
    Create IDoc type and attach segments  WE30
    Release Segment                       WE31
    Release IDoc Segment                  WE30
    Define a logical message              WE81
    Attach IDoc type to logical message   WE82
    for an example with screen shots have look at
    http://www.allsaplinks.com/idoc.html

  • New IDOC segments doesn't posted

    Hello! We have modified an IDOC structure (adding new values and segments) and trying to post new IDOC to CRM. In SXMB_MONI I see all new values in structure, but I don't see it in CRM (we02). If I trying to add this values in we19 - it works. Could you advise me something?

    Hi,
    Import the new structure on IR(Under Imported Objects) and PI(IDX2).
    Thanks,
    Kiran.

  • PI to Idoc - Wrong partner Number

    Hi experts,
    something odd happened yesterday, we usually receive ORDERS idocs from different legacy system, but for one order, the Partner Number of the Idoc created in SAP was incorrect.
    For example, Legacy ABC sent us an order which created an idoc in SAP. Usually it creates idoc with Partner Number ABC which is populated according what we have defined in the SLD.
    But this time, we received the order from legacy ABC but the idoc was created with another Partner Number (DEF) from which we also receiver orders.
    Do you know where it might come from ?
    Any helmp would be greatly appreciated
    Kind regards,
    Jamal

    Hi,
    >>>Hi I have no mapping at all for control records segment, it is populated by it self according to SLD and partner profiles
    please check the receiver agreement object and field - header mapping - sender service
    is it the same as with other flows ? you can put there the business system which has the correct
    logical system name in SLD - so it will go correctly to ERP
    Regards,
    Michal Krawczyk

  • How to create New IDOC with refrence to existing IDOC.

    Hello All,
    In the MATMAS  Material master data IDOC the special procurement type should consider the special procurement flag = VI also. At present the  functional module IDOC_INPUT_MATMAS01 only take the special procurement flag = KA into account.
    IDOC is in 05 status.
    I want to Create a test IDOC copying the existing IDOC and change the SOBSL to VI to check if that is successful.
    Please suggest,.
    Thanks in advance.
    Forum Shah

    Hello,
    I have made the changes with the partner profile.. WE20... and got the processing IDOC staus "03" ie "Translation ok".
    how do i create a new IDOC to check if its working well?
    Is there any need to add anything in the function module?

  • CANNOT_LOAD_MAPPING after importing new IDOC

    Hi,
    We have a IDOC to file scneario and IDOC is a customized IDOC.
    IDOC root node is changed now and few additional segments are also added and when we try to import it in message mapping it is throwing below mentioned errors
    Unable to load mapping (CANNOT_LOAD_MAPPING)
    MESSAGE ID: com.sap.aii.mappingtool.mf.rb_Transformation.CANNOT_LOAD_MAPPING
    Unable to load mapping (CANNOT_LOAD_MAPPING)
    MESSAGE ID: com.sap.aii.mappingtool.mf.rb_Transformation.CANNOT_LOAD_MAPPING
    Function model undefined (FUNCMODEL_UNDEF)
    MESSAGE ID: com.sap.aii.mappingtool.mf.mapping.rb_Mapping.FUNCMODEL_UNDEF
    in PI 7.O we had option to export mapping in .mte format and make XPATH modifications and with this but in PI 7.1 I dont see that option is there.
    Could you please let me know why this issue is occuring.Even if root node of IDOC is changed while draging and dropping I should not face this issue.
    Could you please provide your inputs?
    Thanks in Advance
    Best Regards,
    Harleen Kaur Chadha

    Hi,
    Are you dragging & dropping the new idoc in the already created message mapping?
    If yes, then try to create the new message mapping and in that drag & drop this idoc and see whether it is working.
    -Supriya.

  • Mail application fails to indicate the number of new messages. Any ideas how to fix this?

    Ever since I upgraded to to OS 10.6, my Mail application fails to indicate the number of new messages. Any ideas how to fix this? It does, indicate how many new messages arrive on my comcast email account. It only fails to indicate the number of new emails arriving in my @mac.com account.  Strangely enough, my devices--iPad and iPhone--indicate the number of new emails arriving in both accounts.

    Thanks.  While you were replying to my question, I went into notifications and figured
    it out.  Appreciate the quick response!

Maybe you are looking for

  • I lose network connection after MacBook Wakes from Sleep

    I upgraded to Mountain Lion on my 27" iMac and 15" MacBook Pro. iMac is doing fine. MacBook Pro, however, when it wakes from sleep, seems to have the network untility crash. So the computer wakes from sleep, and the little status bar radar thing does

  • Events not synching from iPad to iMac in iCal.

    Events from my iPhone sych to my iMac just fine, but not my iPad2.  I use iCloud, and the settings on both devices are exactly the same.  Advice would be appreciated.  Thanks.

  • Where is the cache? Can it be configured to another location?

    I have a second hard drive in my system for data. This prevents "fragmenting" occurring on my program drive. With IE I was able to configure the cache to my data drive. Can this be done with Firefox?

  • Device management - Profile Manager - MDM

    Device management with mac os x lion server: I saw that with profile manager (an apple implantation of its mobiledevice management apis) allow you to enroll and manage iOS devices. I want to know if this OS with profile manager MDM can work for manag

  • QUESTION ABOUT AN ERROR MESSAGE UPON STARTUP OF COMPUTER

    I receive an error message at startup that says: "an unexpected error occured while trying to load the microsolf framework library" Is this causing damage to my computer? If so, what should I do? I had my old info from my previous mac transfered to t