Track inbound ALEAUDs for the outbound DESADVs

hi all,
I am send an outbound DESADV by triggereing an output type on the delivery.
I can track the outbound idoc for the delivery uisng NAST entries.
Now i get the inbound ALEAUD( an acknowledgemnet for the outbound DESADV). The inbound idoc contains the delivery no that was sent.
Programatically searching an inbound idoc with the delivery no takes more time as delivery no is not any key field in the idoc, it is avialble as sdata.
My question is , programatically is there any way of tracking the ALEAUD and DESADV for a particluar delivery?
Regards,
Chandan

Hello Chandan
If I remember correctly then the ALEAUD IDoc sets a specific status record in the DESADV IDoc (cannot remember which one).
Thus, if you want to select for outbound deliveries that have not yet been confirmed search for DESADV IDocs where this status is missing (or the other way around for confirmed DESADV where this status record is there).
Regards
  Uwe

Similar Messages

  • Creation of Inbound Idoc for the Outbound Idoc in same client

    Hi,
    My requirement:
    Whenver an PO is created an Outbound IDOC is generated in system ABC with client 100.I want to pass this IDOC data to create an Inbound Idoc for Sales Order(SO) in the same client.
    It would be helpful if anyone can answer on how to Transfer the Outbound Idoc after it crosses the port.
    I found there is a field for function module in WE21,can this be used to get the requirement done.
    Please suggest.
    Regards,
    Amar

    Example of a program that create and post an inbound idoc....maybe that will help you:
    report  zzinbound_idoc.
    data: g_idoc_control_record like edi_dc40 occurs 0 with header line.
    data: g_edidd like edi_dd40 occurs 0 with header line.
    data: g_e1bpache09 like e1bpache09.
    parameter: mode type c default 'A'.
    refresh: g_idoc_control_record, g_edidd.
    clear:   g_idoc_control_record, g_edidd.
    *-Build Control Record -*
    g_idoc_control_record-mestyp  = 'ACC_DOCUMENT'.   "Message type
    g_idoc_control_record-idoctyp = 'ACC_DOCUMENT03'. "IDOC type
    g_idoc_control_record-direct  = '2'.              "Direction
    * Receiver
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-rcvpor = 'SAPDE2'.     "Port
        g_idoc_control_record-rcvprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-rcvprt = 'LS'.             "Partner type
    g_idoc_control_record-rcvpfc = ''.               "Partner function
    * Sender
    g_idoc_control_record-sndpor = 'A000000002'.      "tRFC Port
    case sy-sysid.
      when 'DE2'.
        g_idoc_control_record-sndprn = 'IDOCLEGACY'. "Partner number
    endcase.
    g_idoc_control_record-sndprt = 'LS'.             "Partner type
    g_idoc_control_record-sndpfc = ''.               "Partner function
    g_idoc_control_record-refmes = 'Customer clearing'.
    append g_idoc_control_record.
    *-Build Idoc Segments -*
    *---E1KOMG
    clear g_edidd.
    clear g_e1bpache09.
    g_edidd-segnam               = 'E1BPACHE09'.
    g_edidd-segnum               = 1.
    move g_e1bpache09 to g_edidd-sdata.
    append g_edidd.
    *-Create idoc -*
    *-Syncronous
    if mode = 'S'.
      call function 'IDOC_INBOUND_SINGLE'
        exporting
          pi_idoc_control_rec_40              = g_idoc_control_record
    *     PI_DO_COMMIT                        = 'X'
    *   IMPORTING
    *     PE_IDOC_NUMBER                      =
    *     PE_ERROR_PRIOR_TO_APPLICATION       =
        tables
          pt_idoc_data_records_40             = g_edidd
        exceptions
          idoc_not_saved                      = 1
          others                              = 2.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    *-Asynchronus
    else.
      call function 'IDOC_INBOUND_ASYNCHRONOUS'
        in background task as separate unit
        tables
          idoc_control_rec_40 = g_idoc_control_record
          idoc_data_rec_40    = g_edidd.
      commit work.
    endif.
    write: / 'Well done!'.

  • Picking list output in VL70 for the outbound deliveries picked via WM

    Hi Experts ,
              How to take Picking list output in VL70 for the outbound deliveries picked through transfer Orde(WM).
    Generally, we ll genreate picking list in VL70 directly giving from the outbound delivery. Then , system wll confirm the Picked quantities along with the Print out in deliveries as per the configuration done in OVLT..
              In this case , how to take the Picking list in VL70 ? Pls give your advice on this..
    With Regards
    S.Siva

    hi,
    this is to inform you that,
    use - LX21 for this purpose.
    hope this clears your issue
    balajia

  • Creating inbound delivery for the purchase order line items

    Hi Experts,
    Please let me know how can I create inbound delivery for the purchase order line items?  Say, I have a purchase order with 5 line items in it.  I wanted to create an inbound delivery for only 2 line items at this point of time.  Which SAP Standard transaction I have to use and what all  data I need to populate?  I would appreciate any help on this and will reward the right answer.  Please let me know.
    Thank you in advance.
    with regards,
    Muthu Ganapathy.

    Hi,
    While creating the inbound delivery (VL31N), intially all the items will be shown, see the advance shipping notfication - from the vendor for which he has send confirmation & rest items you can delete simply & save. & next time when the vendor sends rest advance shipping notifcation (confirmation), you can receive them.
    Hope this answers your query.
    Regards
    Irfan.

  • I can't  post goods issue for the outbound delivery

    I select the indicator of GI via delivery in transport block via TCODE OPKP and assign the production profile to the work schedule view of the material master.then I create a production order for the material and release it.I do the wm material staging for the producion order via TCODE LP10,An outbound delivery was created automatically and the movement type is 261.then I pick for the delivery and confirm the transfer order.When I do the post goods issue there is a error message .
    E M7 226
    Update control of movement type incorrect (entry 261 X X _ _ _ V )
    then I see the onlinehelp,I find the configurations are ok.
    the content is following in table t345.
    werks  supply area  material staging indicaor  
    1000   PVB 1310WM     1                         1   wmpp   10000

    Please kindly refer to the attached notes below :
    523509     FAQ: Control tables (no Customizing)
    161729     M7226 with KZVBR=V
    Hope this helps.

  • TS1424 Purchased an album one or more records does not play all the way through. A 13 minute track only plays for the first 3.05 minutes and then stops and the program locks up. Larry

    I just purchased a album and one or more of the tracks does not play all the way through. One track which is a 13 minute track will only play for the first 3 minutes. Larry

    Delete the songs from your iTunes library and redownload them by clicking "Purchased", under Quick Links at the top right of the iTunes store.
    Download past purchases:
    http://support.apple.com/kb/HT2519
    If this doesn't work contact iTunes support here:
    http://www.apple.com/support/itunes/contact/

  • Why doesn't my iTunes Library list any  track info.  for the CDs I burn?

    I've bought a new PC and after setting up iTunes i began to copy my CD library back into my new iTunes library on my new computer.
    But when I copy a CD now the only album information that copies is "track 1" "track 2" "track 3" etc. No song titles, no artist names, no album names. No album covers. All of this information was automatically copied from the same CDs on my old computer with a slightly older version of iTunes.
    What's wrong? How can I fix this?

    Are you reimporting the CDs themselves or are you copying over the files from the old computer? I assume the latter.
    If you are copying over the old files from the old computer, what format where they imported as? My guess is that you used AIFF or WAV files? If so, that is the problem. WAV and AIFF files can not store info like artist, track title, etc. like you can with MP3 and AAC files. Instead the iTunes database file (the .itl file on a Windows machine) keeps track of that stuff. If you move the WAV or AIFF files, that information is lost/disconnected.
    Try this and see if it works. Pick all the tracks from an album and then use the Get Track Info command. Since they were originally imported by iTunes, it may work and fetch the proper information.
    Patrick

  • How to get the inbound idoc for the newly created inbound Idoc FM

    Hi,
    I have created a new function module to process the Inbound idoc.  I need to have a idoc to check my function module, whether it is working fine or not.  How I can get the data.  Do I need to have the idoc from the partner ?  Please help me ASAP.
    Thanks,
    sreenivas.

    Hi Sreenivas,
    Go to WE19 and get any of the your present idoc  with the idoc type
    then go to BD20...execute the same idoc...and there you can create the IDoc, and process the same with the Inbound function module tab..( give the FM you are using as the process code.)
    from there you can do the debugging aswell of that FM
    Thanks

  • Split inbound payload for synchronous outbound DB Adapter

    Hi,
    I am trying to find out if there is a way to split the output payload which we get as part of a select query on DB adapter ?
    Say, i use DB adapter to query on a condition and expect it to return 10,000 rows.
    Instead of db adapter returning me a single xml payload with 10,000 records, i want it to split into 10 xmlpayload of 1000 each. I plan to use ESB for this. There is some provision to set maxrows n max trans size for polling but couldn't find nething for selects and even these were for internal DB operations. I am targetting to reduce middleware xml load.
    Would appreciate if somebody could guide me on this.
    Thanks in advance

    AFAIK there's no default setting for this. However, you can create your own custom SQL query in the DB adapter wizard. Within this query you could limit the result set.
    HTH,
    Bas

  • Where to Authorization check for the plant while creating outbound delivery

    Hi Experts,
    For outbound delivery , the standard program is not doing the authorization check .
    Can i use BADI       *LE_SHP_DELIVERY_PROC *        and the method :     DELIVERY_FINAL_CHECK
    To write Authority-check statement ,
    If the particular is not authorized for any of the plants of the items in the outbound delivery i will throw a error message
    Can i use as above?
    And if i use it has to apply only for outbound delivery?Because for inbound delivery also the same BADI is getting triggered?
    Please suggest.
    Regards
    Ramakrishna L

    Hi,
    Yes you can use the said BAdi and the method if it is triggerd before the SAVE of the Outbound Delivery Order to do the Authorisation Check. In case the code is triggered for all the orders and you want only to restrict for the Outbound Delivery, then check for the Delivery Type (LFART) from the Delivery Header table for only the Outbound Delivery Order.
    Thanks,
    Susanth Swain

  • Idoc used by CRM to post the outbound delivery in R/3 while saving the sale

    Hi,
    Can any one tell me …which idoc (from the r/3 system) the crm system calls while creating a inbound delivery for the sales order created in crm.
    I am having fields like ‘Transaction Type’, ‘Ext. Reference cust’, ‘Delivery Control’ etc…which are there in the CRM.These fields need to copied to the R/3 in the tables LIKP and LIPS.
    The process of creating the outbound delivery is automatic means when a sales order is created and saved in CRM ,the delivery is created in the R/3 (note: the order is not moved to r/3 ..Only delivery is created).
    I need the idoc which is used by the CRM system to post the outbound delivery and any badi ….so that I can extend the idoc segments and use the badi to populate the data.
    Need your inputs on this.
    Thanks in advance.
    Regards
    Shafath

    Hi All,
    For this requirement IDOC's are not used.Bapi is used.
    The BAPI ‘BAPI_DELIVERYPROCESSING_EXEC’ will be enhanced to add the new fields into the BAPI structure.
    The BADI ‘/SPE/BAPI_DLVEXEC_EX’ and the user exit ‘EXIT_SAPLV50R_CREA_001’ will be used to populate the data into the new fields created in the BAPI structure and the new fields added into the tables LIKP and LIPS.
    Regards
    Shafath

  • Inbound Delivery For Scheduling Agreement Lines using LSMW

    Hi,
    We need to create inbound deliveries for scheduling agreements. Our scheduling Agreements are too big with 200 lines. But the vendor used to send only few discrete lines in his ASN. Is it possible to create inbound deliveries for the Scheduling agreement using LSMW? Is there any standard BAPI or IDOC available to handle this in LSMW? Has anyone done this before?
    Our requirement is as follows.
    1. Create Inbound Delivery for few lines of the Scheduling Agreement
    2. The delivery quantity of the inbound delivery will be a partial quantity of the Scheduling Agreement
    3. Materials are batch managed and the batch number for each inbound delivery item need to be captured.
    4. Vendor's ASN Number and its item number need to be captured at inbound delivery header and item level respectively.
    Note: Delivery Schedule of the Scheduling Agreement is not used in the above scenario.
    If you have any input, it will be really appreciated.
    Regards,
    SP0526

    Hi,
    You can give your scheduling agreement number in the field Purchase Order.
    If you want select from the list, you can click on PO tree (just under create inbound delivery). There selet document category as "L". You will get the scheduling agreement list.
    Regards,
    Prabu

  • HU Error-While posting the PGI against the Outbound Delivery

    Hello,
    I am facing the issue,when posting one PGI against the outbound delivery.The error is as below:-
    " Negative stock: 8,000 material: 51238495FA on HU 00233034307019924815"
    The error message detail is :-L9-604"
    Could you please let me know,how we can overcome this issue.
    An earliest response would be appreciable.
    Thanks
    JP

    Have you completed TO and ITs confirmation process for the outbound DElivery ?.If yes then if you are using warehouse managed material then check the stock in LS26  it should be 916 location and then check the handling unit stock.
    Check the Handling unit status is 01 status or  some other status.If it is 01 then definatly sytem will allow you PGI.Check your HU history is your delivery is final document or not .It seems some mismatch with delivery qty and handling qty in your case.

  • To track which line item the billing plan date changed.

    Hi All.
    I have a requirment of tracking changes done for the billing plan date and whenever i change the billing plan date it will be reflected in the FPLA table. But i was not able to track to which line item of the subscription/order the billing plan date changed.
    In the FPLA table there is a relation to the VBELN(subscription/order) only not POSRN(line item) is there.How can i track to which line item it got changed.
    Thanks for your help.
    Thanks,
    Neslin.

    Hi,
    There should be entries in FPLTC for FPLNR found in table FPLA. Try from SE16, enter FPLNR preceded by zeros so that the total length is 10 and execute.For example,  FPLNR is 10, enter 0000000010.
    Hope it helps.
    Regards,
    Nupur

  • Can we edit SOAP Header for an Outbound ABAP Proxy message?

    Hi,
    Can we add some information such as dynamic configuration to the SOAP header for the outbound ABAP Proxy from ABAP report in SAP Application System?
    Regards,
    Praveen Gujjeti.

    Hi Praveen, have you found soulution for this? Can you share it with me?
    From here http://help.sap.com/saphelp_nw70/helpdata/EN/d6/49543b1e49bc1fe10000000a114084/content.htm
    The help described that:
    Set logging in the message header. This means that this message is logged even if logging is deactivated explicitly in the configuration. The logging information is part of the message header:
    ¡        <SAP:Logging>1</SAP:Logging>
    Activates logging explicitly.
    ¡        <SAP:Logging>0</SAP:Logging>
    Deactivates logging explicitly.
    So it means that we can edit SOAP header for outbound ABAP proxy. But i haven't find the correct method to do that.

