Updating Outbound Delivery with picking and delivery quantity.

Hi,
I have a scenario where in an idoc will come from external system(DELVRY05) and based on the data in the idoc I have to update the picking and delivery quantity for the outbound delivery created in SAP.The idoc has the outbound delivery number and the quantity which is sent from the legacy system.
I do not want to do googs issue,just updatation.
How can I update the outbound delivery?
Please help me.Its needed urgently.
Thanks,
Sandeep.

YOu can make use of the FM:
WS_DELIVERY_UPDATE_2.
see the sample code:
Assume that it_500o has the Delivery Header details and it_5010 has item details
  LOOP AT it_5000.
    CLEAR lx_vbkok.
    CLEAR lv_vbeln.
    REFRESH lt_vbpok.
    REFRESH lt_prott.
    lx_vbkok-vbeln_vl = it_5000-order_number.
    lx_vbkok-vbtyp_vl = 'J'.
    lv_vbeln = it_5000-order_number+0(10).
    LOOP AT it_5010 WHERE order_number = it_5000-order_number.
      lt_vbpok-vbeln_vl = it_5010-order_number.
      lt_vbpok-posnr_vl = it_5010-order_line.
      READ TABLE lt_vbfa WITH KEY vbeln = lt_vbpok-vbeln_vl
                                  posnn = lt_vbpok-posnr_vl.
      IF sy-subrc = 0.
        lt_vbpok-vbeln = lt_vbfa-vbelv.
        lt_vbpok-posnn = lt_vbfa-posnv.
       lt_vbpok-vbtyp_n = 'J'.
      ENDIF.
      lt_vbpok-pikmg = it_5010-quantity. "Picking quantity
      APPEND lt_vbpok.
      CLEAR lt_vbpok.
    ENDLOOP.
Update the Delivery
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
      EXPORTING
        vbkok_wa                           = lx_vbkok
  SYNCHRON                           = ' '
  NO_MESSAGES_UPDATE_1               = ' '
       commit                             = 'X'
        delivery                           = lv_vbeln
       update_picking                     = 'X'
  NICHT_SPERREN_1                    = ' '
  IF_CONFIRM_CENTRAL                 = ' '
  IF_WMPP                            = ' '
  IF_GET_DELIVERY_BUFFERED           = ' '
  IF_NO_GENERIC_SYSTEM_SERVICE       = ' '
       if_database_update_1               = '1'
  IF_NO_INIT_1                       = ' '
  IF_NO_READ_1                       = ' '
       if_error_messages_send             = 'X'
  IF_NO_BUFFER_REFRESH               = ' '
  IF_NO_MES_UPD_PACK                 = ' '
IMPORTING
  EF_ERROR_ANY                       =
  EF_ERROR_IN_ITEM_DELETION          =
  EF_ERROR_IN_POD_UPDATE             =
  EF_ERROR_IN_INTERFACE              =
  EF_ERROR_IN_GOODS_ISSUE            =
  EF_ERROR_IN_FINAL_CHECK            =
     TABLES
       vbpok_tab                          = lt_vbpok
       prot                               = lt_prott
  VERKO_TAB                          =
  VERPO_TAB                          =
  VBSUPCON_TAB_1                     =
  IT_VERPO_SERNR                     =
  IT_PACKING                         =
  IT_PACKING_SERNR                   =
  IT_REPACK                          =
  IT_HANDLING_UNITS_1                =
  ET_CREATED_HUS                     =
  TVPOD_TAB                          =
endloop.

