UPDATING THE OUTBOUND DELIVERY

Hi ABAP Gurus,
I have one urgent requirement as below,
   Outbound delivery gets updated/picked for the quantities as stated in the related inbound delivery via BAPI_OUTB_DELIVERY_CHANGE or WS_LM_GOODS_MOVEMENT , or WS_DELIVERY_UPDATE.
1.1.1.2.        Outbound delivery gets additional data as described in section .
                Required fields to be updated into the outbound delivery:
Source
Description
Target
Description
Specific
ZMM_EDI_CONF- ZFWNR
MAWB/OBOL number
LIKP-BOLNR
Bill of lading
Conf. type ‘1’
LIKP-TRAID
Means of Transport ID
LIKP-TRAID
Means of Transport ID
HAWB/FCR number
ZMM_EDI_CONF- ZCSBR
Broker reference
LIKP-LIFEX
External reference
Conf. type ‘2’
ZMM_EDI_CONF- ZCSDO
D.O. date
LIKP-TDDAT
Transportation planning date
Conf. type ‘2’
ZMM_EDI_CONF- ZCFTN
Trailer number
LIKP-TRMTYP
T.B.D.
Conf. type ‘3’
ZMM_EDI_CONF- ZFWVN
Vessel name
Text-ID Z060
Conf. type ‘1’
LIPS-LFIMG
Quantity
VBFA-RFMNG
Pick quantity
Please help me by sending th ecoding to how to update the outbound deliveries.

Got the solution.
Thanks.
Edited by: zamishaik on Jan 24, 2012 6:03 PM