Maybe you are looking for

  • Upgrading to OSX 10.3..5

    The situation is as follows I am currently running 9..0.4...I havve just installed more memory 512MB and I want to go from 9.0.4 to OSX 10..3.5 When I tried to run 10..3.5 it said I needed to update Firmware. I went to some earlier posts I had done a

  • Hyper links not working in SQL Query in Version 1.6 using htf.anchor

    hi All have written a sql query to generate a hyperlink with htf.anchor and not able to generate the links for the same following is the query: select HTF.ANCHOR('F?P=119:1:'||:APP_SESSION,'ADMIT =>') ||COMPANY_NAME AS "AUTHORIZED VISITORS" from comp

  • OS X doesn't reconnect to wi-fi after put to sleep.  Have to manually attach

    After getting the latest OS X update, my IMac stop attaching to my wireless network automatically.  I have to step thrrough the diagnostic to get it reattached.  Any ideas? Thanks! Don

  • Contains Area and Shape method

    Hi, I've some problems with the "contains" method of the Area class in java.awt.geom...the problem is that the boolean value from this method is always false for me.. This is the code for a shape object, but the same is for an area object. Thank you

  • Blue Lips With HP 7520

    I continue getting blue lips on many (not all) printed photos.  I've tried new ink, new paper, new memory card, new camera, and cleaning print head all with no success.  I need help.