Similar Messages

  • Update Outbound Delivery in EDI Process - Urgent

    Hello experts,
    I have to update outbound delivery for picking & PGI in EDI.
    I recognized the standard BAPI - BAPI_OUTB_DELIVERY_CONFIRM_DEC for this process, but it doesn't confirm picking.
    I also recognized the IDOC - IDOC_INPUT_DELVRYwhich doesn't create partner function.
    So now I need to choose any one & enhance with the help of User exit. I found a user exit in IDOC for creating partner function but there is no user exit in BAPI for picking confirmation.
    Please suggest me which is the best to use an IDoc or create a custom BAPI for this scenario with pros & cons.
    Thanks in advance,
    Sangeetha K
    null

    Hi gurus,
    Please help me with the issue.
    Points rewarded........
    Sangeetha

  • What is the difference between sales order with picking and without picking

    hi friends,
    i would like to know what is the difference between sales order with picking and without picking.
    thanks
    skrishnan

    Hello,
    Picking refers to preparing the right quantity and quality of goods for shipping on schedule as required by the customer.
    Once picking is configured, SAP Sd automatically generates picking lists and picking labels which can be tagged to the relevant goods. SAP can be configured to ensure that picked quantity is confirmed before goods are issued. This can be done using transaction code VSTK. In T-code VSTK, picking confirmations can be set, which ensure that goods picked for delivery are in accordance with picking slips.
    Picking thus helps in monitoring each item using the picking status. Picking is normally done in SAP SD by a shipping clerk.
    Prase

  • Site list update not working with TED and Zenworks for Servers

    Product: Zenworks for Desktops 7Sp1 and Zenworks For Server/TED 7Sp1HP5
    Subject: Site list update not working with TED and Zenworks for Servers ,
    all on Linux
    Description: We have an exiting environment with 6 ZfS Servers and now we
    brought up a new Server for another location. I configured all same as on
    the other Server and the new one created all NAL-Apps at the new location.
    But in the Application Site list on the golden App is this Application
    missing. So I clicked on the Link up site list on the Distribution Screen
    in C1. On ApplicationSite list the App from the new location is missing.
    So I removed all and added the new from the new location and now i see all
    in the application site list.When I install an app on the client on the
    new location NAL is connecting alway th the same (wrong location-server
    and i get an msi error 1612 or id=53272 with path=\Wrong serverpath to
    file.
    I looked on the other tab on C1 at the golden app an I see the backlinks
    are going to all other servers without the new one. Software installation
    on other locations are ok
    Regards

    Andreas,
    I forgot to mention that you can also set the loging level on the Distributor and the Subscriber to 6. to do this at the Zenworks Server Management prompt type "setconsolelevel 6" if you want to capture this to the log file ted.log then use "setfilelevel 6"
    Next delete the Distribution from the Subscriber and then re-push the channel.
    What we are looking for here in the log is the creation of the object and the linking information about the gold object. it should look like this (not the failure part ;-))) )
    In this excerpt you will see the entry
    Golden App =
    This should be were the link is to
    You can check this both ways in the Golden App and in the Distributed Application.
    Here is a log from me that shows this info as an example of what you should be looking for.
    2008.05.29 03:35:41 [TED:Work Order In(yourserver.yes.com)] Receiving distribution: Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_YOURSERVER.BRN.FL.SUBS.SUBSCRIBERS.ZSM. GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Handle Event: Work order IN completed... Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..
    2008.05.29 03:35:41 [TED:Event Processing] Received (from haverhi-flbrn1.yesbank.com) Creating new application failed,
    Subscriber Tree Name= YOUR-TREE,
    Subscriber DN = SUBSCRIBER_HAVERHI-FLBRN1.BRN.FL.SUBS.SUBSCRIBERS.ZSM.GRS.CBH,
    Golden App = SCRIPT-MS-HOTFIX.APP.BRN.ZENGOLD.GRS.CBH,
    Attempted AppName = SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH,
    error message: Failed creating SCRIPT-MS-HOTFIX.APP.BRN.HAVERHI.PALM.FL.CBH. With error message: Setting the trustee for BRN.HAVERHI.PALM.FL.CBH on the file "VOL1:\ZEN\UTILS" failed. Look in subscriber log file for more details..

  • I updated my macbook with lion and airdrop does not show up in the finder, how could this be?

    I updated my macbook with lion and airdrop does not show up in the finder, how could this be?

    shldr2thewheel wrote:
    If this is the case: How to enable AirDrop over ethernet and AirDrop on unsupported macs running Lion  .
    http://osxdaily.com/2011/09/16/enable-airdrop-ethernet-and-unsupported-macs/
    Interesting.  Googling, I see that someone posted that on these discussions as well:
    https://discussions.apple.com/thread/3331216?start=0&tstart=0
    which mentions what I recall: that Airdrop (as implemented by Apple) would create an on-demand ad-hoc Wi-Fi connection, even if you were already connected to an access point.  Normally, you can't connect to multiple Wi-Fi networks, thus the reason for Airdrop only supported on newer Wi-Fi chips.
    And Apple's KB:
    http://support.apple.com/kb/HT4783

  • L_TO_CREATE_DN for quantity that is over outbound delivery quantity.

    Hi all,
    I use l_to_create_dn to create to's for shipments. If the qty entered is lower then the quantity needed all works fine because the option komim is used in the call. The quantity is updated to the quantity the was put in t_delit. The problem is, if m'I quantity is higher than the outbound delivery the exception 15 is returned. The customizing is done for batch split.
    I saw that there's an oss note 855729. But I'm not convinced that it will help the situation.
    Regards!
    Curtis

    Hi all,
    I implemented the note and this does not correct m'I problem.
    The exception 15 is raised if qty picked is greater the outboud delivery qty.
    No userexit, no enhancement available.
    Please help.
    Regards!
    Curtis

  • Update Outbound Delivery

    Hi,
      Which BAPI/FM can update the outbound delivery??
    Regards,
    Kit

    Hi Kit..
    I think WS_DELIVERY_UPDATE is available in your system ..just try this
    The Documentation for this FM is(This is the Translation for German documentation )
    Changes of supplies With this functional module supply data can be changed. The component can accomplish updates from the commissioning over Kommissionierbelegfluesse (quantities & weights), if the parameter sits UPDATE_PICKING and quantities, weight and volume updates without Kommissionierfluesse, if UPDATE_PICKING on SPACE sits. In this case there is only one a mark feedback to each position. In VBPOK and VBKOK there is control parameter for this, which changes are accomplished. Kommimengenaenderungen are always accomplished in basis quantity unit, changes of delivery volume always in sales unit of the supply position. If not over Kommissionierrueckmeldung one works, all information must be given to a supply position with the call, subsets and weight feedbacks are not possible. In the case of loads several sentences with different loads can be acknowledged to a VBPOK POSNR_VL. The fields in the Include VBPOKKOMMI within the structure VBPOK are relevant only for the case of the Kommissionierrueckmeldung with use of Kommissionierbelegfluessen (e.g. WM Transportauftragsrueckmeldung). The Aufrufer must evaluate both the minutes table PROT and intercept the EXCEPTIONS ERROR_MESSAHE and OTHERS.
    And If you still want to know how to use this FM ,,Click where used list for this FM and see how it is being used ,and try to do the same as per your requirement
    Regards
    Rk
    Edited by: Rk Pasupuleti on Feb 13, 2008 8:45 AM

  • Updating Outbound Delivery Bill-to Using SD_PARTNER_UPDATE

    Hi everyone,
    I have a requirement to update the outbound delivery partners, specifically Bill-to and Payer.
    The customer system version is 4.6c, so the BAPI to update the delivery found in 4.7 onwards is out of the question for now.
    I found a function module SD_PARTNER_UPDATE, however I am having difficulty in making it work, even with the COMMIT statement.
    Does anyone have any experience in using the function module, and can you provide at least an idea on how to populate and properly use it?
    Thanks in advance.

    A better option would be to use a break point on this FM while creating a sales order. That way you will know how standard uses this FM.
    Thanks,
    Vikram.M

  • I tried to update my ipod touch software update by syncing with itunes and now its in recovery mode?  Is it possible to get it out of recovery mode?  if so, then how?

    I tried to update my ipod touch software by syncing with itunes and it put the ipod into "recovery mode".  Seems like the only option is to restore?  Is there a way to get it out of recovery mode?

    No.
    Once the Device is asking to be Restored with iTunes... it is too late to save anything...
    To minimise loss... Connect to iTunes on the computer you Usually Sync with and Restore from the most recent Backup...
    http://support.apple.com/kb/HT1414
    Restore from Backup
    http://support.apple.com/kb/ht1766

  • HT2371 I updated my 4s with ios7 and now the icons in safari are in chinese and when you onit so is the site. But the rest of my phone is in English.  How do I fix this?

    After updating my 4s with ios7, my safari links are in a different language. How do I fix it?

    Tap the Bookmark/Favorites Icon; select Favorites; tap on "edit" at the bottom right side of the drop down; tap the red circle with white line and tap delete for each favorite you don't want.  Then you should be able to add your favorites in English, or whatever language you want.  Hope this helps.

  • Does Ops Center 12c Release 1 PSU2 (update 2) work with T4 and solaris 11.1

    From the release notes of Ops Center 12c Release 1 PSU2 (update 2)
    Issues With Upgrading to Oracle Solaris 11.1
    Oracle Solaris 11.1 is supported in Oracle Enterprise Manager Ops Center 12.1.2.0.0 but is not supported in prior versions of Oracle Enterprise Manager Ops Center. In addition, an issue with Oracle Solaris 11.1 prevents Oracle VM Server for SPARC management on Oracle SPARC T4 servers using the Oracle Solaris 11.1 OS. See the Oracle Enterprise Manager Ops Center Release Notes for more information.
    Does any one know if there has been a fix for this yes

    We were told this was actually a problem in OC not S11.1, and this was fixed in U2.
    I know this contradicts with the other answer, but thats the info we received from Oracle.

  • HT201320 This last week, I updated my iPhone with iOS6 and now my Yahoo Mail no longer works.  I've deleted and restored the account without fixing the problem.  The iOS update did not effect my iPad.  Anyone have a suggestion?

    This last week (of 17 Sep 12) I updated my iPhone 4 to iOS 6 and now my Yahoo mail does not work.  I keep getting a "Yahoo server busy" message.  This problem has not effected the update to my iPad 3 - it works fine.  In addition, I have deleted and added my Yahoo mail - same result.  Looking for ideas on repairing the link between iOS 6 and Yahoo.  Cheers

    Same here, albeit with a 3G and both a work Exchange account and personal Gmail are out of action.  Reentered my password on the Gmail to no avail.
    Unfortunately it seems that increased success has come too fast to Apple, it's starting to display Microsoft-like behaviors, e.g., releasing stuff and letting the customers serve as the beta / guinea pigs.

  • UI not getting change update when working with LIST and INotifyPropertyChanged

    i was trying to know two way data binding. i have simple car class which extend INotifyPropertyChanged for notify the change to update UI. bind List object to few textboxes and notice when one textbox value change then other textbox value not updated. all
    textboxes bind to same property. so one's value change should propagate to other textboxes.
    this is my code
    public class Car : INotifyPropertyChanged
    private string _make;
    private string _model;
    private int _year;
    public event PropertyChangedEventHandler PropertyChanged;
    public Car(string make, string model, int year)
    _make = make;
    _model = model;
    _year = year;
    public string Make
    get { return _make; }
    set
    _make = value;
    this.NotifyPropertyChanged("Make");
    public string Model
    get { return _model; }
    set
    _model = value;
    this.NotifyPropertyChanged("Model");
    public int Year
    get { return _year; }
    set
    _year = value;
    this.NotifyPropertyChanged("Year");
    private void NotifyPropertyChanged(string name)
    if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs(name));
    This way i bind
    Car carTest;
    private void Form1_Load(object sender, EventArgs e)
    carTest = new Car("Ford", "Mustang", 1967);
    List<Car> ol = new List<Car>();
    ol.Add(carTest);
    this.textBox1.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
    this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
    this.textBox3.DataBindings.Add("Text", ol, "Make");
    when run the code then Ford was showing as make name but when change value in any textbox then that change is not shown in other textboxes.
    the moment i change this line List<Car> ol = new List<Car>(); to
    BindingList<Car> ol = new BindingList<Car>(); then code started to work fine.
    My Question
    1) what is the difference between List and BindingList class ?
    2) can't we use List<> for my situation instead of BindingList
    3)
    this.textBox2.DataBindings.Add("Text", ol, "Make", true, DataSourceUpdateMode.OnPropertyChanged);
    this.textBox3.DataBindings.Add("Text", ol, "Make");
    see the above code and tell me what is the advantage of using DataSourceUpdateMode.OnPropertyChanged because i have seen if we do not use this code
    DataSourceUpdateMode.OnPropertyChanged then also data change is propagated to other textbox when cursor focus change.

    I would have thought that'd work with List<t>, in fact I think there must be something wrong in your code there.  I can't spot it though.
    I recommend use of ObservableCollection rather than BindingList.
    The default on bindings is that changes are propagated from the target ( view ) to source ( vm ) when the control loses focus.
    If you want to do the equivalent to a keydown event handler in a viewmodel then onpropertychanged is the way to go.
    You want to avoid creating bindings in code unless you really really have to, it's way easier to put them in xaml.
    Even if your ui is dynamic, you can build xaml and use that to create the ui objects:
    http://social.technet.microsoft.com/wiki/contents/articles/28797.aspx
    The difference between BindingList and List is, literally, iBindingList.
    See
    https://msdn.microsoft.com/en-us/library/system.componentmodel.ibindinglist%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    What probably isn't very obvious is that BindingList fires an event - iirc  itemchanged when properties on objects in it change.
    Maybe you did something wrong in your implementation of inotifypropertychanged.  I must admit, I can't see anything there though.
    You don't really need those magic strings since .net4.5 and you also don't need to explicitly implement inotifypropertychanged you could use:
    public event PropertyChangedEventHandler PropertyChanged;
    public void RaisePropertyChanged([CallerMemberName] String propertyName = "")
    if (PropertyChanged != null)
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    As used in this:
    https://gallery.technet.microsoft.com/WPF-Dynamic-Fonts-ad3741ca
    If you try that sample you can have:
    public class FontDetails : INotifyPropertyChanged
    or
    public class FontDetails
    And you can see it still notifies change successfully to both windows.
    Most wpf devs will use observablecollection rather than List or bindinglist.
    Observablecollection notifies addition or removal of entries.  It can be used to notify an entry has changed, but does not detect change of property.  You would have to raise the event in code if you want to tell it an item changed.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • I was trying to update my Mac with software and the screen went white and it doesn't work at all now?

    I was installing snow leopard to my Mac and it took forever then I tried to get the Disc out and it did but the screen went completely white and isn't working at all now. Is there a way to fix this.?

    Which version of Mac OS X do you have?<br />
    Firefox 4 and later require at least OS X 10.5 and an Intel Mac.
    * http://www.mozilla.com/firefox/4.0/system-requirements/
    * http://www.mozilla.com/firefox/5.0/system-requirements/
    * http://www.mozilla.com/firefox/3.6/system-requirements/
    If you have problems with updating or with the permissions then easiest is to download the full version and trash the currently installed version to do a clean install of the new version.
    Download a new copy of the Firefox program and save the DMG file to the desktop
    * Firefox 5.0.x: http://www.mozilla.com/en-US/firefox/all.html
    * Firefox 3.6.x: http://www.mozilla.com/en-US/firefox/all-older.html
    * Trash the current Firefox application to do a clean (re-)install
    * Install the new version that you have downloaded
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • I updated my ipod with ios6 and siri doesnt pop out on my screen like it schould

    I updated my ipod to the ios6 and siti doesnt show like its supposed to

    it was 230$ so half of that and i bought it at walmart so i ask  apple to fix it what kind of repairing are they going to do to it  well i asum that they are going to fix whats rong with it but  will they change the silver part like the back of th ipod because it has scratches all over and a miny dent on the top and this repaire would cost  99$ for a 8gb ipod touch

Maybe you are looking for