Issue on bapi outbound delivery change - BAPI_OUTB_DELIVERY_CHANGE

Hi,
i have a delivery with 3 line items. Delivery having freight condition type in its header level. Now i am deleting any one of the line item of this delivery using bapi  BAPI_OUTB_DELIVERY_CHANGE, it is also deleting freight condition type at header level of delivery.
How to restrict to delete freight condition type at header level of delivery while deleting any line items from the particular delivery? Please suggest me some solution.

As per my best knowledge this behaviour is controlled
1 in the mentioned customizing path. If the field is empty for your WH/movement type combination then comes 2
2 manually or through parameter "LGK" in user profile
When you create the TO e.g. in LT03 can you see anything in field "Adopt pick quantity"? (RL03T-KOMIM)
If neither 1) nor 2) are applicable I would check user exits...because I'm not aware of any other setting which would influence this.
(maybe the others can give further suggestions)
Edited by: Csaba Szommer on Mar 2, 2010 6:48 PM

Similar Messages

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Post a good issue against an outbound delivery with movement type 601 K

    Hello,
    according to my business scenario I need to manage the stock of different vendors into the client's location (plant) at storage location level and I need to post the good issue against an outbound delivery to decrease the stock level.
    Since the owner of the goods isn't my client the item is managed only at quantity level (not value) so I'm not interesed in the accounting document.
    To do it I'm using the functionality related to the vendor consignment stock but I'm not able to post the good issue against an outbound delivery using the movemement type 601 and the special stock indicator equal to K.
    In particular I've tried in two different ways:
    - setup the consignment stock indicator (= K) into the sales item category, but when I post the goods issue the system is not able to find out the right vendor
    - to create a stock determination rule instead of the setting previous described, but the system display an error message (Fld selectn for mvmt type 601 / acct L534200770 differs for Cost center (010) ) even if the accouting is not relevant in my scenario
    Can you suggest me how the system has to be setup in order to cover my requirements?
    Thanks in advance,
    Alessandro

    Hi,
    Please clarrify which material type you are using in this scenario? I suggest you to use material type UNBW (no value updation will be there) and create a material master.  Use special stock indicator K. Proceed with 601K to do GI. Hope it works. Thanking you.

  • Issue while creating Outbound Delivery using Standard BAPI

    Hi all,
    I am trying to create an outbound delivery for a Sales order using the Standard BAPI - BAPI_OUTB_DELIVERY_CREATE_SLS.
    After giving the valid inputs for Sales order no and doc no, am getting an error as "No instance of object type OutboundDelivery has been created. External reference:" But when trying to create manually there is no problem. Please suggest what may be the issue and how to correct it?
    Regards,
    Vimala P

    Hi Vimala,
    I am trying to create outbound delivery using BAPI_OUTB_DELIVERY_CREATE_SLS & BAPI_DELIVERYPROCESSING_EXEC. But no success. Getting "No instance of object type outbound delivery has been created" in return.
    1) Delivery Type
    2) Delivery selection date
    Needs to be passed in import parameters.
    Could you please tell me what are all the parameters to be passed under tables tab in RV_DELIVERY_CREATE?
    Thanks in Advance..
    Regards,
    Rajasekar .M

  • BAPI for Delivery Change

    Hi,
    There is a structure for EXTENSION1 & EXTENSION2 in the bapi's BAPI_OUTB_DELIVERY_CHANGE & BAPI_DELIVERYPROCESSING_EXEC.
    How that will help to update lips. I have created custom fields in LIPS . Will these structures help to update LIPS ?
    Thanks

    have you tried the below bapi? were they use ful
    BAPI_INB_DELIVERY_CHANGE  -  Change inbound delivery
    BAPI_INB_DELIVERY_CONFIRM_DEC  - for inbound delivery verification from a decentralized system
    BAPI_INB_DELIVERY_SAVEREPLICA - Function Module for Replication of Inbound Deliveries
    BAPI_OUTB_DELIVERY_CHANGE - for Change to Outbound Delivery
    BAPI_OUTB_DELIVERY_CONFIRM_DEC - for Outbound Delivery Verification from a Decentralized System
    BAPI_OUTB_DELIVERY_SAVEREPLICA - Function Module for Replication of Outbound Deliveries

  • Unable to update Qty for outbound Delivery using BAPI_OUTB_DELIVERY_CHANGE

    Hi Experts,
    I am unable to update the Outbound Delivery quantity using FM BAPI_OUTB_DELIVERY_CHANGE. I am getting error in BAPI Return "Error in document &1 item &2 (quantity consistency check)".
    Here is my sample program to update Quantity
    *& Report  ZTEST_BAPI                                                  *
    REPORT  ZTEST_BAPI                              .
    tables : lips.
    parameters : v_vbeln like likp-vbeln,
                 v_posnr like lips-posnr.
    data : it_item type BAPIOBDLVITEMCHG occurs 0,
           wa_item type BAPIOBDLVITEMCHG,
           it_return type BAPIRET2 occurs 0,
           i_head type BAPIOBDLVHDRCTRLCHG,
           i_hdata type BAPIOBDLVHDRCHG,
           wa_conf type BAPIOBDLVITEMCTRLCHG,
           it_conf type BAPIOBDLVITEMCTRLCHG occurs 0.
    start-of-selection.
    select single * from lips into lips where
                      vbeln = v_vbeln
                      and posnr = v_posnr.
    if sy-subrc eq 0.
    move lips-vbeln to I_hdata-DELIV_NUMB.
    *append wa_hdata to i_hdata.
    move lips-vbeln to wa_item-DELIV_NUMB.
    move lips-posnr to wa_item-DELIV_ITEM.
    move lips-matnr to wa_item-MATERIAL.
    move lips-charg to wa_item-BATCH.
    lips-LFIMG = lips-LFIMG + 20.
    move  lips-LFIMG to wa_item-DLV_QTY.
    move  lips-LGMNG to wa_item-DLV_QTY_IMUNIT.
    move  lips-VRKME TO wa_item-SALES_UNIT.
    MOVE  'KGM'      TO WA_ITEM-SALES_UNIT_ISO.
    MOVE LIPS-MEINS  TO WA_ITEM-BASE_UOM.
    MOVE 'KGM'  TO WA_ITEM-BASE_UOM_ISO.
    append wa_item to it_item.
    move lips-vbeln to wa_conf-DELIV_NUMB.
    move lips-posnr to wa_conf-DELIV_ITEM.
    move 'X' to wa_conf-CHG_DELQTY.
    append wa_conf to it_conf.
    endif.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CHANGE'
      EXPORTING
        HEADER_DATA               = i_hdata
        HEADER_CONTROL            = i_head
        DELIVERY                  = v_vbeln
      TECHN_CONTROL             =
      TABLES
      HEADER_PARTNER            =
      HEADER_PARTNER_ADDR       =
      HEADER_DEADLINES          =
       ITEM_DATA                 = it_item
       ITEM_CONTROL              = it_conf
      ITEM_SERIAL_NO            =
      SUPPLIER_CONS_DATA        =
      EXTENSION1                =
      EXTENSION2                =
        RETURN                    = it_return
      TOKENREFERENCE            =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    I need to update Qty to the outbound delivery for an given item.
    Thanks for your quick response.
    With Regards,
    Bala Sankar
    9900433488

    Hi Bala,
    make sure you are setting...
    itemdata-dlv_qty
    itemdata-dlv_qty_imunit
    itemdata-fact_unit_nom     e.g = 1.
    itemdata-fact_unit_denom  e.g = 1.
    Rgds
    Glenn

  • Function Module (BAPI) for Delivery Change

    Dear All,
    We have a Function Module "BAPI_SALESORDER_CHANGE" for changes in sales order, wherein we also can enter Texts in sales order.
    Please tell me similar such function module for Outbound Delivery, wherein I can enter / insert / change the Texts (both Header & Item) in a deivery document.
    Regards,
    Dhananjay

    Thanks
    Where in this Function Module do I find the table / parameter for adding text at item & header level.
    Regards
    Dhananjay

  • I can't  post goods issue for the outbound delivery

    I select the indicator of GI via delivery in transport block via TCODE OPKP and assign the production profile to the work schedule view of the material master.then I create a production order for the material and release it.I do the wm material staging for the producion order via TCODE LP10,An outbound delivery was created automatically and the movement type is 261.then I pick for the delivery and confirm the transfer order.When I do the post goods issue there is a error message .
    E M7 226
    Update control of movement type incorrect (entry 261 X X _ _ _ V )
    then I see the onlinehelp,I find the configurations are ok.
    the content is following in table t345.
    werks  supply area  material staging indicaor  
    1000   PVB 1310WM     1                         1   wmpp   10000

    Please kindly refer to the attached notes below :
    523509     FAQ: Control tables (no Customizing)
    161729     M7226 with KZVBR=V
    Hope this helps.

  • Issue of creating outbound delivery

    2011/01/29     Stock                                                            2,963      2,963                
    2010/12/07     Order     0000136645/000030/0001               30-     2,933                
    2010/12/29     Order     0000128407/000020/0001               1,800-     1,133                
    2011/01/04     Order     0000137517/000090/0001               500-     633                
    2011/01/20     PrdOrd     000004080841/NO  /PD     2011/01/13     10     178      811      5000     B
    2011/01/20     Order     0000128409/000040/0001               3,500-     2,689-               
    2011/01/21     Order     0000137516/000080/0001               500-     3,189-               
    2011/01/26     Order     0000141595/000020/0001               3-     3,192-               
    2011/01/26     Deliv.     0081188756/000020/0000               67-     3,259-               
    2011/01/28     Deliv.     0081193482/000030/0000               1,500-     4,759-               
    2011/01/31     IndReq     VSFB/LTP-5CN1               164-     4,923-               
    2011/02/07     IndReq     VSFB/LTP-5CN1               76-     4,999-               
    2011/02/11     PrdOrd     000004080605/NO     2011/01/13     10     2,000      2,999-     5000     B
    2011/02/14     PrdOrd     000004076573/NO     2011/01/13     10     1,900      1,099-     1000     B
    2011/02/14     PrdOrd     000004079824/NO     2011/01/21     10     1,440      341      5000     B
    Could you help to look at above data?
    When I am trying to do goods issue via vl01n, it says only 396pcs available...

    When I am trying to do outbound delivery of 0000128409/0040...

  • BAPI Outbound Delivery

    Hi,
    Is anyone know that could I use BAPI : BAPI_OUTB_DELIVERY_CHANGE to create the new delivery line item of the existing delivery number?
    Regards,
    Nattawat S.

    Hi Rob
    Herinner je me nog Nuon.
    Anjo de Boer
    Leuk om eens oude herinneringen op te halen.
    mijn mail adres: [email protected]
    Cheers
    Anjo

  • PGI Issue while creating outbound delivery.

    Hello All,
    I am facing a strange issue while doing PGI .The system gives the message as shown below ,although we have maintained Posting Periods in both MMPV and OB52. Please help on this issue.
    Posting only possible in periods 2011/07 and 2011/06 in companlly code 1000
    Message no. M7053
    Diagnosis
    The posting date entered is not within one of the permitted posting periods (current period/previous period).
    This can be due to one of two reasons:
    The correct current period has not been set in the system.
    For the system, the first of the entered periods is the current period. At the beginning of a new period, your systems administrator must change the current period in the material master record, using the function "Shift periods". This has not yet been done.
    You have entered a wrong date in the field "Posting date".
    Procedure
    Check the posting date and correct it if necessary. If your input is correct, inform your systems administrator that the "period shifting" (period-end closing) process has not yet been completed. Copied from M8022
    Regards
    Deepak

    Hi Deepak,
    1-Please close all the login of the user logged in.
    2-Goto SU01,put the required user ID and click on for change mode.After this goto "Parameters" Tab.
    3-Add parameter Id="MMPI_READ_NOTE".It will read the SAP Note 487381 and allow you to initialize.
    4-In the parameter value,put the current date and then save
    5-Now goto MMPI and put the date=05.07.2011 or in period you can put 1 and fiscal year=2011 for the respective company code and execute.This will open the July Month of 2011.Hence will allow the posting on 05.07.2011
    6-Now check in MMRV,it will show fro the respective company code,the current period will be 01....2011 and previous Period=12...2010.
    7-Now do all the activities for july 2011 month.
    8-After July close the period through MMPV and it will automatically open for Aug month i.e 06..2011 period
    please try to check based on the above steps
    Revert with your result
    Regards,
    Prasanna

  • Batch splitting for Outbound delivery using BAPI_OUTB_DELIVERY_CHANGE

    Hi all,
    Let me explain the scenario first.
    We are going to create a delivery in SAP with some line items and send it to a non-sap third party WMS.  They will pick the goods and send the delivery confirmation back to SAP.  In SAP we need to delivery confirmation and PGI.
    The problem is when the third Part WMS does a batch split for a particular line item, we need to update the same in SAP and then do the PGI.  For this I was trying to use BAPI_OUTB_DELIVERY_CHANGE to create split batches.  It is splitting the batches but the overall pick status is becoming B (Partially picked).  SO it is not allowing to do the PGI.
    Can anyone solve my problem

    Hi Bala,
    make sure you are setting...
    itemdata-dlv_qty
    itemdata-dlv_qty_imunit
    itemdata-fact_unit_nom     e.g = 1.
    itemdata-fact_unit_denom  e.g = 1.
    Rgds
    Glenn

  • HELP BAPI OUTBOUND DELIVERY

    how fill the input/output tables TEXT_HEADER and TEXT_LINES to create a header text for a newly created delivery by function module BAPI_DELIVERYPROCESSING_EXEC or other function module?. appreciating much its collaboration

    use:
    TEXT_LINES
    DELIV_NUMB delivery number
    DELIV_ITEM item number
    TEXT_ID text id of the text schema (ex: 0001)
    LANGU language (ex EN)
    LANGU_ISO leave blank
    LINE_NUMB line number: 1,2,3....
    FORMAT_COL set to *
    TEXT_LINE the text line with your text
    roberto

  • Change of Sales order info without deletion of Outbound Delivery Order

    Hi Experts
    Background :  Although Invoice has been created and issued , Customer request SD user to divide the invoice into two invoices.
    or change the amount or quantity with same order No.
    AS IS  : 1 . Cancel invoice -> Reverse PGI -> Delete Outbound Delivery -> Change Sales Order -> Create New Outbound Delivery -> PGI ->
    Invoice
    Please let us know how to change sales order info ( cases : seperate 1 item with two items , change ship-to-Customer ,,,,,,,
    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    Pls help me on this
    Thanks In advance

    Further Explanation on this : After the invoice has been issued, If the customer wants to change the quantity 10, into two line items and One line item with 5 quantity another line item into another 5 quantity , wnats to have two seperate Invoices for this
    Then, you have to first change the same in SO. to do so, you have to reverse all the process to reach SO & amend as required.
    Parila quantity billing is another way to have 2 seperate invoices.
    Is it possible to have?
    And some times the user wants to change the Ship to party after the Invoice has been issued, Is it possible to change ?
    This is doesnt seems logical or Business need. Once goods are alredy sent to respective partner. I dont think business asks you to change the Party name that too Invoice is already made. Is it your assumption or business requirement?
    if its really a business requirement, instead of thinking about the solution, suggest you to educate the Business. Is there any such practical scenario happens in the Market. I dont think so.

  • Creating Outbound Delivery using BAPI

    Hi All,
    Can anyone advice is there any way to create Oubound Delivery using BAPI.
    If you have come accross with such developments or idea, can you please share your idea?.
    Thanks,
    Muruganand.K

    Hi,
    Use BAPI_DELIVERYPROCESSING_EXEC - Create Delivery from Delivery Due List
    BAPI_OUTB_DELIVERY_CONFIRM_DEC  BAPI for Outbound Delivery Confirmation from a Decentralized System
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized System
    BAPI_OUTB_DELIVERY_CHANGE
    BAPI_OUTB_DELIVERY_CREATENOREF
    BAPI_OUTB_DELIVERY_CREATE_SLS
    BAPI_OUTB_DELIVERY_CREATE_STO
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    Also check
    BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N
    BAPI / FM for Create Outbound Delivery for PO
    Outbound  Delivery User Exits
    EXIT_SAPLV50I_003              User Exit BAPI Outbound Delivery Replication
    EXIT_SAPLV50I_004              User Exit BAPI Outbound Delivery Confirmation
    EXIT_SAPLV50K_007              User Exit BAPI Outbound Delivery Replication (Outbound from Sender System)
    Function module: OIJ_EL_DOCG_CREATE_DELIVERY - Create outbound delivery

Maybe you are looking for