IDOC: Number sequence

Hi
Can anyone tell me why my idoc numbers are not generated in sequence?
0000000000215190     08:16:01
0000000000216399     08:18:28
0000000000215191     08:18:31
0000000000218015     08:37:15
0000000000216400     09:21:41
0000000000218016     09:25:52
0000000000216401     09:27:59
0000000000218017     09:50:42
0000000000218018     10:04:58
0000000000218019     10:06:37
0000000000215192     10:16:47
0000000000216402     10:19:07
0000000000216403     10:25:16
0000000000216404     10:28:42
0000000000216405     10:28:43
0000000000216406     10:28:43
0000000000216407     10:28:43
0000000000216408     10:28:43
0000000000216409     10:28:43
0000000000216410     10:28:43
0000000000216411     10:28:43
0000000000216412     10:28:43
0000000000216413     10:28:43
0000000000216414     10:28:43
0000000000216415     10:28:43
0000000000215193     10:29:05
0000000000215194     10:29:12
0000000000215195     10:29:13
0000000000215196     10:29:16
0000000000215197     10:29:18
0000000000215198     10:29:19
0000000000215199     10:29:24

Are these entries from EDIDC table or From tcode WE02/WE05.
But what about the IDOC status of these?
The sequence is okay but what is the status of the same IDocs is it 53, or 64 or 51
You need to tell us this info also .
See the conclusion is many of the idocs are not processed and at the same time <b>if more than one message type is handled</b> then sequence is definitely not in scope right.
i may generate a sequence of say some 30 idoc's with status 64 which are not processed at all but still the system allocates an Idoc number .
regards,
vijay

