VL31N ibound delivery

I would like to know the process out bound delivery process for creating inbound delivery for non asn vendor by passin my own date and quantity
through my custom prog and all related data .
is there any standard bapi to create inbound delivery through trans vl31n
Pls help me asap .
thanks in advance....

Hi,
Please check out this BAPI
BAPI_IBDLV_CREATE_FROM_OBDLV
Some other BAPI's
BAPI_INB_DELIVERY_CONFIRM_DEC
BAPI_INB_DELIVERY_SAVEREPLICA
BAPI_INB_DELIVERY_CHANGE
BBP_INB_DELIVERY_CREATE
BBP_INB_DELIVERY_UPDATE
Regards

Similar Messages

  • BAPI for VL31N (Inbound Delivery Creation

    Hi,
    My requirement is I need to write a program create a inbound delivery based on multiple Purchase orders.  Usually Inbound deliveries are created through transaction VL31N. As it is SAP njoy transaction, we can write a BDC code for this. I searched a suitable BAPI, but i found none. 
    Anyone have any idea on this ?
    Regards,
    Ganesh

    Use the below function module to create a inbound delivery with the PO number
    DATA: IS_INB_DELIVERY_HEADER LIKE BBP_INBD_L.
    IS_INB_DELIVERY_HEADER-DELIV_EXT = 12121
    IS_INB_DELIVERY_HEADER-DELIV_DATE = 08/16/2006
    DATA: T_DETAIL LIKE LIKE BBP_INBD_D OCCURS 0 WITH HEADER LINE.
    T_DETAIL-MATERIAL = 'xxx'.
    T_DETAIL-DELIV_QTY = '10.000'.
    T_DETAIL-UNIT = 'EA'.
    T_DETAIL-PO_NUMBER = '45XXXXXX.
    T_DETAIL-PO_ITEM = '000010'.
    APPEND T_DETAIL.
    DATA: T_RETURN LIKE BAPIRETURN OCCURS 0 WITH HEADER LINE.
    DATA: V_VBELN TYPE VBELN_VL.
    CALL FUNCTION 'BBP_INB_DELIVERY_CREATE'
    EXPORTING
    is_inb_delivery_header = is_inb_delivery_header
    IMPORTING
    EF_DELIVERY = V_VBELN
    tables
    it_inb_delivery_detail = T_DETAIL
    return = T_RETURN
    Regards,

  • Reg vl31n - inbound delivery

    Hi  All,
    am using vl31n and vl33n transactions for inbound deliveries..
    am able to add customer(kunnr) to the partners in vl33n  transaction using xvbpa  as shown below:-
    xvbpa-kunnr = some kunnr.
    xvbpa-parvw = some parvw
    xvbpa-updkz = 'I'.
    append xvbpa.
    but now the problem is  i have to add the same customer(kunnr) to  the partners in vl31n  transaction alsoo..but its not adding/coming in  vl31n transaction...Does something has to be done ??
    Any solution for this to get rid off from this?
    Thanks n Regards,
    John

    answered

  • Vl31n inbound delivery

    Dear All,
    In Inbound delivery ,if it is created from 2 Purchase orders and both are having same materials then these materials should be either sorted or accumulated into one item only,
    How to do achieve this,
    Please help me,
    Regards,
    Talwinder

    answered

  • Link between PO and Inbound Delivery -  Delivery confirmation

    Hi Gurus,
    I have a question regarding the link of Purchase Order and Inbound delivery completed indicator.
    This is my scenario. I had created a purhase order with qty 10, then i created a Inbound delivery with 8 qty then i did GR with reference to inbound delivery. Then looking at the purchase order , the PO is set to Delv. Completed. Looking also in the doc flow of the inbound delivery, the status is "complete".
    Now , my question, if i go to VL31N and input the purchase order , i am still able to see the open qty which is "2". Is there is no way that the SAP will prompt me after i input the PO number in the VL31n as " Delivery completed" message or someting related to that. Since , in the PO its already Delv. completed?
    Thanks.

    Check the toleance limits set in the delivery tab of purchase order. If the quanytity delivered is with in tolerance limits then system will set delivery completed indicator automatically.
    Even though delivery completed indicator set you can further post the GR for remaining qty.
    Regards,
    B K

  • The userexit is not working in integration scenario- inb. delivery creation

    Hi Experts please help,
    We know that vl31n is for inbound delivery creation.
    in one of the userexits of vl31n, I did code ( shifting the batch to vendor batch )...
    So,the user enters batch number under batch field and
    fill all other required information and saves to create inbound delivery.
    Whilw inbound delivery creation my coding in user exit gets executed and shifts the batch number to Vendor batch field.
    This we observed when we check in vl32n or vl33n, the batch entered shifted to Vendor batch field() batch field is space.
    This is working fine with vl31n inb. delivery creation.
    But in integration testing it failed.
    In Integration, what is happening the other system called "ICH" is creating ASN (shipping note) with the batch number, which inturn created the inbound delivery in R/3 via XI as shown like below.
    Integration scenario :
    ICH System (ASN)   --> XI -->  R/3 System (Inb. delivery creation)
    So when "ICH" triggers ASN to R/3 the inbound delivery creation is happening but the batch number is not shifting to vendor batch field.
    when we open the inbound delivery in vl32n, the batch number is under batch field only...it should be under vendor batch field.
    My understanding is my user exit coding of vl31n not getting executed in the integration process.
    Kindly help me what can I do to shift the batch sending from ICH to shift to vendor batch field.
    Please let me know if I could not explain the scenario.
    THANKS IN advance.
    YOUR HELP WILL BE GREATLY APPRECIATED.

    the ASN from ICH, it uses a standard idoc function module IDOC_INPUT_DESADV1 and there is one user exit EXIT_SAPLV55K_012 which calls ZXTRKU07
    need to code there.
    solved by meetings with some other experts.
    THANKS.

  • Urgent help - PO issue when receiving

    Dear gurus
    i have an urgent production issue, i have done a mass conversion of all the master data from one plant to another, the scenario is that they are closing down and stopping operations at old plant and moving the entire operations to new plant under the same company code, so for this i did the entire MM master data conversions
    i also changed the delivering plant and address using MASS T-code for all the open PO's line items from old plant to new plant (some of line items had partial open qty and some of them entire open qty)
    <b><u>1st issue:</u></b>
    But when i am doing VL31N inbound delivery, the PO qty is NOT showing up automatically in the delivery qty field, so it is causing issues when trying the do a GR
    <b><u>2nd issue</u></b>
    also another issue is that in the Goods Movement Data tab while using VL31N for GR, it is by default showing the old plant still and is grayed out even though the PO line item contains the new plant code and delivery address, so how can we change the receiving plant to new plant and why it is not picking the new plant still
    so can you please help me on this issue and let me know if there is any settings or resolution
    thanks a lot in advance and appreciate your expert advices
    chakri

    dear chakri,
    you have written that you have converted the material master data, but what about the existing puchase orders, you have to copy all the orders in the new plant .
    or if possible try to chane the delivery address in in the item details of the P.O.
    rewards if useful.
    ashish

  • TPVS: Inbound Deliveries

    Dear experts,
    I am facing a problem that I could not easily identify which customizing I am missing.
    I am creating Inbound Deliveries from Purchase Orders and these Deliveries are not appearing in my SCM-APO.
    Looking into the /SAPAPO/VS_SDSHP table and I can find the Purchase Order.
    After creating the Inbound Delivery by using VL31n, it is not being transferred to SCM-APO.
    I searched in /SAPAPO/VS_SDSHP and it is not there.
    It works fine with Stock Transfer and Sales Orders (outbound deliveries), where I can see both documents.
    Is there any special configuration that I have to make to get these Inbound Deliveries?
    Thanks a lot in advance!
    Thiago Brito

    Hi Kiran,
    It worked!
    I can see the ATP category (AH) foreach inbound delivery that I created.
    But now I am facing another problem.
    In the Non-Assigned Freight Unit in Tabular planning (/SAPAPO/VS01), all inbound deliveries that I've created in R/3 are being grouped in just one line, increasing (adding 1) in the Shedulling Lines Column.
    For example:
    PO: 1000001 / 10.000 kg
    VL31n:
    Inbound Delivery A: 100kg / 07.15.2010
    Inbound Delivery B: 200kg / 07.16.2010
    In TP/VS - Non Freight Unit view:
    Freight Number   Category   Amb Shed Lines  Weight
    1000001              PO Memo           2                  300kg
    But, instead of this behavior I would like to see:
    Freight Number   Category   Amb Shed Lines  Weight 
    1000001-1           PO Memo           1                  100kg     <- related to Delivery A
    1000001-2           PO Memo           1                  300kg     <- related to Delivery B
    How can I create one Freight Unit foreach Inbound Deliveries, not grouping all inbounds deliveries in one freight unit?
    Thanks again,
    Thiago

  • TPVS: Inbound Deliveries being grouped in Planning View

    Dear all,
    I am creating Inbound Deliveries with AH ATP category.
    But now I am facing another problem.
    In the Non-Assigned Freight Unit in Tabular planning (/SAPAPO/VS01), all inbound deliveries that I've created in R/3 are being grouped in just one line, increasing (adding 1) in the Shedulling Lines Column.
    For example:
    PO: 1000001 / 10.000 kg
    VL31n:
    Inbound Delivery A: 100kg / 07.15.2010
    Inbound Delivery B: 200kg / 07.16.2010
    In TP/VS - Non Freight Unit view:
    Freight Number Category Amb Shed Lines Weight
    1000001 PO Memo 2 300kg
    But, instead of this behavior I would like to see:
    Freight Number Category Amb Shed Lines Weight
    1000001-1 PO Memo 1 100kg <- related to Delivery A
    1000001-2 PO Memo 1 300kg <- related to Delivery B
    How can I create one Freight Unit foreach Inbound Deliveries, not grouping all inbounds deliveries in one freight unit?
    Thanks again,
    Thiago

    Hello Thiago. I´ve the same problem
    "In the Non-Assigned Freight Unit in Tabular planning (/SAPAPO/VS01), all inbound deliveries that I've created in R/3 are being grouped in just one line, increasing (adding 1) in the Shedulling Lines Column"
    I´ve created a split rules for purchase order, this split rules ID is ok. But, when a I created the deliveries inbound from APO are being gruped in one line.
    I don´t know how I can configure the split rule of ATP Categories "AH".
    Best regards,
    Martin

  • IDOC_INPUT_DESADV for IDOC input deliveries can post also good receipt?

    Hello all:
    Does any body can help me  to know if idoc with Process code DESA that call function module IDOC_INPUT_DESADV besides creates an input delivery (like vl31n) can ALSO POST THE GOOD RECEIPT if the confirmation control key at item level is configure to auto post the GOOD RECEIPT?
    Currently my idoc entry creates the delivery nevertheless the Good receipt is not posted. If manually on VL31N a delivery is created the Good receipt is posted automatically.
    Thanks in advance!

    Hi,
    As long as you set the indicator of automatic GR process (select 2--Register and receive automatically), this applies both to the manual creation of inbound deliveries and to their creation via IDoc. If you still get the problem, you can check the assigned status in the inbound delivery on the tab page status overview, I think you can find some hint
    Good luck
    Z.T

  • Decentralized Warehouse Help

    We have configured Decentralized Warehouse.  We are using R/3 as our central system and our WMS system is a 3rd party system which we'd like to send a flat file to (IDOC).  Believe it or not via secure ftp.
    The configuration for the functional side is complete.  The Distribution configuration is complete.  A few bumps though I need help with.
    1) In the configuration, our consistency check shows that the warehouse is active, distribution is correct, but the WMS gives us a red light.  The error says that the WMS has no rfc destination defined.  For our ALE model we have the BAPIs setup (inbound and outbound).  But how do we configure the system to have the BAPIs just create IDOCs that go to a partner profile which then can point to a file port?  Do we have to attach an RFC to the method call?  Or can we just have the BAPIs IDOCs be processed through ALE and visible in WE05, sent to a port (in our case file port)?
    2) Because ours is not active yet, can you confirm that from the transaction ME21N (purchase order create) to VL31N (inbound delivery processing), the first IDOC should be created, and visible in WE05?  Other posts say we need to see it in the tRFC or qRFC queues (which kind of points back to my first question). 
    Thanks in advance,
    Gareth

    Hi
    I think that you have had the answer to your question. I am trying to get people to keep the forum tidy. If you have what you require could you award you points if you want to and mark your question as answered.
    This helps everybody as there are at the moment 48 pages of open questions and if people do not close them the forum will grow and then people like me will not go through all of the pages as it takes too long and some people will not get answers to their questions.
    Thank you
    Frenchy

  • Authorization  in purchase order(ME21N) and inbound delivery(VL31N)i

    I have the following scenario and requirement:
    there is a customer adopt concentrated procurement. the headquarter create purchase order and the branches create the inbound delivery. all the data including company code, purchase organization, purchase group and the plant are same except the information of goods receipt person we put in header text field.
    now i want to control the authorization in VL31N depend on the goods receipt person or something related, how can do this? please kindly let me know?

    Hi,
    You can use the storage location or shipping point as authorization control, these two should be different for different locations.
    Regards,
    Ramakrishna

  • Need help to create I/b Delivery(VL31N) and GR (MIGO) against to PO

    Hi ABAPers,
    Please give me BAPI/FM to create inbound Delivery(VL31N) and Goods receipt (MIGO) against to PO.
    And please tell me the fields( which i need to pass to each BAPI/FM) to create successfully.
    my assumption is :
    inbound Delivery(VL31N) : GN_DELIVERY_CREATE
    Goods receipt (MIGO)    : BAPI_GOODSMVT_CREATE
    Please confirm.
    Thanks and Regards,
    Sekhar.

    anyone?

  • VL31N delivery date and PO delivery schedule date

    Hi Experts,
    The quantities in VL31N picking from PO with future delivery date schedule.
    Is it standard scenario or we are missing something....we are looking for restriction in creating VL31N document for those quantities which are having future delivery date....confirmation control used 0004.
    Regards

    Hi,
       Please have a look in to the KBA: 1488434 - How are quantities calculated when creating an inbound delivery?   which explains the logic.
    Regards,
    AKPT

  • External Delivery Number in VL31N

    Hi,
    When creating inbound deliveries against a Purchase Order in VL31N, is there a user exit that will let me put in an external delivery number instead of an internally generated one.
    Deliveries in our system are created in a third party LE system and then sent back to SAP. We need to create deliveries in SAP using that external number.
    Your help is greatly appreciated.
    Thanks,
    Jay Viswanathan.

    Hi,
    These are the user exits present for the VL31N transaction,
    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)          
    Regards,
    Azaz Ali.

