Delivery Picking and Printing

I've been assigned a project in which once an order goes through a certain criteria, I need to loop through all of it's deliveries and do the following:
1. Pick all the items on the delivery
2. Print the Picking List Ticket to a specified printer
Can anyone give me any ideas on where I should start looking?
Thanks,
Curtis

1/Create smartform for picklist
ZM_PICK_LIST
2/Create printing program
***********DATA DECLARATION
tables: vbak.
DATA:
gv_func   type RS38L_FNAM,
gt_vbfa type table of vbfa,
gs_vbfa type             vbfa.
************SELECT REQUIRED ORDER
select-options: svbeln for vbak-vbeln.
***********FIND DELIVERYIES FOR ORDES
select * from vbfa into gt_vbfa
                              where vbelv in svblen
                               and    vbtyp_n = 'J'
                               and     vbtyp_c = 'O'
*Find function for smartform
  call function 'SSF_FUNCTION_MODULE_NAME'
       exporting  formname           = 'ZMM_PICKLIST'
       importing  fm_name            = gv_func
       exceptions no_form            = 1
                  no_function_module = 2
                  others             = 3.
*Print Smartfomr picklist for  delivery
      data: gt_text      type ZLINET,
            ls_CTRL_PRNT type SSFCTRLOP.
ls_CTRL_PRNT-no_dialog = 'X'.        "Suppres dialog
ls_CTRL_PRNT-DEVICE = 'LOCAL'.   "!!!!!!specify required printer
loop at svbeln.
loop at gt_vbfa into gs_vbfa where vbelv = svbeln-low.
  CALL FUNCTION gv_func
    EXPORTING
CONTROL_PARAMETERS        = LS_CTRL_PRNT
      ZVBFA           = gs_vbfa
    EXCEPTIONS
      FORMATTING_ERROR = 1
      INTERNAL_ERROR   = 2
      SEND_ERROR       = 3
      USER_CANCELED    = 4.
endloop.
endloop.
Edited by: Jan Hoblik on Jan 5, 2011 3:53 PM

