Sales Invoice Linked from Sales Order

Hello Experts!!
I want to restrict users to enter Sales Invoice Directly. We are using Sales Order But Every One Can Post Invoice Directly.
Please Guide how to restrict them
Thanks,
Vikram

Hi Vikram,
You can restrict Sales Invoice by Putting Transaction Notification.
Please check below Two Transaction Notification. One Transaction Notification for Sales Invoice must be Copied from Sales Order and Second Transaction Notification for Authorized User Can Create Sales Invoice.
-----------NO STAND ALONE A/R INVOICE MUST BE CREATED IN SYSTEM
IF @transaction_type IN ('A','U') AND @object_type = '13'and @error = 0
BEGIN
IF EXISTS (SELECT T0.DocEntry  FROM OINV T0 
INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
WHERE T1.[BaseEntry] <> 17
AND T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
SELECT @Error = 10, @error_message = 'BK - A/R Invoice Document Must be Copied From Sales Order'
END
END
Above Transaction Notification will Block Creation of Sales Invoice if that Invoice is not Created by Sales Order.
-----------A/R INVOICE MUST BE CREATED BY AUTHORIZED PERSON
IF @transaction_type IN ('A','U') AND @object_type = '13'and @error = 0
BEGIN
IF EXISTS (SELECT T0.DocEntry  FROM OINV T0 
INNER JOIN INV1 T1 ON T0.[DocEntry] = T1.[DocEntry]
INNER JOIN OUSR T2 ON T0.[UserSign] = T2.[USERID]
WHERE T0.[UserSign] IN ('1','2')
AND T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
SELECT @Error = 11, @error_message = 'BK - You are not Authorized Person to Create A/R Invoice Document'
END
END
Second Transaction Notification is for Authorized Person can Create Sales Invoice So in User Sign Please Put User Sign of those Users who are not Authorized to Create Sales Invoice.
Hope this helps
Regards:::::
Atul Chakraborty

Similar Messages

  • How to print customer Sales Invoice directly from FI module?

    Hi,
    How to print customer Sales Invoice directly from FI module without using SD's t-code VF02 and VF03?

    hi,
    only way in FI is Correspondence functionality usage. Please config it and use F.61 or F.64 to print it.
    regds,
    raman

  • Is there is a way to have a link from purchase order to cost center report.

    Is there is a way to have a link from purchase order to cost center report.
    I am meaning kind of:
    Standard way to customized this link?
    or
    User exit to have this link in place
    or
    Any other solution
    Thanks

    For me it does not make any sense from going from PO to cost center report.
    However, if you want to see the purchase order cost incurred with a cost center, execute KSB1 report. Within the layout, bring "Purchasing Document" field, where you can see the purchase order number in cost center line item report.

  • Link from sales order to delivery not complete

    2007A
    We have a few cases where the link from a sales order to delivery is not complete. For example, we have a sales order with 2 lines on it. We copy to delivery and add. Remarks field has the comment "based on sales order ...." However if you try to get to base document the icon is not available. In looking at the base document, base reference, base line fields on the items they are blank.
    We also have instances of this where there were 20 lines on a sales order, we copy to delivery and 19 lines are linked but one is not.
    Any ideas as to why this might be happening?

    Hi Keith ,
    It looks like an application error to me if the action is straight forward - copy from SO to Delivery .
    If you can replicate the issue , it is definitely a bug and you probably need to test with upgrade if it is happening or not .
    So far , I would look for a higher version of patch and see if that issue is particularly addressed and resolved .
    Also use this query for more help
    SELECT DISTINCT T0.DocNum FROM ODLN T0, DLN1 T1 WHERE (T0.DocEntry = T1.DocEntry) AND (T1.BaseEntry = [%0] OR T1.BaseRef = [%1])
    Hope this helps
    Bishal
    Edited by: BIshal Adhikari on Dec 11, 2009 9:47 AM

  • Sales Office copying from Sales order to Invoice ( order related billing)

    Hi
    In sales invoice (vf01) is there any field for Sales Office.
    In order related billing . how we can copy sales office from sales order to Invoice.
    Regards\Adnan

    Hi Adnan,
    In Invoice you can find Salees office filed In the Item data >in the Item Detail tab>under Sales Order Data here you can get the sales office which you enter in the sales order.
    I hope it will help you,
    Regards,
    Murali.

  • Invoice output from Sales Order for Point of Sales system

    Dear all,
    How can we print Invoice by saving a sales Order.
    As per our business process at our cash register (POS) we are creating Sales Order.
    Once we save the sales order, an output has to be printed to give customer.
    Now we need to use Invoice smart for Sales Order. How could we use Invoice smart forms for Sales Order?
    Please help me to resolve this issue; your help will be highly appreciated.
    Thank you,

    Hi Ines
    To achive this you will need to take the help of your ABAPer. He/She will write the logic in the program assigned to the processing routine in V/30.
    I hope this helps.

  • Sales Deal link in Sales Order

    Hi,
    How do you link the Sales Deal to a Sales order so that the sales order will have the conditions included in the pricing?
    Where can we see the Sales Deal in the Sales Order transaction VA01/VA02? Or is it only displyed and calculated in the Billing?
    How does pricing work if the Sales Deal conditions are included in the Sales Order calculations?
    Please advice.
    Thanks,
    Sydney

    Hi,
    We can see Sales deal / Promotion number in billing document item details tab.  we can't see it  in sales order.
    There is no separate assignment is required between sales deal and sales order to have pricing conditions.
    When you create a Sales Deal (VB21),  we maintain pricing conditions e.g KA00, K020........... from there system will pick up pring condition in sales order.
    system will treat these condition types as normal pricing condition types.
    Regards,
    Chandrasekhar

  • Table links from Purchase order to condition types

    Hi,
    I am looking for the tables to go from purchase order, and to read the conditions associated with the PO.
    I have EKKO, and EKPO, but I cannot find the table where the condition information is stored. I have KONV and KONP, but they seem to be the tables where the condition type info is stored, not the link table where the purchase order specific information is stored.
    Can somebody please point in the right direction?
    Regards
    Piet
    Edited by: Piet Strydom on May 12, 2009 12:52 PM

    Hi,
    The PO and the Condition Record Number Link happens in the Table EKKI.
    from this table get the condition Record number line item wise and execute in KONV.
    Hope so it helps
    Regards
    Anjanna
    you can check the below thread posted by self for further ing
    Re: PO item Condition Record number and delivery address of PO - Need a table n
    Edited by: Shiva Rajanala on May 12, 2009 1:42 PM

  • Wrong tax in delivery and invoice (different from sales order)

    Dear All experts/gurus,
    I am curretly facing a problem relate to big error in SBO 2004A SP00 PL 16. It is disgusting actually. the problem is I create Sales order (SO) with 0 % tax (tax code: 0tax). however after I create delivery from this SO,  the price including tax is different from price including tax in the sales order, it raised to be 20%, that is also happened in AR invoice meanwhile I never change the tax code and create 20% in the define tax group form.It is only happened in creation date on 16 february 2007,after that it is all okay, nothing happened. There is none allowed to change tax grup form.
    I am afraid there are bugs or something wrong that made it happened especially relate to technical/developper. I have check company settings, BP settings and other but find out nothing that made this wrong comes. pls help me to solve this situation. I appreciate your answers so much. tks
    Rgds,
    Message was edited by:
            steve andre

    Dear Eddy, Experts/Gurus,
    The problem has appeared again. It happened on 8 March 2007, all deliveries are subjected to have 20% tax meanwhile in column tax % of  define tax groups form is zero. The big problem is how to take back all the error AR invoices sent to customer sites.
    How to cancel the invoices with wrong tax without using credit memo? could I just use querry generator to delete all the taxes created by system ? I want to reprint it and send again to customers but I don't want to use credit memo, I consider to use DTW, but I am not so sure and I wanna ask what Gurus/Experts suggestions in this forum before do that. I appreciate your answer so much. TIA

  • INVOICE NUMBER FROM SALES ORDER

    HI ALL,
    HOW DO WE GET THE INVOICE NUMBER OF A MATERIAL FROM A SALESORDER.
    REGRADS,
    NANI

    Hi,
      The relationship is as follows..
      VBAP-VBELN = VBRP-AUBEL.
      VBAP-POSNR = VBRP-AUPOS.
      SELECT SINGLE * FROM VBRP
             WHERE AUBEL = VBAP-VBELN
             AND   AUPOS = VBAP-POSNR.
      IF SY-SUBRC = 0.
        WRITE: / 'BILLING DOC.', VBRP-VBELN.
      ENDIF.
    Thanks,
    Naren

  • Query to display sales invoice number by sales order number

    Hi,
    Welcome you post on the forum.
    You may check this first:
    http://wiki.sdn.sap.com/wiki/display/B1/SAPB1SQLD-SLLapsedDaysOrdertoDeliveriesOrderDetailsVer3
    Thanks,
    Gordon

    I've read the article and strugled and other articles for this but I haven't achieved the goal - I can display list of SO and linked Deliveries and linked A/R Invoices and A/R Memos but basing on date and client changes within the query itself.
    The current goal is to have a query to ask for GP code and ask for DocDate to get list of Sales Order document numbers and A/R Invoices document numbers and A/R Credit Memos document numbers.
    The ideal result would be to get final quantities of products from all further existing data with possibility to use it in Excel's (office 2007-2010) SQL native client basing on SO document number parameter.
    Maybe it is not possible?
    Any help would be appreciated.
    Thank you,
    Tomasz

  • Capturing Sales invoice no from PO number

    Dear Gurus,
    I'm writing a report to capture the invoice details (invoice no, sales order no etc...) when  the PO no is entered as an input parameter.
    pl help...
    Tks
    Amilachins
    Edited by: amilachins on Jul 23, 2009 12:07 PM

    Hi There,
    I have few doubts regarding your requirement....
    1. As PO number in sales order is text field, so how you can input this and get subsequent doc?
    2. If its STO or intercompany
    In the later case
    You have to use these tables...
    1. EKKO - Purchase document Header
    2. EKPO- Purchase document Item
    3. LIKP - Delivery Header
    4. LIPS - delievry Item
    5. VBRK - Billing HEader
    6. VBRP - Billing Item
    Let us know if your requirement is different than this.....
    Thanks,
    Raja

  • Link from the Sales order/Sheduling Agreement to planned order

    Hi,
    SAP SD Gurus,
    Can you please tell me the the link from sales order/sheduling agreement to planned order.
    Thanks,
    Anand

    . I would like to know why only for this character the values is not displayed.
    Dear,
    Please check the relevant characteristic in CT04
    select the addnl data tab
    You can find the table name and field name
    and also you can find the check mark in   not ready for Input in procedure of value assignment

  • Sales Order status still "Being processed" after invoice (3rd party sales)

    Dear SD gurus,
    Here's what is done so far:
    1. Create a sales order with one line (TAS item cat).
    2. Trigger PR to be created. Approved the PR.
    3. Create Purchase Order. Approve the PO.
    4. Perform MIRO.
    5. Create sales invoice based on sales order (billing based on supplier invoice).
    6. Invoice released to accounting
    Now, when I checked the sales order status, it's still showing "Being processed". However, invoice have already been created and released. I'm just wondering what else have I done wrongly. I believe the status should show "Completed" as well otherwise this order will keep showing up as outstanding in my sales order listing report.
    Anyone got any ideas?

    SAM
    I had a looked at both the SAP Notes provided. Doesn't really apply in my situation. The Sales order was for 10 qty. My PR for 10 qty and I have also done a MIRO for 10 qty. even my sales invoice was for 10 qty.
    I do not want to configure it to follow the PO quantity because I need a control where only vendor has delivered the products to the customer only then I should invoice the customer accordingly. If I allow the invoice to be created based on the PO quantity then the control factor will be lost.
    I have yet to try the program that you recommended... will try that shortly.
    And yes ... since I'm using the standard sap TAS item cat ... the "relevance for delivery" is already turned off and the billing is "F"

  • Witholding tax in Sales invoice

    Hi All,
    Just want to ask how to set up automatic computation of witholding tax in Sales invoice created in Sales & Distribution module. We already set up all necessary configuration in FI and customer master data. During postings in TCode FB75, the witholding tax automatically post in the transaction entry.
    But during SD transaction, there is an automatical computation of witholding tax but the amount is zero and the witholding code is blank.
    Hope to hear from you soon. Thanks.

    Hello,
    The determination of the withholding tax in the order is correct,     
    because there are only the condition base value is display, but not   
    the condition value.                                                  
    This systembehaviour is absolutely correct, because the withholding   
    tax is only now active in FI.                                         
    Therefore this condition type is only displayed in SD without values. 
    For the determination of the withholding tax a table with the data    
    of the withholding taxes is build. (taccit_wt)                        
    Therefore you need the customizing settings from FI and it is not possible to determine the values in the SD documents.
    Regards
    Claudia
    If you are satisfied with the answer, please give Reward Points

Maybe you are looking for

  • After updating numbers and pages I can no longer copy multiple cells from numbers and paste and match style to pages.

    After updating numbers and pages I can no longer copy multiple cells from numbers and paste and match style to pages.  I used to be able to select multipule cells in a row (such as company name, address, etc.) then paste and match style on to a pages

  • Urgent --report urgent

    Hallo very urgent   i would like to have the master data "relationsship" included in the BW report. It is important information for me when user plan production, as both preparation, processing and cleaning time as well as the "delay" between the sta

  • Embedding c# code into html attachment

    Hi, I am trying to have the HTML and CSS layout within a SharePoint list item attachment. Part of this layout is also adding a C# ImageButton. I can get the list item attachment contents to load and the CSS and HTML are implemented within my webpart.

  • What is recently added and how do i get rid of it?

    Ever since the latest iteration of iTunes, I have been subjected to a banner across the top of my itunes page called Recently Added.  I understand why that feature may be desirable to some people, but why can't I turn it off as I find it really annoy

  • Sales Unit of a product

    Hi all, For a prodcut I need to find out Sales Unit and Minimum Order Quantity. I tried to look in COMM_PRODUCT, but could not get the Min Order quantity and Sales unit, can anyone tell me the table or any function module which i can use to pull Sale