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

Similar Messages

  • Create inbound delivery with reference to purchase orders

    Hi,
    I´d like to create inbound deliveries using BAPI or transactions like vl10x (for outbound deliveries) for different purchase orders, items and quantities.
    Does anyone know the way to do it?
    Thank you in advance
    Best regards

    Hi,
    Is there only that transaction to create inbound deliveries??
    We want to do a load a file and create inbound deliveries. I was looking for bapi mass transactions, but I don´t know if the only way is to create a batch input of transaction VL31n.
    Thanks

  • Can we create outbound delivery with reference of purchase order

    Hi All,
    can we create outbound delivery with reference of purchase order?

    dear friend,
    as far as i know you can create it with the following references:
    -to sales order;
    -to STO;
    -to subcontract order;
    -to project;
    -without any ref
    are you talking about stock transport order ?
    regards,

  • Create outbound delivery with reference to purchase order

    Hi,
    I've created new plant and when i make purchase order i cant see the PO in VL10B, and there for i cant create outbound delivery.
    In the PO in Item Detail there is no shipping category.
    What i need to do ?
    Thank you.

    Step1: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Define Shipping Data for Plants.
    Define the Customer number, Sales Org, Distribution channel and Division for the Plant.
    The Customer you are assigning for the Plant has to be created in the System to create the outbound delivery.
    Step2: In SPRO - Materials Management - Purchasing - Purchase Order - Set up Stock Transport Order - Assign Delivery Type and Checking Rule.
        Then Assign the PO type and the supplying plant to the Delivery Type which is NL (for inter company) and Checking Rule.

  • Could we create an inbound delivery with reference to purchase requisition?

    Dear all,
    Could we create an inbound delivery with reference to purchase requisition?
    If yes, how could we customize the system?
    Kind regards,
    Adi

    No, I don't think so. You have to convert it into a PO and then you can create the delivery.

  • Create Inbound Delivery with Reference to PO using Serial Numbers

    I guys.
    I didn't find any BAPI  to create an Inbound Delivery with Reference to PO using Serial Numbers so I've made a Function Module with BDCData.
      LOOP AT serial.
        ADD 1 TO ld_count.
        ld_value = serial-sernr.
        CONCATENATE  'RIPW0-SERNR(' ld_count ')' INTO ld_field.
        PERFORM bdc_field USING ld_field ld_value.
      ENDLOOP.
    This works fine for 10 entries, but when I'm trying to use 1000 entries in serial Internal Table I'm getting the error: Screen 0000 is too large for internal batch input area - Message no. 00379.
    Please note that my issue is the Serial numbers, so don't answer me please with BAPIs that doesnt allow me to deal with this.
    Any idea?
    Thanks in advance,
    Nuno

    As I expect, it solved my problem. It's not pretty, but it works...
      PERFORM bdc_dynpro      USING 'SAPLIPW1'       '0200'.
      PERFORM bdc_field       USING 'BDC_CURSOR'     'RIPW0-SERNR(01)'.
      DATA: ld_valor(4) TYPE n,
            ld_next,
            ld_tabix TYPE sy-tabix.
      LOOP AT serial.
        ld_tabix = sy-tabix.
        IF ld_next = 'X'.
          CLEAR ld_next.
          ld_count = 2.
        ELSE.
          ADD 1 TO ld_count.
        ENDIF.
        ld_value = serial-sernr.
        CONCATENATE  'RIPW0-SERNR(' ld_count ')' INTO ld_field.
        PERFORM bdc_field USING ld_field ld_value.
        ld_valor = ld_tabix + 17.
        ld_valor = ld_valor MOD 18.
        IF ld_tabix NE 1 AND ( ld_tabix EQ 19 OR ld_valor EQ 0 ).
          ld_next = 'X'.
          PERFORM bdc_field       USING 'BDC_OKCODE'     '=PNPG'.
          PERFORM bdc_dynpro      USING 'SAPLIPW1'       '0200'.
          PERFORM bdc_field       USING 'BDC_CURSOR'     'RIPW0-SERNR(01)'.
        ENDIF.
      ENDLOOP.
      PERFORM bdc_field       USING 'BDC_OKCODE'     '=RWS'.

  • Create Inbound Delivery with reference to Outbound Delivery

    Hi Team,
    Can anybody describe the process needed to be able to Create an Inbound Delivery with reference to an Outbound Delivery.
    Also, can the whole inbound delivery creation process be automated?
    Thanks.

    Inbound Delivery can be created wrt :
    Purchase order
    Shipping notification
    Customer return
    and
    Outbound Delivery can be created wrt:
    Goods shipment based on a sales order
    Stock transfer order
    Goods return (to the vendor)

  • Idoc delvry03 - Create inbound delivery without ref. to purchase order?

    Hello,
    we want to use LES with handling-unit management. For this we have to create inbound-deliverys without any reference to an purchase-order. Manually we can do this via TA MB1C with movement type 501 for a handling-unit storage location. In this case MB1C creates an inbound-delivery with delivery-type "HID". Then we can pack handling-units with TA VL32N.  Now i will do this with idoc desadv/delvry03 but the FM idoc_input_desadv1 checks the existence of an purchase order so we cannot even change an existing delivery. Has anyone done this before or any idea to do this?
    regards
    Andreas

    Hi Andreas,
    I have a similar requirement. Did you get any solution for the same?
    Himanshu

  • Creation of Inbound Delivery with reference from PO

    Hi,
            I use this FM-BBP_INB_DELIVERY_CREATE for creation of inbound delivery.  Delivery date is  same  Actual GR date means it's working fine. But i give less than or greater than Actual GR date  means it shows following error,
              'Acknowledgment for PO item 10028 00010 contains date variance'
        Please tell me how to correct this error.Otherwise tell me correct FM/BAPI to create inbound delivery with reference from PO

    Hi Anjaneya,
                My business process is,(In MM side)
         I create one purchase order(me21n) mention Delivery Date is 24.08.2011 and Delivery Qty is 20 etc......And raise the po to vendor.
       In vendor side, check the po details and perform confirmation process i.e creation of inbound delivery using FM BBP_INB_DELIVERY_CREATE. I give the following  inputs,
            Import
              IS_INB_DELIVERY_HEADER -DELIV_DATE  = 26.08.2011
             Tables
             IT_INB_DELIVERY_DETAIL -MATERIAL = M1
             IT_INB_DELIVERY_DETAIL -DELIV_QTY  = 20
            IT_INB_DELIVERY_DETAIL-UNIT = EA
            IT_INB_DELIVERY_DETAIL-PO_NUMBER = 0000010028
             IT_INB_DELIVERY_DETAIL -PO_ITEM  = 00010
    If run this FM shows the following error
           '      Acknowledgment for PO item 0000010028 00010 contains date variance'
                    Please tell me how to correct this error.

  • Function module create inbound delivery with text

    Hello
    I'm trying to create an inbound delivery with reference to a purchase order and create additional texts. I found FM GN_DELIVERY_CREATE but the texts are not added. I entered data in table IT_GN_TEXTL & IT_GN_TEXTH.
    What can be the problem?
    KR

    We will solve it with some extra development.
    As we do not have the parameter IS_BORGR_CONTROL-SAVE_TEXTS = 'X', I compared the version of ECC 6.0 to the 4.7. In debugging, we just have to pass one check and it will work. We will create a own version of gn_delivery_create with one extra parameter and put this parameter where it is added in Ecc 6.0.
    Check:
    if v50agl-create_decentral ne space
        or v50agl-create_uclief     = 'X'.
    KR

  • 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

  • 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

  • Inbound delivery with reference to outbound delivery

    Guys,
    Is it possible to create inbound delivery in reference to a outbound delivery. Can it be created with GN_DELIVERY_CREATE,
    Regards
    Jiku

    Re: Create Inbound Delivery from Outbound Delivery create
    Re: Inbound/Outbound Delivery
    Reward points if it is useful...

  • Goods Receipt using Inbound Delivery with reference to Outbound Delivery

    Here is our scenario that we need help finding a solution:
    1.  Multiple Intracompany POs created
    2.  On the confirmations tab of the POs, we have u201CInbound Deliveryu201D Selected because the items need to be received in with Handling Unit management.
    3.  We have the Order Combination box checked on the shipping tab to allow 1 delivery to be created for multiple purchase orders.
    4.  We create only 1 Outbound Delivery for only available items on various purchase orders.
    5.  Due to being handling unit managed, we need to receive the items using an inbound delivery.
    Problem:  We need to find a solution to easily enter an outbound delivery number which will allow us to receive only the parts that were shipped (issued), via the inbound delivery process. 
    If we remove the confirmation control key, we can complete a Goods Receipt for Outbound Delivery in MIGO u2013 but is there a way to complete a goods receipt using an inbound delivery with reference to an Outbound Delivery?
    Thank you for the help.

    Hi,
    You can work with Inbound delivery created via IDOC Triggered from Outbound Delivery, this will carry the HU Data as well. Please refer this wonderful note, which will explain you a lot of things,  Note 1119073 - FAQ: Automatic inbound delivery creation for stock transfers
    There are other notes also available for Inbound delivery creation with HU in STO, please browse the notes, if you find any difficulty.
    Regards
    Chandra Shekhar

  • I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.

    Dear Team,
    Can you please help me by providing the BAPI name for creating the outbound delivery for Scheduling Agreement in SAP SD .
    I faile to create outbound delivery with reference to scheduling agreement by using BAPI_OUTB_DELIVERY_CREATE_SLS.
    The system says "missing data in the BAPI interface: VBAK VBTYP E". It seems another FM should be used for scheduling agreement only.
    Thank you for your help in this regard .

    Hi Raghu.
    As much as I don't want to do this but just to resolve this error I created an enhancement implementation in include LV50R_CREACSV form routine dcs_check_so_vs_interface and modified VBTYP to blank to avoid that error message.
    Got the tip from this thread http://scn.sap.com/thread/1972059
    Unless... anybody has a brighter idea (without modifying the standards)?

Maybe you are looking for