Unassignment of HU's from the Delivery Doc

Hi all,
I have to Remove the Picked Qty and delete  Hu Assignment. is there any function module for this requirement i tried with  WS_delivery_update_2, please help me to delete hus. has any one achived the same requirement.
thanks,
San

Check below code
wa_vbkok_wa-vbeln = '0800001263'.
wa_vbkok_wa-vbeln_vl = '0800001263'.
wa_vbkok_wa-vbtyp_vl = 'J'.
i_verko-object = '01'.
i_verko-objkey = '0800001263'.
APPEND i_verko.
CLEAR i_hus.
REFRESH i_hus.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = wa_vbkok_wa
synchron = 'X'
NO_MESSAGES_UPDATE = ' '
commit = 'X'
delivery = '0800001263'.
UPDATE_PICKING = ' '
nicht_sperren = ' '
IF_CONFIRM_CENTRAL = 'X'
IF_WMPP = ' '
IF_GET_DELIVERY_BUFFERED = ' '
IF_NO_GENERIC_SYSTEM_SERVICE = ' '
IF_DATABASE_UPDATE = '1'
IF_NO_INIT = ' '
IF_NO_READ = ' '
IF_ERROR_MESSAGES_SEND_0 = 'X'
IF_NO_BUFFER_REFRESH = ' '
IF_NO_MES_UPD_PACK = ' '
IMPORTING
EF_ERROR_ANY_0 =
EF_ERROR_IN_ITEM_DELETION_0 =
EF_ERROR_IN_POD_UPDATE_0 =
EF_ERROR_IN_INTERFACE_0 =
EF_ERROR_IN_GOODS_ISSUE_0 =
EF_ERROR_IN_FINAL_CHECK_0 =
TABLES
VBPOK_TAB =
prot = i_prott
verko_tab = i_verko
VERPO_TAB =
VBSUPCON_TAB =
IT_VERPO_SERNR =
IT_PACKING =
IT_PACKING_SERNR =
IT_REPACK =
IT_HANDLING_UNITS =
et_created_hus = i_hus.
<REMOVED BY MODERATOR>
Thanks
Pavan
Edited by: Alvaro Tejada Galindo on Mar 19, 2008 1:09 PM

