How to create Delivery with sales order FM/BAPI

Hi Gurus,I'm new to  SAP  platform
I have created sales order ,
with this i need to create Delivery(vl01n)
so i need to give 'Shipping Point','Selection Date','SD Number'
so could any one tel me which FM/BAPI is suitable to create
Outbound delivery with 'sales order number', 'Selection date' and
"Plant or Shipping Point'.
With these Import parameters i need  FM/BAPI .
Thanks  in Advance
Siva Kumar kasa.

I   have created delivery  with  that  BAPI 
giving   'batch number'  but  it was  not  updated,so  can u tel me
any related field  which need give to change batch field  also.

Similar Messages

  • Create delivery with sales order reference.

    Dear all,
           I created a sales order with sales area (1000,10,00) and order type(or).
           when i am creating a delivery with sales order reference , error is occurring.
    error:(Order cannot be delivered (see long text)).
           plz solve the problem urgent.
                                          Regards,
                                v.mallikharjuna rao.

    Hi,
    You must do the PGI before creating the delivery. Please follow the below mentioned procedure carefully and you will be able to do that.
    Once you create a Sales order, go to the transaction VL01 and do the PGI. To do PGI (from transaction VL01), in the menu, go to Outbound Delivery->Save and Subseq.Func->Transfer order. This will take you to Transfer order transaction. click on Generate TO and save. Now return to transaction VL02 and click on Post Goods Issue. This will do the PGI and save the Delivery document. Now go to VF01 and you will have the delivery number just created as a line item. Select it and click on execute button. Save once the execution is done and a Billing doument (invoice) is created. Now if you go to the sales order and click on document flow all these documents will be displayed.

  • SD How to create IDoc once Sales Order Invoice (Billing) has been created ?

    Hi,
    How to create IDoc once Sales Order Invoice (Billing) has been created ?
    I.e Once you click on save button of Invoice , IDoc Should genrate Automatically.
    Thanks

    Hello,
    Go to T.code VV31 and select the billing output type and select the access sequence required and in the details screen of create condition records give all the required entries for eg: may be Billing Type, Sales Organsiation etc.and in the medium choose the option as 6(EDI) and time select as 4 that is immediately after saving the document.Also please ensure that particular partners for whom idoc should be generated they need to have partner profile setup with the billing message types. Hope this helps.

  • How to create IDoc once Sales Order Invoice (Billing) has been created

    Hi,
    How to create IDoc once Sales Order Invoice (Billing) has been created   ?
    I.e Once you click on save button of Invoice , IDoc Should genrate Automatically.
    Thanks.

    Hi,
    We need to do custom configuration for this scenario such that an output type will be attached when ever an INVOICE is created.
    Refer to application V3 in NACE. The Output type should contain an entry with transmission medium: Distribution (ALE).
    for example check the customization done for an output type in NACE.
    Goto NACE ---> Select an application V3 ---> Click on processing routines ---> select the output type (Eg: RD00) ---> Click on Details button  (CNTRL + SHFT + F2) which gives the configuration info.
    For example we can generate the IDOC based on the settings in partner profiles for the customer (Sold To)
    With Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 8:16 AM

  • Budget error while creating delivery from sales order

    hi Gurus,
    System is throwing error PB603 "Item 004 WBS element ABC-XXX budget exceeded" while creating delivery from sales order.
    I am picking material from unrestricted plant stock (not in project stock).
    I am also confused as sales order has 3 line items & error shows Item 004 !

    Hi Kuldeep,
    Check this note,
    Note 159387 - Message BP603: incorrect line item is displayed
    Its valid only till 4.6. Might give you some idea but.
    Regards,
    Gokul

  • How to create a new sales order to internal requisition?

    Hi, All
    Need help!!!
    How to create a new sales order to internal requisition?
    The internal requisition has generated order sales but this has already been canceled, so I need to create a new sales order to the same internal requisition.
    How to release the internal requisition to re-create new sales order and after import in OM?
    please help me
    Thanks and regards
    Manuel,

    You cannot.
    Once a ISO is generated for an IR, the transferred_to_oe flag is set on that req.
    If the ISO was canceled, you should cancel the IR and create a new one.
    Hope this helps,
    Sandeep Gandhi

  • How to create a Return Sales order from a PO with Return Items using IDOCS?

    Is it possible to create a Return Sales order in one system with a PO having return Items in the other system using IDOCS.
    What kind of sales documents are created from IDOCS created with PO's having return items ?

    anyone?

  • How to create an ERP Sales Order in CRM by referring to CRM Quotation

    Hello Experts:
    My requirement is as follows:
    I have done the replication of customers and materials between ECC and CRM. 
    I need to create a quotation in CRM and create a follow-up transaction as ERP Sales Order within CRM.
    My question is: how do i link the CRM quotation and ERP Sales Order within CRM?
    In other words, Once I save the CRM quotation, I need to be able to create an ERP Sales Order within CRM through a follow-up transaction...
    Hope I made myself and the question very clear?
    Kindly help.
    Many thanks and regards,
    VSK.
    Edited by: venkatskumar on Feb 11, 2011 6:57 PM

    Dear,
    we faced same situation in ALmansour motors comp. , but we tried to create CRM/Qoutation and replicate it to ERP
    and after that we created ERP Sales order () with refrence to our ERP/Qout., the sales order will be replicated automaically to CRM again with same no. () and linked with ERP qoutation which have the same CRM qoutation no(*).    
    (*) i think after qoutation replication you can use transc. launcher to create ERP sales order through CRM screen.
    (**) you have to handle the no ranges for Q. and sales order on both servers to be matched
    Note :
    to replicate CRM qoutation, be care this configration point,
    CRM qout. item category>> ... >> customizing at item level (Qout. Data .. Releveance for Qout.) = 3 initially a sales/service trans. 
    I hope to it would be useful
    سبحان الذي علمنا هذا

  • Create Delivery from Sales Order Document

    Hello all,
    I have a business requirement to create deliveries from sales orders in the most effcient way possible.  Our current program uses BDC and calls transaction VL01N, however this has been found to dramatically increase the run-time of this program.  I have been searching for a BAPI to essentially do the same thing. 
      I came across one BAPI, BAPI_DELIVERYPROCESSING_EXEC, but have been getting inconsistent results.  It will create deliveries for some line items and not others with little rhyme or reason.  The return table is not being populated unless it is a high level error, such as the quantity passed being 0.
    To the BAPI, I am passing: Sales Doc Number, Line Item, Quantity, and Document Category.  This is done through an internal table.  I also pass internal tables to receive the return messages and the created documents. 
    Has anyone seen the same thing with this BAPI? Is there a better BAPI to use for such a purpose?
    many thanks for any help,
    brian

    Hi!
    For delivery creation you can use FM SHP_VL10_DELIVERY_CREATE:
        DATA:
          if_ledat TYPE lfdat_a,
          if_nur_vorgabe_pos TYPE xfeld,
          it_key_to_enque_t TYPE shp_vl10_package_t,
          it_key_to_enque LIKE LINE OF it_key_to_enque_t,
          it_komdlgn_t TYPE shp_komdlgn_t,
          cx_sd_order TYPE shp_vl10_sd_order,
          ct_vbsk_all_t TYPE shp_vbsk_t,
          ct_vbls_t TYPE shp_vbls_t,
          ct_key_late TYPE shp_vl10_package_t,
          ct_vorgabe_daten_t TYPE shp_vorgabe_daten_t,
          ct_vorgabe_daten LIKE LINE OF ct_vorgabe_daten_t,
          wa_dlvsrc LIKE LINE OF m_it_dlvsrc,
          msg TYPE string.
        LOOP AT m_it_dlvsrc
          INTO wa_dlvsrc.
          CLEAR it_key_to_enque.
          it_key_to_enque-panum = '1'.
          it_key_to_enque-vbobj = 'A'.
          it_key_to_enque-vbtyp = 'C'.
          it_key_to_enque-vbeln = wa_dlvsrc-vbeln.
          it_key_to_enque-posnr = wa_dlvsrc-posnr.
          it_key_to_enque-id = '1'.
          it_key_to_enque-tabix = '1'.
          it_key_to_enque-vstel = wa_dlvsrc-vstel.
          APPEND it_key_to_enque TO it_key_to_enque_t.
          CLEAR ct_vorgabe_daten.
          ct_vorgabe_daten-vgbel = it_key_to_enque-vbeln.
          ct_vorgabe_daten-vgpos = it_key_to_enque-posnr.
          ct_vorgabe_daten-lfimg = wa_dlvsrc-lfimg.
          ct_vorgabe_daten-akmng = 'B'.
          ct_vorgabe_daten-postab_tabix = it_key_to_enque-tabix.
          ct_vorgabe_daten-panum = it_key_to_enque-panum.
          ct_vorgabe_daten-id = it_key_to_enque-id.
          APPEND ct_vorgabe_daten TO ct_vorgabe_daten_t.
        ENDLOOP.
        if_ledat = sy-datum.
        if_nur_vorgabe_pos = 'X'.
        CALL FUNCTION 'SHP_VL10_DELIVERY_CREATE'
             EXPORTING
                  if_ledat           = if_ledat
                  if_nur_vorgabe_pos = if_nur_vorgabe_pos
                  it_key_to_enque    = it_key_to_enque_t
                  it_komdlgn         = it_komdlgn_t
             CHANGING
                  cx_sd_order        = cx_sd_order
                  ct_vbsk_all        = ct_vbsk_all_t
                  ct_vbls            = ct_vbls_t
                  ct_key_late        = ct_key_late
                  ct_vorgabe_daten   = ct_vorgabe_daten_t.
        COMMIT WORK AND WAIT.
    All created deliveries numbers:
    SELECT vbeln
          INTO TABLE m_it_vbeln
          FROM vbss
          FOR ALL ENTRIES IN ct_vbsk_all_t
          WHERE sammg = ct_vbsk_all_t-sammg.
    All errors during processing:
          SELECT msgid msgno msgv1 msgv2 msgv3 msgv4
            INTO TABLE it_msg
            FROM vbfs
          FOR ALL ENTRIES IN ct_vbsk_all_t
          WHERE sammg = ct_vbsk_all_t-sammg.
    Regards,
    Maxim.

  • BAPI to create Delivery from Sales Order posting EIKP data

    Hi All,
    I'm searching for BAPIs to create a Delivery from Sales Order which I can update/insert data into EIKP table because I am receiving data that it must be saved into ZOLLA and ZOLLB fields (Customs Office: Office of Exit/Entry and Destination for Foreign Trade).
    I tried with BAPI_OUTB_DELIVERY_SAVEREPLICA, BAPI_OUTB_DELIVERY_CREATE_SLS and BAPI_DELIVERYPROCESSING_EXEC but I didn't find structures with these fields.
    Please, I need some help to resolve this issue.
    Thanks in advance.

    Hello Manoj what you have to do to create PO from PR is that
    1) Use   BAPISDORDER_GETDETAILEDLIST (pass sales order number in sales_document table) and then get PR (Purchase requisition number from this BAPI.
    2) Use  BAPI_REQUISITION_GETDETAIL to get PR items
    3) Use BAPI_PO_CREATE1 to craete PO from PR then.
    to create goods movement you can use
    BAPI_GOODSMVT_CREATE
    REWARDS IF USEFUL.

  • Best way to see if a Delivery No has been created starting with Sales Order

    Thanks.

    From VBFA table
    Go to VBFA table
    In the field  VBTYP_N  = 'J '  and VBTYP_V = ' C '  and execute..
    You will get all the deliveries which are created with respective sales order....
    J -- stands for delivery    C -- Stands for sales order..
    Please let me know if you need furthe info
    Regards
    Satish Boguda

  • How to create delivery with lesser quantity than Scheduling agreement

    HI all,
    I have one Scheduling Agreement SCHDMNT1 with ITEM A and Qty 100. Now i want to create 2 deliveries against this Agreement i.e DEL1 - ITEM A QTY 40 and DEL2 - ITEM A QTY 60. How to achieve this while manually entering the deliveries. What are the settings required. I also want to create such multiple deliveries against one Sales Order. What are the Configurations required to aceive this functionality.Replies will be highly appriciated.
    Thanks and Regards,
    Manish Khare.

    Hi Manish,
    When creating DEL1 change the qty of 100 for 40 and save the delivery.
    When creating DLV2 QTY appears 60.
    I wait to have helped.
    H. Terras

  • Cannot create delivery for sales order though stock exists in location

    We have a consignment issue sales order for which we're unable to create a delivery.  In MMBE we can see that stock exists for this part/batch# at this particular consignment customer location; however, when we try to create the delivery for this, we get an error saying that no stock exists.  My assumption is that something else is "holding" that stock (another un-issued delivery maybe?)  How do I find out what is reserving this material/batch?
    Thanks in advance for your help.

    There are different ways to find out such delivery documents.
          - in VL02N - press F4- enter your shipping point ( if this material delivery happens from single shipping point)
         - VL06O - enter relevant selection criteria & Material- enter the status not equal to "C- completed'.
    Regards,
    Reazuddin MD

  • How to connect DMS with sales order line items

    Hi
    Our client wants to attach some documents in sales oder line items. They have a DMS system in place but how can we connect that to sales order is the quastion. Can you please suggest?

    Hi shrivastava,
    At first you have to create document in CV01n transaction with document type BVV ( as per standard) and add attachments
    Now in VA02, select line item-->EXTRAS--->DOCUMENT, find the document number created in CV01n and click on add
    system will add the attachment to sales order
    regards,
    santosh

  • User exit while creating delivery from sales order

    Hi Guys ,
    Is there any user exit in sales order which triggers when we try to DELIVER(from the menu bar) .
    My requirement is to not include some line items(base on some condition) before they are included in the delivery .
    Thnx in advance .
    Anil

    Hi Naimesh ,
    Thnx for your reply.
    I'm not sure of the functionality in VOFM .Can u please tell me how can i acheive my current functionality as explained above in my question .
    I'll tell u my requirement .
    When creating delivery , I have to check for some condition and depending upon this condition , the line items must not be included in the delivery .
    I have acheived this by BADI  LE_SHLP_DELIVERY~SAVE_DOCUMENT_PREPARE.
    if suppose any line items gets deleted in the delivery(based upon my condition) , and then if I look at the status of the slaes order(VA03) , it shows partially confirmed at the header level and the item which is rejected(in delivery) shows OPEN .
    Can u tell me how to update the status of the sales order header and item level (if any item is deleted) during creation of delivery .
    Thnx .
    Anil

