FM/BAPI Packing of Delivery

Hello All,
Is anyone aware of FM/BAPI to be used to pack a delivery.Data we have is delivery and HU.We can easily do same via VL02N but doesnot work via FM SD_DELIVERY_UPDATE_PACKING or HU_PACKING_DELIVERY alongwith COMMIT WORK but none works.
It will be great if anyone provides with code as well.
Thanks,
Vikram

Thanks Nagendra,
We would do same thing.
Do you have code ready with you because there are many parameters as such for same and time that we have will not permit RnD.
What we have is just delivery and HU.It would be great if you post code for same.
Thanks,
Vikram

Similar Messages

  • How to create invoice using bapi  base on delivery number with example

    hi,
    Pl give me one example to create invoice using bapi base on delivery number (PGI).

    Use this code
    * Pass the delivery no to the FM to create the invoice
          wa_vbsk-smart = u2018Fu2019.
            wa_komfk-vbeln = nast-objky. u201CuF0DF-----delivery number
            APPEND wa_komfk TO it_komfk.
            CLEAR wa_komfk.
    *    To fill the message structure
    *        l_wa_error-vbeln_vl = nast-objky. " Delivery No.
    *        l_wa_error-fkart = wa_ztab-bil_doc_type." Billing Doc type
            CALL FUNCTION 'RV_INVOICE_CREATE'
                    EXPORTING
    *                 delivery_date             = 0
                     invoice_date              = v_date  u201C<- date
    *                 invoice_type              = '    '
    *                 pricing_date              = 0
                     vbsk_i                    = wa_vbsk
                     with_posting              = u2018Du2019
    *                 select_date               = 0
                     i_no_vblog                = ' '
                     i_analyze_mode            = ' '
                     id_utasy                  = ' '
                     id_utswl                  = ' '
                     id_utsnl                  = ' '
                     id_no_enqueue             = ' '
                     id_new_cancellation       = ' '
    **             IMPORTING
    *               VBSK_E                    =
    *               OD_BAD_DATA               =
    *               DET_REBATE                =
                    TABLES
                      xkomfk                    = it_komfk
                      xkomv                     = it_komv
                      xthead                    = it_thead
                      xvbfs                     = it_vbfs
                      xvbpa                     = it_vbpa
                      xvbrk                     = it_xvbrk
                      xvbrp                     = it_vbrp
                      xvbss                     = it_vbss
    *               XKOMFKGN                  =
    *               XKOMFKKO                  =

  • Automatic Packing at Delivery level using PACKMODI

    Hello Friends,
    To activate the automatic packing at delivery level without any packing instruction the PACKMODI enhancement can be used.
    Am i Right??
    If so Kindly share some inputs how to used this Enhanacemnt
    It includes 3 User Exit.
    There is no documentation provided for it.
    Pl can any one explain its functionality
    and how it is helping to packed automatically at delivery level

    This is the doucmentation for this enhancement:
    The extension PACKMODI contains user exits for automatic packing.                                                                               
    As of Release 4.6C, the packing instruction determination and packing  
    according to packing instruction functions are available for automated 
    packing. New user exits in the form of  BADIs were created for automated
    packing to add data to the packing instruction determination function or
    to have the packing instruction that is to be used appear as a default.
    The class for automated packing is called BADI_HU_AUTOPACK.                                                                               
    Generally, customer functions after 4.6C only exist in order to be     
    compatible with previous releases. If you want to implement your own   
    automated packing logic, you should only do so by way of this new class.
    It is not necessary to use packing instructions in order to implement  
    your own automated packing logic.                                                                               
    Therefore, the previous sample routines for filling in customer        
    functions no longer exist.                                             
    Regards,
    ravi

  • Packing at Delivery level

    Hi Experts,
    I have created delivery for two line items.Now I click PACK on delivery document and it directed me to packing page with HU's and Packing materials.On the bottom we have two line Items. Can u please help me how to proceed with packing from here,please provide any document link to read.I am new to PACKING.
    Thanks,
    Kanna Palle.

    Hi
    Packing can be done in 2 ways 1) Manually as u did it by selecting in delivery and 2) Automatically
    Automatic packaging instructions have to be written in pop1and pof1 with standard SHIP condition record determination has to be given.
    Make sure of the following settings.
    1. Go to *SPRO-
    2.Logistics Execution-
    3.Packing-Define packaging material types-
    4.Select ur packaging material type-
    5.In Plant Determination -Enter Plant proposed from the packaging material*.
    there are two logics regarding generation of delivery items for packaging materials. You can check those two cases in note 831204.
    case I)
    =====
    1) you should check transaction 0184 if a delivery item category is defined for the combination of your
    *delivery type +
    *item category group that is defined in the material master of the packaging material (should be 'VERP' in standard) -> in case of outbound deliveries it is defined under 'Sales' view of material master, -> in case of inbound deliveries the data in field 'General Item Category Group' is relevant under 'Basic data 1' view of material master) +
    *the item usage 'PACK'
    AND
    2) you should check your settings for the plant determination of the packaging material in tr. vhar -> this should be 'A' or 'B'
    ====================
    OR
    case II)
    ======
    1) same as in case I)
    AND
    2) check tr. 0vlk if 'Gen. pack.matl item' is flagged for your delivery type
    AND
    3) check your settings for generating delivery items for the packaging material in tr. vhar -> this should be 'A' or 'B'
    Regards
    Sujith

  • Error in packing a delivery

    Dear All,
    I am experiencing a problem in packing a delivery.
    For a certain material EP should be the right pallet to be used, but sometimes it seems that the DP is used instead.
    In master data EP is maintained as packaging material.
    Could it be that some ship-to only accept DP? Or some other reasons? But no idea where does it come from.
    Thanks in advance for the support!
    I remain available if any further info is required.

    Good day,
    Is the packing done manually or systematically?
    Is the packing done carton per carton or all units inside of pallet only (case pick VS pallet pick)?
    What transaction are you using to confirm the pick/pack?
    Is your warehouse SUM and/or HUM?

  • Goods receipt of packed inbound delivery is not allowed

    Dear all,
    I have a  scenario that as per of business process,i have to post Packed inbound delivery in MIGO .
    But i am getting an error says inbound delivery cannot be packed during posting in MIGO. I know that i can post it through VL32N without any problem. Since i need to capture damage,short or excess and some reference numbers and date of production and expiry for the items i need to post through MIGO option instead of VL32N.
    I have already checked in our client IDS ,it is allowing to pack without any errors  but in Development  server i am getting this error.
    I changed the item category control ELP of inbound delivery also but  of no use .
    Any hindsights on this both funtionally or tecnically will be of great help.
    Thanks and regards,
    Jothiswaran.
    Edited by: A. Jothiswaran . on Nov 12, 2009 8:32 PM

    Hello,
    To my knowledge packing through MIGO is not possible.
    If your SLOC is HU managed and you have done the configuration of u201Cdefault value of delivery and HU requirementu201D
    SPROLGHandling Unit ManagementBasicMaterial managementInventory managementsecond option, then your issue will be solved.
    In this case, when you post the MIGO with all information you will get IBD delivery number and not material document number. After that you can pack the material in IBD
    Thanks
    Milind

  • Need     RFC/BAPI    to create Delivery Order  with respect to  Sales Order

    Hi Gurus ,I'm   new  to  AB AP  Language   to be  working  in company
    so  can anyone  tel  me   FM/BAPI   to create  Delivery  order  with respect to  sales order(va01,vl01n)
    Any  sugg.. will appreciate  u.........
    Thanks in Advance...........

    Hi,
        Try this BAPI
    BAPI_SALESORDER_CONFIRMDELVRY
    Regards
    Bala Krishna

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • Function Module / BAPI for Inbound Delivery from Purchase Order

    Hi,
    I need to create an inbound delivery from Purchase Order items and am looking out for some Function Module or BAPI for the same.
    The requirement is that i should be able to specify selected line items from PO for delivery.
    I tried the BDC method for VL31N , but the particular item selection is problem, since by default it shows all the items of PO and i want only selected items.
    Do reply.
    Thanks in advance.

    check these and their documentations.
    BAPI_INB_DELIVERY_CHANGE       Change inbound delivery
    BAPI_INB_DELIVERY_CONFIRM_DEC  BAPI for inbound delivery verification from a decentralized system
    BAPI_INB_DELIVERY_SAVEREPLICA  BAPI Function Module for Replication of Inbound Deliveries
    Regards
    Prabhu

  • BAPI For Inbound Delivery using Purchase Order Number

    Hi All,
    Is there any BAPI for posting Inbound Delivery (VL31N) using Purchase Order as reference.
    thanks
    bobby

    Not sure what it has to do with enhancements and modifications, but there is no such BAPI:
    http://tech.groups.yahoo.com/group/ABAP/message/38307
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/bapi-for-inbound-delivery-creation-and-update-vl31n-1201265
    FYI all BAPIs may be viewed in BAPI transaction.

  • Bapi for return delivery of rejected goods

    Hi experts,
    can you tell me is there is any bapi for return delivery of rejected goods at transaction QA11?
    thanks

    Hi,
    You need to use FM BAPI_PO_CREATE to create the return delivery.you have to manually the rejected goods.....
    CALL FUNCTION 'BAPI_PO_CREATE'
    EXPORTING
    po_header = pohead
    po_header_add_data = po_header_add_data
    header_add_data_relevant = header_add_data_relevant
    skip_items_with_error = 'X'
    IMPORTING
    purchaseorder = purchaseorder
    TABLES
    po_items = po_items
    po_item_schedules = sched
    return = return
    po_business_partner = businesspartner.
    Reward points if helpful,
    regards,
    jinesh.

  • Packing a delivery via idoc

    Hello,
    I am trying to understand how to pack a delivery via idoc. I am using message type SHPCON and idoc type DELVRY03. I see a segment E1EDL37, but field EXIDV is mandatory, how does external system know the value for EXIDV, which SAP generates dynamically.
    Appreciate your help.
    -Naga

    Hi Naga,
    I am facing similar type of problem (DESADV - DELVRY05). I am trying to create and Inbound Delivery and Pack immediately via Idoc. I had populated the fields for Handling Unit in E1EDL37, 39, 44 segments.
    Delivery was created successfully, but Packing info is not stored in VEKP/VEPO tables.
    Pls advice.
    Thanks in advance,
    Murali.

  • Bapi to create delivery for purchase orders

    Hi Expets,
    what is the bapi to create a delivery for purchase orders.urgent.please do the needful
    kiran j

    Hi,
       Check below link.
    Re: BAPI for Inbound delivery
    Re: BAPI_OUTB_DELIVERY_CREATE_STO

  • Bapi for inbound delivery using PO

    Hi experts,
    I want to create a bapi for inbound delivery using PO.
    which bapi or FM should i use and can you send me the code for that.
    Thanks,
    Rajiv

    Hi Rajiv,
    Please check this FM --> BAPI_DELIVERYPROCESSING_EXEC
    Please check these threads
    Bapi to create inbound delivery
    BAPI to create inbound delivery
    Hope this would help you.
    Good luck
    Narin

  • Finding BAPI for  inbound Delivery change(VL32N)

    HI,
    Plz help me For finding BAPI for  inbound Delivery change(VL32N).
    I have to pass delivery no as input parameter and should able to change shipment heder information
    like Special processing indicator.
    REGARDS,
    Sunil Sahoo.

    hi ,
    there are three  BAPI  your requirment
    1) BAPI_INB_DELIVERY_CONFIRM_DEC
    2) BAPI_INB_DELIVERY_SAVEREPLICA
    3) BAPI_INB_DELIVERY_CHANGE
    but for requirment
    The third BAPI
    BAPI_INB_DELIVERY_CHANGE
    will Sound promising. try this out
    regards
    Prashant

Maybe you are looking for