Problem in changing delivery qty through 'BAPI_OUTB_DELIVERY_CHANGE'

Dear friends.
i  am passing all the parameters according to documentation.
yet the del qty is not getting updated. Return message is like this:
(Required field in interface to delivery update missing &1 &2 &3 &4)
please help me.
here i am giving my code.
gs_header_data-deliv_numb        = '0080000228'  .
gs_header_control-deliv_numb    = '0080000228'  .
gs_delivery-deliv_numb           = '0080000228' .
gs_item_data-deliv_numb         = '0080000228'  .
gs_item_data-deliv_item         ='000010'  .
gs_item_data-material           = '307045229000306LG1'  .
gs_item_data-batch              = '0STOCKYARD'..
gs_item_data-hieraritem         = ' '  .
gs_item_data-dlv_qty            =   '61.656'.    *********** New del qty
gs_item_data-dlv_qty_imunit     =  '61.656'.   .******* please confirm this.....?????
gs_item_data-fact_unit_nom      = '00001'  .
gs_item_data-fact_unit_denom    = '00001'  .
gs_item_data-sales_unit         = 'TO'  .
gs_item_data-sales_unit_iso     = 'TNE'  .
gs_item_data-base_uom           = 'TO'  .
gs_item_data-base_uom_iso       = 'TNE'  .
APPEND gs_item_data TO gt_item_data.
gs_item_control-deliv_numb         = '0080000044'  .
gs_item_control-deliv_item         = '000010'  .
gs_item_control-chg_delqty         = 'X'  .
APPEND gs_item_control TO gt_item_control.
CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
  EXPORTING
    header_data                   = gs_header_data
    header_control                =  gs_header_control
    delivery                      = gs_header_data-deliv_numb
  TABLES
   item_data                     = gt_item_data
   item_control                  = gt_item_control
    return                        = gt_bapiret2

HI,
After calling BAPI_OUTB_DELIVERY_CHANGE function,
did u call  BAPI_TRANSACTION_COMMIT?
Hope it helps u........