Maybe you are looking for

  • Error in SAOP adapter : RFC to SOAP Synch Scenario

    Hi Experts, Scenario is "RFC to SOAP Synch". For creating this following this link : **************** - Scenario on RFC to SOAP Trying to send XML to SOAP receiver. Using Below details for SOAP: Website : http://www.webservicex.net/WS/WSDetails.aspx?

  • RAW files not importing correctly into iPhoto

    I'm having problems importing .CR2 files into iPhoto. This didn't used to happen with Tiger, so I'm trying to figure out what the issue is. I'm using iPhoto 7.1.1 (354) with Leopard 10.5.1. I previously had 10.4.8. I'm wondering if it's an issue with

  • Gooseneck Adapter for dock charger won't work

    I bought the Apple Shuffle car charger that plugs into the cigarette lighter socket and Shuffle works great. But since I have a standard, when I shift, the Shuffle is too close to the gear shift. So I bought the gooseneck adapter and Shuffle won't wo

  • Putting music from purchase history to a playlist.

    iv'e recently been to my local apple store after having problems with the mic on my phone. The assisant told me to go home and update my phone to the new software, after doing that all my music was wiped off. After trying to put it back on only about

  • FUNCTION and OUT %ROWTYPE

    Best Regards. I tried running an Oracle function in. Net this function has an OUT parameter of type ROWTYPE, when I try to run the function always takes me the following error and ORA-06550: line 1, column 15: PLS-00306: wrong number or types of argu