How to Stop Creating Delivery with Transaction: VL10

Hi,
I have a requirement to check/validate the delivery quantity against the minimum delivery quantity and Stop creating the delivery using VL10 Background) for a Sales Order if any one of the item in that Sales Order has the Delivery Quantity of an Item not equal to Minimum Delivery Quantity. I am trying to identify a suitable user exit or set of user exits to accommodate this solution. Can you please provide me with your expert suggestions?
Is there any message table that needs to be updated with an error message to stop the delivery creation inside any of the user exits while using VL10?
Is there any flag setting possible for the sales order inside the user exit that helps to Stop the delivery creation with an Error Message while using VL10?
Appreciate your help in advance.
Kannan.

Hi Brad,
As VL10 is used for mass processing, I need to know whether there is a way of skipping one delivery and go to the next one. I wrote my logic in the SAVE_DOCUMENT_PREPARE User Exit. I am able to restrict creating creating the delivery using Vl01N. But using  VL10 , I am unable to stop the creation of the delivery in back ground mode.  Can I use the BADI DELIVERY_FINAL_CHECK? Or is there any SAP Note to stop creating the delivery if we do have any error messages.
Thanks in advance.
Krishna.

Similar Messages

  • How to create Delivery with sales order FM/BAPI

    Hi Gurus,I'm new to  SAP  platform
    I have created sales order ,
    with this i need to create Delivery(vl01n)
    so i need to give 'Shipping Point','Selection Date','SD Number'
    so could any one tel me which FM/BAPI is suitable to create
    Outbound delivery with 'sales order number', 'Selection date' and
    "Plant or Shipping Point'.
    With these Import parameters i need  FM/BAPI .
    Thanks  in Advance
    Siva Kumar kasa.

    I   have created delivery  with  that  BAPI 
    giving   'batch number'  but  it was  not  updated,so  can u tel me
    any related field  which need give to change batch field  also.

  • Function Module to create Delivery with JIT Calls

    Hi SAP Guru's,
    We are working on SAP 4.6C version.
    I am looking for a function module to create delivery with JIT Calls.
    We are currently using the SAP standard function module "SHP_VL10_DELIVERY_CREATE" to create Delivery with JIT Calls. Each JIT Calls has apx 60-80 materials in it and each material refers to a unique Scheduling Agreement. This function module is taking very long time in production server to create delivery, it does not take much time in dev or quality server.
    We have JITV setting profile (For Sold To Party and Partner Description Profile) set as RELACE (to summarize the line items in JIT Call).
    Is there another function module that we can use to create delivery with JIT Calls?
    Thanks in Advance,
    Amit

    Hi there,
    There is no such function module.
    Regards
    Sanju

  • How can i create a SP transaction to make Dimension1 Mandatory

    Hi All
    How can i create a SP transaction to make Dimension1 Mandatory
    Best regards
    Rashid

    Dear Rashid,
    set ANSI_NULLS ON
    set QUOTED_IDENTIFIER ON
    go
    ALTER proc [dbo].[SBO_SP_TransactionNotification]
    @object_type nvarchar(25),                     -- SBO Object Type
    @transaction_type nchar(1),     -- [A]dd, <u>pdate, [D]elete, [C]ancel, C[L]ose
    @num_of_cols_in_key int,
    @list_of_key_cols_tab_del nvarchar(255),
    @list_of_cols_val_tab_del nvarchar(255)
    AS
    begin
    -- Return values
    declare @error  int                    -- Result (0 for no error)
    declare @error_message nvarchar (200) -- Error string to be displayed
    select @error = 0
    select @error_message = N'Ok'
    IF (@object_type = '30' AND @transaction_type= 'A')
    BEGIN
    IF EXISTS (SELECT DocEntry FROM [dbo].[JDT1] WHERE (ProfitCode IS NULL OR ProfitCode = '') AND DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    SELECT @error =1, @error_message = 'Profit Center cannot be blank -Enter Plant Code'
    END
    END
    select @error, @error_message
    END
    Jeyakanthan

  • How can I create banners with 100% height?

    I want the homepage to load with 100% height and there buttons that anchor to sections further down the website that I also want to be 100% height when scrolled to.

    3rd post on same question by same user :
    Re: how can I Create function with an  out Parameter
    how can I Create function with an  out Parameter

  • How I can create view with parameters?

    I have very big query (2000 rows) and 2 parameters.
    How I can create view with parameters?

    If I use this small part of my query than I have error :
    java.lang.NullPointerException
         at oracle.javatools.db.ora.OracleSQLQueryBuilder.buildQuery(OracleSQLQueryBuilder.java:199)
         at oracle.javatools.db.ora.OracleSQLQueryBuilder.buildQuery(OracleSQLQueryBuilder.java:147)
    What does it means?
    select
    ' Payroll ' as Revenue
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and ( nvl(a.scode, 0) between 60000 and 6009000 )
    union all ---------------------------------------------------------------------------------------------------------------------------------
    select
    ' Payroll Taxes '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    (nvl(a.scode, 0) between 60100 and 60690 )
    union all -------------------------------------------------------------------------------------------------------------------------------
    select
    ' Workers Comp/Disability '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    ( nvl(a.scode, 0) between 61200 and 61260)
    union all -------------------------------------------------------------------------------------------------------------------------------
    select
    ' Pension and Hospitalization '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    ( nvl(a.scode, 0) between 61000 and 61550 )
    union all -------------------------------------------------------------------------------------------------------------------------------
    select
    ' Other Labor Costs '
    , t.umonth, nvl(p.hmy, 0), nvl(t.sMTD, 0), nvl(a.inormalbalance, 0), nvl(T.sbudget, 0), nvl(a.scode, 0)
    from
    acct a, total t, property p, param par
    where
    nvl(t.hacct, 0) = nvl(a.hmy, 0)
    and nvl(par.hretain, 0) <> nvl(a.hmy, 0)
    and nvl(t.iBook, 0) = 0
    and nvl(a.iacctType, 0) = 0 /*Regular accts*/
    and nvl(t.hppty, 0) = nvl(p.hmy, 0)
    and
    ( nvl(a.scode, 0) between 616000 and 616400 )

  • How can i create messenger with java tv API on STB

    deal all.
    how can i create messenger with java tv API on STB.
    how can Xlets communicate each other?
    how?
    i am interested in xlet communications with java tv.
    is it impossible or not?
    help all..

    You can create a messenger-style application using JavaTV fairly easily. JavaTV supports standard java.net, and so any IP-based connection is pretty easy to do. The hard part of the application will be text input, but people have been using cellphone keypads to send SMS messages for long enough that they're familiar with doing this. This doesn't work well for long messages, where you really need a decent keyboard, but for short SMS-type messages it's acceptable.
    The biggest problem that you need to work around is the return channel. Many receivers only have a dial-up connection, ties up the phone line and potentially costs people money if they don't get free local calls. Always-on return channels (e.g. ADSL or cable modem) are still pretty uncommon, so it's something that you nee to think about. Of course, if you do have an always-on connection then this problem just goes away.
    This is really one of those cases that's technically do-able, but the infrastructure may not be there to give users a good experience.
    Steve.

  • How can I Create function with an  out Parameter

    how all
    how can I Create function with an out Parameter
    I try to create it it sucess but how can I CALL it , it give me error
    please I want A simple example
    thanks

    3rd post on same question by same user :
    Re: how can I Create function with an  out Parameter
    how can I Create function with an  out Parameter

  • How i can create table with data

    How i can create table with data from dev to production?

    How i can create table with data
    [url=http://en.wikipedia.org/wiki/Black_Beast_of_Aa
    aaarrrrrrggghhh]from dev to production?
    [url=http://img2.travelblog.org/Photos/3800/14977/t
    /64816-Col-Kurtz-0.jpg]The horror, the
    horror.lol, you gonna scare somebody here.
    Are we helping devil?

  • How to stop creating mutiple performa invoice from delivery document

    case -
    i am creating stock transfer performa invoice on the basis of stock trf purchase order and delivery document. i want to stop creating multiple performa invoice.
    Mukesh Kumar

    If your requirement is to generate a certain output automatically only once for a certain document, you can set it for the output type in  transaction NACE (for example - NACE --> select the application --> "Output types").
    There's a "Multiple issuing" indicator (VN_T685B-MEHRF) through which you can control the desired behaviour.
    Edited by: Csaba Szommer on Jul 28, 2010 1:40 PM
    Sorry, I misunderstood your question...please neglect the suggestions above...
    As per SAP online help there's no limitation how many proforma invoices can be created from one delivery / sales order:
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/dd/5610c9545a11d1a7020000e829fd11/frameset.htm
    If you want to restrict this, I think you should follow KC's suggestion and modify your copy control routine.
    Since in standard system this function does not exists you won't find suitable copy routine. That's why - in my opinion - you should use the same copy routine which has been set till now - you just have to modify it (add an ABAP code to check whether proforma invoice is already created or not; maybe you can check the entries in table VBFA)
    Edited by: Csaba Szommer on Jul 28, 2010 1:46 PM

  • Error while creating delivery with reference to STO

    Hi,
    I am getting the following error while creating the delivery with reference to STO
    Document is incomplete: You cannot save the delivery
    Diagnosis:
    When the system checked whether saving delivery was
    permitted, it determined that the requirements stored in
    Define Incompletion Procedures for this document do not
    allow this subsequent function.
    I have checked the following already:
    1. Maintained shipping data for both the supplying and receiving plants.
    2. Shipping tab exists in the PO
    3. Shipping point determination is checked.
    4. Customer masters created for both supplying plants and receiving plant for the sales area created for STO
    5. Material master is available in both receiving and supplying plants.
    It is working fine in one client. and giving a problem only in the other.not able to figure out where the error is. appreciate your suggestions
    regards
    joe

    Hi Joseph,
                     First go to transaction "VUA4" and see what is the incompletion procedure asigned to your delivery type. Then go to
    "OVA2" and see what are the fileds maintained in incompletion procedure of the delivery type and the status groups assigned to them. Now you go to "OVA0(ZERO) and see whether the status group allows to save the delivery. If it doesn't you can untick that check box. But if this is a live system , i doubt if you would be bale to do that. Any way one of the possible causes is storgae location missing. Kindly pelase let me know If you need any more infromation on this.
    Regards,
    Ram Pedarla

  • STO- How to control Over delivery with batch split?

    Dear All,
    In STO Scenario, how to control the over delivery?
    I created a PO for the Intra Company stock transfer & Delivery created in the Background with the T Code VL10B. When I am doing picking using T code VL02N, the system is allowing to add  more than PO Quantity in batches and system displaying the warning message (Specified quantity is greater than the open quantity/Message no. VL287) & allowing to save the deliver document..
    Hence plz suggest how to restrict the same.
    Hope it is clear.
    Thanks & Regards
    varun

    I am also in the same boat.
    I searched the forum and got the link STO - How to control Over delivery ?
    I checked OSS notes 548914, 386340,215488 but to no avail.
    I suggested user exit USEREXIT_SAVE_DOCUMENT_PREPARE  in include MV50AFZ1 to my technical team for finding the resolution. So far it is still on hold.
    If you come across any other solution, you can update the forum so that it would be helpful for many others.
    Regards,

  • Create Delivery with reference to seasonal stock transport order

    Hello Gurus
    How do we create a delivery with respect to seasonal stock transport order, in R/3 4.7.
    Thanks in advance

    Any answers/suggestion please

  • Create delivery with sales order reference.

    Dear all,
           I created a sales order with sales area (1000,10,00) and order type(or).
           when i am creating a delivery with sales order reference , error is occurring.
    error:(Order cannot be delivered (see long text)).
           plz solve the problem urgent.
                                          Regards,
                                v.mallikharjuna rao.

    Hi,
    You must do the PGI before creating the delivery. Please follow the below mentioned procedure carefully and you will be able to do that.
    Once you create a Sales order, go to the transaction VL01 and do the PGI. To do PGI (from transaction VL01), in the menu, go to Outbound Delivery->Save and Subseq.Func->Transfer order. This will take you to Transfer order transaction. click on Generate TO and save. Now return to transaction VL02 and click on Post Goods Issue. This will do the PGI and save the Delivery document. Now go to VF01 and you will have the delivery number just created as a line item. Select it and click on execute button. Save once the execution is done and a Billing doument (invoice) is created. Now if you go to the sales order and click on document flow all these documents will be displayed.

  • Looking to create delivery with multiple batch line items

    Hi,
       Can you please suggest me BAPI / FM to create a delivery with multiple batches. like ... i have 1 mail line item in the delivery and n sub line items. If possible can you please post req parameters too. Thanks in advance.

    solved my own

Maybe you are looking for

  • Transferring large library from PC external drive to Mac external drive

    I have a library with 600 GB on my pc / windows 7. The media content is on an external drive, since my PC has only an internal drive with 500 GB space. now I want to transfer the library to my new Mac book, which has an internal flash drive with 256

  • Desktop Manager Synchronization and Office 2010

    Hello all, I have just installed Office 2010 licenced version and have had issues synchronizing with my Curve 8520. Error "No available message stores" appears" Any ideas on how to resolve this would be appreciated.

  • Oop's itunes back up deleted

    (G4 Powerbook superdrive 10.3.9) I have just (inadvertently) deleted my back up music that I created on my smart playlist this has all the last years worth of music on it. Although I still have all my music in the library section I would still like t

  • Integration of Oracle with Lotus Notes

    Hello, I have a requirement to interface from my Oracle APEX application to a third party Lotus Notes application. This would be a two way interface 1) Lotus notes app to call an Oracle packaged procedure to insert into some Oracle tables 2) Oracle A

  • Can't edit all contacts in iOS 7

    I couldn't find any info on this, but I am not able to edit all of my contacts after updating to iOS 7. Some have the "edit" button, and some don't. It's driving me nuts. Some that I can't edit were originally created on my iPhone.