IDOC number related to the delivery

Hi All,
I have issue regarding finding out IDOC related to a delivery.
When the output is processed for a delivery, idoc gets created. Now this idoc number gets stored in the EDIDC table. In delivery one can get the related idoc number by checking the processing logs for the output type.
Is there any specific FM which can give me the idoc number of the latest processed output type for that delivery. I have delivery number and output type.
Thanking in advance.
Regards,
Shahu

Hi..
I think need to add further to my question.
I have an interface progra in which I am sending IDOC details related to the delivery.
Now in this interface program, I have delivery no and the processed output type. Using this how can get the IDOC no. I cannot go to EDIDC to get the idoc no as it will be performance intensive or to any transaction. I need to code here to somehow get the idoc number using this delivery and output type.
I am trying the following approach but could not implement it so far.
In delivery is I go to header>output>check the processed output type -->processing log --> the idoc number  will be present in this log.
I am trying to code in the interface program to read this idoc number present in processing log.
Is there any way I can achive this.
regards,
Shahu
Regards,
Shahu

Similar Messages

  • 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

  • IDOC Number based on the output type

    Hi,
    I have a special requirement where in I need to find the IDOC number generated from the output type .
    I have the NAST details and the Invoice number and need to find the IDOC generated for the particular NAST entry.
    Is there any table or FM which gives this information in SAP.
    Please let me know.
    Regards
    Praneeth

    All,
    Solved myself.
    Used FM WFMC_PROTOCOL_GET to get the IDOC number based on the NAST value.
    Regards
    Praneeth

  • Get the Serial Number based on the  Delivery

    Hi Experts,
    I want to fetch the serial number based on the delivery number  and Item.
    If I see in the LIPS table we have the field like SERNR but we dont have data in that field.
    But in the VL03n transaction Serial Number exists for the same delivery.
    Please any one Suggest me Using which table we can fetch the serial number.
    Thnx ,
    Sam

    TABLES: RSEROB.
    DATA : S_LV_IRSEROB TYPE STANDARD TABLE OF RSEROB WITH HEADER LINE.
    *       S_LV_ORSEROB TYPE STANDARD TABLE OF RSEROB WITH HEADER LINE,
    *       WA_RSEROB TYPE RSEROB.
    CLEAR : S_LV_IRSEROB , S_LV_ORSEROB , WA_RSEROB .
    *LOOP AT ITAB_LT_ITEMS INTO WA_ITEMS.
      S_LV_IRSEROB-TASER   = 'SER01'.
      S_LV_IRSEROB-LIEF_NR = WA_ITEMS-VGBEL.---delivery no.
      S_LV_IRSEROB-POSNR   = WA_ITEMS-VGPOS.--delivery item
      APPEND S_LV_IRSEROB.
      CALL FUNCTION 'GET_SERNOS_OF_DOCUMENT'
        EXPORTING
          KEY_DATA                  = S_LV_IRSEROB
    *   STATUS_PRE_READ           = ' '
    *   EQUNR_CORR                = 'X'
        TABLES
          SERNOS                    = S_LV_ORSEROB
    *   SERXX                     =
       EXCEPTIONS
         KEY_PARAMETER_ERROR       = 1
         NO_SUPPORTED_ACCESS       = 2
         NO_DATA_FOUND             = 3
         OTHERS                    = 4.
    *  IF SY-SUBRC EQ 0.
    *    Loop at S_LV_ORSEROB INTO WA_RSEROB.
    *      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
    *  EXPORTING
    *    INPUT         =  WA_RSEROB-SERNR
    * IMPORTING
    *   OUTPUT        = WA_RSEROB-SERNR        .
    *      WA_ITEMS-SERIAL_NO = WA_RSEROB-SERNR(18).
    *      MODIFY ITAB_LT_ITEMS FROM WA_ITEMS.
    *    ENDLOOP.
    *  ENDIF.
    *ENDLOOP.

  • Idoc Number which posts the GR doc..

    Hi All,
    Please let me know how the incoming idoc number can be identified which posts the GR for a PO.
    Thanks
    Chandru

    Hi ,
    Go to MIGO display the document there you will get servicess for object icon ,Click that button then click display relashion ship icon.It will show you corresponding Idoc number.
    Regards,
    JS

  • 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

  • Is it possible to change an IDOC and save on the same IDOC number..?

    Hi all,
    I have an IDOC. When I processed the IDOC, it ended up with error status '51'. There was some problem with the data. So, I changed the data and reprocessed using the T-Code 'WE19' and it was processed successfully. When we reprocess the IDOC using 'WE19', it generates another IDOC number. But, the client is asking that, it should not generate another IDOC number. When we change the IDOC number, it should be saved under the same(ORIGINAL) IDOC number. Is it possible to change an IDOC and save under the same number..? Is there any transaction code to do so. Please give your valuable inputs.
    Thanks in advance.
    Thanks & regards,
    Paddu.

    Hi,
    You can use the transaction WE09..to edit the IDOC data...
    Then use the transaction BD87 to post the IDOC..
    Thanks
    Naren

  • TPSDLS idoc to be triggered only when deleting the delivery

    Hi,
    We have a requirement: We should be trigerring the TPSDLS idoc only when deleting the delivery in SAP. Currently, we generate the TPSDLS idoc when creating and deleting the delivery.
    The Changes we tried did not help us in anyway.As we are seeing deliveries created with no-output type linked to them and when deleting them, does not provide any TPSDLS idoc.Not sure, how deliveries are created without any output type assocaited to them and what could solve them.
    Any help would be appreciated.
    Thanking You,
    Anish Asokan

    a

  • Duplicate Outbound IDocs getting Triggered at the same time.

    Hi Folks,
    I have created custom outbound idoc and done all the configurations required like WE20, WE30, WE31, WE81, WE82, WE 41, WE57 etc.
    Also I have written my code to populate segments and then call MASTER_IDOC_DISTRIBUTE in the custom function module which is assigned to the process code and also done the configurations like we57 etc. for the same.
    Now when I trigger my output type from VL74 transaction, I noticed two entries in we02 resulting in two IDocs generated for 1 HU.
    The difference in two IDocs is the first IDoc getting generated in error with status 29. While the second one as success with status 03.
    The data records containing segments have same values for both the IDocs number.
    Whether the configuration is a issue here or problem in code of custom fm?
    Please help.

    Hi Anil,
    Appreciate your quick response.
    In my custom FM I have populated an internal table it_master_idoc_data with two records of two segments, containing segment name in SEGNAM filed and segment data in SDATA field. 
    Please let me know whether the data in this internal table of structure EDIDD sufficient for passing to MASTER_IDOC_DISTRIBUTE FM? Or do I need to populate any other field of EDIDD.
    Also I am exporting a structure master_idoc_control containing values in this 5 fields.
    MESTYP = Z message type, Z IDOCTP, partner and details in  RCVPOR, RCVPRN, RCVPRT fields.
    I am not populating the internal table communication_idoc_control while calling FM MASTER_IDOC_DISTRIBUTE from my custom function module.
    After executing MASTER_IDOC_DISTRIBUTE FM, when the control comes back to my custom FM there is one record in communication_idoc_control  internal table with IDoc number in DOCNUM field with status 29(error). Now when we check in WE02 there are two IDocs generated after this transaction's execution.
    The first one in error which FM MASTER_IDOC_DISTRIBUTE returns and second one in success with status 03.
    Please help....
    Thanks,
    Pravesh

  • Get ECC idoc number from PI

    Hi All
    IS there a way to get the IDOC number created in the ecc system from PI? A FM or something you can call the get the ecc idoc number?

    IDoc acknowledgements is the way to go.
    Configure ALEAUD and it should respond back with the IDoc number and what happened to the IDoc in SAP
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a6550507d11d18ee90000e8366fc2/frameset.htm

  • IDOC Number

    Hi All,
    Using a z program,does anyone know how to get the IDOC number generated using the sales order number. We have automatic output determination for this which generates the IDOC.
    This there a function module for this...
    Thanks in advance,
    Finbarr

    If you look at transaction WE09, you'll find a program that allows you to search IDocs based on data within segments.  Unfortunately, there is no direct link between order num and IDoc num.  If you are processing the ALE output immediately, you can use the order create date to help narrow down the selection from EDIDC.  If you are running RSNAST00 to process the ALE output, then you can select from NAST to determine approx date and time of IDoc creation.
    Once you pull EDIDC records by message type, date/time, you can run through EDID2(or EDID3, EDID4 depending on version) to find your order number.

  • Serial number entry after posting delivery doc......

    hi experts....
    we have a requirement in which in the standard sales cycle of Sales order->delivery document posting ( PGI)-> invoice billing  the client wants that serial number entry (which is done at the time of PGI) should be done after invoicing(at the end of the day) because as per the business practice of the client, its not practically feasible for the client to enter serial numbers at the time of selling the finished material. The client manually records the serial numbers on the invoice copy and enters the serial numbers for the respective invoices at the end of the day.
    Now while testing the client scenario we found that once PGI & invoicing has been done without entering the serial number for the material, the system does not accept any serial number assignment for that material after the completion of sales cycle.
    So is there any solution in which serial number can be entered for a material whose PGI and invoicing has been completed?
    Thanks & Regards
    Vikas Hali

    Hello,
    As you know the system may not allow to enter the serial number details in the delivery --> Extras --> Serial numbers field, once the delivery is completely PGI'ed and invoiced.
    But you may change the same in the table by debug mode. You need to update serial number in the material document in the table level also. Contact your ABAP expert, he may be able to guide you properly.
    Prase

  • Get idoc number of receiver system in a SAP-to-SAP scenario

    Hi,
    In a my custom program i create cremas idoc that i send to another SAP system to create the vendor in the second SAP.
    How can i do to get the inbound idoc number created in the receiver SAP to get and show its status in the sender SAP without to use the ALEAUD process?
    My scenario is SAP-SAP without anything between the two .
    Thanks lot.
    Matteo Vernile.

    Hi,
         Hi,
    The inbound IDoc is usually created by middleware system i.e. SAP XI, Gentran and etc.
    Once the IDoc created, you can use the inbound function module to post to the application. The function module is usually starting with 'IDOC_INPUT_xxxxx' where normally the xxxxx is the name of the IDoc message type.
    You can find the associated inbound process code/function module with the IDoc message type via transaction WE42.
    FM like IDOC_INBOUND_FROM_FILE...
    Check the Function module idoc_inbound_aysnchronous
    <b>Reward points</b>
    Regards

  • Populating Idoc number in Idoc header data

    Hello everybody,
    I want to know that is there any way exists by which we can fill the Idoc number generated in the IDOC itself i.e. we are generating IDOC from EDIDD and EDIDC tables and I have a requirement to populate IDOC number(which will be generated after the IDOC will be created) in one of the IDOC's segment. From my end I have no clue on this because we are trying to use the value (IDOC number) before it is being generated and hence help needed on this.
    Regards,
    Harsh.

    Hi Harsh,
    you can get your idoc number from the master_idoc_data table genretated by FM 'MASTER_IDOC_DISTRIBUTE'.
    edidc-docnum is your desired thing. you can pass this field in other segment.
    Regards,
    Pranay

  • Idoc number generation

    Hi All,
    How the Idoc number will be generated. Is it generates dynamically or do we need to give the Idoc number manually?
    While transfering Idoc, data is transfering successfully, but no Idoc number is found. Can u help me to generate the Idoc number/
    Urget plz...
    Regards,
    Chinna

    Hi,
    Idoc number will be generated dynamically by the system. no need to give the number manually.
    Idoc numbers normally resides in EDIDD,EDIDC,EDID4 tables and see the idoc number by entering the idco, message types, date which it is created .
    <b>Reward with points if helpful.</b>
    Regards,
    Vijay