Similar Messages

  • Function module to create Invoice from the Delivery no ?

    Hi All,
    Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01.
    Details:
    We want to generate a pro-forma invoice while saving the delivery. We will have 'Special Function' (NAST-NACHA = 8) in the output determination and a routine would be called from there. That routine would contain the code to generate the Invoice. We will have only the 'Delivery no and the Billing Type'  in that routine. So trying to find any function module which can create an Invoice from the Delivery no and the Billing Type.
    Any suggestion / hint  is welcome.
    Thanks,
    Ashok

    Hello Ashok Satapathy ,
                                        The only option  for you is to call the FM "GN_INVOICE_CREATE" .
    There is no special FM availaible to pass only the delivery number at this point.
    You need to retrieve all the delivery information details and need to pass it to the FM "GN_INVOICE_CREATE".
    Thanks,
    Greetson

  • Check of field values from the delivery address in PO

    The customer likes to check a field from the delivery address (f.e. NAME1) before the PO is saved. I looked for Userexits but diddn't find any. The only way sees to be a modification. The question is where to modify...

    Name 1 fields is under Delivery Address tab for PO line item details.        -> This was not my question
    It can be maintained i n SPRO itself by defining Address for store locations .  -> This was not my question
    User have to put storage location in PO line Item itself then Name 1 field will displayed values in SPRO -> This was not my question
    It has to be CHECKED by the system if the content of field NAME1 (from wherever the system gets the address) equals to a special text. There must be a statement such as:
    if ADDR1_DATA-NAME1 eq '1234657678' ....
    The problem is to identify the right include where i can get the relevant fields.

  • Printing the pick list from the delivery automatically

    Hi All,
    Please let me know how to do the : Printing the pick list from the delivery automatically ?
    Thanks in advance.
    Regards,
    Nagaraju.

    hi,
    execute VL70.
    balajia

  • Issue in the Billing Document from the Delivery.

    Hi Experts,
    I have an issue with date of the bill document. The date is taken from the date when the delivery was posted however the users want to change this date to the day that the bill document was created.
    I don´t know where I can change this.
    Thank you and best regards.
    Thank you and best regards.

    Hi,
    While creating Billing Doc (T. Code: VF01), Mention "Billing date" as desired.
    If you leave this field as blank, System will create Billing doc based upon Delivery date.
    However, there is one more date ("Created on" in Header Data), where System records Document date as the date on which Billing Doc has been created.
    Best Regards,
    Amit
    Note: If want to make changes in Billing date for already created Billing Docs.
    Go to: VF02
    Key-in your Billing Doc. No. and Go to Header Data (Edit --> Header --> Header).
    There you will find Field: "Billing Date", which would be modifiable. Change the date as desired.
    Imp: on the same screen, You may see the details like:
    1. Payer
    2. Created By:
    3. Created on:
    4. Time

  • " VL 476: Item 'Official Doc. Number' is not copied from the reference doc"

    Hi Guys,
    When I am doing the Accrual Reversal in F.81 I am getting the following error
    " VL 476: Item 'Official Doc. Number' is not copied from the reference document ".
    I have maintained the number ranges also. I am not able to understand why the system is issuing this error.
    Pls suggest.
    Thanks
    Srikanth

    Hi Guys,
    Can anyone please help on this error.
    Thanks
    Srikanth

  • Can't create invoice from the delivery

    Hello.
    Ship out the trade order then i created the delivery and PGI successfully.
    But when i went to VF01 to invoice the delivery i can´t create it.
    I take a look to the LOG and this is what i found:
    Error Log
                 6910517662 000010 The item is blocked for billing
    I double click the item and in the configuration of Financial processing there is a field called "Block" but there is nothing selected over there. Do you have any suggestion?
    I appreciate your help

    The item is blocked for billing
    Apart from the suggestions, if that particular material is kept open in some other system, then also, system will throw this error.  Also ensure that in material master Sales Org.1 view, this material is not blocked against the field "X-distr.chain status"
    thanks
    G. Lakshmipathi

  • Printing from the Delivery Engine to non CUPS enable printers

    Hello,
    I have a EBS R12.1.1 customer who has a requirement to either Email or Print AR Invoices. However, they have rejected using BIP the Bursting and Delivery Engine because their printers are not CUPPS enabled and they dont want them to be. So instead they have designed a custom solution which forces the invoice print to run for an individual invoice at a time. Obviously this is now causing them some performance issues.
    Is there a workaround that is used to get round the restriction that the delivery engine can only to to CUPS enabled printers?
    Thanks
    Mark
    Edited by: user717274 on Jun 16, 2010 8:46 AM
    Edited by: user717274 on Jun 16, 2010 8:46 AM

    Hi,
    Assuming you are generating PDF output you can actually print via Delivery Manager directly to printers without a CUPS installation as long as the print itself is enabled for IPP requests.
    This is done on the print server itself using Microsoft Internet Information Services (MIIS) and will need to be done by the clients infrastructure team. Once it has been enabled you can navigate to the print server via a web browser using the supported syntax (something like http://<print_host>/.printer - check internet for syntax). You will then see a list of printers enabled for IPP printing on that server. You will be able to click on the printer which will take you to a standard page showing the current printer status. After selecting the printer, make a note of the URL from the print server as you will need this.
    You can then use delivery manager to submit a request entering the print server for DeliveryPropertyDefinitions.IPP_HOST and the path to the printer and printer name for DeliveryPropertyDefinitions.IPP_PRINTER_NAME.
    You will also need to convert your PDF file to PostScript so that the printer can interpret it. See documentation on using GhostScript (pdf2ps) to do this. Once the conversion utility has been installed on the server you can set DeliveryPropertyDefinitions.IPP_DOCUMENT_FORMAT_POSTSCRIPT and DeliveryPropertyDefinitions.FILTER to the executable on the server which will perform the conversion.
    Some of the newer models of printer support PDF natively in which case you won't have to perform the conversion (which can cause a slight shifts in the report layout since the PDF file is actually converted using an algorithm).
    One other thing, you won't be able to use the same approach for faxing to IPP enabled devices. In this case you definitely need the CUPS request broker having been through a lot of pain in trying to get it working.
    Good luck.

  • Javafx.scene.layout.Priority missing from the API Doc

    I notice there is an important class "javafx.scene.layout.Priority" missing from the JavaFX 1.3 API Doc. I can still use that class without any problems in my apps.

    Thanks for spotting that - I'll fix that before the next release.

  • Where can I find the batch no (or UPC code or Lot no) in the Delivery doc?

    Hi all,
    I am using 4.6c . I send the IDoc DESADV to my customer and they get the EDI document which their translator converts back to IDoc. I need to find this information in the delivery document (vl03n):
    lot no., batch no. UPC code. so that I can populate them in the outbound IDoc.
    I could find the batch no in the table LIPS in the field CHARG. and I know in the EDI, the segment is SLN where this information is stored, but where is this in the actual delivery document (and the outbound IDoc)?
    Please ask me if my question should be elaborated.. Hope you can tell me the tab and the field in the Delivery document (it could be at header or item level.)
    Thanks,
    Charles.

    Hi there Charles,
    Batch number is in DESADV IDOC in field E1EDP09 CHARG.  In VL03N, you can drill down into a line item, and go the the Batch Split tab to see this number.
    I don't believe UPC number is a standard SAP field.  There is a EAN (European Article Number) field which can be used like the UPC field if needed. 
    I have a case where a customer sends a UPC and lot number on their order, and needs to see it back on the EDI shipping notice.  I store these values in custom text fields, which pass from the order, back to the DESADV IDOC after delivery.  From there, I can include them in the EDI back to the customer.
    Regards,
    Aaron
    *Helpful?  Poins are appreciated

  • How to restrict the excess quantity delivery from the delivery note ?

    Dear All,
    As we know we make the delivery note with the reference of sales order so ordered quantity will be copied in the delivery note automatically. At the time of picking we can reduce the delivery quantity and make the partial delivery.
    But for example I have the sales order of quantity 5 and I make the delivery with refernce of same Sales order so my delivery quantity comes 5 and now if I make the quantity 7 instead of 5 in delivery note only and do the picking of 7 quantity yet system is allowing me then PGI is also possible. It means I delivering excess good than the ordered quantity. Which should not happen to make the cycle full proof.
    I dont what setting is required to avoid this major error. please Gurus Reply soon.
    regards,
    Vojas

    Hi,
    Use t-code 0VLP, select your item category which u determining in delivery >>> Go to details>>>in fron of Min/Max Qty put option B
    Check minimum qty   --- B (Situation rejected with an error message)
    Check overdelivery  --- B (Situation rejected with an error message).
    When user try to change qty,system will give error.
    Kapil
    Edited by: Kapildev Farakte on Dec 28, 2009 10:33 AM

  • How is the Idoc Message Type FIDCC1 trigger from the FI Doc

    Hi Guru,
    I have a FI Document which is triggered from the Material Document.
    And this FI Document is triggering 2 different IDOC FIDCC1 on 9.Jul and 10.Jul.
    I did a comparison between this 2 idocs, the data seem to be the same, so can i know how this Idoc FIDCC1 is been triggered?
    Thank you very much,
    Regards,
    Cheewee

    Dear Guru,
    Can anyone please advice me?

  • Error while trying to invoice the delivery doc with future date

    Hi Gurus,
    I am trying to create the Invoice document with future date with reference to delivery document,but the system is not allowing to do and its throwing the error message billing date is greater than current date not authorized.How to resolve this issue.
    Thanks and Regards,
    hari Challa.

    Dear Hari
    Curious to know why you are trying to maintain a future date in billing when you yourself very well know that it is WRONG.  Logically, the invoice date should be either Actual GI Date from Delivery or the system date.
    Coming to your question, in VTFL, for your item category if routine 11 is maintained for the field Data VBRK/VBRP, you cannot achieve what you want.
    thanks
    G. Lakshmipathi

  • Hi , I am not able to create billing document from the delivery document .

    Hi,
    I am facing one problem i am trying to create billing document from delivery document but it is giving error " Payer" and Sold to party not found ".
    in my Delivery Document field partner tab is showing only ship to party it should show payer and sold to party also .
    Although it is maintained in customer AG.
    can any one help in this ????
    thanks !!!!!!!!!!

    Hi Payal,
    1.u check whether u have maintained[entering actual number] payer and bill to party in sales order[ which is copied from customer master].
    2.and check partner determination procedure for delivery document.
    more important is u wouldnot have maintained partner determination procedure for delivery header.[spro->sales and distribution->basic function->partner determination->partner determination for delivery]
    Regards
    Sharad

  • Delivered Qty in SO differ from the actual delivered qty in Delivery Doc

    Hello,
    I have a situation where in the delivered qty in Schedule line of the sales order is complete and when we check the delivery document i have still to complete the delivery.
    Eg. I have a qty for 20 in sales order.
    now the schedule line shows 2 line item
    1st for 17 qty and the other for 3 qty,
    first delivery is created for 15 qty the second is created for 1 and the third one is created for 3 qty.
    now when i look in the sales order schedule line i see two schedule line item for 17 and 3 and completes the line item.
    and when i check the delivery doc i see 15, 1 and 3 qty's
    but when i see the document flow i see it shows 16 qty instead of 15.
    I am not sure how to rectify this 16 qty to 15 qty.
    Is there any program which can rectify this discripency in the qty in the flow.
    regards
    Abhilash Mangatt

    Hi Shiva Ram,
    This is not helping me out. I had tried this but with not correction.
    I have also used the correction program SDRQCR21 and RVV05IVB, but with no success.
    Kindly suggest some other way out for this issue.
    I appreciate your effort
    regards
    Abhilash Mangatt

Maybe you are looking for

  • Dont work keyframing to export video

    I'm doing keyframing, to move a video or an image on the screen. The canvas looks good, but when I export the video, moves to jumps. Why did this happen? So far I had worked well, but I going to make the last video, this began to happen.

  • Issue with Info Object Transport after changing Data Type

    Hi Experts, We have a DSO which is running past 5 years. And recently(3 days back) we added new fields into that DSO. Delta loaded for last three days and new info object (Say XXX) data populated into DSO. Now the problem is, We identified that, info

  • Extra blank space problem in af:selectOneChoice

    Hi All, I m using <af:selectOneChoice> to display few items in combo box. Now the problem is when the page gets load 1st time, its show an extra blank space in item list, but after selecting any item from the list page gets refreshed and reload again

  • Customer balance display shows different balance than Profit center balance

    Dear All Customer balance display shows different balance than Customer balance with profit center. Adivse us for the same. Viral

  • I can not get Java applets to run on my MAC

    I am running OSX 10.9.1, Safari Mountain Lion 7.0.1 and have Java 7u51 and can not figure out how to get applets to run.  I am taking classes for work and they all use applets.  Any ideas how to enable applets?  Blogs have recommended using java pref