How to create Delivery Note automatically after realising SO in VKM3

Hi,
I've realesed a Sales Order in VKM3 that was blocked by credit limit.  I would like Delivery Notes/Orders to be automatically created once the Sales Order have been released.  Is there any kind of configuration that has to be made so that this can happen?
Thanks for your help!

Did you try in T.code VOV8, in the sales document type by setting value A in the immediate delivery field.
Note that this will impact all the sales orders, even those orders not going into credit hold.
Regards,

Similar Messages

  • How to create credit note automatically after PGR?

    Hello SD Gurus,
    Client's Business Process: Return Order (ZRE, ZPOR, ZARE, and ZMTR) is created with reference to billing document number and item category used for this order type is REN or ZREN. After the order is created, they do PGR (Return Delivery Type is LR) and then credit memo is created "manually". So, the issue with this process is that it is very time consuming and a lot of manual intervention is required.
    To-be Process: The requirement is to create credit note "automatically" after the PGR is done to reduce the manual intervention and expedite the process. If item category is REN, then credit note will be created with invoice value. If item category is ZREN, then credit note will be created with Zero Value.
    How should I write code in the user exit MV50AFZ1?
    Regards,
    Mohammed Anwar

    Hi
    Apart from Lakshmipathi's suggestion you can share the below logic with your ABAPER. There are two BAPIs we use to create billing automatically. Check whether you can call these BAPIs in userexit you have mentioned in your post.
    CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
    * EXPORTING
    *   CREATORDATAIN         =
    *   TESTRUN               =
    *   POSTING               =
            TABLES
              billingdatain         = billingdatain
              conditiondatain       = conditiondatain
    *   CCARDDATAIN           =
    *   TEXTDATAIN            =
    *   ERRORS                =
              return                = return3
              success               = success
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
            EXPORTING
              wait = 'X'.
          READ TABLE return3 WITH KEY type = 'E'.
          IF sy-subrc = 0.
            record-inv_rem = return3-message.
          ENDIF.
          WAIT UP TO 2 SECONDS.
    *      READ TABLE return3 WITH KEY type = 'E'.
    *      IF return3-type = 'E'.
    *        WRITE:/ return3-message.
    *      ENDIF.
          READ TABLE success INDEX 1.
          CLEAR: vbeln_vf.
          vbeln_vf = success-bill_doc.
        ENDIF.
    Thank$

  • How to create Oppertunity doc automatically after lead in CRM SALES

    Hi,
    how to create oppertunity doc automatically after creating lead in crm sales
    Thanks7regards
    kishor kumar

    Hi Kishore,
    Create SAP Business Workflow for Opportunity from Lead 
    Use
    A lead is a business transaction that describes, stores, updates, and manages the potential business interests of a business partner, and the interactions based on this over a period of time. The goal is to provide the "sales" area with the information gained in the lead, in order that it can be used as a basis for deciding whether to create an opportunity.
    The information gathered in the lead is transferred to the "sales" area via the workflow "create opportunity from lead".
    In the workflow, you decide whether the opportunity is generated manually or automatically.
    If the lead-specific attributes Priority and Lead group fulfill specific criteria, the workflow automatically generates an opportunity. Otherwise, the workflow sends a work item to the sales employee responsible, for manual creation. Once he has checked the data in the lead, the sales employee can either reject this lead or create an opportunity from it.
    The workflow is automatically started when the lead is saved.
    The sales representative entered in the lead is first taken as the sales employee whose task it is to create the opportunity based on the information in the lead. This person can be determined using partner determination in CRM, depending on the prospect in the lead, and can, for example, be a manager of a sales area. If no sales representative is entered, the workflow takes an organizational unit assigned in the workflow template, and sends the work item to all users assigned to the organizational unit.
    Prerequisites
    u2022     The type linkage for the start events AttributeChanged and SetErrorFree for the workflow WS10001011 are deactivated as a standard procedure, and, if you wish to start the workflow template, they have to be activated again in Customizing. The workflow task processors must also be maintained. In Customizing, choose Customer Relationship Management  Basic Functions SAP Business Workflow  Perform Task-Specific Customizing.
    u2022     The workflow template uses the user statuses SAAC (accepted by sales) and SARE (rejected by sales) of the status profile CRMLEAD. If you have defined several user statuses, the data flow for task TS10008154 (set status) must be adapted accordingly.
    u2022     When the opportunity is created, the workflow template uses the opportunity transaction type OPPT. If you have defined several transaction types for the opportunity, the data flow for task TS10008151 (create opportunity) must be adapted accordingly.
    u2022     If the sales employee rejects the lead, the workflow resets the qualification level to value 02 (warm). If you have specified your own qualification levels in Customizing, you need to adapt the data flow for task TS10007918 (change qualification level) accordingly.
    Process of Workflow WS10001011 (create opportunity from lead)
    The workflow "create opportunity from lead" is started when a lead is saved with qualification level Hot and status Error-free. The system uses the lead-specific attributes Priority and Lead group to check whether an opportunity can be automatically created, or a sales employee first needs to decide. If the sales employee decides that an opportunity can be created, the lead status is set to "accepted by sales", and an opportunity is created in the background. If necessary, this is forwarded to the sales employee to check. If the sales employee rejects the lead, the lead status is set to "rejected by sales", and the initiator is informed by mail.
    The workflow is ended if no opportunity is created and
    o     the lead is deleted or
    o     the qualification level of the lead is changed to a value other than Hot or
    o     the status of the lead is changed to a value other than Error-free.
    Path for the workflow:
    ==> SPRO
    ==> Customer Relationship Management
    ==> Basic Functions
    ==> SAP Business Workflow
    ==> Perform Task-Specific Customizing
    Select the Application Componenet  Abbrevation as CRM and expand
    Select CRM-BTX and expand
    Select CRM-BTX-LEA and click on Activate event linking  and acivate workflow WS 10001011
    It may helps you
    Regards
    Narayana

  • How to create delivery note in local languages

    Hi Experts,
    My client requirement is, delivery note in local language, is it possible in standard SAP,
    or i will go for development please let me know.
    Regards,
    Amar

    hi,
    You can get output in required language.Go to T code VV22 to create condition record for delivery note.select your condition type which you created for delivery note,press enter give the required details and select the language which you want to issue the output and click on communication method give the printer details and save the document.Go to change mode of the delivery order and execute the delivery note output.
    Thanks
    siva.k

  • How to creat Process messages automatically through PI sheet saved?

    How to creat Process messages automatically through PI sheet to the Process message destinations.

    Hi Jessie,
    When you process instruction category PROD_3 in master recipe, the process message PI_PROD is created.
    After releasing process order, you have to create control recipe. Upon successful creation of control recipe, process instructions will get generated. Check the error log for control recipe creation for error if any. 
    Note that control recipe will be generated only with order status "Released".
    You have to sent this control recipe to process control (CO53).
    Hope it is helpful.
    Regards,
    Sachin

  • Not allow to create delivery note if not enough stock

    Hi
    is it possilbe not allow to create delivery note if not enough stock? how can i do it
    thanks

    In case of partial delivery, it allows creation of delivery and PGI only for the quantity of the material which is available in unrestricted stock.
    If it is complete delivery and if the stock is not available, it tells you the log saying that only X quantities of delivery is possible and it will ask you to enter the quantity you want to deliver. But as ur sales doc is marked for complete delivery, delivery wont be possible for this.
    In nutshell, if you want to deliver the quantity which is more than the available quantity in stock, delivery creation wont be possible.(Tested and confirmed)
    Rwd if this helps
    Message was edited by:
            Navaneetha Krishnan

  • Problem in Creating Delivery Note using DI API

    i am using DI Api with Delphi Language to Create a Sales Delivery Note based on the sales Order.
    But Each time when i add, a new Record gets Created rather than the new Line.
          Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
          Document.CardCode         := 'A001'
          Document.Lines.BaseType   := 17;
          Document.Lines.BaseEntry  := 84;
          Document.Lines.BaseLine   := 4;
          Document.Lines.ItemCode := '001A';
          Document.Lines.Quantity := 10;
          Result := FODLN.Add;
    In this case,new rows are added each time in the tables ODLN and RDR1.
    How to avoid this.As this creates a individual Delivery Note for each time i add than to the Order Number.

    HI,
    The problem : Do not specify ItemCode if you specify Base document.
    So
    1st case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.BaseType := 17;
    Document.Lines.BaseEntry := 84;
    Document.Lines.BaseLine := 4;
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    or
    2nd case
    Document:= IDocuments(FCompany.GetBusinessObject(oDeliveryNotes));
    Document.CardCode := 'A001'
    Document.Lines.ItemCode := '001A';
    Document.Lines.Quantity := 10;
    Result := FODLN.Add;
    1st case creates delivery note with only one row with reference to Sales Order
    Take care: BaseLine comes from 0
    2dn case creates delivery note with only one row WITHOUT reference.
    if you have more than one rows, use the
    Document.Lines.Add to enter another row
    Regards,
    J.

  • Error while creating Delivery Note from Sales Order

    Hi,
    I am trying to create Delivery Note from Sales Order. But, I am getting one error sayin "An Item with no delivery quantity is not permitted.Item will be deleted". Hence, the delivery note was not created.
    Can you please let me know, why this error comes. And how to rectify this error.
    Please let me know, what are all checks, I need to do, to know this error.
    Thanks,
    Sandeep

    Hi
    There may be following reason :-
    Either the relevant Item Category is not relevant for Delivery, Check the Item Category in Sales Order and then check the settings of this Item Category in VOV7.
    Also check the relevant Schedule Line in VOV6, it should be relevant for Delivery.
    The Other reason may be that your schedule line in Sales Order is Not confirmed for Available Quantity so check the Sales Order> Line Item> Schedule Line.
    Regards
    Amitesh Anand

  • Is possible to create a TO automatically after production order confirmation?

    Hi all
    I have just a question in order to know if we can configurate a procedure to a Production Order, so my question
    is possible to create a TO automatically after production order confirmation in a standard enviroment?
    Thanks in advance for all your comments

    Hi Gurus,
    Thank you for your help in this case.
    Process:
    The customer create a production order in CO01 and then they confirm the order in CO15, after confirmation TR is created ( we can see this in LB10 ) and negative stock is created (  we can see this in LS24 ).
    Requirement:
    They are asking to create the TO automatically after the production order confirmation. Negative stock is afecting the process.
    Workaround:
    They are creating the TO in background in LB10. ( negative is fixed )
    Question:
    Can we create the TO automatically after confirmation in standard configuration?
    if no ,  how can we confirm this TO .using a JOB option?
    TR created after confirmation
        TR header
    LS24 negative units.
    Regards!!
    Ronald

  • How to set capital letter automatically after enter.. during email

    how to set capital letter automatically after enter.. during email
    as it defaults to lower case all the time..  just like above
    However would like to know how to change so its like the H in the word However automaticlly
    thanks.

    thanks.
    i tried this..
    in transformations the three options are in ghost txt.. not bold.
    tried them all.. and no change..

  • Create delivery not allowed ( Sys. Status EXLS,object vb0004321713000010

    Hello SAP gurus,
    I am getting the fllowing error while creating a delivery. The delivery message says  create delivery not allowed ( Sys. Status EXLS,object vb0004321713000010)
    Diagnosis : the status check for the status object VB0004321713000010 indicated that the procedure "create delivery" cannot be performed because Sys. status EXLS forbids it
    System response: procedure create delivery is not performed
    Procedure
    If procedure is to be performed, the  Sys. status EXLS of the object VB0004321713000010 must be reset.
    Other statuses thatn Sys. status EXLS can also prevent the procedure. This message does not tell you all status which currently prevent procedure create delivery.
    Can you please tell me how to resolve this issue?

    Hi
    It seems that status profile is activated.
    So goto SAles order header or Item level and goto status tab and release the sales order by clicking on the status EXLS
    regards
    Prashanth

  • "Create delivery" not allowed (Sys. status Cost, object VB0000000237000010)

    Dear All,
    While creating delivery i am getting the error saying as below,
    "Create delivery" not allowed (Sys. status Cost, object VB0000000237000010). and allowing me to the process delivery. we are the scenario for make to order process.
    please suggest the solution.
    kamlesh panchal

    Not clear on your comments
    Create delivery "not allowed" (Sys. status Cost, object
       VB0000000237000010). and "allowing me to the process delivery"
    When the error message says creating delivery is not allowed,  then how are you able to process delivery.
    Nevertheless,  go to VA02, input the sale order reference and execute. From top menu bar, click on "Goto -- Header -- Status". There again click on "Object status" and check whether any lock is there. If so, change it and then retry
    thanks
    G. Lakshmipathi

  • How to create sales order Automatically with reference to contract?

    how to create sales order automatically through batch or online? can anyone please suggest what needs to be change in SAPMV45A program?

    Hi,
    Wt am able to understand from the above question is, you want to create automatic sales order against contract on a day to day basis by doing batch program, hope am wright.
    See you can do it in two ways.
    1. By using BDC, in SHDB T code record how exactly you will do transaction and then give it to your abaper rest he will do. he will write a program and he will schedule that program every day night.
    2. By using BAPI. Just check in there are many threads are there which gives sales order bapi. Tell your abaper to map that bapi and tell them to schedule back ground job.
    Hope this will help out in solving your problem.
    Regards,
    Nagesh

  • When manually creating delivery notes, the Actual GI time ?

    Hello,
    When manually creating delivery notes, the Actual GI time (used for pricing determination) is set to the document creation time (CPU time) but expressed in the UserId's local time zone.
    Regards,
    Neel

    Hello Ram
    Please help me out to solve this issue
    When manually creating delivery notes, the Actual GI time (used for  pricing determination) is set to the document c
    Creation time (CPU time) but expressed in the UserId's local time zone.
    The correct Actual GI time should be the CPU time in CST time zone, independant of the user.
    The Delivery doc. was created on 04/20/2011 at 11:11:32 UserId's local time zone (CET).
    The Actual GI time was set per default to 11:12 based on CET CPU time the expected time is 04:12 CST
    Edited by: neeljasani on Apr 27, 2011 5:20 PM

  • "Create Delivery" Not Allowed

    Hi,
    I have created an order, when I tries to do the delivery for this I
    gets the error : "Create Delivery" Not Allowed ( Sys.Status EXLS
    Object VB0000008166000010 ). If you need the screen shot, I will send that too.
    Can anybody help me on this, I am facing this issue from quite a long time.......
    Thanks in advance.

    Hi Naveen,
    Thought might help you.
    Delivery Issue
    Regards
    NP

Maybe you are looking for

  • SQL Insert with submit button

    Hey i was just wondering if any of yous knew how to get a html submit button to insert new information into a database table?? i.e. Insert into Photo(PhooName) Values("hello") Im using jsp and htm. And im not using beans!!

  • Install OS X to backup drive

    How do I make my external hard drive a "startup disk" so that I can run DiskWarrior on my primary internal drive. Do I need a second license for Mac OS X to install it on the second drive? thanks bill plunkett

  • Functional Location

    Hi, Client is having lot of moving Equipments. So then he want that when production person should create notifiaction, he should enter the location also to identify the location of perticular machine like welding machine. For fixed machines , that wi

  • U201CValid Tou201D date set before the date that the report is run u2013 print u201Cnullu201D.

    Hi Experts I had a requirement for  the Query, when we executing the through slection screen we will be giving 0fiscyear "from and to" dates. the "Valid to" (0date)  has to check the relation of the Client partner and contract of relationship, if it

  • Multiple Web Site one IP

    Is there a way with 1 IP address to host more then 1 web site in apache. IE you have your main server at main.server.com and then a test site at test.server.com? Each has there own root folder or web folder? Thanks