Similar Messages

  • Goods Movement and Updation of outbound delivery.

    Hi,
    I am using BAPI_GOODSMVT_CREATE to do a transfer posting with movement type 411K.After doing the posting I am updating the outbound delivery for the PO using BDC recording.
    The problem is that after doing the transfer posting when I try to update the outbound delivery with picked quantity and picked date it is giving an error that "Article (the article number) is blocked".Due to this the outbound delivery is not getting updated.
    Could you please help me to understand why I'm getting the error and how to eliminate it? Need your help urgently.
    Thanks,
    Sandeep.

    Hello Shashank,
    Thanks for your reply.
    Please let me know do these bapis mentioned by you fulfill my requirement.
    Any sample code u have to use this bapis.
    Regards,
    Tarun

  • Urgent help needed-Updating an outbound delivery.

    Hi,
    I have created an outbound delivery for a stock transport order in using VL10D.
    The otbound delivery then goes to a different system wherein it is updated with picking,packing and shipping info.Then it comes back to SAP in the form of idoc(DELVRY05).Now what I need is to write a code in an exit(I know where to write the code) from where the data in the idoc will update the outbouned delivery with picked and delivered quantity.
    I tried using FM's SD_DELIVERY_UPDATE_PICKING and WS_DELIVERY_UPDATE_2 but it is not working.Also where will I get to see the update if it happens.
    Please help me.Its required urgently.
    Thanks,
    Sandeep.

    Sandeep,
    I m trying to understand this requirement. Your IDOC comes in with updated information for a delivery thats already available in the system.
    In this case, the IDOC would lock the delivery object for its ude, so writing FM's directly might not help.
    Please let me know your process code or your inbound FM. If it is IDOC_INPUT_DELVRY, then it already uses a WS_DELIVERY_UPDATE_2 , so there is little reason why you should be calling the FM again.
    Please note that when this comes in it creates an inbound delivery rather an outbound. So, is your third party system sending you back an outbound IDOC?
    Do you want to update the delivery that u sent out ( SD) to the third party system from that information.
    In that case, please use BAPI_OUTB_DELIVERY_CONFIRM_DEC. This is for delivery conformation from a third party system. The documentation is very clear and there are toms of examples on SDN.
    Please reward if useful.
    Thanks
    Ganesh.S

  • GR against the Outbound Delivery

    Hi
    If I MIGO Goods Receipt referencing the PO the Stock account is posted.
    But I MIGO Goods Receipt referencing the Outbound Delivery Order the stock account is not get posted.
    Basically, I am doing GR for the Intercompany STO (using NB P.O type).
    since the GR reference the PO throws error as the Delivery document flow cant be updated, I am exploring into GR ref to OBD.
    Thanks
    regards
    RG

    Hi Sachin
    I am using 643 & 101.
    after GI (shipping plant) - 643 makes a credit posting to shipping plant account and a COGS (Cost of Goods Sold)
    For the Receiving plant- 101 upon goods receipt only the stock inventory should be get Debited. Which is not happening now.
    Infact my sand box works fine, but something strage the test box after 101 the stock account is not posted anything, only the GR/IR and PPV.
    I do compare in OBYC & MMPV account grouping, but could not find anything different.
    any expertise support is appreciated..
    regards
    RG

  • Document flow is not updated in outbound delivery

    Hi,
    I have issue at my client side that We create Transfer order and it is not updating in outbound delivery document flow.  Update without delay is check in shipping configuration.  Can somebody please provide the reason, Configuration missing or some OSS note which can help us?
    Thanks,
    RD

    Hi rohit
    I had refered to SAP OSS note 358454 earlier.
    Reward if useful
    Regards
    SE

  • BADI/user exit to be used EIPO-TEXT1 field of the outbound delivery line item?

    Hi ABAPERS,
    Need some help on an enhancement with reference to outbound delivery in SCM module.I have a requirement for an enhancement to ensure that the License Check is performed for each Delivery Item based on the Material`s Export Control Parameters and updating the license number identified against each of the line item in the outbound delivery in a predetermined field.
    Basically, Using enhancement, find the appropriate License based on the information fetched from the Delivery Document and check if this is matching with the available License Information. Then the appropriate License fetched should be visible in the License Log of the Delivery Document.
    The valid License No. fetched should be updated at the Delivery Document Item – Foreign Trade – Comments Tab-Description Field 1.(ie. populate the license T606Z-GENNR in EIPO-TEXT1 field of the outbound delivery line item.).
    Could you please advise on the BADI/user exit to be used in this case. Request your inputs.

    I found the solution myself. I was actually not needing a user-exit to do this. I just simply solved it by using function modules READ_TEXT and SAVE_TEXT in a customer program.
    Regards.

  • Stoarage location is not being reflected in the outbound delivery

    Hi
    I have a scenario of creating outbound delivery with respect to sales order, But when i am creating outbound delivery vai  tranaction Vl10H , The system creates outbuond delivery but the stoarge location is not being reflected in the outbound delivery  . Since this storage location is WM managed  hence the WM  status shows that the transfer order is not required .
    When i tried to put manually the storage location  the system  throws an error that this storage location in not maintained in plant R001 .
    Althoght the stoack has been there in the stoarage location with resepct to plant ans also  the matrerial master is also been extended for  this storage  laocation and all the respective views such as WM and Sales hasbeen maintianed .
    Could any one guide me what correction is to be done to incorporate the Storage location in Delivery ?
    Thnaks and Regards
    RAJ K

    Hi,
    did you check if there is a storage location determination maintained for the relevant combination of shipping point, plant and
    stor.conditions (table TVKOL)?
    Please also check if the storage location determination is activated for the relevant delivery item type in customizing (transaction 0vlp - field "Determine storage location" (V_TVLP-BELGO)).
    Regards,
    Ely

  • 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.

  • 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

  • Split the outbound delivery .

    HI,
    how can we split the outbound delivery .
    pls. explain in detail.

    Hi Ayaan
    The following are the parameters for delivery split
    -> Ship to party
    -> Route
    ->Shipping pt
    ->Incoterms
    ->Delivery date
    Example :
    Say you have created a sales order with 2 line items ,
    Now in the line item 10 you have entered material with  qty is 50 and line item 2 qty is 100.
    But for the line item 1 the ship to party is 1000 and for the line item 2 the ship to party is 2000. So when you create delivery then delivery split  will take place (because the ship to party is different for both line items) and you have to do two deliveries for the sales order because the sales order has got splitted
    Regards
    Srinath

  • When i am posting the Outbound delivery,here getting Runtime error

    Hello
             When i am posting the Outbound delivery,here getting Runtime error
    This is error analysis report
    Error analysis
        Short text of error message:
        No RFC destination is defined for SAP Global Trade Services
        Long text of error message:
        Technical information about the message:
        Message class....... "/SAPSLL/PLUGINR3"
        Number.............. 002
        Variable 1.......... " "
        Variable 2.......... " "
        Variable 3.......... " "
        Variable 4.......... " "
    Please give me solution for this

    HI,
    Probable some missing customising for SAP Global Trade Services - Plug-In.
    Check with your functional consultant if the configuration is correct.
    Check in SPRO.
    Sales and Distribution>Foreign Trade/Customs>SAP Global Trade Services - Plug-In
    Regards,
    Ankur Parab

  • Help required regarding the outbound delivery creation by batch job

    Hi Gurus,
    We are facing one problem in the outbound delivery creation.
    The deliveries will be created automatically (using program RVV50R10C) from the existing open sales orders through the run of a batch program for every 5 minutes.
    The program RVV50R10C is scheduled to run for every 5 minutes, which picks up all the open sales orders and creates outbound deliveries. However, during one run we have found an error.
    The error had message class V50R, message no: 024 and message type : I. The error message reads as follows : u201CAt least one order was blocked and could not be deliveredu201D.
    When we have checked the VBFS table, it showed the sales document line items with the Message type : E, Message no: 24 and message id : V50R.
    Can anybody decipher what could be the reason why this error message is appearing?
    Thanks in advance,
    Krishna

    Hi Friend,
    to clearly identify the issue,
    Goto SE38 and give the program which you are using as Back ground job to create the deliveries and  give the sales order number as mltiple entries and execute the program in back ground.
    In most of the cases we can identify the issue behind the job while doing this.
    please revert me if you need more clarification
    regards,
    santosh

  • Updating item text in the outbound delivery

    Hi
    I have a outbound delivery in the system . I want to update some text in the "item text" through a program. how do i do this. sample code would be great.
    thanks
    sankar

    Hi
    thank you very much for your reply.
    Can you explain more about the inport parameters of the FM. lets say for example I need to update "item note" in the item of a outbound delivery with text " I am doind the testing". for this scenario what the are the parameters i need to send to the FM
    thanks
    sankar

  • Updating or changing the outbound delivery

    Hi
    we have created a outbound delivery in the system, I want to update some of the detials like route, no of packages using a program. is there any FM or BAPI for that. I have tried using the  BAPI_OUTB_DELIVERY_CHANGE to update the route in the delivery. But somehow it is not updating and the BAPI does not give any error message also.
    thanks
    sankar

    you need a program like this example:
    REPORT  ZOUT_DELIVPICK.
    tables:VBFA, LIKP, LIPS.
    DATA : WA_VBKOK LIKE VBKOK.
    parameters vbeln like VBFA-vbeln.
    *select-options: posnr for VBFA-POSNv.
    DATA : I_VBPOK LIKE VBPOK OCCURS 0 WITH HEADER LINE.
    DATA : I_PROT LIKE PROTT OCCURS 0 WITH HEADER LINE.
    data:begin of it_items occurs 0,
           posnr  like vbfa-posnv,
           PIKMG  like VBPOK-PIKMG,
         end of it_items.
    START-OF-SELECTION.
      it_items-posnr = 000010.
      it_items-PIKMG = '1.000'.
      append it_items.
      it_items-posnr = 000020.
      it_items-PIKMG = '2.000'.
      append it_items.
      it_items-posnr = 000040.
      it_items-PIKMG = '3.000'.
      append it_items.
    loop at it_items.
      WA_VBKOK-VBELN_VL = vbeln.
      SELECT SINGLE * FROM LIKP WHERE VBELN = VBELN.
      MOVE-CORRESPONDING LIKP TO WA_VBKOK.
      SELECT SINGLE * FROM VBFA WHERE VBELV = vbeln.
      IF SY-SUBRC = 0.
        WA_VBKOK-VBELN = VBFA-VBELN. " Sales and distribution document
      ENDIF.
    Fill the item level
      I_VBPOK-VBELN_VL = vbeln.
      I_VBPOK-POSNR_VL = it_items-posnr.
      SELECT SINGLE * FROM LIPS WHERE VBELN = vbeln AND
        POSNR = I_VBPOK-POSNR_VL.
      SELECT SINGLE * FROM VBFA WHERE VBELV = I_VBPOK-VBELN_VL AND
      POSNV  = I_VBPOK-POSNR_VL.
      I_VBPOK-vbtyp_n = 'Q'.
      I_VBPOK-meins = 'EA'.
      I_VBPOK-VRKME = 'EA'.
      I_VBPOK-taqui = 'X'.
      I_VBPOK-orpos = 0.
      MOVE-CORRESPONDING LIPS TO I_VBPOK.
      IF SY-SUBRC = 0.
        I_VBPOK-VBELN = VBFA-VBELn. " Sales and distribution document
        I_VBPOK-POSNN = VBFA-POSNn. " Item of an SD document
        I_VBPOK-VBTYP_N = VBFA-VBTYP_N. " Document category
      ENDIF.
      I_VBPOK-PIKMG = it_items-PIKMG.
      I_VBPOK-LFIMG = it_items-PIKMG.
      I_VBPOK-LGMNG = it_items-PIKMG.
      APPEND I_VBPOK.
    endloop.
      CALL FUNCTION 'SD_DELIVERY_UPDATE_PICKING'
        EXPORTING
          VBKOK_WA               = WA_VBKOK
          SYNCHRON               = 'X'
          NO_MESSAGES_UPDATE     = SPACE
         nicht_sperren          = 'X'
         AUFRUFER_T             = 'X'
          IF_ERROR_MESSAGES_SEND = ' '
        TABLES
          VBPOK_TAB              = I_VBPOK
          PROT                   = I_PROT.
      if sy-subrc = 0.
        COMMIT WORK.
        WRITE:/ 'success'.
      else.
        write:/ 'not success'.
      endif.

  • Create Billing document automatically from the outbound delivery

    Hi experts,
    I'm not sure my client's requirement can be implemented but i'm posting this thread just in case someone have a suitable solution.
    My client wloud like that billing documents (VF01) are created automatically when the outbound document (VL01N) is saved. He doesn't wont to perform an additional action, so the the custom transaction solution doesn't satisfy his requirement
    Is there any solution to do this? (User Exit or Customizing)
    Thanks

    Hi,
    One idea. You can do it with the userexit USEREXIT_SAVE_DOCUMENT in report MV50AFZ1. Here, you have the number of delivery. I suggest you to call a BAPI with a job created with the sequence of functions JOB_OPEN', 'GET_PRINT_PARAMETERS'
    , 'RS_CREATE_VARIANT', 'JOB_SUBMIT'. 'JOB_CLOSE' with a gap of time (eg: 2 or 3 minutes). You can call a function IN UPDATE TASK in this function. (read Note 415716 - User exits in delivery processing), and in the coding of this function you can create the job and call a report with the BAPI (for instance, BAPI_BILLINGDOC_CREATEMULTIPLE). After, you can control the creation of invoices with tcode SM37.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot it. Control in which event you call the BAPI via job. I suggest you when you create the movement 601. You can do it with this coding:
        IF xvbuk-wbstk NE yvbuk-wbstk
        AND xvbuk-wbstk = 'C'.
           "code
        ENDIF.
    Edited by: E_Hinojosa on Jan 21, 2011 9:15 AM

Maybe you are looking for

  • When I add to my iTouch playlist is doesn't show up in iTunes

    I like to manually manage my music so I dont use the sync option and never have, but for about a year now when I add a song to my playlist on my iTouch and connect it to iTunes it doesn't show up under "on this iPod". It use to bout a year ago, but a

  • Error in Backend Scheduling agreement Creation

    Hi, When we tried to create the backend scheduling agreement In R/3 IDOC is giving the error "Requested function V70S is not available here".  Can you any body please tell how to solve the error? Regards, Raveendra

  • How to quckly echo part of a phrase twice in 7.2 Pro?

    I've got a vocal track of the Christmas carol "Do You Hear What I Hear? I'd like to be able to echo the 'what I hear' twice, each copy slightly delayed. I tried making a copy of the track, creating a region for just the 'what I hear' part, and making

  • Batch Release of PO and PR

    Hi, I have created workflows for PO and PR release. I used the method Single Release for both. Is there a way that my workflow will go directly to tcode me28 instead of me29n, and me55 instead of me54n?  We would like to do this for collective releas

  • HU/SU seperate number ranges?

    Is it a good practice to have seperate number ranges between Storage Units and Handling Units? As we consider HU however as a heavy application-module, whereby sometimes simple internal SU in a WM can be sufficient.. Like wise we sometimes make use o