Single Function module to create inbound and outbound delivery

Dear Frens,
   I would like to know how VL10A is creating a deliverty document in background mode.
   otherwise can anyone help me with a single function module or BAPI or BADI which creates both
   inbound and outbound delivery.
Regards
Priya

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

  • 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

  • How to add Total Quantity in Inbound and Outbound Delivery screen

    Hi,
    I want to add Total quantity field in Inbound and Outbound Delivery screens.
    In document flow i can see the line item quantities in ALV Format, but if i select Display the totals above the entry check box
    in Change Layout--> Display, i didn't see any totals displayed.
    Please help me on this?
    Regards
    Bhuvana

    Hi
    If the field is a customer field, see BADI 'LE_SHP_TAB_CUST_HEAD'
    Regards
    Eduardo

  • Function module to create Invoice from the Delivery no ?

    Hi All,
    Is there any way (function module) to create an Invoice from the Delivery no and the Billing Type ? We do not want to go with BDC for transaction VF01.
    Details:
    We want to generate a pro-forma invoice while saving the delivery. We will have 'Special Function' (NAST-NACHA = 8) in the output determination and a routine would be called from there. That routine would contain the code to generate the Invoice. We will have only the 'Delivery no and the Billing Type'  in that routine. So trying to find any function module which can create an Invoice from the Delivery no and the Billing Type.
    Any suggestion / hint  is welcome.
    Thanks,
    Ashok

    Hello Ashok Satapathy ,
                                        The only option  for you is to call the FM "GN_INVOICE_CREATE" .
    There is no special FM availaible to pass only the delivery number at this point.
    You need to retrieve all the delivery information details and need to pass it to the FM "GN_INVOICE_CREATE".
    Thanks,
    Greetson

  • L_TO_CREATE_DN function module for creating TO for a delivery

    Hi,
    I am using L_TO_CREATE_DN function module to create a TO for a delivery and it is working fine as long as the HU, I am picking has quantity less than the delivery quantity or equal to delivery qty. But whenever I try to pick a HU whose qty is little more than the delivery quantity, its throwing an error. Also, there is tolerance set on the delivery line item (and the qty I want to pick is within the tolerances). When I am trying to do it manually using LT03, it throws a popup about conversion error and is creating the TO taking the rouding into account. Here is the example of the above scenario.
    Delivery Qty = 1300 LB (pounds, base unit of measure)
    Alternate Unit of measure for this material is Roll (RL)
    I am trying to pick a HU which is 1350 LB.
    Manual Case : When I use LT03 it throws a popup (saying conversion error) and accepts only
    0.963 RL which is equal to 1300 LB and creates a TO. when I see the delivery after creating the TO, the picked qty is 1300LB.
    Function Module : When I use the function module, it does throw me the same popup but does not create the TO. Rather it throws an error "Available quantity in bin is zero".

    hi , it will create only 1 TO with multiple line items
      CALL FUNCTION 'l_to_create_multiple'
        EXPORTING
          i_lgnum                      = ls_9001_scrn-lgnum
          i_bwlvs                      = lc_bwartwa
          i_bname                      = sy-uname
        IMPORTING
          e_tanum                      = ltak-tanum
        TABLES
          t_ltap_creat                 = li_ltap_creat
    ls_9001_scrn-lgnum = warehouse number
    lc_bwartwa = movement type
    li_ltap_creat = itab containing the line items with diff material
    Just check if it helps
    Thanks

  • Delivery document Type of Inbound and Outbound delivery

    Hi,
    Please suggest standard delivery type for inbound and outbound deliveries.
    Regards,
    shreya

    Hi,
    Standard delivery types:
    inbound delivery EL
    outbound deliveries LF
    subcontracting LB
    project LP
    replenishment NL
    returns RE
    without ref LO
    Regards,
    MdZ

  • SPED output to create inbound from outbound delivery.

    Hello,
    I have used SPED output to create inbound delivery from replenishment outbound delivery.
    when there is only one batch in outbound delivery, the  inbound delivery is created and batch is copied from outbound to inbound delivery. item category is ELN in inbound delivery.
    However when there is a batch split in outbound , then inbound delivery fails to create and the error log says that  no item category  exists for EL , CHSP  in table T184 L (Message=VL320).
    However I have maintained the following two entries for  delivery item category determination as follows but still the error
    EL (del type) + NORM+ V(usage)+blank= ELN (default item cat)
    EL(del typ)+NORM+CHSP(batch split)+ELN(higher item)=ELN(default)
    I have also removed higher item cat ELN from above table but still inbound delivery  cannot be created. I have also added the entry EL+NORM+blank(for usage )+blank (high item ) =ELN but still the error remains as above and inbound cannot be created . that is i have also used the follwoing three entries but still error
    EL (del type) + NORM+ V(usage)+blank= ELN (default item cat)
    EL(del typ)+NORM+CHSP(batch split)+ELN(higher item)=ELN(default)
    EL+NORM+blank (usage)+blank(higher item )=ELN (deafult)
    Kindly help ?
    regards
    Pamela

    Check and implement OSS   1904586 - No delivery item type with SPED with batch split
    Regards,

  • Confirm Inbound and Outbound Delivery, with HU packing

    Hi Expert,
    Does anybody know some FM(s) for comfirm Inbound or Ountbound delivery with Batch split and Handling unit packing?

    This is not an appropriate message for the Web Dynpro ABAP forum. Please choose the correct forum when posting questions.

  • SAP inbound and outbound delivey in single shipment document

    Hi
    We are doing outbound and inbound delivery creation in SAP. These are dropped to OTM(oracle transport management system). OTM will create orders for deliveries and groups multiple deliveries into one shipment. This is sent back to SAP for shipment creation. Problem we have is SAP can have either inbound deliveries Or outbound deliveires in a shipment. Based on inbound shipment or outbound shipment in shipment document type. OTM does not has this restriction and can bundle both outbound and inound in single shipment.
    Business scenario we have is multi pick and multi drop, where there is possibility that 1) inbound del from vendor for PO            2) Outbound del to customer for SO and 3) outbound/inbound del for STO from RDC to DC in a single sipment.
    Please advice ow this can be achieved in SAP.
    Best Regards
    Edited by: M.N. Phani Sai on Oct 28, 2010 10:34 AM

    It is not possible to involve both inbound and outbound deliveries in the same shipment. SAP has its deficiencies...
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-wm/inbound-and-outbound-delivery-in-the-same-shipment-3512217
    http://help.sap.com/saphelp_erp60/helpdata/en/f5/04898047bd11d2bf750000e8a7386f/frameset.htm
    You cannot place outbound deliveries and inbound deliveries together in the same shipment document. Nor is it possible to assign Items from a delivery or an inbound delivery to different shipment documents. You must decide at the delivery stage whether order items can be shipped together in one delivery and therefore require only one shipment.
    Edited by: Csaba Szommer on Oct 28, 2010 11:05 AM

  • Sharing Handling Units between Inbound and Outbound Delveries?

    Hello-
    I could use some guidance with how to best setup a handling unit scenario for a Third Party Purchasing process.
    1.) Sales Order for Third Party Purchased Material (Vended Finished Good) is created in ECC.
    2.) Purchase Order is sent to supplier.
    3.) Shipping Label is generated in SAP and is assigned a Handling Unit.  Label is sent to supplier.
    4.) Supplier affixes this label to product and ships it to our warehouse.
    5.) Goods Receipt is performed via Purchase Order (MIGO). 
    6.) Warehousing activities and Post Goods Issue of Outbound Delivery are performed via this label and Handling Unit.
    We would like to do a few new things with this process.
    A.) We would like to have the supplier provide us with the HU on their ASNs and generate a Packed Inbound Delivery from it. 
    B.) We would like the same HU to eventually be associated with the Outbound Delivery to the end customer. 
    Is their a best practice to share a Handling Unit across an Inbound and Outbound Delivery? 
    Is EWM Cross Docking the best way to accomplish this? 
    Are there other proven approaches?
    Thanks for your time and help.
    -Ron

    hi friend
    Handling unit number for identity of packing materail , pallet material carrying the carton ,carton the carrying the  material
    like FG  material and tray
    identification number controlling the handling unit numbers.
    with regards
    dinesh

  • Function Module to create Outbound IDoc

    I have created a segment (ZSEGPRO), basic type (ZIDOCPRO) and message type (ZMSGPRO) to create a custom IDoc. Now I have to write a Function Module to create Outbound IDoc.
    I want to know what will be in Import, Export, Changing, Tables, Exceptions and Source code of that function module. The fields used in the segment ZSEGPRO is given below:
    Fld NameSource Data Elmn     Description
    PRODUCT MARA MATNR     Material number
    TEXT     MAKT     MAKTX     Material description
    PRN     MARA     YYBCEZNDR     Print Field
    Additional information: Export parameter will be BAPIRETURN for holding error message(if any).
    These Function Module need not require to be RFC enabled.

    Hi ,
    Refer these:
    There are two main reasons
    1) Make sure you call COMMIT WORK after the MASTER_IDOC_DISTRIBUTE
    http://help.sap.com/saphelp_nw04/helpdata/en/78/21783151ce11d189570000e829fbbd/content.htm
    2) The rest of the setting of the ALE IDoc might not have been done
    http://help.sap.com/saphelp_46c/helpdata/en/78/2177c951ce11d189570000e829fbbd/frameset.htm
    You can use the Area Menu WEDI and do the rest of the settings.
    ALE Quick Start guide and ALE Programming Guides for your reference
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFAALEQS/CABFAALEQS.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDALEPRO/BCMIDALEPRO.pdf
    Recent discussion which could be helpful,
    About WE21, BD64, sm59
    Regards
    Shiva Kumar

  • Function modules to create a movement type 105 and 104

    Hi folks,
             I have created a custom screen and attached to MIGO Transaction. If my user enter data and click 'PASS' on my screen, a movement type 105 to be triggered in back ground. And if he click 'FAIL', movement type 104 need to be triggered. is there any BAPI or Function Module to create goods movement type. I have searched some function modules in SE37 and found some stuff. But i am confused which one to use...Could you pls guide me regarding this...
    for ur information, i am thinking to use these FM's
    MB_READ_GOODS_MOVEMENT
    MB_CREATE_GOODS_MOVEMENT
    MB_CANCEL_GOODS_MOVEMENT
    Will it be useful for me.
    Thanks in advance,
    Shyam.
    Edited by: shyam prasad on Jan 7, 2009 10:24 AM

    Hi
    Yes you can use this function modules.
    Thanks & Regards
    Kishore

  • Function Module for creating Functional Location BOM and Equipment BOM

    Hi All,
    Is there any function module for creating and changing Functional Location BOM and Equipment BOM ???

    Hi,
    Tables for Eq., BOM: EQST, STKO, STPO.
    Tables fro Fun., Loc., BOM: TPST, STKO, STPO.
    You can use FMs: CS_BOM_EXPL_TPL_V1, CS_BOM_EXPL_EQU_V2 & CS_BOM_EXPL_MAT_V2 for extracting the appropriate BOM related data.
    And for the Alternatives please check the customizing or check with your respective Module experts for the appropriate configuration.
    Hope this helps.
    Best Regards, Murugesh AS

  • Function Module to create AFS Outbound delivery for sales order

    Guys,
    I am looking for a function module to create deliveries for a sales order IN IS-AFS.
    I cannot make BAPI_DELIVERYPROCESSING_EXEC work. Also, if I use the IDOC type /AFS/DELVRY03 via message type WHSCON and function module IDOC_INPUT_DELVRY it doesn' work either.
    Does anyone know which function module I could use? I need to select specific AFS schedule lines though, but at this point I am not able to make any work.
    Thanks
    Leonardo

    This will not help .
    Edited by: Amit Khare on Aug 7, 2008 3:49 AM

  • Function module to create and change delivery

    Hi,
    I need to create a function module to create and change delivery using the same function module.
    For this I want to call the bapi's BAPI_OUTB_DELIVERY_CREATE_SLS
    and BAPI_OUTB_DELIVERY_CHANGE.
    So what are the variables I need to declare in source code of my function module.
    Can anybody please suggest me.
    thanks,
    Sudheer

    Hi Sudheer,
                      Check this out
    In the BAPI BAPI_OUTB_DELIVERY_CREATE_SLS
    You need to provide
    SHIP_POINT - Goods receiving point for the returned goods.
    DUE_DATE - Delivery creation date selected as december 12
               9999 unless specified.
    DEBUG_FLAG makes analysis of the process earlier .
    call function 'BAPI_OUTB_DELIVERY_CREATE_SLS'
    DESTINATION logsys
    EXPORTING
    SHIP_POINT = 'MD01'
    DUE_DATE = sy-datum
    DEBUG_FLG = 'X'
    importing
    *delivery = lf_vbeln
    *num_deliveries = lf_num
    *tables
    *sales_order_items = lt_order
    *extension_in = lt_extin
    *deliveries = lt_deli
    *created_items = lt_itm
    *extension_out = lt_extout
    *return = lt_return
    For the BAPI_OUTB_DELIVERY_CHANGE.
    Please read the documentation of the function provided there.
    A Wiki To support your need.
    Link: [Wiki|https://wiki.sdn.sap.com/wiki/display/ABAP/Changeoutbounddelivery+%28VL02%29]
    hope your query resolves soon.
    Have a best day ahead.

Maybe you are looking for

  • How do I get the U2 album off my iTunes account?

    HHow do I get the U2 album off my iTunes music

  • PPDS - Order should start at the shift start

    Hi Experts, We have SNP orders that always start at 00:00:00 and finish at midnight 23:59:59 We convert them to PPDS orders, and we would like the orders to always begin at the shift start, which is 6:00 am. Any ideas on how we can make the PPDS orde

  • HT4736 can't make a copy of photo

    Recently (I think) unable to copy a photo in photos file.

  • IMPORT CAPITAL P.O G/L ACCOUNT UPDATING PROBLEM

    Hi I have a Imported P.O for the material type spare part, After doing G.R when I display Vendor Excise invoice in J1IEX, in tab Duty values(Item detail) under AED Totalduty show 21720.40 but It is supose to show credit availed 50% of the above value

  • Iphoto is crashing at thread 23, help!

    Desperately looking for a fix here! Has been going on for over 24 hours. I have 10,000+ photos (not backed up, like an idiot, i know). I have tried every answer I can find, to include creating a new library and rebuilding my old one, still crashing.