BAPI for delivery VL01N transaction

Hi All,
       I am working on SAP ECC 5.0 version. My requirements are to create a delivery note against a purchase order. The purchase order is basically for Stock transfer between intra company (UB) and Inter Company (NB) . So am looking for BAPI that can create outbound delivery for Goods movement types 641 and 643.
I tired searching some of the already asked questions on this forum, but nothing was substantial.
If any of you know the BAPI/ worked on similar requirements, Please let me know the details with an example snippet if possible.
Thanks,
Kiran

HI,
check this link BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N
Thanks
Mahesh

Similar Messages

  • BAPI for delivery doc creation required

    Hi All,
    I need to develop a program wherein I need to create a sales order, delivery order, PGI(post goods issue) and invoice.......I have identified the bapi for sales order creation as bapi_sales_order_create..
    I request u to kindly help with the others....lemme know the relevant bapis for the others...

    Hi,
    Chk the FM's given below..Hope this will help you...
    BAPI For Delivery Order
    BAPI_DELIVERYPROCESSING_EXEC
    BAPI to post a Goods issue
    BAPI_OUTB_DELIVERY_CONFIRM_DEC "inbound Delivery
    Filling HEADEWR_DATA-DELIV_NUMB, HEADER_CONTROL-DELIV_NUMB, DELIVERY with the delivery number and HEADER_CONTROL-POST_GI_FLG with 'X' does the job.
    BAPI_OUTB_DELIVERY_CONFIRM_DEC " outboung Delivery
    Reward Points if helpful.
    Regards,
    Harini.S

  • Bapi for Delivery Creation from Sales Order

    Hi
    I have multiple sales order and i want to create 1 outbound delivery from it just like what Vl10A is doing.
    Can i have BAPI or fumctiona module for same.
    Best Regards
    Subham

    Check this thread:BAPI for Delivery Creation
    Also search the forums..there are many threads addressing the same issue.
    Regards,
    Kiran

  • Reg:Copying the Delivered qty to picked qty in delivery(vl01n) transaction

    Hi Experts,
               While creating the delivery i need a user exits to copy the delivery qty to picked qty .
               so that when the user enters in the transaction vl01n the delivery qty and picked qty will be
               same and if any changes in picked qty he will change manually.
    Regards,
    Vikram

    hi,
    these r the total exits for vl01n and i don;t find any exit for this requirement.
    Exit Name           Description
    V02V0001            Sales area determination for stock transport order
    V02V0002            User exit for storage location determination
    V02V0003            User exit for gate + matl staging area determination (headr)
    V02V0004            User Exit for Staging Area Determination (Item)
    V50PSTAT            Delivery: Item Status Calculation
    V50Q0001            Delivery Monitor: User Exits for Filling Display Fields
    V50R0001            Collective processing for delivery creation
    V50R0002            Collective processing for delivery creation
    V50R0004            Calculation of Stock for POs for Shipping Due Date List
    V50S0001            User Exits for Delivery Processing
    V53C0001            Rough workload calculation in time per item
    V53C0002            W&S: RWE enhancement - shipping material type/time slot
    V53W0001            User exits for creating picking waves
    VMDE0001            Shipping Interface: Error Handling - Inbound IDoc
    VMDE0002            Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0003            Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0004            Shipping Interface: Message SDPACK (Packing, Inbound)

  • FM/BAPI for delivery creation

    Hi,
         I need to create a delivery w/o order reference though VL01N0 ,but i am unable to find any BAPI / FM which could let me do so through the code w/o BDC.
               Can any one suggest a FM/BAPI for the same.
    Kunal

    Hi kunal,
    You can use BAPI BAPI_DELIVERYPROCESSING_EXEC to deliver preceding documents like a sales order.
    If this doesn't solve ur recquirement then write an BDC Program .
    I have done some BDC programs On VL01n before...u will not face any problem .
    ravinder.

  • Bapi for Delivery Status

    Hi Experts!
    Can anyone tell me the BAPI to Display the Delivery Status
    for a particuler sales order no or document no.
    Thank U...

    hi,
    BAPI_DELIVERYFREE_PROXY_CREATE Proxy BAPI für Upload einer kostenlosen Nachlieferug SFA-Kontext: Anle
                                                                                    LE_SHP_DB_DELIVERY_BUFFER      Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_GETLIST          BAPI for Reading Delivery Data                                                                               
    OIU_DELIVERY_NETWORK           Object Buffer Delivery w/Database Access                             
    BAPI_DELIVERY_NETWORK_CHANGE   Delivery Network BAPI for Changes                                    
    BAPI_DELIVERY_NETWORK_CREATE   BAPI for creating a delivery network                                 
    BAPI_DELIVERY_NETWORK_READ     Display delivery network details                                                                               
    BAPI_INB_DELIVERY_CHANGE                                                                            
    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           
    BAPI_OUTB_DELIVERY_CHANGE                                                                           
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Confirmation from a Decentralized System  
    BAPI_OUTB_DELIVERY_CREATENOREF Generates Delivery Without Reference                                 
    BAPI_OUTB_DELIVERY_CREATE_SLS  Generates Delivery for Customer Order                                
    BAPI_OUTB_DELIVERY_CREATE_STO  Generates Delivery for Stock Transport Order                         
    BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries          
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Syste
    and for "Shipment
    BAPI_SHIPMENT_CHANGE           Change Shipment                                                      
    BAPI_SHIPMENT_COST_ESTIMATE    Calculate Shipment Costs of Different Forwarding Agents for Shipment 
    BAPI_SHIPMENT_CREATE           Create Shipment

  • BAPI for delivery update

    Hi ,
    Please suggest me any BAPI for updating the delivery document header.
    Thanks.
    Regards
    DV

    Hi
    This is a BAPI code, go thru this, hope it wil help you.
    reward if help.
    Check this sample program for creating delivery from a sales order.
    Give the sales order as input..
    PARAMETERS: p_vbeln LIKE vbak-vbeln.
    DATA: BEGIN OF t_vbap OCCURS 0,
            vbeln LIKE vbap-vbeln,
            posnr LIKE vbap-posnr,
            kwmeng LIKE vbap-kwmeng,
            matnr  LIKE vbap-matnr,
            werks  LIKE vbap-werks,
          END OF t_vbap.
    DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
          WITH HEADER LINE.
    DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
          WITH HEADER LINE.
    DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
    SELECT vbeln posnr kwmeng matnr werks
           INTO TABLE t_vbap
           FROM vbap
           WHERE vbeln = p_vbeln.
    LOOP AT t_vbap.
      t_request-document_numb = t_vbap-vbeln.
      t_request-document_item = t_vbap-posnr.
      t_request-quantity_sales_uom = t_vbap-kwmeng.
      t_request-id = 1.
      t_request-document_type = 'A'.
      t_request-delivery_date      = sy-datum.
      t_request-material = t_vbap-matnr.
      t_request-plant = t_vbap-werks.
      t_request-date = sy-datum.
      t_request-goods_issue_date = sy-datum.
      t_request-goods_issue_time = sy-uzeit.
      APPEND t_request.
    ENDLOOP.
    CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
      TABLES
        request               = t_request
        createditems          = t_created
        return                = t_return
    READ TABLE t_return WITH KEY type = 'E'.
    IF sy-subrc = 0.
      MESSAGE e208(00) WITH 'Delivery creation error'.
    ENDIF.
    COMMIT WORK.
    READ TABLE t_created INDEX 1.
    WRITE: / 'Delivery - ', t_created-document_numb.

  • BAPI for Delivery Create

    hi,
    1.can i create delivery for particular customer using bapis?
    2.can i create invoice using bapis?
    if it is possilble pls tell me the bapi names??????????????
    regards
    Guru

    Hi Guruvulu,
    Take a look at the following ones :
    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         
    BAPI_OUTB_DELIVERY_CHANGE      BAPI for Change to Outbound Delivery                               
    BAPI_OUTB_DELIVERY_CONFIRM_DEC BAPI for Outbound Delivery Verification from a Decentralized System
    BAPI_OUTB_DELIVERY_SAVEREPLICA BAPI Function Module for Replication of Outbound Deliveries        
    BAPI_OUTB_DELIVERY_SPLIT_DEC   BAPI for Subsequent Outbound-Delivery Split from a Decentralized Sys
    <b>BAPI_OUTB_DELIVERY_SAVEREPLICA / BAPI_INB_DELIVERY_SAVEREPLICA should be ok for you for the delivery creation.
    and BAPI_INCOMINGINVOICE_CREATE for invoice.</b>
    Hope this helps,
    Erwan

  • BAPI for f-04 transaction

    Hi all,
           I am using a bapi ( BAPI_ACC_DOCUMENT_POST ) for transaction f-04, posting and clear. But here only posting is happening, i.e after the execution only the table BSIS (Accounting: Secondary Index for G/L Accounts) is getting updated and clearing is not happening i.e the table BSEG (Accounting: Secondary Index for G/L Accounts (Cleared Items) ) is not getting updated.
          Is there is any other BAPI that I can use for my requirement or I should go with BDC.
    Thanks
    S. Sudagar

    Funny - a similar question was posed earlier:
    BAPI_ACC_Document_Post
    My suggestion there was to look at the POSTING_INTERFACE_CLEARING function and the documentation around it - if suitable, you may need to write a bit of a "wrapper" function around it so you can have it RFC enabled (if that's what you need).
    Jonathan

  • Bapi for reversing MIRO transaction

    Hi everybody,
    i want a bapi that i can use for reversing MIRO that is posted.
    Thanks in advance.
    Abhijit D.

    hi prabhu..
    thanks for the solution.
    this is a perfect one..
    thanks again.
    hi vikas..
    i didnt try the transaction u said
    but BAPI_INCOMINGINVOICE_CANCEL works
    fine
    nways thanks for the suggestion vikas..
    Message was edited by:
            abhijit dangat

  • BAPI for calling Z transaction From NON-SAP system

    hi all, am new to BAPI i want to know that can we call any standard or Z transaction from NON-SAP system using BAPI if yes then plz let me know how.???
    thanx...

    BAPI's are not used for calling transactions. They have the same result though, a business partner for example kan be created, and maintained via the GUI, but it can also be done via a BAPI. These BAPI's are created for calling them from (non-) SAP systems since they are remote enabled. However, this means that the calling application / party will have to 'build' some sort of application themselves in order to call these BAPI's from 'outside' of the SAP system.
    The calling application will have to have access to the system, which can be maintained in the remote destination transaction SM59.
    But enough of this, there are lots and lots of posts on SDN about BAPI's, remote destination etc.

  • BAPI for access to transaction MIR7 (preliminary invoice)

    Hello,
    I need to access from SRM 5.0, the R/3 Backend transaction
    MIR7 -(preliminary invoice)
    We use R/3 Backend 4.6C
    Which BAPI can I use to acomplish this? Is it in SRM or in the BackEnd?
    Thank you for any answer.
    Aart

    Hi. I can't actually get on to SAP at the moment but try BAPI_INCOMINGINVOICE_PARK in R/3.
    If that does not work look at BAPI_INCOMINGINVOICE_CREATE, it might have the option to post or park.
    Regards,
    Dave.

  • BAPI For Delivery

    Hi,
    Can someone tell the BAPI which can be used to create the Delivry in reference to Shipping Point,Sales Order,Item Number?
    Please its urgent,
    Thanks,
    Shashi Devi.

    Hi
    Devi,
    *     Include           YCL_CREATE_DELIVERY_DOCU
    *    Form  delivery_creation                                           *
    *    This Subroutine is used to  Create Delivery
    FORM delivery_creation .
      CONSTANTS:
        LC_DOCU_TYPE type
           LESHP_DOCUMENT_TYPE value 'A'.  " Document Type.
      DATA:
          BEGIN OF LFS_vbap,
            vbeln  TYPE vbap-vbeln,        " Sales Document
            posnr  TYPE vbap-posnr,        " Sales Document Item
            kwmeng TYPE vbap-kwmeng,       " Order quantity in sales units
            matnr  TYPE vbap-matnr,        " Material Number
            werks  TYPE vbap-werks,        " Plant
          END OF   lfs_vbap.
      DATA: lw_delnum type VBELN.           " To store delivery number.
    *    LOCAL TABLES DECLARATION                                        *
      DATA:
        Lt_VBAP LIKE TABLE OF Lfs_VBAP,    " To Store datata from vbeln..
        lt_request TYPE STANDARD TABLE
               OF bapideliciousrequest,    " Data for Creating Deliveries
        lt_created TYPE STANDARD TABLE OF bapideliciouscreateditems,
                                           " To Store Delivery Item..
        lt_return  TYPE STANDARD TABLE OF bapiret2.
                                           " Table for Return Parameters
    *    LOCAL FIELD STRINGS  DECLARATION                                *
      DATA:
        lfs_request type bapideliciousrequest,
                                             " Work area for lt_request
        lfs_created like line of lt_created,
                                             " Work area for lt_created
        lfs_return like line of lt_return.
    * To get required values from VBAP
      SELECT vbeln
             posnr
             kwmeng
             matnr
             werks
        INTO TABLE Lt_vbap
        FROM vbap
       WHERE vbeln = W_vbeln.
      if sy-subrc ne 0.
        write / text-002.
        exit.
      endif.                                 " if sy-subrc ne 0
      LOOP AT Lt_vbap INTO LFS_VBAP .
        lfs_request-document_numb      = lfs_vbap-vbeln.
        lfs_request-document_item      = lfs_vbap-posnr.
        lfs_request-quantity_sales_uom = lfs_vbap-kwmeng.
        lfs_request-id                 =  1.
        lfs_request-document_type      = LC_DOCU_TYPE.
        lfs_request-delivery_date      = sy-datum.
        lfs_request-material           = lfs_vbap-matnr.
        lfs_request-plant              = lfs_vbap-werks.
        lfs_request-date               = sy-datum.
        lfs_request-goods_issue_date   = sy-datum.
        lfs_request-goods_issue_time   = sy-uzeit.
        APPEND lfs_request to lt_request.
      ENDLOOP.                               " Loop at lt_vbap
      CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
        TABLES
          request      = lt_request
          createditems = lt_created
          return       = lt_return.
      Read table lt_created into lfs_created index 1.
      if lfs_created-DOCUMENT_NUMB is initial.
        loop at lt_return into lfs_return .
          write / lfs_return-message.
          write : / text-004.
        endloop.                             " Loop at lt_return
      ELSE.
        perform commit_work.                 " To Call External Commit
        lw_delnum  = lfs_created-document_numb.
        FS_DISP-TEXT = TEXT-001.
        FS_DISP-NUMBER = LW_DELNUM.
        APPEND FS_DISP TO IT_DISP.
        if p_torder eq c_x or p_pgi eq c_x or p_bill eq c_x.
        perform transfer_order using lw_delnum.
                                             " TRANSFER ORDER CREATION
        endif.                               " If p_torder eq 'X'
      ENDIF.                                 " If sy-subrc eq 0
    ENDFORM.                                 " Delivery_creation
    This is the code that using BAPI to create delivery document
    <REMOVED BY MODERATOR>
    <REMOVED BY MODERATOR>
    Edited by: Alvaro Tejada Galindo on Jan 11, 2008 5:21 PM

  • FM or BAPI for Delivery Order Picking and PGI

    Good day,
    I would like to check with you all on any function module or BAPI which can perform delivery order picking and PGI ?
    I did some research and found that a lot of people is introducing this FM "WS_DELIVERY_UPDATE_2"
    but i'm not sure how this FM works. Can anyone provide some information for me on this function like what data to propagate into this FM and etc... ?

    hi,please check this link.
    Need to update picking,packing and PGI using FM "WS_delivery_update"
    also,
    for picking:  WS_DELIVERY_UPDATE_2
    pgi :  BAPI_GOODSMVT_CREATE
    thanks.

  • 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

Maybe you are looking for

  • Problem with bind variable in a procedure

    Hi Experts, I'm migrating forms from 5 to 6i. And in most of the forms I'm getting the error in the procedure "G$_KEY_OPT_MENU". This is the most common error I'm getting in almost like 30 forms. The error is: Error 49 at line 21, column 3 bad bind v

  • Easy question about install time

    Hello, I have been having a lot of problems with my MacBook and after posting on the forums it seems a re-install might help. This is my firt time doing a wipe/install so I backed up my files and booted from my Tiger install DVD and did a wipe/instal

  • Role for the user used in SOAP adapter

    Hi, What are the roles required to the user used for user authentication in a soap adapter.

  • Update style integrator - Add LOV on parameters

    Hello, I created an Update style integrator. There are 5 parameters which are passed to the webADI. Now the users want to have LOV on the parameters. Questions: 1. What are the maximum number of parameters that can be added on an Update Style integra

  • Problems sharing disks using OpenFiler.

    Hi There I am following below link to prepare shared disks between two Oracle VM Nodes. After creating rules files "/etc/udev/rules.d/55-openiscsi.rules" and "/etc/udev/scripts/iscsidev.sh". I have restarted the Service but i do not see iscsi directo