Maybe you are looking for

  • Whitelist in Reader X doesn't work

    Hello everyone, Anybody can help me figure out this? I have a plug-in which will call functions in a DLL to invoke 3rd-party application's UI. It works in Reader 9.0, none-protect mode in Reader X. But it doesn't work in protect mode in Reader X. (He

  • Loading external movies differently

    I am making a web site with several pages that the content will load as an external movie. Right now I have all loading with the nav buttons "on release". The first page loads through one blank clip and the rest in another. What I would like to do is

  • My skype name is emarquit and my account has been ...

    My skype name is emarquit. Someone has taken over my account All calls and charges after August 19 are fraudulent Card begins with542e18 and end with 1985. I called my the bank issuing the card and they have cancelled it. On the Skype web site I clic

  • Can I set a thumbnail/icon preview for movies in Finder?

    I would like to set a certain frame from a video as the icon how it appears in Finder. So I can easily find the right video. I make .m4v videos. iMovie automatically sets the frame at 8 seconds into the movie. Can I change this?

  • Mail 2.1.3 crashes when checking for new mail

    This problem has been coming and going and now is permanent: Open mail, it checks for mail and crashes. I have deleted mail.plist from preferences but it has not helped. Can you help? The error report is: Date/Time: 2008-10-08 21:08:12.778 +0100 OS V