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,

Similar Messages

  • 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

  • How to generate new perner number using Abap Code in pa0002. what is the fu

    how to generate new perner number using Abap Code in pa0002. what is the function Module used.

    hi
    define internal number ranges for ur implementation then when u run PA 40  do not input any employee number , system will generate the employee number automatically.
    Regards
    sameer

  • 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

  • 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

  • How do I find out why there's a number 1 listed on my eBay app?

    So I have a new notification number one listed next to my eBay app as it would be on Facebook notifications yet I can't find out who's notified me or why can anybody out there help

    Try opening Notification Center by swiping down from the top of the screen.
    Press the "All" button toward the top center.
    The notification should appear there.  You can clear it from there when finished.

  • Error while creating new project number

    Hi Folks,
    I am getting the below error while creating a new project number.
    "Oracle Projects failed to generate unique project number. Please contact your system administrator to setup the next number field for automatic project numbering in implementation options window.
    Can any expert help me out in this issue?
    Thanks in advance.
    SPR

    Hi,
    What u can do is to navigate to setup>>system>> implemention options and project TAB look for the next project number sequence and just increase the next number by 1.
    This problem may have come coz there is some project which already have that project number which is next in sequence.
    Thanks
    -Shivdeep Singh

  • Stock transfer of QM stock thereby creating a new batch number

    Dear Experts,
    I have searched for this content but didn't get content which match my requirement.
    My client has placed a requirement.When they receive a material against a purchase order through movement type 101 they receive it to quality inspection stock.After quality inspection this material is taken to unrestricted area through movement type 321.
    Now after this material comes to unrestricted area,this material is again subject to quality inspection.Quality testing is done after a particular period.
    Next quality testing date is calculated based on this formula:-321 movement type posting date + quality inspection interval days maintained in material master.
    i.e:-If for a material 321 movement type is 16th July 2014 & if quality inspection interval days for that material is maintained as 365 days then next quality inspection of that material will be after a year.
    Now client has placed a requirement when this material comes to quality testing,15 days prior to quality testing this material should move to quality inspection area from the present unrestricted area thereby generating new batch number for that material.
    This changes the client will view in MMBE.
    Gurus Please help as I'm new to QM.
    Kind regards,
    Pradeesh.P

    Hi,
    This is not possible,you cannot generate a new batch number through recurring inspection.
    If you require a new batch number then during stock posting in UD you post it to new material,in your
    case this will be the same materiaal and you give new batch number.
    In this way a batch material has come for inspection and after inspecting it you are changing the
    batch number of the material.
    CSN

  • Adobe Acrobat 7.0 Professional won't install with new serial number from Adobe

    Having replaced my PC I tried to install Adobe Acrobat 7.0 Professional but I was unable to activate registration as it had already been registered and is an 'old product'.  I have contacted the Adobe on-line advisor and was given a new serial number and a file to download. 
    The set-up wizard will not complete even though I type in the new number accurately and each time I've had to abort installation as it says it can't be verified.
    Does anyone have any suggestions or explain what I might be doing wrong please?
    Thank you

    Thank you Bill for replying.
    I have been able to install the disc but it tells me that I have to activate it with a time limit of 30 days and counting.  Activation fails each time I've tried.  As I'm nearing the end of the time limit I decided to contact Adobe for advice.  They gave me a download package and new serial number but it's only suitable for OS XP and Windows 2000 so I'm unable to download it.  I was told by the advisor if I still had problems to use the forum as a means of support so that's why I'm talking to people here.
    I have uninstalled Adobe Acrobate Pro 7, so I might try reinstalling the disc to see if it gives me another 30 days grace, that, at least, would be a way around it.
    I'll now follow the link you've given me.   Though I do suspect I'm in a bit of a cul de sac.

  • 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

  • Why is changing my number such a problem?

    All I want is a number change. I have moved to a new city with a different area code, and all I want, which is very basic, is to have anyone that dials the old number to be forwarded to the new number or a message stating the new number. I am a telecom engineer and know there is no technical limitation to prevent this, but have gotten nothing but roadblocks on making it happen. I was told by a chat rep that they could for up to 3 months, but calling customer service they said it couldn't be done. Getting the run around here. I know for a fact that verizon landline service provides an announcement with the new number. Why can't they do it with cell? Just make the number virtual and an announcement voicemail that states the new number!!!!!
    Option 1. Give me a new number and forward the old for 1 month
    Option 2. Give me a new number and let me set up a vmail box, announcement only, point caller to the new number.
    Option 3. Let me port to Google Voice to forward without terminating my contract, even though I want to keep your service, and just want a new local number!
    This is just crazy!!!! Such simple things that they won't let me do.

    Why is it you want verizon to jump through hoops? The number you have will ring no matter where you are so a new number is not really necessary. You are not charged long distance and with today's phone service I doubt anyone else is either.
    You just change your number if you desire, in the old land line days that phone forwarding message was useful but like everything today it has been discontinued its progress I guess.
    Just remember your number was not transferred even in cases you moved across the street, today the number follows you all over the world. Progress?
    Changing a number is also risky in that the last person who had it could of been doing something to break the law, or had bill collectors calling all night and day, or other annoyances. Keep the number you have and stay happy. That is my advice.
    Good Luck

  • BAPI for material creation which returns the new material number

    Hi,
    I need a single BAPI or a remote enabled function module to create a material which would return the new Material number generated.
    Regards,
    Tanveer S.

    Hi
    if this scenario should occur:
    run BAPI_MATERIAL_GETINTNUMBER  and get next material number
    run BAPI_MATERIAL_SAVEDATA and get an error when creating.
    Is there a way to rollback the internal number range?!
    ROLLBACK WORK doesn't seem to work and, if the  BI_SAVEDATA returns with the error, the next try will have the material number X+1, although X  was never used.

  • Why Sender side IDOC adapter doesnt have SenderAgreement and Sender CC

    Why Sender side IDOC adapter doesnt have SenderAgreement and Sender CC . But in receiver side it is having.
    what i know is
    1) Idoc adapter is in ABAP Stack.
    2)XI having Idoc Metadata.
    3)Once Communication Idoc generated , no control on it.
    4)SAP using  TRFC to identify XI , XI cant.
    Pls explain , in comparition with receiverside. Dont post links.

    Hi vijayreddy.veluri
    these questions are very general.
    Please refer to the
    [rules of engagement|/thread/117188 [original link is broken];
    before creating threads.
    Sender agreements are not required as there is no requirement to bind sender information to a sender communication channel.
    [IDoc Processing with the IDoc Adapter|http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm]
    Thanks and Regards
      Kenny Scott
    SDN XI/PI Moderator

  • 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

Maybe you are looking for

  • Can't get Apple Remote App to stay connected to my ITunes library.

    I recently had my modem and router taken out by lightening.  So I replaced them both with what is supposed to be the latest and greatest.  Simultaneously, Apple had a new version of ITunes, so I updated.  Now I can't get the Apple remote app to stay

  • Decimal places in SRM-MDM Catalog 3.0

    Hi experts, Iu2019m using SRM-MDM Catalog 3.0 and Iu2019ve an issue related to the decimal places configuration. Our products are defined with 2 decimal places and after importing the records I can see them in Data Manager with the correct price info

  • Problem in PO condition update

    Hi Experts,     I am using 'IDOC_INPUT_PORDCR1' to post PO. Everything is working fine except the repricing. ex:-    In me21 if we have 'UPDATE' button at condition item level. when I am creating i need to press UPDATE button select pricing type 'C'

  • Update a filed value with powershell script with ordery by and where condition

    Hi I have below powershell script to update list columns but  how i update a field value with ordery by a column and where condition below is the part of my script $list = $web.Lists[$listName] $items = $list.items $internal_counter = 1 #Go through a

  • Parsing url from HTML file

    hello I have a html page converted to text format. I need to parse the url's present in that file. I got all the url's but I want to extract only a specific url i.e., url in the anchor tag e.g., like <a href = "http://www.java.sun.com"> Java </a> In