Step for creating inbound delivery in case of customer return.

Hi,
When I start vl31N I can create with reference to vendor or PO an inbound delivery.
How to create inbound delivery with reference to a customer return?
What to do?
Thank you in advance,
Eric van Zundert.

Hi,
You can try to create a copy control for return sales order to inbound delivery document. Depending on business requirements like combining vendor PO and returns sales orders, you can try to use VL31N.
If it is only returns sales orders that needs to be processed, then SAP standard document types and its associated copy control would help.
Regards
P.S: Does your scenario relate to import process? I am in the same boat.
Edited by: Shiva Ram on Jan 22, 2008 2:17 PM

Similar Messages

  • Finding FM/BAPI/RFC for Create Inbound Delivery(vl31n).

    Hi all,
    i need for a FM/BAPI/RFC for Create Inbound Delivery(vl31n) or ASN
    where in import Parameter i have to pass -
    *vendor no*
    *PO no*
    *External ID no*
    *Delivery date*
    *TransPlanngDate*
    *BillOfLad*
    *GR/GI Slip*
    in Export i need ASN no and in tables we can use ITEM details.
    Regards,
    Sunil sahoo.

    Hi,
    Check the below link
    [https://forums.sdn.sap.com/click.jspa?searchID=16938983&messageID=5780492]
    Regards,
    Surinder

  • Create inbound delivery for same material with multiple batches

    Hi Experts,
    An ASN( advanced shipping notification) contains multiple batch numbers for same material or line item.An IDOC has different segments with batch numbers but in SAP while creating Inbound delivery(VL31N) only batch number ( segment) get posted automatically in SAP other batches are need to post manuaaly.
    I am using IDoc type : Delivery03 ,Message type: DESADV
    How to resolve this problem?
    Thanks,
    Anil

    Hi Anil,
    Welcome to SCN for your first post. Did you check with your functional people about this.
    Regards,
    Madhu.

  • Creating inbound delivery for the purchase order line items

    Hi Experts,
    Please let me know how can I create inbound delivery for the purchase order line items?  Say, I have a purchase order with 5 line items in it.  I wanted to create an inbound delivery for only 2 line items at this point of time.  Which SAP Standard transaction I have to use and what all  data I need to populate?  I would appreciate any help on this and will reward the right answer.  Please let me know.
    Thank you in advance.
    with regards,
    Muthu Ganapathy.

    Hi,
    While creating the inbound delivery (VL31N), intially all the items will be shown, see the advance shipping notfication - from the vendor for which he has send confirmation & rest items you can delete simply & save. & next time when the vendor sends rest advance shipping notifcation (confirmation), you can receive them.
    Hope this answers your query.
    Regards
    Irfan.

  • BAPI for VL31N:Create Inbound Delivery

    Hi all,
    Please give the BAPI for VL 31N: Create Inbound delivery transaction
    thanks

    No bapi but you can use this function module GN_DELIVERY_CREATE
    Select the data required - see below
      select ebeln ebelp menge meins matnr werks lgort bstae loekz elikz
             lmein umrez umren insmk pstyp sobkz knttp kzfme kzvbr
             ematn mfrnr mfrpn emnfr cuobj uebto untto uebtk bwtar idnlf
             txz01 mfrgr gewei voleh ntgew brgew volum ean11 aktnr abeln
             abelp aurel matkl upvor uptyp uebpo wepos
              into corresponding fields of table xekpo_short
              from ekpo
               where ebeln = i_ebeln
                 and ebelp = i_ebelp.
      if sy-subrc ne 0.
        e_rc = 4.
      else.
        read table xekpo_short index 1.
        call function 'ME_EKKO_SINGLE_READ'
          exporting
            pi_ebeln         = xekpo_short-ebeln
          importing
            po_ekko          = ekko
          exceptions
            no_records_found = 1
            others           = 2.
        if sy-subrc ne 0.
          e_rc = 4.
        elseif ekko-bstyp ne 'F' and ekko-bstyp ne 'L'.
          e_rc = 4.
        endif.
      endif.
      clear xvbsk.
      xvbsk-mandt = sy-mandt.
      xvbsk-ernam = sy-uname.
      xvbsk-erdat = sy-datum.
      xvbsk-uzeit = sy-uzeit.
      xvbsk-smart = 'L'.
    *- Nummer VBSK vergeben -
      select single * from tvsa where smart = xvbsk-smart.
      if sy-subrc = 0.
        call function 'NUMBER_GET_NEXT'
          exporting
            nr_range_nr = tvsa-numki
            object      = 'RV_SAMMG'
          importing
            number      = xvbsk-sammg
          exceptions
            others      = 01.
        if sy-subrc ne 0.
          message e700(me) with tvsa-numki text-007.
        endif.
      else.
        message e700(me) with space text-007.
      endif.
      data: h_grkor like lips-grkor,         "Liefergruppe         "386409
           h_bsmng like ekpo-menge.         "Bestellmenge übergeordnete Pos.
      if not ekko-lifnr is initial.
        call function 'VENDOR_MASTER_DATA_SELECT_12'
          exporting
            pi_lifnr       = ekko-lifnr
            pi_ekorg       = ekko-ekorg
          importing
            pe_lfm1        = lfm1
          exceptions
            no_entry_found = 1
            others         = 2.
        xkomdlgn-vsbed = lfm1-vsbed.
      else.
        clear xkomdlgn-vsbed.
      endif.
      xkomdlgn-lifnr = ekko-lifnr.
      xkomdlgn-inco1 = ekko-inco1.                              "363954
      xkomdlgn-inco2 = ekko-inco2.                              "363954
      xkomdlgn-exnum = ekko-exnum.                              "363954
      xkomdlgn-bukrs_best = ekko-bukrs.                         "363954
      xkomdlgn-matnr = xekpo_short-matnr.
      xkomdlgn-werks = xekpo_short-werks.
      xkomdlgn-lgort = xekpo_short-lgort.
    xkomdlgn-charg = ?
      xkomdlgn-vrkme = xekpo_short-meins.
      xkomdlgn-meins = xekpo_short-lmein.
      xkomdlgn-umvkz = xekpo_short-umrez.
      xkomdlgn-umvkn = xekpo_short-umren.
      if xekpo_short-matnr eq space.                            "386409
        xkomdlgn-meins = xekpo_short-meins.
        xkomdlgn-umvkz = 1.
        xkomdlgn-umvkn = 1.
      endif.
      xkomdlgn-insmk = xekpo_short-insmk.
      xkomdlgn-kzfme = xekpo_short-kzfme.
      xkomdlgn-kzvbr = xekpo_short-kzvbr.           "note 384051
      xkomdlgn-lfimg = p_lfimg.
      xkomdlgn-lfdat = p_eindt.
      xkomdlgn-vgbel = xekpo_short-ebeln.
      xkomdlgn-vgpos = xekpo_short-ebelp.
      xkomdlgn-lfart = gf_dlv_type.
      xkomdlgn-vgtyp = 'V'.
      xkomdlgn-kzazu = 'X'.                "??? what's that for ????
      xkomdlgn-knttp = xekpo_short-knttp.
      xkomdlgn-sobkz = xekpo_short-sobkz.
      if xekpo_short-matnr is initial or xekpo_short-pstyp = '6'.
        xkomdlgn-posar = 'B'.
      endif.
      xkomdlgn-ematn = xekpo_short-ematn.
      xkomdlgn-mfrnr = xekpo_short-mfrnr.
      xkomdlgn-mfrpn = xekpo_short-mfrpn.
      xkomdlgn-emnfr = xekpo_short-emnfr.
      xkomdlgn-cuobj = xekpo_short-cuobj.
      xkomdlgn-uebto = xekpo_short-uebto.
      xkomdlgn-untto = xekpo_short-untto.
      xkomdlgn-uebtk = xekpo_short-uebtk.
      xkomdlgn-bwtar = xekpo_short-bwtar.
      xkomdlgn-kdmat = xekpo_short-idnlf.
      xkomdlgn-arktx = xekpo_short-txz01.
      xkomdlgn-mfrgr = xekpo_short-mfrgr.
      xkomdlgn-gewei = xekpo_short-gewei.
      xkomdlgn-voleh = xekpo_short-voleh.
      xkomdlgn-ntgew = xekpo_short-ntgew * xkomdlgn-lfimg.
      xkomdlgn-brgew = xekpo_short-brgew * xkomdlgn-lfimg.
      xkomdlgn-volum = xekpo_short-volum * xkomdlgn-lfimg.
      xkomdlgn-ean11 = xekpo_short-ean11.
      xkomdlgn-aktnr = xekpo_short-aktnr.
      xkomdlgn-abeln = xekpo_short-abeln.
      xkomdlgn-abelp = xekpo_short-abelp.
      xkomdlgn-aurel = xekpo_short-aurel.
      xkomdlgn-idnlf = xekpo_short-idnlf.
      xkomdlgn-matkl = xekpo_short-matkl.
    Leergut-Stückliste übernehmen
      clear xkomdlgn-grkor.
      clear xkomdlgn-kmpmg.
      clear xkomdlgn-uepos.
      if xekpo_short-upvor ca '3X'.
        h_grkor = h_grkor + 1.
        xkomdlgn-grkor = h_grkor.
        h_bsmng = xekpo_short-menge.
      endif.
      if not xekpo_short-uebpo is initial and
             xekpo_short-uptyp ca '3X'.
        xkomdlgn-uepos = xekpo_short-uebpo.
        xkomdlgn-grkor = h_grkor.
        if h_bsmng ne 0.
          xkomdlgn-kmpmg = xekpo_short-menge / h_bsmng.
        endif.
      endif.
    *- Konsignation - SOBKZ 'K' hart reinsetzen, da  von Pstyp abhäng......
      if xekpo_short-pstyp eq '2'.
        xkomdlgn-sobkz = 'K'.
      endif.
    Kontierungsfelder
      if xekpo_short-sobkz eq 'E' or xekpo_short-sobkz eq 'Q'.
        call function 'MMPUR_EKKN_READ_EBELN_EBELP'
          exporting
            pi_ebeln                   = xekpo_short-ebeln
            pi_ebelp                   = xekpo_short-ebelp
          PI_BYPASSING_BUFFER        =
          PI_REFRESH_BUFFER          =
          tables
            pto_ekkn_po                = xekkn
          exceptions
            no_records_requested       = 1
            others                     = 2.
        if sy-subrc eq 0.
          read table xekkn index 1.
          xkomdlgn-ps_psp_pnr = xekkn-ps_psp_pnr.
          xkomdlgn-vbelv      = xekkn-vbeln.
          xkomdlgn-posnv      = xekkn-vbelp.
        endif.
      endif.
      append xkomdlgn.

  • M7279- Data for creating a delivery is incomplete (Vendor)

    Dear All,
    i am getting below error while processing Goods receipt.
    "M7279- Data for creating a delivery is incomplete (Vendor)" 
    1.I am doing Goods receipt with mvt type 521( GR without ref to prod order).
    2.storge location is WH manged + HU managed.
    3.Material master is assinged with sales org / distribution channel- sales view.
    4.maintained for Transportation Group . loading group - sales gen/plant data.
    5. Maintaine for shipping data for Storage location ( customisation -SPRO-LE-Shipping-Basic shipping function- Shipping points and goods receiving points determination-Assign goods receiving points for Inbound Deliveries.)
    6. HUM- setting - LG-HUM-HU requirement for storage location and default values for deliveries)
    Why system is thowing this error message as in my case vendor does not comes in to picture ( I can cosider if a GR is with refence to PO , in that case in customer master number has to be maintained in vendor master + shipping condition entered in customer master)
    Could you pl help me on above ( as this is 521 movement , it should not have any link with vendor or customer master) then why i am getting this error.
    Appreciate your earliest response.
    Om

    I am doing simple goods receipt without reference to any document ( mvt 521 - goods receipt without ref to production order) , in that case it should not ask for any vendor or should not search for vendor code , i am not getting why it is searching for vendor.
    If i removed the setting related to HU management for storage location then it allows me to post the document without any error, but if i activate for HU managment in below path i am getting error ( even in below path if i entered any vendor code then it allows me to post the document)
    Logistics general- Handling unit management- basics-materials management - inventory management -HU requirement for storage location and default values for deliveries
    plant     Storage location      Partner storage location   Sal org  Dist chan shipping division vendor customer HU requred
    05         ZBD1                       ZPK1
    in above if i entered any vendor code then it allows me to post the doc but i remove it then i am getting above error.
    If there any alternative or other setting to overcome this error.
    Thanks
    Om

  • Create Inbound Delivery from Outbound Delivery create

    Hi,
    This is what I am trying to do...
    1. Create PO (me21n)
    2. Create Outbound Delivery based on PO (VL10g)
    3. PGI (this creates a DELVRY03 IDoc)
    (IDoc is created at this step, no issues so far)
    4. Based on the Outbound DELVRY03 IDoc I want to create Inbound Delivery. Inbound IDoc is created, but not posted to Application. It gives me the following error...
    "Item 00000 of purchasing document does not exist".
    Please help me resolve this error message.
    Regards,
    Sneha

    Hello Sneha,
    Outbound delivery cannot be created against the purchase order. In a third party scenario where in we receive the shipping Notification(SN) from the vendor, it comes as Delvry02 IDOC to our system. The IDOC gets posted as Inbound delivery for which Goods Recipt happens against the Purchase order using the transaction MIGO. This updates the vendor confirmation table EKES. If you see the Confirmations tab in purchase order you will see the Inbound delivery number and external delivery number.
    Outbound delivery gets created against the sales order and uses the stock posted by the goods receipt to issue the goods. The ASN signals(DelVRY03) gets created after PGI happens in the Outbound delivery.
    The Process is like
    Purchase Order(ORDERS05) goes to vendor --- > Vendor Manufactures the goods sends back Ship notifcation(SN) -> SN posts the goods Inbound Delvery is created and GR happens.-> Outbound delivery gets created and ASN signals go to the forwarder.
    Do revert to me for any further clarification.

  • Config settings for making Inbound delivery instead of TR

    Hi,
    Scenario- Plant to plant stock transfer from Non WM plant to WM enabled Plant. Material document is posted and quant lies in st type 920.
    In the current system settings it creates TR automatically (Path - WM-interfaces-IM-define MVT - LE WM interface to IM - field Create TR)
    Question - Instead of system creating TR, I want Inbound dely to be created. What are the config settings to be done?
    Regards.

    First, you need to work against Stock Transfer Purchase Orders with confirmation control 0004 - Inbound delivery for every item in the STO.
    So the process steps are:
    1. Create STO for plant to plant with confirmation control 0004 at item level (assuming that relevant configuration is available in MM-Purchasing)
    2. Create outbound delivery from issuing plant and issue the goods.
    3. Create Inbound delivery using transaction VL31N (you can automate this if you have SAP ECC 6.0)
    HTH
    Baseer

  • Error while creating inbound delivery

    Hi All,
    I get an error while creating inbound delivery from ASN
    "Error during conversion of unit of measure: UoM is missing -> ST BOR131
    Please help solve this issue.
    Thanks in advance
    Regards,
    Thiru

    hi,
    please maintain the uom  for tour material.
    or
    reffer this link
    Alternate Unit of Measure Conversion Rule Error
    /thread/2000551 [original link is broken]
    Thanking you.

  • Error while posting MIGO for HU-Inbound Delivery

    Hi All
    When am trying to post the MIGO for HU Inbound Delivery Creation, am getting an error saying "Required parameters missing when calling up module MARV_SINGLE_READ". 
    Following areas I have verifed:
    The posting periods in MMRV shows current period.
    The Number range for HU ID and Delivery type HID is maintained.
    Now am looking for your expert opinion to resolve this issue.
    Regards
    K. Viswanathan

    Are you getting the same error in  transaction MB1C to create the delivery.Try in MB1C

  • Creating inbound delivery without reference to PO - from inbound idoc

    Hi guys,
    I have a scenario wherein I need to create inbound delivery from inbound Idoc from external system without reference of PO. There is no PO created in SAP and this inbound delivery will be used just to receive material (purely for logistic purpose).
    I have identified DELVRY03 or 05 as Idoc type but I am not sure whether system will create inbound delivery without having reference PO. I have two questions here -
    1. Can we create inbound delivery without reference to PO?
    2. If yes, which Idoc type should I use to create such inbound delivery?
    Please help.
    Thanks,
    Parimal.

    Dear Parimal,
    In standard, An inbound delivery can be created as follows:
    With reference to a purchase order
    With collective processing for several purchase orders
    With reference to a stock transport order
    With reference to a customer return

  • How to create Inbound Delivery using SHPMNT03 Idoc details...

    Hi,
         I need to create <b><b>Inbound delivery</b> using idoc SHPMNT03</b> details. I am getting all the data required to create Inbound delivery is from this idoc. for that I need to create a custom function module.
    I tried with FM  IDOC_INPUT_DESADV1. But it is for only if you use DELVRY03.
    I haven't (yet) found a way to create automatically an inbound delivery when you post the goods issue from the outbound delivery.
    Does anyone experienced the use of inbound deliveries with STO and what are your recommendation?
    Thanks a lot,
    Ranjith.

    Hi there,
    Please have a look at the following link.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dc/6b828943d711d1893e0000e8323c4f/frameset.htm
    Hope this helps,
    Kind Regards,
    Matthew

  • Function module to create Inbound delivery with reference to Purchase Order

    Hi experts,
    I want to create Inbound delivery with refernce to Purchase Order. But I want to create item wise. For example If one purchase order is there with 10 line items. 10, 20, 30, 40, 50......100.
    If I am showing report for Purchase Order with select option and if I select first 5 line items 10, 20, 30, 40, 50 then my program should be create one Inbound delivery for selected line items only. I have tried BDC for Tcode VL31N, but its not worked. Is there any Function module to create Inbound delivery with reference to Purchase Order for selected line items????????

    Hi,
    Try FM RV_DELIVERY_CREATE or GN_DELIVERY_CREATE.
    For creating a delivery wrt PO u 1st need to have a sales order i guess.
    Regards,
    Amit

  • Can we create inbound delivery with refernce to outbound delivery?

    Dear all,
    can we create inbound delivery with refernce to outbound delivery?
    Regards
    ahmad

    Dear Ahamed
    I beleive it is a stock movement between 2 different plants
    If so then the receiving plant will have to do GR against the outbound delivery only
    The outbound delivery of the supplying plant
    The  outbound delivery of the supplying plant will not become the inbound delivery of the receiving plant in SAP
    But logically yes
    Your second post talks about outbound delivery only and that is correct
    My point is your proces doesnot involve inbound delivery at all
    In STO there is no inbound delivery at all
    Inbound delivery in SAP means shipping notification that means the confirmation from the vendor about the despatches
    That will not have  muck material details and it is just a confirmation
    Meaning of inbound delivery from SCM 601 logistics execution
    The goods receipt process using inbound deliveries realistically maps standard
    processes in many companies. If the vendor announces the goods receipt with a
    shipping notification, the inbound delivery can be created either manually or
    automatically on the basis of the shipping notification. It contains information
    transmitted by the vendor concerning the expected delivery times and quantities,
    as well as any information about packaging. It is also the reference document for
    the subsequent putaway using a transfer order. If you also use the transportation
    function as part of Logistics Execution, you can summarize inbound deliveries
    into inbound shipments.
    Regards
    Raja

  • BDC for MIGO-inbound delivery

    Dear Gurus,
    I want to create a BDC for GR-INBOUND DELIVERY.Is there any process that we have to upload two text files one at header level & one at item level.Pls suggest if there is any other method. 
    Regards,
    Prasad.

    1)Create a recording of inbound delivery creation if u want to create in mass.
    2) Make a note of all the filds recorded and make a excel sheet then convert it in notepad.
    3) Upload it by LSMW.

Maybe you are looking for