Similar Messages

  • Restrict Output type at the time of Picking and Print after PGI

    Hi All....
    My business requirement is to restirct certain Output types such as LD00, LD0F etc. at the time of Picking and Batch determination and to print after PGI.
    These output types are triggered Automatically via Batch job scheduled via third party tool. All the complete Delivery process is Auto.
    Once Sales order is created the below process takes place.
    Auto Delivery
    Auto Shipment
    Auto Picking and Batch determination (Now in this step I need to restrict)
    PGI (Manually vai some custom program)
    Once the Picking is done all the Output types appear in Delivery Header output which are processed with a Dispatch time of 4. (Appeared as Green tarrif.)
    For the Output type LD00 -> 911 routine is added .
    This routine is triggering at the time of Picking and Batch determination.
    At this Point of  Picking I can restirct the output type by using the Routine that not to display in Delivery Header,  but iam not able to retrieve again at the time of PGI. Is there any option  to get the data of Output type at the time of PGI.
    Or is there any option for LD00 output type to dynamically select the Routine Number to trigger at the time of PGI. ( If I use Routine no 1 it will trigger at the time of PGI, but I cannot change especially for this purpose since this output type is used for multiple purposes)
    Pls provide me the solution.

    Hi Brad
    I can copy the code from routine #1 into my routine #911 inorder to restirct the display of output type in delivery header. But as mentioned by you this routine is not triggered at the time of PGI. ( I checked at the time of PGI )
    If i link my output type LD00 with Requirement #1 routine then it will be triggered at the time of PGI, but here the o/p is linked with Requirement #911.
    Pls let me know if any thing wrong i mentioned...

  • User exits for delivery picking confirmation and transfer order creation

    Hi
    We have a scenario for which we need help.
    This is to do with replenishment from plant to plant.
    We have sales sets.
    The sales sets needs to be replenished from one plant to another. We want the componenets of the sales sets to picked from the issuing plant. For this we need a transfer order. this needs tobe confirmed and then the goods issue should take place from the issuing plant. Its a two step process.
    we are doing Sales sets in STO. The explosion takes place in STO. However when we create deliveries for this. Only the sales set header item without its components are flowing into the delivery.
    The Tranfer order does not contain the components either.
    However post  the goods issue we  can create a TO with reference to the TR. This is is not acceptable because we want the picking and confirmation to occur before PGI from the issuing plant.
    Could anybody help: We want the TO to be created with the components even though in the delivery only the Sales set header appears. Can u suggest a user exit in which when we create the TR from the delivery the components of the set.
    After confirmation of the TO then we want the picking status to be put as C.
    Supreeth

    Hi,
    Check the following users exits.
    MWMRFSSG            user exit for sorting TOs in RF system-guided transaction
    MWMRFUP             Customer defined general purpose pushbutton called from scr.
    MWMRP001            Cust. Exit for Fixed Bin Replenish.: Delivery Item Selection
    MWMRP002            Cust. Exit for Fixed Bin Replenishment: TR Quantity Distr.
    MWMRP003            Customer Exit for Replenishment using RLLNACH1
    MWMRP004            User Exit for Replenishment using RLLNACH4
    MWMTO001            Enhancements for end of transfer order generation
    MWMTO010            Exit: Calculation of Total Planned TO Processing Time
    MWMTO011            Correction of Planned Processing Time for TO Item
    MWMTO012            Correction of Sorting and Split Transfer Order
    MWMTO013            Stock Removal for Sev. Storage Types as in Stringent FIFO
    MWMTOAU3            Separate selection of posting changes for autom.TO creation
    MWMTR001            Exits at the end of transfer rqmnt creation (IM,PP interf.)
    MWMD0001            Transfer order print via RLVSDR40
    MWMD0002            Transfer order print as multiple process with RLKOMM40
    MWMIDI07            Enhancement for Output WMPIHU (Create Pick-HU) Inbound
    MWMIDO11            Enhancement for message WMTORD: TO with several items
    MWMIDO12            Enhancement for Output WMPIHU (Pick-HUs) Outbound
    MWMIDO13            Extension for WMMBXY (subsequent tasks after goods movement)
    MWMPP001            Enhancement WM/PP Interface (automatic TR generation)
    Regards,
    Murali

  • Print Delivery Pick list.

    Hello,
    As per my business process, I would like to print delivery pick list by transaction VL70. We did created new output type YM00 same as EK00, and assigned YM00 to form (New pick list program).
    As of now, we do not have TO created. We just have open Delivery ready for picking. Now i do want to print delivery pick list, so based on Pick list i can start my picking and create a TO, with reference to what i have picked.
    Issue - I do not know configuration setup from WM side. What needs to be configured and how to print pick list. I do want my pick list to be printed at storage type level. 
    I have done setup with NACE in past, But i guess as of now we can not do setup in NACE dues to SAP upgrade. (As i was told)
    Can any one help me?
    Smit. 

    Hi Smit
    if you want setting for EK00 then please follow the below mentioned steps
    However looking at your thread it seems you want a picklist which should have the storage type / storage bin detail from where you can pick the stock.if my understanding is correct then you have to create Transfer order against the deliver and look to print the Transfer order detail using T-code LT31
    Necessary configuration detail for the same is under  node
    T-Code : LT31, enter the warehouse, TO number , Print code, Printer and Put a check mark on TO document and press Print button from menu bar (Transfer order option) this will give you the detail of Transfer order (storage type , bin material qty based on which you can do the physical picking from the warehouse) if standard SAP form is not meeting your requirement you can always look for custom form and assign to the above print code

  • Deletion of Delivery after confirm of Pick and WM TO, should not be allowe

    The system will allow a delivery to be deleted after confirmation of Picking and WM TO. This creates all kinds of issues in WM for tracebility. Is there any way to prevent this from happening through config in WM or SD?
    Edited by: Daryl Dellinger on Jan 30, 2008 3:51 PM

    Try OSS notes 567666 - stock inconsistencies after deletion of delivery items
    Regards
    Edited by: Shiva Ram on Jan 30, 2008 8:32 PM

  • Pbm in updating delivery quantity and picked quantity in VL03N transaction

    HI all,
    I m using the BAPI 'WS_DELIVERY_UPDATE_2' for changing the picked quantity in VL03N transaction.
    But this BAPI is not changing the picked quantity. Instead it add the old quantity with the new quantity what i mentioned in the ITEM_DATA (VBPOK_TAB table) of this BAPI..
    For example, if the delivery quantity is 3 and picked quantity is 3 for a material item,
    I want to change both the quantity as 2. Is is possible to change both the quantities through BAPI?
    Im using BAPI_OUTB_DELIVERY_CHANGE to update the delivery quantity as loong as the picked quantity is 0.
    If both picked and delivery are same (for example, both are 2),  then i need to change both the quantities (say 1).
    So how can i update both the quantities?
    If so, pls share the BAPI details for achieving this..
    Regards,
    Shanthi

    not answered

  • Delivery Form with batch numbers and Print Preview

    When I open Sales->Delivery form and select one that has items with batches, and then press Print Preview, TWO previews are automatically opened. One regular which I created using Layout designer and set as Standard, and the other called "Batches List"
    Customer doesn't want the "Batches List" to use, since batches are already covered in the regular layout. Is there any way to disable it, so that only the regular preview is opened, and then printed? I'm using SAP BO 2007 A.

    You should change the 'When Batch/Serial No. Exists, Print' setting to 'Document Only' in Print Preferences for Delivery.
    (Under menu :Administration / System Initialization / Print Preferences /Per document.)

  • Standard samrtforms and print program for  Bill of Lading in delivery

    Is there a standard smartform  and print program for  Bill of Lading for delivery?

    Hi
    Check this:
    Print Program: RLE_DELNOTE.
    Smartform:   LE_SHP_DELNOTE.
    Regards,
    Vishwa.

  • Pick and Pack - Cant add the Delivery transaction Directly

    Hi All,
    Upon selecting the Orders in Pick and Pack Manager and Selecting the Deliver Option, delivery screen opens for every order that we have selected for which we need to add and confirm the Delivery.
    Thus if I have 100+ sales orders in Pick n Pack I need to add the Delivery transaction 100+ times.
    Is there any alternative way where Delivery Transaction is added automatically like u add Purchase Order from Order Recommendation.?
    Thanks in advance.

    Hi
    I think there is no way to add all the Orders directly to Delivery by single shot in Default SBO( U have to add one by one delivery ), For achieve this u have to try with SDK only.
    Also  as u said if ur making 100+ delivers from 100+order at single shot then in SAP all the deliver entries will be posted but at the end of the day if u have not deliverd some of the deliveries and these time it will be a problem (Bcoz physically items will be in ur stock ).. so u have to think on this terms....
    Giri

  • Output Determination and and print of delivery list

    Hi All,
    I want to do output determination in delivery (VL02N) and get the printout of delivery note.
    Could you please suggest the above process in steps including the the maintenance of condition record.
    Regards
    Rahul

    Hi,
    Print output can be obtained through the Condition Technique.
    Steps are as follows.
    1.SPRO-IMG- Sales & Distribution- Basic Functions- Output
    2.Maintain output condition table for Sales documents.(T/code-V/57)
    3. Maintain output types.(T/code-V/30)
    4.Maintain Access Sequence.
    5.Assign output types to Partner Function.
    6.Maintain Output Determination.
    7.Assign output determination.(T/code-V/69).
    8.Allocate Sales Document Header i.e Choose Sales Document type and assign output determination procedure.
    9.Maintain condition record.T/code V V11.(For Sales order) and *V V21 for Deliver Documents* and V V31 for Invoices.
    Specify your output type and click on Key combination Maintain the details like bellow
    Sales Document Partner Function Medium Despatch Time Language
    Select condition line item then click on communication,specify output device(LP01) then Tick(Check print immediately) and save it.
    Then goto VA01 raise the Sales order go to extras-output-edit check condition record values are copied or not.(save it and exit)
    Go to VA02-Extras-output-Header-Print preview and check the result.and VL02n to see output for delivery documents.
    If u need further clarification, Plz revert
    Regards,
    Jaiprakash.P.Tikoti

  • Updating Outbound Delivery with picking and delivery quantity.

    Hi,
    I have a scenario where in an idoc will come from external system(DELVRY05) and based on the data in the idoc I have to update the picking and delivery quantity for the outbound delivery created in SAP.The idoc has the outbound delivery number and the quantity which is sent from the legacy system.
    I do not want to do googs issue,just updatation.
    How can I update the outbound delivery?
    Please help me.Its needed urgently.
    Thanks,
    Sandeep.

    YOu can make use of the FM:
    WS_DELIVERY_UPDATE_2.
    see the sample code:
    Assume that it_500o has the Delivery Header details and it_5010 has item details
      LOOP AT it_5000.
        CLEAR lx_vbkok.
        CLEAR lv_vbeln.
        REFRESH lt_vbpok.
        REFRESH lt_prott.
        lx_vbkok-vbeln_vl = it_5000-order_number.
        lx_vbkok-vbtyp_vl = 'J'.
        lv_vbeln = it_5000-order_number+0(10).
        LOOP AT it_5010 WHERE order_number = it_5000-order_number.
          lt_vbpok-vbeln_vl = it_5010-order_number.
          lt_vbpok-posnr_vl = it_5010-order_line.
          READ TABLE lt_vbfa WITH KEY vbeln = lt_vbpok-vbeln_vl
                                      posnn = lt_vbpok-posnr_vl.
          IF sy-subrc = 0.
            lt_vbpok-vbeln = lt_vbfa-vbelv.
            lt_vbpok-posnn = lt_vbfa-posnv.
           lt_vbpok-vbtyp_n = 'J'.
          ENDIF.
          lt_vbpok-pikmg = it_5010-quantity. "Picking quantity
          APPEND lt_vbpok.
          CLEAR lt_vbpok.
        ENDLOOP.
    Update the Delivery
        CALL FUNCTION 'WS_DELIVERY_UPDATE_2'
          EXPORTING
            vbkok_wa                           = lx_vbkok
      SYNCHRON                           = ' '
      NO_MESSAGES_UPDATE_1               = ' '
           commit                             = 'X'
            delivery                           = lv_vbeln
           update_picking                     = 'X'
      NICHT_SPERREN_1                    = ' '
      IF_CONFIRM_CENTRAL                 = ' '
      IF_WMPP                            = ' '
      IF_GET_DELIVERY_BUFFERED           = ' '
      IF_NO_GENERIC_SYSTEM_SERVICE       = ' '
           if_database_update_1               = '1'
      IF_NO_INIT_1                       = ' '
      IF_NO_READ_1                       = ' '
           if_error_messages_send             = 'X'
      IF_NO_BUFFER_REFRESH               = ' '
      IF_NO_MES_UPD_PACK                 = ' '
    IMPORTING
      EF_ERROR_ANY                       =
      EF_ERROR_IN_ITEM_DELETION          =
      EF_ERROR_IN_POD_UPDATE             =
      EF_ERROR_IN_INTERFACE              =
      EF_ERROR_IN_GOODS_ISSUE            =
      EF_ERROR_IN_FINAL_CHECK            =
         TABLES
           vbpok_tab                          = lt_vbpok
           prot                               = lt_prott
      VERKO_TAB                          =
      VERPO_TAB                          =
      VBSUPCON_TAB_1                     =
      IT_VERPO_SERNR                     =
      IT_PACKING                         =
      IT_PACKING_SERNR                   =
      IT_REPACK                          =
      IT_HANDLING_UNITS_1                =
      ET_CREATED_HUS                     =
      TVPOD_TAB                          =
    endloop.

  • How to delivery the output to both filesystem and printer using BurstingEng

    Hi,
    I am using BurstingEngine to delivery the pdf output to filesystem.
    I am able to delivery the output to either filesystem or printer, but we need to delivery the ouptut to both filesystem and printer.
    the control file i am using is:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/TMP001/LIST_G_ORDER_BY/G_ORDER_BY/LIST_G_INVOICE">
    <xapi:delivery>
    <xapi:filesystem output="/tmp/${TRX_NUMBER}"></xapi:filesystem>
    <xapi:print id="xerox6350-2ne" printer="ipp://localhost:631/printers/xerox6350-2ne" copies="1"/>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="xerox6350-2ne">
    <xapi:template type="rtf" location="/u04/app/oracle/product/fdev/fdevcomn/java/oracle/apps/fnd/cp/nsfcus/INVOICE.rtf" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    it is giving the following error.
    [102506_094844261][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] oracle.apps.xdo.delivery.DeliveryException: File does not exist : /tmp/102506_094840769/3.pdf
    [102506_094844263][oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] java.io.FileNotFoundException: /tmp/102506_094840769/3.pdf (No such file or directory)
    Thanks in Advance,
    Raj.
    Message was edited by:
    user538335

    Hi,
    This is a bug in 5.6.2. We fixed it in the next release.
    If this is a critical issue for you, please log a TAR and escalate the issue so that we can review it and backport the fix if necessary.
    Thanks,
    Shinji

  • Change Picking data, then call Delivery Note and Invoice in the background

    I have designed a GUI where the picking data (from table LIPS) is changed.  Now my SD consultant wants the program, when a SAVE or CONTINUE button is clicked, to do the Delivery Note and Invoice in the background.
    To quote:
    Your progrm must change the values in the delivery in txn VL02n, when the delivery is saved it updates LIKP and LIPS amongst othr tables. When the invoice / billing doc is created it is done with ref to the delivery. Billing doc created using txn VF01, the main tables of the billing doc are VBRK (header) and VBRP (item).  And for completion sake, tables VBAK and VBAP are the sales order tables!
    In my PAI module, how do I do the calling of these two functions?
    The consultant suggested I use a BDC. Why can't I use Call Transaction.... ?   What is the best way to do this?
    At the moment, my SAVE button updates an internal table of LIPS, and for test purposes it exits to List Processing to test if the amounts changed correctly.
    Hope someone can help.

    Hi
    Ok.
    Do you mean "Accual GI Date" in Item overview ?
    I have performed a test. When I check "Goods Issue delivery" indeed it has posting date in the past.
    Now for the invoice:
    I set
    "Billing date"
    "Serv. rendered" date
    and "Prining date" in the past.
    Would it be enough to post everything in the last month ?
    regards
    Rafal

  • Delivery doesn't open from pick and pack

    Hi,
    In Picked Tab (Pick and Pack Manager) delivery button is active, but when you select a sales order for a specific BP delivery button doesn't open the delivery. Delivery Note can be created in Sales module based on the sales order.
    I assume there is something in the BP or items settings that doesn't allow the delivery to be created through pick and pack manager. Have you encountered this problem?
    Thank you!
    Cristina

    More testing... turning off ad block (and all extensions) did not fix the problem, nor did rebooting or reinstalling iTunes.
    Here are two links to the same app from two different sites. The first works, the second does not.
    Cafeteria Nipponica
    1. http://siteappfeed.getapp.cc/app/550067264 <-- this link opens an itunes.apple.com preview site and opens the app's page in iTunes itself.  Works perfectly.
    2. http://toucharcade.com/link/http://phobos.apple.com/WebObjects/MZStore.woa/wa/vi ewSoftware?id=550067264&mt=8   <-- this link goes to a blank page.  When links from this site have worked in the past, however, there was no visible "itunes.apple.com" page - it appeared to go directly to opening the page in iTunes, but may be doing more behind the scenes.

  • FM or BAPI for Delivery Order Picking and PGI

    Good day,
    I would like to check with you all on any function module or BAPI which can perform delivery order picking and PGI ?
    I did some research and found that a lot of people is introducing this FM "WS_DELIVERY_UPDATE_2"
    but i'm not sure how this FM works. Can anyone provide some information for me on this function like what data to propagate into this FM and etc... ?

    hi,please check this link.
    Need to update picking,packing and PGI using FM "WS_delivery_update"
    also,
    for picking:  WS_DELIVERY_UPDATE_2
    pgi :  BAPI_GOODSMVT_CREATE
    thanks.

Maybe you are looking for

  • Presenter 8 Installation Problem on Vista Machine

    I am installing e-Learning Suite on Vista 32 bit machine, all the software of the suite got installed successfully except the Presenter 8.0. It said some problem with OS version, happenned while installing Presenter. Please help to install this impor

  • Bursting XML Control File - only one variable substitution works

    Hello, I have the following from my bursting xml. In my subject I would like to have more than one substitution as in my example. Problem is that when I have more than one, the second one alway is "null". On there own they work fine. Is this a bug/li

  • Trigger automator script when new file created

    I want to create an automator script that will recognise when a new file is created (with a name that matches a particular pattern and in a certain directory) and mail that file to a predefined address. Is that possible?

  • Which Sequence Preset Please Help

    I'm making a small video for my internship and using adobe Premiere. I've however run into a few problems. The camera was outputing video in AVCHD(.mts) files which where not working. I've nowstarted to convert the files into different formates. But

  • Why are my apps still in trial mode after subcription is paid

    my adobe  cc trial apps are about to expire and but i have a paid subscription and have tried to download the full apps but have only been given the option to download apps in trial mode, what to do?