Maybe you are looking for

  • One of the best

    Well I consider myself an "Intermediate" Linux user. I appreciate the Open-Source nature of linux and how most of the things are free and donations suffice. I appreciate the fact I don't spend a few hundred dollars to get an OS and Office Suite (I co

  • How do I transfer videos from an Ipod Touch 4g to a Windows 7 PC?

    I can't access them through "Computer" and then Ipod device (I can access pictures that way). I don't see how in Itunes. I HOPE I don't have to BUY a piece of software to do this. I thought perhaps there was some way to do it using the bluetooth in t

  • Files stored in disarray

    I have just started to use Aperture and I'm having trouble with how the program is storing my files. When I found them under Aperture (show content) they were not organized at all (my projects in Aperture is very organized). Is there anyway to change

  • ESS- communications type not displaying on addresses tab

    Hi experts, in ESS, addresses when user try to update addresses sub types they get the following In my desk number I have tried to update my desk number to 1 When I review the data the communication type Desk does not appear. When I save the data, th

  • Catalog Cache Hitrate - Low hit rate in the catalog cache (76.170000% 80.

    HI... LC10 in Alert  Display CCMS Monitoring architecture We get error as Context : MaxDB Monitoring: LCA Caches : Caches Short Name  : Catalog Cache Hitrate Alert Text : Low hit rate in the catalog cache (76.170000% < 80.000000%) Rgds PR **http://ma