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

Similar Messages

  • I have a question my iphone4s has a problem when updated iOS8 there will be freeze problem i think iOS8 is not supported in 4s!!!!!!!!!

    i have a question my iphone4s has a problem when updated iOS8 there will be freeze problem i think iOS8 is not supported in 4s!!!!!!!!!.
    one more question when i phone5 update with iOS 8.1.2 this iOS supported iphone5???

    Hi Ios 8.1.2 Should work on iPhone 4s / 5 You may have a bug Backup to  cloud over WiFi Then Restore back to Factory  Settings This will make iPhone as new. Use same Apple ID & you will get your Apps & Data back Do Restore over your WiFi. Cheers Brian

  • Validation problem when update a row in OAF

    created a application using OAF. No problem to create a row, when tried to update the row, received the following error message:
    oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key
    2) Steps to Reproduce
    select a row from search result page for update, after change the value and apply it, received the following error message:
    oracle.jbo.RowValException: JBO-27012: Row validation method validation() failed for row with key oracle.jbo.Key

    yes. it is the EO based VO page. Create and Update used same VO and no problem to create the row, had problem when update the row.

  • Problem while updating Delivery date uisng BAPI_PO_CHANGE

    Hi friends,
    Iam facing a problem while updating delivery date of a purchase order using the bapi BAPI_PO_CHANGE
    After the bapi is getting triggered iam geting sy-subrc = 0
    But in the return parameters iam getting 3 error messages so iam unable to update the  delivery date..
    Error meesage which iam getting are
    a) Purchase order still contains faulty items
    b) Enter Tax Code
    c) Instance 1000001 of object type PurchaseOrder could not be changed.
    How can i correct it..
    Please find my code below
    LOOP AT it_eket INTO wa_eket.
        wa_poschedule-po_item = wa_eket-ebelp.
        wa_poschedule-sched_line = wa_eket-etenr.
        wa_poschedule-delivery_date = wa_eket-eindt.
        APPEND wa_poschedule TO poschedule.
        wa_poschedulex-po_item = wa_eket-ebelp.
        wa_poschedulex-sched_line = wa_eket-etenr.
        wa_poschedulex-po_itemX = 'X'.
        wa_poschedulex-sched_lineX = 'X'.
        wa_poschedulex-delivery_date = 'X'.
        APPEND wa_poschedulex TO poschedulex.
    READ TABLE IT_EKPO INTO WA_EKPO WITH KEY EBELN  = WA_EKET-EBELN
                                             EBELP = WA_EKET-EBELP.
          IF SY-SUBRC = 0.
          WA_POITEM-PO_ITEM = WA_EKPO-EBELP.
          APPEND WA_POITEM TO POITEM.
          WA_POITEMX-PO_ITEM = WA_EKPO-EBELP.
          WA_POITEMX-PO_ITEMX = 'X'.
          APPEND WA_POITEMX TO POITEMX.
         ENDIF.
        CALL FUNCTION 'BAPI_PO_CHANGE'
          EXPORTING
            purchaseorder = wa_eket-ebeln
          TABLES
            return        = t_bapiret2
            POITEM        = POITEM
            POITEMX       = POITEMX
            poschedule    = poschedule
            poschedulex   = poschedulex.
        READ TABLE t_bapiret2 INTO wa_bapiret2 WITH KEY type = 'E'.
        IF sy-subrc NE 0.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
    * IMPORTING
    *   RETURN        =.
          IF sy-subrc = 0.
            WRITE :  'DELIVERY DATE UPDATED'.
          ENDIF.
        ENDIF.
    how can i correct it...
    Regards
    Kumar

    Hi,
    Pass the following values...
    POACCOUNT LIKE BAPIMEPOACCOUNT...
    poaccount-TAX_CODE = ? (value)....
    That should take care of the missing field.
    Regards,
    Madan..

  • I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error.

    I have a problem when updated the new release of iphoto version(11 jun 2012). After that I cannot open any photo libraries and program is error. I must to force quit iphoto window. There are any fixed bug update.

    If you have no photos:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library' and start.
    Regards
    TD

  • I have a problem when updating applications on iOS 7.0.2

    I have a problem when updating apps on iOS 7.0.2 to go to the appstore I get the update but only tells me open, not update, I have to uninstall and reinstall te app and gives me the option to update. Sorry my bad english

    I am in the process of installing 9i on SUSE Linux 7.2. The only Linux that is certified to run 9i. The machine is is a fresh install of SUSE. I am running into the same problem. I ran through the first make problem by going to a shell and invoking a make -f oemagent.mk. Built the library just fine. Got errors when trying to run make -f ins_rdbms.mk. Not sure why the installer or the command line is having problems.
    Not sure if I can just hit Ignore and go on????
    Any help would be appreciated. You would think 9i would spread like butter on their "Certified" platform.

  • Hlep.. Problem when updating aspx templates

    Hi there, I-m having a huge problem when updating pages from
    a .asp template, it replaces my 1 line of code
    with <%@ Page Language="VB" ContentType="text/html"
    ResponseEncoding="iso-8859-1" %> and errases the resto of the
    attributes i have on each page, making it unfunctionable.
    Does anyne know why the template when updating does that?
    thanks for your help

    Hi Suman,
    The changes are getting lost when i logout and login back to SAP.
    In Current session i am able to see the changes. But changes are lost as soon as i end up my session,
    but this is happening only in case of template box width. All other changes are retained between my various SAP sessions.
    So wanted to know if any other value is over-writing the template box width values.
    Regards
    Manpreet Singh

  • I have problem when update to belle the folder of ...

    I have problem when update to belle the folder of games disappear??  c7
    I need to solve ??? Plus

    Do you mean that pink folder w/ the controller icon on it?  I lost that too on my N8.  Actually, lost all of the folders that came with Anna like Applications & Music.  Wish I could get them back as now I can only make the generic yellow folder which isn't as aesthetically appeasing.
    However, reading articles on Belle there was a picture of a Belle N8 with the games folder shortcut on the homescreen - so maybe it still exists & I just cannot find it.
    Good luck & I'll let you know if I figure this out.

  • I have problem when updating the latest version of Pro-X, I tried for several times, so I uninstall and re-install it. It is unsuccessful to re-install the Pro-X and it direct me to ask help from CS,also showing this message: Exit Code: 6  Please see spec

    I have problem when updating the latest version of Pro-X, I tried for several times, so I uninstall and re-install it. It is unsuccessful to re-install the Pro-X and it direct me to ask help from CS,also showing this message: Exit Code: 6  Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW025, DW050 ... WARNING: DW024, DW025 ..., please advice me the step to re-install the Pro-X. Thanks

    Please follow Errors "Exit Code: 6," "Exit Code: 7" | CS5, CS5.5
    Do let us know if it worked.
    Regards
    Rajshree

  • Updating delivery quantity irrespectuve of errors using Std FM's

    Hi all,
    Im need to update the quantity for an inbound delivery.I tried using  FM "BBP_INB_DELIVERY_UPDATE".But it gives different results for dfferent Inbound delivries.For some the update happens while for some it doesnt.
    The main problem is it doesnt return any exception parameter/error table to know that the update hasnt happened
    this FM in turn actually calls the FM 's WS_DELIVERY_UPDATE' and WS_DELIVERY_UPDATE'_2 .These functina have return parameters for errors and hence can be useful in checking the confirmation of update.
    However when using these FM 's(WS_DELIVERY_UPDATE' and WS_DELIVERY_UPDATE'_2).,sometimes if there are any errors found,the program stops there and nothig happens further.How do I avoid these errors when using these FM's.I basically need to update the quantty in the dleivery forcefully irresepective of the errors!
    Please suggest?
    Also if i need to copy the std FM's (mentioned above) which one should i copy??Has anybody worked on a similar reqt earlier?
    Thanks.

    Hi,
    Could you get the solution for your problem? I am having the same problem and I couldnu2019t solve it.
    There is a note 1073754  - BBP_INB_DELIVERY_UPDATE: Missing error Handling but it didnu2019t solve it for me.
    If you have some information you could share with me I would be really grateful.
    Thanks in advanced.
    Maria

  • Pbm in updating delivery quantity and picked quantity in VL03N transaction

    HI all,
    I m using the BAPI 'WS_DELIVERY_UPDATE_2' for changing the picked quantity in VL03N transaction.
    But this BAPI is not changing the picked quantity. Instead it add the old quantity with the new quantity what i mentioned in the ITEM_DATA (VBPOK_TAB table) of this BAPI..
    For example, if the delivery quantity is 3 and picked quantity is 3 for a material item,
    I want to change both the quantity as 2. Is is possible to change both the quantities through BAPI?
    Im using BAPI_OUTB_DELIVERY_CHANGE to update the delivery quantity as loong as the picked quantity is 0.
    If both picked and delivery are same (for example, both are 2),  then i need to change both the quantities (say 1).
    So how can i update both the quantities?
    If so, pls share the BAPI details for achieving this..
    Regards,
    Shanthi

    not answered

  • Problem in updating Pick Qty using SD_DELIVERY_UPDATE_PICKING_1

    Hi,
        I am updating the picking quantity in a delivery document using function module SD_DELIVERY_UPDATE_PICKING_1.
         However the document flow shows the picking request is still Open and not Completed. This does not happen when I do this online. Am I missing something in the parameters.
          Please advise as the documentation of this function module is not very clear.
    Thanks and Regards,
    Aditya

    Hi Ranjith,
             Thanks for all your input. I also posted a message to SAP and they recommended SAP Notes 457925 and 491875.
         I might go in for BDC as a last resort on VL02N since time is quite a constraint.
         I really appreciate the inputs you have given.
         Actually my customer system is running on mySAP ERP ECC 5.0 so it would certainly have all the note corrections mentioned in the several notes
    Thanks and Regards,
    Aditya

  • Problem while updating Item category using Bapi_salesorder_change

    Hi,
    Iam facing a probelm while updating item category using bapi Bapi_salesorder_change
    In the Return table iam getting the folowing mesages.
    Inforation mesage : Field 'PSTYV' cannot be changed, VBAPKOM 000010  ready for input
    Error Message : Item 000010 cannot be processed.
    Please find the code below
    CLEAR wa_bapisdh1x.
      wa_bapisdh1x-updateflag = 'U'.
      CLEAR wa_order_item_inx.
      wa_order_item_inx-itm_number = wa_vbap-posnr.
      wa_order_item_inx-item_categ = 'X'.
      wa_order_item_inx-UPDATEFLAG = 'U'.
      APPEND  wa_order_item_inx TO it_order_item_inx.
      CLEAR wa_order_item_inx.
      CLEAR wa_order_item_in.
      wa_order_item_in-itm_number = wa_vbap-posnr.
      wa_order_item_in-item_categ = 'ABC'.
      APPEND wa_order_item_in TO it_order_item_in.
      CLEAR wa_order_item_in.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument    = w_vbeln
          order_header_inx = wa_bapisdh1x
        TABLES
          return           = it_return
          order_item_in    = it_order_item_in
          order_item_inx   = it_order_item_inx
    How can i correct it..
    Regards
    Kumar

    Actually iam facing a strange problem here.
    When i copy the program into another sample program and execute it iam able to change both the item catgegory and delivery block for particular sales order and item number.
    But in my main program i have BDC for MB1B transaction to create the material document.
    Once the material document is created succesfully iam using BAPI Sales_order_change to change the item category and delivery block..
    In my main program iam not to change the item catgeory getting an error field PSTYV cannot be changed.
    But the same code is running percfectly in the copied one..
    How can i correct that..
    Regards
    Kumar

  • Update Picking Quantity using 'WS_DELIVERY_UPDATE_2' - URGENT

    Hi Experts,
    I am struck with an error in updating the delivery. I am using an rfc WS_DELIVERY_UPDATE_2 which is updating the picking quantity one for the first time in a delivery with two delivery quantity in a batch but when iam using it for the other one it is not updating the quantity. I think the parameters which iam passing to RFC might be wrong. I am using the rfc as follows:
    CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
            EXPORTING
              VBKOK_WA             = WA_VBKOK
              SYNCHRON             = 'X'
              DELIVERY             = DEL_NBR
              UPDATE_PICKING       = 'X'
              COMMIT               = 'X'
              IF_DATABASE_UPDATE_1 = '1'
            TABLES
              VBPOK_TAB            = TAB_VBPOK
              PROT                 = I_PROTT.
    Please correct me if anything is wrong in the interface.
    Any quick response will be appreciated & rewarded.
    Thanks

    Hi seshu,
    It is triggering an error tht interface is not complete.
    so i changed the code:
    tables: vbfa.
    DATA : WA_VBKOK LIKE VBKOK.
    DATA : I_VBPOK LIKE VBPOK OCCURS 0 WITH HEADER LINE.
    DATA : I_PROT LIKE PROTT OCCURS 0 WITH HEADER LINE.
    clear vbfa.
    START-OF-SELECTION.
      WA_VBKOK-VBELN_VL = '0080882358'.
    SELECT SINGLE * FROM VBFA WHERE VBELN = WA_VBKOK-VBELN_VL.
    IF SY-SUBRC = 0.
      WA_VBKOK-VBELN = VBFA-VBELV.                    " Sales and distribution document
    ENDIF.
    Fill the item level
      I_VBPOK-VBELN_VL = '0080882358'.
      I_VBPOK-POSNR_VL = '900001'.
      SELECT SINGLE * FROM VBFA WHERE VBELN = I_VBPOK-VBELN_VL AND
                                      POSNN = I_VBPOK-POSNR_VL.
      IF SY-SUBRC = 0.
        I_VBPOK-VBELN = VBFA-VBELV.                   " Sales and distribution document
        I_VBPOK-POSNN = VBFA-POSNV.                   " Item of an SD document
        I_VBPOK-VBTYP_N = VBFA-VBTYP_N.                 " Document category
      ENDIF.
      I_VBPOK-MATNR = '9692A\260'.
      I_VBPOK-CHARG = '0000010669'.
      I_VBPOK-PIKMG = '1.0'.
      APPEND I_VBPOK.
      CALL FUNCTION 'SD_DELIVERY_UPDATE_PICKING'
      EXPORTING
      VBKOK_WA = WA_VBKOK
      SYNCHRON = 'X'
      NO_MESSAGES_UPDATE = SPACE
    NICHT_SPERREN = ' '
    AUFRUFER_T = ' '
      IF_ERROR_MESSAGES_SEND = 'X'
      TABLES
      VBPOK_TAB = I_VBPOK
      PROT = I_PROT
    if sy-subrc = 0.
          COMMIT WORK.
        WRITE:/ 'success'.
      else.
      write:/ 'not success'.
      endif.
    It is working fine in updating a delivery with 10 qty for only 8 picking but later when i am using it for the rest i.e., 2 picking qty, it is not working.
    Could please  hepl me with this.
    Thanks

  • I have a problem when update tables with a database link (APEX)

    Hi, I search answers for my problem and I not found a solution. My problem start when I open page with database link statement in APEX. I drop tables and execute this for update the tables in APEX.
    EXECUTE IMMEDIATE 'CREATE TABLE XXXXXXX
    AS
    SELECT A1,A2,A3
    FROM AAA@BBB';
    I use Mozilla Firefox and isn't always updated the tables because it shows dialog for downloading file "f". I rename the file to txt and I see the text "IBMPC/WIN_NT-8.1.0"...
    In the explorer always show a window only the text "IBMPC/WIN_NT-8.1.0"...
    What is the solution for my problem? I need update this tables.
    Thanks. John.

    It's easy. It doesn't work a database link, on apex, with a pl/sql code or store procedure.
    I saw that many people had the same problem but I don't see a solution.
    As I put up, I want to remove my tables on APEX and copy the table of my Oracle database with the update dates.
    The posts are from the same problem as my English is very bad, it got to help explain the problem.
    I have a page with a pl/sql code. This code in Oracle is correctly.
    For example, with this code I update the table PRUEBAS with the data of TABLEX.
    BEGIN
    BEGIN
    EXECUTE IMMEDIATE 'DROP TABLE "PRUEBAS"';
    EXCEPTION WHEN OTHERS THEN NULL;
    END;
    EXECUTE IMMEDIATE 'CREATE TABLE "PRUEBAS"
    AS
    SELECT AAA,
    BBB,
    CCC
    FROM TABLEX';
    END;
    But, in this code, I have the problem.
    BEGIN
    BEGIN
    EXECUTE IMMEDIATE 'DROP TABLE "PRUEBAS"';
    EXCEPTION WHEN OTHERS THEN NULL;
    END;
    EXECUTE IMMEDIATE 'CREATE TABLE "PRUEBAS"
    AS
    SELECT AAA,
    BBB,
    CCC
    FROM TABLEX@DB_LINK';
    END;
    I sometimes get an error. Sometimes it works fine, but half of the tries Apex returns "IBMPC/WIN_NT-8.1.0" in the browser and I am not using an IBM PC or Win NT...
    And i read that In the alert_xe.log file there are a error of core dump... ... :S or that the application return corrupt headers.... Is a problem of versions?
    I used a synonym and I have the same problem.      
    Even if I run the code on SQL COMMANDS (SQL WORKSHOP) it shows dialog for downloading file "f". I rename the file to txt and I see the text "IBMPC/WIN_NT-8.1.0"...
    The problem is in Mozilla Firefox and in IE.
    I have the OracleXE 10g (Application Express 3.0.1.00.08).
    And the question is.. ... ... ... ... What is the solution? :)
    Thanks.
    John.

Maybe you are looking for

  • How to get a refund of In-App Purchase in iPad?

    My son was playing around with my iPad and accidentally purchased the Color and Mixer tool in Paper by FiftyThree application on my iPad. I can get a refund for any APP purchased through the App Store from my iTunes Purchase History, but, when I clic

  • Oracle not working with windows server 2003

    After upgrading from windows 2000 with oracle 8i to windows 2003 server I have tried 8i, 9i and now 10g with no success. I can not connect to the oracle database. Using the oracle net configuration assistant and through my asp pages I get the followi

  • Linksys BEFW11S4 v4

    Hi, I have a Linksys BEFW11S4 that works just fine, or so I think. Currently there are 2 desktops and a PS3 connected to the router via cat-5. One desktop has Win Vista/Win 7 (both 32-bit Home) installed and the other desktop has XP Home. I recently

  • How do you fix r6034 error

    I attempted to open iTunes, and it gave me an error message that said: Runtime error!  Program C:\Program Files\iTunes.exe R0634 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support te

  • I can't get napster to work with zen mic

    I have a creative zen micro 5GB player and have updated the most recent firmware. I have Windows XP with service pack 2. I have Windows Media Player 0. I also have the subscription for Napster to Go. My problem is that when I connect my player to the