Similar Messages

  • Problem when updating delivery quantity using 'BAPI_OUTB_DELIVERY_CHANGE'

    Hi experts,
    I have a requirement in which i need to update the material's delivery quantity in VL03N transaction.   For this im trying the BAPI
    'BAPI_OUTB_DELIVERY_CHANGE' and im passing the following values.
    HEADER_DATA : Delivery no.
    DELIVER : Delivery no.
    ITEM_DATA : Delivery no,
    item no,
    DLV_QTY quantity(changed),
    FACT_UNIT_NOM ( default to value '1')
    FACT_UNIT_DENOM ( default to value '1')
    ITEM_CONTROL : Delivey no,
    item no,
    CHG_DELQTY ( value "X")
    Then i use 'BAPI_TRANSACTION_COMMIT' for updating the changes. 
    Here the problem is, the BAPI is working fine for some quantity , say if i enter the DLV_QTY as 2 in ITEM_DATA, it is gettting updated.  But if i pass some other quantity , say 12, it is returning the folowing error.
    T ID                   NUM MESSAGE
    E VL                   363
    Pls tell why this error comes. and how to successfully update the delivery quantity for a set of material?
    Regards,
    Shanthi

    not answered

  • Problem in changing material master through BAPI_MATERIAL_SAVEDATA

    Hi Gurus,
    I am trying to update the custom field in accounting view, I am using BAPI_MATERIAL_SAVEDATA for this purpose. But apparantly, it is not working as desired. In last i am getting these value in returnmessages tab.
    Trying to create: 00396 ____ ____ 0110 __________ ____ __ ___ ___      
    The material cannot be maintained since no maintainable data transferred
    Trying to change: 00396 ____ ____ 0110 __________ ____ __ ___ ___      
    No changes made                                                        
    Here is my code
    ds_valuedata-VAL_AREA =  t_final-bwkey.
    ds_valuedata-VAL_TYPE = t_final-bwtar.
    ds_valuedata-zzpromo = t_final-zzpromo.          <<<<<<<< THIS FIELD I NEED TO UPDATE
    ds_valuedatax-VAL_AREA =  t_final-bwkey.
    ds_valuedatax-VAL_TYPE = t_final-bwtar.
    ds_valuedatax-zzpromo = 'X'.
          ls_extensionin-structure   = 'BAPI_TE_MBEW'.
          ls_extensionin-valuepart1  = ds_valuedata.
          APPEND ls_extensionin  TO lt_extensionin.
          ls_extensioninx-structure  = 'BAPI_TE_MBEWX'.
          ls_extensioninx-valuepart1 = ds_valuedatax.
          APPEND ls_extensioninx TO lt_extensioninx.
          CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
            EXPORTING
              headdata       = ds_headdata
            IMPORTING
              return         = ds_bapiret2
            TABLES
              returnmessages = lt_returnmessages
              extensionin    = lt_extensionin
              extensioninx   = lt_extensioninx.
    Please help me as i am badly stuck with this problem.

    after all use call
    BAPI_TRANSACTION_COMMIT
    Amit.

  • Can I use SD_DELIVERY_UPDATE_PICKING to change the delivery qty?

    hi experts,
    I have used  SD_DELIVERY_UPDATE_PICKING to updating the picking quantity in a delivery document and post goods issue. also want to use  the FM to change the delivery qty ,when the picking qty < delivery qty ; and do the post goods issue automatic .
    and i find the field :
       VBPOK-LIANP         *Change delivery quantity
    i do like this ,when  VBPOK-LFIMG > VBPOK-PIkMG ,
    VBPOK-LIANP = 'X'.
    VBPOK-LFIMG = VBPOK-PIkMG 
    but the FM also can't change delivery qty.
    please help me !

    Hi,
       We need only Delivery Number and its item for picking. I am not clear with what reference number you were referring to.
    Thanks,

  • Delivery Qty change at the creation and change of Delivery

    Hi,
    How to change the Delivery Qty at creation of Delivery. The quantity is rounded depending on some roundng factor.  Can u please help on this? We are trying to use user exit MV50AFZ1 but it's updating the LIPS-LFIMG field only in change mode VL02N and not in VL01N. Actually its updating in VL01N too but the value is getting overwritten soon after that by standard value.
    Thanks in advance...
    Edited by: Swapnil Sharma on Apr 9, 2010 9:21 AM

    Hi,
    I had the same problem and from this post i updated only 2 fields:
    XLIPS-LFIMG, XLIPS-LFIMG_FLO
    And it updates quantity

  • Hi, i had recently bought a toshiba 3.0, 1.5tb hdd and i had to change the settings through Disk Utility on my mac to be able to transfer files from my mac to my HDD. The problem i am having now is, it wont connect to my TV or PS3? Can someone please help

    Hi, i had recently bought a toshiba 3.0, 1.5tb hdd and i had to change the settings through Disk Utility on my mac to be able to transfer files from my mac to my HDD. The problem i am having now is, it wont connect to my TV or PS3? Can someone please help

    "....and i had to change the settings through Disk Utility on my mac to be able to transfer files from my mac to my HDD"
    What do you mean by that? Did you format?

  • My computer continually asks me to enter my password for Keychain access. This problem is continuos and I am having trouble with eliminating it. I have changed my password through Security and my Accounts numerous times to no avail.  Is there anythin

    My computer continually asks me to enter my password for Keychain access. This problem is continuos and I am having trouble with eliminating it.
    I have changed my password through Security and my Accounts numerous times to no avail.
    Is there anything I can do other than Resetting the entire computer and re installing all of the software, apps, etc.etc.

    Back up all data before proceeding.
    Launch the Keychain Access application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad and start typing the name.
    Select the login keychain from the list on the left side of the Keychain Access window. If your default keychain has a different name, select that.
    If the lock icon in the top left corner of the window shows that the keychain is locked, click to unlock it. You'll be prompted for the keychain password, which is the same as your login password, unless you've changed it.
    Right-click or control-click the login entry in the list. From the menu that pops up, select
              Change Settings for Keychain "login"
    In the sheet that opens, uncheck both boxes, if not already unchecked.
    From the menu bar, select
              Keychain Access ▹ Preferences... ▹ First Aid
    There are four checkboxes in the window that opens. Check all of them. if they're not already checked. Close the window.
    Select
              Keychain Access ▹ Keychain First Aid
    from the menu bar and repair the keychain. Quit Keychain Access.
    If you use iCloud Keychain, open the iCloud preference pane and uncheck the Keychain box. You'll be prompted to delete the local iCloud keychain. Confirm. Then re-check the box. Follow one of the procedures described in this support article to set up iCloud Keychain on an additional device.

  • Problem in creating delivery through VL10B

    Hi,
    While creating delivery through VL10B, i am getting error -
    An item with no delivery quantity is not permitted. Item will be deleted.
    What should be error???
    Ref. My previous Thread..
    Re: Problem in creating delivery through VL10B
    Regards...

    In MMBE transaction, there is sufficient stock.
    Please clear, if this will be allocated to other outbound deliveries..then any problem... How can I check this, that it is allocated to other outbound deliveries.
    How can we it found under the stock "Schedule for delivery"..
    Regards..

  • Error Message when delivery qty more then po qty in MV50AFZ1

    Hi
    Sap Gurus,
    I gt a requirement  that while creating deliveries in vl02n
    if delivery quantity greater then po qty it should through error
    but i have alredy done coding in mv50afz1 user exit its working fine. My problem is if delivery no is differnt for the po no.
    it is not giving error because delivery quantity is less for differnt deliveries .
    this is the code i have written,
    data : v_menge type ekpo-menge,
    Getting Quantity from ekpo Table
    select single menge
                  into v_menge from ekpo
                  where ebeln = lips-vgbel
                  and ebelp = lips-vgpos.
    if sy-subrc = 0.
    Cheking the Condition for Delivery Type
       if likp-lfart = 'ZGND' or likp-lfart = 'ZGNL' or likp-lfart = 'ZGNS'.
    Cheking Condition if Delivery Quntity More than Po Quantity
        if v_menge < lips-lfimg.
         message e002(zt) with 'Delivery Qty Cannot be Greater than PO Qty'.
        endif.
      endif.
    endif.
    this is checking for single delivery quantiry greater then po qty
    but if multiple deliveries it is not working.
    Please suggest me to write logic and coding chages.
    ravi n
    Edited by: Nekkannti Ravi Kumar on May 12, 2008 10:01 AM

    Hi,
    First u have to find all deliveries againegt PO Item (material). find out total deleviry qty + present delivery qty.
    than check with PO qty ..
    I think it will solve.............
    Gupta.......

  • Problem in inbound delivery

    Dear All,
    Problem is related with vendor return cycle 122.
    As we know whenever doing return delivery w.r.t. PO No. ,system opens quantity equals to return delivery quantity. 
    But in case of GR with refernce to inbound delivery it nat hepens in tha samw manner.
    System should open  the qty which is returned to vendor through mov ty 122 in respective inbound delivery.
    System is giving following error message : "Essential transfer parameters are missing in record: 0000311346 000010
    Message no. VL561"
    Please tell me by which way is it possible.
    Needed any configuration.
    Thanks an regards
    Gitesh

    Hi Chunduri,
    I think the problem is in Delivery Item Category.
    First Check the Item categroy in the Inbound Delivery.
    Later go to OVLP T-code and activate Relevant for Putaway in Warehouse Control and Packing Section.
    Hopefully this cusmization should solve your issue.
    Regards
    Krishna

  • Picking qty less than Delivery qty alert - Urg

    Hi Guys,
    We have done a configuration for order to cash scenario on ECC6.0 now we have one requirement that if picking quantity less than delivery quantity it should send an alert to customer representative.
    I have few questions below before start up configuration for that process.
    1. How do i configure to the system to send an alert when there is short pick in delivery document? 
    2. When customer representative receives the notification he or she make the necessary changes manually change in delivery document of delivery qty to picking qty.
    3. How do i say the logic to ABAPer to do a coding, I think there is no standard configuration to do that or if it is please write back to me.
    I posted few questions but none of the questions answered to me.
    Please go through and reply me back... Urgent.
    regards
    rc gopi

    Dear Senni.B,
    > I want to enter less picking qty than delivery qty during delivery process.
    As per the standard functionality picking quantity should be equal to the delivery quantity.
    And not advaisable less picking qty than delivery qty during delivery process.
    Can you plse give more details In which scenario you require this functionality and what is the use of that.
    I hope this will help you,
    Regards,
    Murali.

  • How to update picked qty as delivery qty while creating outbound delivery

    Hi,
    I am using badi definition LE_SHP_DELIVERY_PROC to update delivery qty as picked qty at the time of creating delivery. By using method SAVE_DOCUMENT_PREPARE I am populating delivery qt(yCT_XLIPS- G_LFIMG) to picked qty(CT_XLIPS[1]-PIKMG). and i am also populating update flag as 'I'. after saving the delivery document i am not able to update picked qty which was populated in BADI. could you please suggest anything needs to care. thanks in advance.
    Regards,
    Peranandam

    Hi,
    I did a little test and, within the method CHANGE_DELIVERY_ITEM, itu2019s possible to fill the picking quantity (structure CS_LIPSD) but unfortunately during the save the added information is lost.
    This is because the BAdI method is fired too soon and the routine PICKMENGE_BEARBEITEN (SAPFV50P) is not called at all.
    The problem is quite complex; even after changing the picking quantities, the picking status still remains open!
    The picked quantity is generally filled:
    u2022     by printing the picking list
    u2022     Warehouse Management by creating a transfer order
    u2022     or by manual entry
    Otherwise, it is assumed that picking has not yet been initiated and the result is that picked quantity is ignored.
    In my opinion itu2019s very difficult to solve your problem using only the BAdI implementation.
    I suggest you to propose an alternative solution such as the automatic processing of Picking Output EK00; easy to activate and absolutely standard!!!!!!
    Regards,
    Andrea

  • Pick qty copied to delivery qty without creating TO.

    Hi,
    I have this issue, can some one help me out?
    We have Lean warehouse managemant configured.
    While I'm creating a delivery using VL10C, delivery is created subsequently the delivery qty is copied to Pick qty, whick disables my TO creation using VL06O Picking.
    Due to this filling of picking qty in delivery, the requirment is satisfied to trigger the TO during TO creation.
    Expecting a reply.
    Mahi

    Yes, I got to resolve this issue by myself.
    The problem is in the Transfer order Output condition type. I had dispatch time 4 - Send immediately assigned to the output condition record. This forces the TO order to be created immediately.
    As a rule to create TO the Pick qty field in delivery document has to be filled in with the delivery qty. Hence the delivery qty has copied into the pick qty field.
    I changed this dispatch time to 3 and now it works fine.
    Mahi

  • Error Message V1810 - Make to Order No Change delivery plant in Sales Order

    Hello, for a client where I'm setting the flow intercompany , but i have  an error on the Sales Order when I must be change delivery plant.
    Scenario: Make to Order, Product configuration, Sales Order BOM created by  CS60
    Step:
    1 - I create sales order fo company X delivery plant 1000
    2 - Creates Order BOM on plant 2000 Company Y
    3 - creates MRP Planned Order
    4 - Convert Planned Order to Production Order
    For different issues can happen that you decide to ship the goods to a different plant than the X. Production Plant remains 2000.
    If I try to change the plant on the Order system stops me with the following error:
    Message V1810 - Plant can no longer be changed
    Diagnosis
    The plant can no longer be changed in the Following situations:
    The item has been assigned to a project.
    There is a production order for the order item but it is not a staticassembly order.
    Already have accrued costs.
    For the very complex structure of the product I can not delete the production order and sales order BOM.
    How do I handle these cases?
    Can anyone help me?
    Best regards
    Giuseppe

    Hi Guiseppe,
    can you please answer some questionsa to understand your requirement.
    if you want to transfer the goods from plant to plant you can do it through Stcok transfer MB1B t code.
    1.then why you want to change the plant? in which element you are trying to do in sales order or production order?
    2.you mention it as intercompany and MTO can you be clear for whoom you got the sales order(internal or External Customer?

  • PO qty and Value with Inbound Delivery qty

    Dear all
    i have a report requirement, client wants to have a report on the basis of Inbound delivery qty. for eg.
    If Po qty is 100 @ $10.00 each Total Po value = $1000
    if he makes a inbound delivery of 20 qty Report should display outstanding delivery qty as 80 and with reduced value .of $800
    Pl tell me how to get these details.
    Regards
    Manoj

    Hi Manoj,
    I think you should should copy ME2M and change the output.
    Sanjeev

Maybe you are looking for

  • Text wrap issue

    I had graphic elements on a page that I had text wrapped around correctly. I dedcided I was going to use those elements for all pages, so I moved them to the masters. When I did that, the text wrap went away. It still shows up on the master pages, bu

  • How can you make Firefox's settings the same on mulitple computers (not the same as sync)?

    I would like Firefox (version 4) to look and have the same settings on more than one desktop. This is not the same as 'sync' which just synchronizes your bookmarks, history, and passwords. I want the look and placement of all the toolbars, etc to be

  • Why do you need to format an external back up drive for os extended?

    help

  • Variables Not Appearing Correctly

    I am using RoboHelp 8 and FrameMaker 9. In RoboHelp, I have linked to a FrameMaker book. I have encountered a problem that I cannot seem to resolve. All of my FrameMaker variables have imported correctly. However, in a few instances the following cod

  • Error when connecting not resolved by restore

    My iPod touch connects to iTunes and syncs everything it needs to, but I get the error message "The iPod '(name)' cannot be synced. An unknown error occured (-50)." I tried to restore it from a backup but that did not resolve the issue. This error be