Similar Messages

  • IDOC Number Sequence Disturbed and Need to Reset by Increment - HELP Reqd

    Hi Readers,
    I need your Help / Expert Advise.  We are in the process of Upgrading our SAP R/3 System to 64 Bit R/3 System on XP Server.  We did take the existing production Image to do our testing.  Unfortunately, we see that the Outbound IDOC Sequence got disturbed and we see difference of 1000.  Ex:  1454004 and next 1455004, 1456005 and so on. 
    Did anybody happened to face such problem ?  And any of you know how to fix it.  I did try to see that SAP Transaction OYSN but no use.
    Any help is appreciated.  Let me know on any solutions.
    Outbound IDOCS affected with this.  Inbound seems OK.
    I have downloaded the WE05 IDOC results in XL Format and pasting it here for your ref. 
    <h6>IDoc Number     Segments     Status     StatusGrpg     Partner     Basic type     Time     Messg.Type     Direction     Port     Date
    0000000001456004     000007     03     @08@     LI/LF/0000307136     DELFOR01     13:13:31     DELINS     Outbox     EMDEDIALE     01/15/2009
    0000000001457004     000042     03     @08@     KU/AG/0000000067     ORDERS03     14:08:49     ORDRSP     Outbox     EMDEDIALE     01/15/2009
    0000000001458004     000042     03     @08@     KU/AG/0000000067     ORDERS03     14:17:51     ORDRSP     Outbox     EMDEDIALE     01/15/2009</h6>
    Thanks
    Venkat

    Ah yes !
    Sorry.
    do
    shutdown normal
    startup mount
    recover database until cancel;
    alter database open resetlogs;You have to "simulate" an Incomplete Recovery (or do a real Incomplete Recovery) before Oracle allows an OPEN RESETLOGS. A SHUTDOWN NORMAL ensures that you really really do not need the Online Redo Logs. So the RECOVER DATABASE UNTIL CANCEL simulates an Incomplete Recovery.
    See http://hemantoracledba.blogspot.com/2008/11/open-resetlogs-without-really-doing.html
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

  • Idoc posting sequence

    Hello Guys,
    I am using RBDAPP01 program to post Idoc in the background, I am seeing in the spool that Idoc are processed ine jeopardized sequence. Is there a simple way to have the idoc processed in the Idoc number sequence ?
    I have read about serialization but I understand that it implies both the sending and receiving system and In my case it would be hard to changes anything in the sending system. Is there smething that I can do on my side ?
    Does the packet size can have any effect on that ?
    Best Regards, Manuell

    Hi,
    Try to setup queue on XI side using delivery Modes in BPM for your scenario.
    Just have a look at this blog (Case 1) :
    Delivery Modes in BPM
    /people/milan.thaker/blog/2008/07/04/delivery-modes-in-bpm
    Regards,
    Chandra

  • IDoc - Incorrect Number Sequence

    Hi,
    I have created a custom IDoc and sending it to 2 different SAP boxes. This has been triggered every half an hour interval. But my problem is IDoc numbers are not in proper sequence
    Below find the screen image of WE02.
    Here you see the IDoc No. 42202 created on time 10.20 and IDoc number 43004 created on 10.34 and IDoc No. 42203 created on 10.50
    |     IDoc Number|Segments|Status|StatusGrpg|Partner      |BasicType|Date      |Time    |Messg.Type|Direction|Port   |
    |0000000000042200|      28|03    |          |US/  /TP1    |Y101     |06/01/2007|09:50:32|Y101      |Outbox   |TP1    |
    |0000000000042201|      42|03    |          |LS/  /AP1    |Y101     |06/01/2007|10:20:31|Y101      |Outbox   |AP1    |
    |0000000000042202|      26|03    |          |US/  /TP1    |Y101     |06/01/2007|10:20:31|Y101      |Outbox   |TP1    |
    |0000000000043004|   18593|03    |          |US/  /TP1    |Y101     |06/01/2007|10:34:24|Y101      |Outbox   |TP1    |
    |0000000000042203|      14|03    |          |LS/  /AP1    |Y101     |06/01/2007|10:50:31|Y101      |Outbox   |AP1    |
    |0000000000042204|       8|03    |          |US/  /TP1    |Y101     |06/01/2007|10:50:31|Y101      |Outbox   |TP1    |
    |0000000000042205|       7|03    |          |LS/  /AP1    |Y101     |06/01/2007|11:20:31|Y101      |Outbox   |AP1    |
    I have checked the Number range object EDIDOC,  "No. of numbers in buffer" is mentioned as 1000.
    incorrect sequence of IDoc numbers is created due to this?
    How to correct this ?
    Thanks
    aRs

    Don't change standard settings.
    1) What happen if you try small files, this happens only to huge segments.idoc:43004(18593 segments) is huge file.
    2) What happen if you trigger same idocs again.If you didn't try can you please try again and check.If say thing occurs than i guess that's the standard functionality of
    buffering.
    Again this issue is very instresting to me. I never faced this probem.
    If you get solution please update.
    Thanks,
    Narayan

  • Message with IDOC number, created by LSMW, missing in job log in SM37

    Hi gurus,
    We have a temporary interface which uses LSMW to create IDOCs and update in SAP. It's used for materials, BOMs and document info records. In LSMW we have defined standard message types MATMAS_BAPI, BOMMAT and DOCUMENT_LOAD for the IDOCs. All these have the same problem.
    A background job runs and starts LSMW. In the job log in SM37 I want to see which IDOCs were created. For some reason this is different in my development system and my test system, and as far as I know all settings should be the same. In the test system LSMW creates more message lines in the job log, than it does in the dev system. Message number E0-097 is "IDOC XXXX added", and this is missing in the dev system.
    This is what it looks like in the dev system:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW   509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW   502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW   513    I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')       /SAPDMC/LSMW  516    I
    And this is what it looks like in the test system. More information, which is exactly what I want in dev system too:
    Data transfer started for object 'MATMAS' (project 'X', subobject 'Y')             /SAPDMC/LSMW   501    I
    Import program executed successfully                                                             /SAPDMC/LSMW  509    I
    File 'XXX.lsmw.read' exists                                                                               /SAPDMC/LSMW  502    I
    Conversion program executed successfully                                                    /SAPDMC/LSMW  513    I
    File 'XXX.lsmw.conv' exists                                                                              /SAPDMC/LSMW   502   I
    IDoc '0000000002489289' added                                                                      E0                         097   S
    File 'XXX.lsmw.conv' transferred for IDoc generation                                      /SAPDMC/LSMW   812   I
    Data transfer terminated for object 'MATMAS' (project 'X', subproject 'Y')      /SAPDMC/LSMW   516   I
    In both cases the IDOC is created and update works fine.
    My only issue is that I can't see the IDOC number in the dev system. I know I can get the IDOC number in WE02, but in this case we have program logic which reads the job log to be able to check IDOC status before sending OK message back to the other side of the interface.
    I hope any of you can have an idea how I can update somewhere to get message E0-097 with IDOC number into the log.
    Regards,
    Lisbeth

    Hi Arun,
    If you want to show your messages in the job log you have to use the MESSAGE statement. In case you use WRITE statements an output list be created which can be found in the spool (there is an icon to go to the spool directly).
    Regards,
    John.

  • IDOC number is not in the list

    Hi,
    I am creating an inbound delivery using IDOC. The message type is DESADV and basic type is DELVRY01. After I have populated the control and data tables, I processed them using IDOC_WRITE_AND_START_INBOUND. I have generated the IDOC number after executing the program. The problem is, when I go to WE02, the idoc number is not the list. I am not sure if the IDOC I generated is successful or not. Does it have something to do with the FM that I used. I set a custom process code that will call the FM IDOC_INPUT_DESADV1. Please advise. Thanks in advance.
    Lalyn

    Hi Arun,
    Thanks for the reply. But the IDOC number is not in the list and I can't access it WE19. Do you have any other Function module that I can use to process the IDOC in ABAP? The Function module should be the one to call the FM IDOC_INPUT_DESADV1 to create an inbound delivery. That's what I think causes the error. Thanks.
    Lalyn

  • Finding out Idoc number of the Invoice List

    Hi!
    how to find out Idoc numberr if I have number of Invoice List?
    For example, I have number of Invoice List for checking it in tcode VF22, but how to get Idoc number of the Invoice List in order to check it in WE02?
    Will reward,
    Mindaugas

    Hi,
         Use NAST with the invoice to get the latest record for that output type..
    use the table CMFP to get the IDOC number..The combination is
    NAST-CMFPNR = CMFP-NR..
    Then in the column CMFP-MSGV1 you can find the idoc number
    <b>Reward points</b>
    Regards

  • Standard Report with IDOC Number and PR number

    Hi
    My client need the Standard report with the combination fields of "  Purchasing Number , Requirements tracking number in PR,
    IDOC number , IDOC Processing status. "
    (Our PR will generates through IDOC from other system via XI interface)

    Hi Nagendra,
    for   Purchasing Number , Requirements tracking number in PR you can use -ME5A
    Purchasing Number-EBAN-BANFN
    Tracking number goto- MELB.
    table name-EKPO
    for  IDOC number , IDOC Processing status -we09
    For IDOC number -EDID4-DOCNUM
    IDOC Processing status-EDIDC-STATUS
    Regards,
    Krishna.
    Edited by: kris_hna on Sep 8, 2011 1:14 PM
    Edited by: kris_hna on Sep 8, 2011 1:19 PM

  • How can we find the Idoc number which posts the material document in SAP

    Hi All,
    How can we find the Idoc number which posts the material document in SAP. We could not able to find the IDOC number from the material document which was posted by Idoc.
    Thanks
    Chandru

    Hi,
    In MIGO you can go to service of object(Just above show overview) and check 5th option workflow you will find the idoc number.
    regards
    suresh

  • Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number

    Hi,
    I'm attempting to create a simple interface which converts cutomer data from a flat file and loads it into a SAP enterprise system as an DEBMAS06 IDoc type. I am getting the error message Error - ATTRIBUTE_IDOC_METADATA - EDI: Error while assigning IDoc number in the XI message monitor.
    Has anyone come accross this error before and if so, what is the resolution???
    Thanks, in advance,
    Pete

    Hi Peter,
    did you fixed it?
    How did you?
    got the same problem
    Kind regards,
    Michael

  • Error: EDI: Error while assigning IDoc number

    Hi Everybody,
    using XI 3.0 on Linux 64 bit SLES9 with Oracle I got some probleme sending messages from mq series to sap:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Call Adapter
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30"
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:mustUnderstand="">
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
    <SAP:P1>EDI: Error while assigning IDoc number</SAP:P1>
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="" />
    <SAP:Stack>Error: EDI: Error while assigning IDoc number</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    What is missing here?
    Kind regards,
    Michael

    Hi Jayakrishnan,
    thanks a lot for your answer.
    SM59 is working finde. In IDX1 I got the the correct RFC destination entered and a double click works fine also.
    The other way around R3 -> XI -> mq series is working fine. Here we are trying mq -> XI -> R3 and it stops sending from XI to R/3.
    How to check the IDOC type?
    Regards,
    Michael

  • IDoc to File - IDoc number : Variable substitution in File Adapter

    Hi,
    I have an IDoc to File scenario. I want to use the IDoc Number as part of the target filename (using variable substitution) in the File Adapter. However, the target flat file does not have a field where I can store the IDOC number. I know the IDoc number is also stored in the message header ( under the IdocInbound tab), but is there any way I can access this in the variable substitution?
    Failing this, if I have the Idoc number in the target XML, is there any way I can skip it in the flat file generated?
    example...
    XML looks like this...
    <Root>
    <Record>
       <IdocNum>99999</IdocNum>
       <HeaderRecord>
       </HeaderRecord>
       <LineRecord>
       </LineRecord>
       <LineRecord>
       </LineRecord>
    </Record>
    </Root>
    But the flat file should be..
    HeaderRecord...
    LineRecord...
    LineRecord...
    Cheers
    Manish

    Hi Chandra,
    Thanks for this
    But this is standard stuff that is detailed in SAP help files (http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm)
    What I was looking for was in Sravya's blog (refer the earlier entry).
    Thanks anyway
    Cheers
    Manish

  • Get IDoc-number from flat IDoc using dynamic configuration

    Dear experts
    In an IDoc2File scenario I have added the IDoc-number to dynamic configuration using the folling code in an UDF:
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey FileName = DynamicConfigurationKey.create("http:/"+"/sap.com/xi/XI/System/File","DOCNUM");
    conf.put(FileName, a);
    The information is stored in the SOAP message
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="DOCNUM">0000000000012345</SAP:Record>
    </SAP:DynamicConfiguration>
    Can anybody tell me how I can access this information in the "variable substitution" section of the CC? Perhaps something like "message:docnum"?
    Additional information:
    Taking the IDoc-number from the payload using e.g. "payload:ORDERS05,1,IDOC,1,EDI_DC40,1,DOCNUM,1" does not work, since the XML-IDoc has been converted to an flat-IDoc.
    Thanks in advance for any good ideas
    Markus

    Dear Rodrigo and Sarvesh
    Thanks for your help so far! I applied your hints and now it is working fine.
    But now I have the following additional questions
    1.) My message mapping only maps the input IDoc to an output IDoc of the same type and structure. The MM is only required to process the UDF. Is there another, better solution to achieve my requirement that the IDoc-number shall be part of the filename?
    2.) In the CC you have the possibility to use temporary files (section "Processing", Option "Put File" = "Use Temporary File". I think this will not work with the given solution, will it?
    To possibly help somebody else or clarify the mechanism once again, I wrote down how my solution now looks like.
    My UDF in the message-mapping looks like this
    - Input = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - Outpt = DOCNUM of IDoc, e.g. ORDERS05/IDOC/EDIDC/DOCNUM
    - UDF:
    public String putDynamicConfiguration(String docnum, Container container) throws StreamTransformationException{
    try
         DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
         DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
         String filename = "Prefix_" + docnum + ".txt";
         conf.put(key, filename);
         return docnum;
    catch (Exception e)
         return docnum;
    In the CC the settings are now as follows
    File Name Scheme = . -> only a dot or something else, because this field is obligatory, even if it is not used in this case.
    Variable substitution (...)
        Enable -> unchecked
    Adapter-Specific Message Attributes
        Use Adapter-Specific Message Attributes -> checked
        Fail If Adapter-Specific Message Attributes Missing -> checked
        File Name -> checked
        Directory, File Type, Temporary Name Scheme for Target File Name -> unchecked
    When I send an IDoc to PI and view the Adapte-Engine Version of the message (the SOAP-document, not the payload) I can find the Filename:
    <SAP:DynamicConfiguration SOAP:mustUnderstand="1">
    <SAP:Record namespace="http://sap.com/xi/XI/System/File" name="FileName">Prefix_0000000000012345.txt</SAP:Record>
    </SAP:DynamicConfiguration>

  • Finding message in SAP Business Connector with IDoc number

    Hi Experts,
    Since there is no separate forum for Business Connector, posing my question here.
    Does anyone have idea how we can find a message in SAP Business Connector if we know the source IDoc number, the same way we use IDX5 in PI.
    Thanks,
    Dhawal

    AFAIK there is no simple way.  What I usually do is compare timestamps. The Idoc is usually processed on the B.C. within the same minute.
    We only have up to 10 Idocs within one minute and I do not have to search every day. So it works for me.

  • How do I remove a number sequence using batch rename

    Hi
    I know I've done this in the past but cannot seem to work it out today.
    I have a series of images "_####_[layercompName].png".  I would like to remove the underscores and numbers.  The underscores removal is easy, but how do I remove the numbers (####) when they are different for each filename?  I would like the end result to be [layercompName].png
    The reason I have these filenames in the first place is that I have run the photoshop script "layer comps to files", and this adds a number sequence prefix.  I have tried to alter the script following various instructions I've found from trawling the internet (this one included How do you remove the number sequence when exporting layer comps to files? CS6. Windows 8.) but without any luck.  So now I'm resorting to batch renaming in Bridge.
    Thanks!

    Here you go, taken straight from: DesignEasy: How to Remove Sequence Numbers and Empty Spaces When Exporting Layers and Layer Comps
    Run Adobe Bridge and navigate to the folder with exported files.
    Select all files which have sequence numbers.
    Go to Tools > Batch Rename.
    Choose: String Substitution from the first drop-down list in New Filenamessection. From the second drop-down choose: Original Filename. In the Find: text field type: _\d{4}_ (underscore, backslash, letter d, open bracket, number four, closed bracket, underscore). Leave Replace with: text field blank. Ensure that you have Replace All and Use Regular Expression checked as shown on the screenshot below.
    Click on the Preview button in the top right corner and ensure that files will be renamed as you want.
    Click on Rename button and you are done.
    In case you are first time doing this and you still have doubts if everything will work as expected, check Copy to other folder option when renaming files. This option is located near the top left corner under: Destination Folder.
    Another thing I want to mention is to remove everything that you have below String Substitution options. In case you see additional renaming options just click on minus (-) sign on the right side to remove them.
    How to remove/substitute empty spaces in the file name using Adobe Bridge
    It is pretty similar process. The only difference is that you should type: \s (backslash followed with letter s) in the Find: text field. You can leave Replace with: text field blank or to type underscore.

Maybe you are looking for

  • Trying to create package and do not understand error message

    What is wrong with this statement. Its say ASH411APPROVALEMAIL_PKG is not declared. I am trying to create it. Whats wrong? ERROR MESSAGE I get the following error. Error at line 1: PLS-00201: IDENTIFIER 'ASH411APPROVALEMAIL_PKG' must be declared1. CR

  • Deleting old events

    I imported a lot of old events from Palm Desktop and want to delete everything more than a year old. But ical won't let me change the default for deleting old events from "more than 30 days" which is much too short a period for me. I am losing NEW ev

  • Subject Area

    Hi, I ran a full load of HR Analytics Using DAC and EBS R1211 as Source System. My problem is that I dont have the payroll data in the EBS I am using, now they are giving me a different EBS in which I have payroll data but no demographic data, can I

  • Third party is sending IDOC (EDI_DC40 relevant?)

    Hi, I need to send an IDOC from a third party to an SAP system via XI. My problem is the first part: ThirdParty->IDOC. Now I have done the following steps: - RFC connection between Third party and XI works fine - define Third Party as busines system

  • Having trouble accessing media in Verizon Cloud.  Any tips??

    For the past month, I have been unable to download the pictures backed up via Backup assistant.  When they actually come up, they are NOT in chronological order.  That's a pain, but the bigger problem is that, every time I try to download a photo, I