VF02 Prevent changes to an invoice

Hi,
I'm looking for a way to prevent some invoices, identified through a group of attributes, to be changed once created.
Any change through VF02, release to accounting and anything else should be blocked or readdressed to display only.
Is there a way to achieve this through abap and/or customizing?
thanks.
Francesco

Hi,
If you don't want the user to open the VF02 screen you can control this through authorization which will be done by BASIS,the authorized person only can come to VF02 and will do the changes if required.
Through technically
If any changes occur in document pass the VBRK - VBELN to CDHDR - OBJECTID if the CDHDR - CHANGE_IND = U then system should not allow to save,for particular user it should allow to save.
like this you can control.
Regards
Ram

Similar Messages

  • Track changes made to Invoice in VF02

    Hi,
    The scenario is as follows:
    When an invoice is changed(any status change or tax information changes or any other field), i need to trigger some implementation of my own.
    I could achieve this for Sales order through change document VERKBELEG and transaction SWEC. Change document FAKTBELEG doesnot work for the invoice in 'swec' in the same way. Is there anything missing? Or is there any way that i can track these changes and trigger some implementation?
    Best Regards,
    Varalaxmi

    Have you tried in VF02 > Environment > Changes where system will show the changes made to that billing document.  May be you need to explain clearly what / which field you were expecting the system to show.  You can also explore AUT-10
    G. Lakshmipathi

  • Ship to address changed in already invoiced orders

    Hello SAP Experts,
    Is there a way to prevent customer (ship to) address change in already invoiced sales orders while changing ship to address in XD02?
    Since the address pointing to ADRC table, everytime we make changes in XD02, it is reflecting in all SD documents new and old. My client has a unique requirement, they want to change the address in XD02, which should only change to new sales orders. They do not want to change the address in already invoiced sales orders.
    Regards,
    Sridhar Dawady

    Dear Sridhar,
    I try in my server ur problem.
    First i checked Sales report one particular customer yesterday and today report their one name is there.
    After that i changed same customer New Name after that i post one document.
    and i checked sales report in that New name came for all document include old document also
    So May be ur case also if u change address, i think new address will show.
    U also first try in sandbox server.
    Bcz i am not sure abt this.
    Satya

  • Blocking the change of Supplier Invoice Number on update using SP

    Hi Mentors,
    Just wondering if blocking the change of Supplier Invoice No. (OPCH.NumAtCard) is possible using SP_TransactionNotification?
    I've been trying to make it work with the following code:
    --Prevent Duplicate Supplier Ref. No. in AP Invoice
    if @object_type = '18' and (@transaction_type in ('A' ,'U'))
    begin
    declare @RefNo as varchar (100)
    declare @CardCode as varchar (100)
         if (@object_type = '18')
              begin
                 select @RefNo = NumAtCard, @CardCode = CardCode from OPCH T0 where docentry = @list_of_cols_Val_tab_del
                 begin
                   if (@RefNo is not null)
                     begin
                       if 1!= (select count (docentry) from OPCH  where (NumatCard = @RefNo) and (cardcode = @CardCode))
                         begin
                            select @error = 10
                            select @error_message = 'Duplicate Supplier Reference Number!'
                         End
                       End
                   End
              End
    End
    --Prevent Supplier Ref. No. in AP Invoice from being changed during update mode.
    if @object_type = '18' and (@transaction_type = 'U')
    begin
    declare @DocEntry as int
         if (@object_type = '18')
              begin
                 select @RefNo = NumAtCard, @CardCode = CardCode , @DocEntry = DocEntry from OPCH T0 where DocEntry = @list_of_cols_Val_tab_del
                 begin  
                       if (@RefNo != (select NumAtCard from OPCH where (CardCode = @CardCode) and (DocEntry = @DocEntry)))
                         begin
                            select @error = 10
                            select @error_message = 'Changing of Supplier Reference Number is not allowed!'
                         End
                       End
              End
    End
    I'm not sure if this is really possible,and that I could be just beating the wind by trying.
    Thanks in advance!
    Sean

    To avoid modifiing the vandor reference use this:
    IF @Object_type = N'18' and @transaction_type = N'U'
    BEGIN     ---
    declare @li int
    declare @pref nvarchar(100)
    set @li=
    (select max(t.LogInstanc)   from ADOC t
       where t.ObjType=18 and t.DocEntry=@list_of_cols_val_tab_del)
    set @pref=
    (select isnull(t.NumAtCard,'')    from ADOC t
        where t.ObjType=18 and t.DocEntry=@list_of_cols_val_tab_del
          and t.LogInstanc=@li-1)
    If @pref !='' and @pref !=
    (select isnull(t.NumAtCard,'')   from OPCH t
       where t.DocEntry=@list_of_cols_val_tab_del)
    Select @error = 10, @error_message = N'Changing of Supplier Reference Number is not allowed!'
    END     
    --- To avoid using duplicated reference try this:
    if @object_type = '18' and @transaction_type in (N'A', N'U') -- AP invoice
    BEGIN          ----
    declare @Invoice AS VARCHAR(15)
    declare @Card AS VarChar (20)
    SELECT @invoice = NumatCard, @card = CardCode FROM dbo.OPCH
         WHERE DocEntry = @list_of_cols_val_tab_del
    If exists (SELECT T0.cardcode, T0.NumatCard FROM OPCH T0 where T0.NumatCard = @invoice
               and T0.CardCode=@card and T0.DocEntry!=@list_of_cols_val_tab_del)
    Select error = 10, @error_message = N'Duplicate Supplier Reference Number!'
    END          ----

  • The application detected an error that prevents changes from being saved.

    Hi. I'm having this problem almost all the time when I do some color correction.
    "The application detected an error that prevents changes from being saved. To avoid losing your work, quit Final Cut Pro."
    Any ideas why this is happening?
    I'm on a 2010 Mac Pro running latest Mavericks and latest FCP X.
    I already removed FCP X, and all the effects I have installed. But still the issue persists.
    Thanks.

    That could have happened. I can't remember though.
    Is there any work around?
    I currently only have 1 open library and 1 event on it. If I move or copy that event into a new library, would that in theory work?
    Thanks for the help so far.

  • Report to see changes is HOLD Invoices

    Hello,
    My client uses transaction MIRO to enter all the invoice information and then press pushbutton HOLD.
    Later he called transaction MIR6 to select Held Invoices, and If everything is all right POST the invoice.
    Sometimes he applied changes in Hold Invoices before Posting.    My question is..
    ¿Is there is a Report to see all changes that was applied is those Invoices?
    I appreciate your help.
    Hector.

    Hi,
    if you click on information button in MIR7 transaction,
    you will see that when you park an invoice document
    The following updates are to take place:
    - Log of document changes
    but this does not happen for held documents.
    It seems there is no log of document changes for held documents.
    Best regards.
    Edited by: Pablo Casamayor on Feb 22, 2010 8:04 AM

  • SRM: "Purchase Order Change Approval " and "Invoice Approval"

    Hi,
    I would like to know the availability and details of the backend services for "Purchase Order Change Approval " and "Invoice Approval".
    Any pointers ?
    regards
    Sachin

    I want to know what are the Backend services exposed for the following processes :
    Purchase Order Change Approval in MM
    and Invoice Approval.

  • Mass change of the invoices

    Does SAP provide any transaction code for mass change of the invoice.
    I want to change the value inputed in the reference key 1 of the customer line items already posted, there are 850 line items posted . i want to change the value in the Ref key1 field. Does any Trans Code for us to change as we have in gl, mass reversal etc.
    Best Regards
    Rajesh

    Hi,
    i think the most simple solution is to program a bdc for transaction FB09 or fb02
    -> use bdc-recoreder SHDB
    A.

  • Baseline date change after creation invoice list

    When I create invoice document, the invoice date (vbrk-fkdat) is the end of the month and the invoice list date (VBRK-FKDAT_RL)  is the next business day after the invoice date, the baseline date of the accounting document (bseg-zfbdt) is the document creation date and this is what I wanted.
    However, when I start to create the invoice list, the baseline date on the accounting document (field bseg-ZFBDT) is changed to the invoice date.  Does anyone know why and how to fix and where to look in the configuration to see how invoice list date (vbrk-fkdat_rl) is populated?  It seems to me that the baseline date default back to the invoice list date when invoice list document is created.  Thanks for your help.

    Hi
    You need to check your payment terms. the baseline date is determined from the payment terms, which is assigned to the vendor. You can use OBB8 to see the config of payment terms.
    Regards
    Sanil Bhandari

  • Possible to change vendor in invoice level

    Is it possible to change vendor in invoice level if yes how

    Hi,
    Go to MIRO, in Details Tab change the Invoicing Party.
    Or use partner function for that Vender and Document Type. It will direct flow from PO.
    Regards,
    Pardeep Malik

  • I want to change my account in the AppStore from USA to Saudi , but there are some cents 0.04 $ prevent change to Saudi and I do not need these cents So what is the solution ?

    I want to change my account in the AppStore from USA to Saudi , but there are some cents 0.04 $ prevent change to Saudi and I do not need these cents So what is the solution ?

    Click here and request assistance.
    (88185)

  • In transaction Fv60 can we change transaction type(invoice/ credit memo)

    Hi Experts,
    Can you help?
    In transaction Fv60 , while editing a park documentcan can we change transaction type(invoice/ credit memo) . I mean can we change the status of document from credit memo to invoice?
    Thanks

    Hi Sumit,
                  Certainly, we can change the transaction type in fv60. Yes we can change the status of the document.
    Regards,
    Srinivas Muthyala

  • Can't see Change Log in Invoice

    How can I see changes done in invoice?
    I can see in order thru environment - changes. but in billing, its not active.
    I guess this should be standard.....right?

    HI
    GO TO
    SE16 AND PROCEED WITH THE FOLLOWING TABLES
    VBRK or VBRP
    REGARDS

  • Prevent Change agent from making changes to requests after approved

    Does anyone know how to block changes made to a Change Request after it has been approved?

    If you're talking about preventing changes to a change request record after it's been approved, I have a couple suggestions, but they require custom development effort.
    One possibility would be to create a custom control applied to the Change Request form that does this for you. Using Anton's custom control technique, you could create a control that, when the form loads, reads the current state of a
    CR's review activity and, if it's approved, finds and disables all of the controls on the form.
    http://blog.scsmsolutions.com/2011/08/create-custom-user-control-for-scsm-2010/ This post is for SCSM 2010, but the principal is the same for SCSM 2012.
    Another possibility is to create your own Change Request form from scratch that implements similar capability (ie: every time the form is opened, the FormLoad event checks the state of the review activity and disables/enabled all other form controls appropriately).
    Creating your own form would require you to override the out-of-the-box form for which there is no supported method yet. Plus, creating your own change request form would require much more development effort including knowledge of Visual Studio, WPF/XAML,
    C#, and the unsupported console API.
    These techniques to "block" changes will only work on a form, though. A user would still be able to make changes directly with powershell or the SDK. They could also make changes with any of the out-of-the-box console tasks that manipulate change requests.
    I'm afraid there's no "simple" answer, though.
    However, keep in mind that all changes to any record in Service Manager are recorded in the history of that record. So while it might be difficult to block changes, you can always review any changes that were made after a CR has been approved, including
    who made the change and when. That's more of a reactive approach instead of a proactive approach.

  • Password protect iTunes application to prevent changes?

    Hi all,
    I am looking to increase my ITUNES security on my home PC to prevent changes in ITUNES match or my music being removed from icloud by mistake by others when they use this PC or it is stolen etc.
    I.E when i open the itunes application, it will prompts/ask me for a password before proceeding further.
    I have home sharing enabled and i dont want to interfer or restrict this, however sometimes on my laptop other access itunes and on occassions have caused music in the cloud to be deleted! Doesnt help when i have disposed of the original cd's and its not avaiable via the itunes store.
    Any ideas/comments would be grealty appreciated to help me protect?
    I did go to edit/prefercnes and ticked the "require password" button in home sharing, but affects home sharing only, does not prompt me for password on my PC.
    Cheers Folks
    Simon.

    You can backup your library right now. You can send the password protection idea to iTunes Feedback, but I doubt it would ever be implemented.
    Don't dispose of your original CDs. If you sell or give them away then you should also delete the tracks that you ripped from them.
    tt2

Maybe you are looking for

  • Monitor settings problem

    Hi there! I've experienced a strange problem related to my LG monitor/Mac Mini. Occasionally the monitor becomes "jumpy", the horizontal lines are visible when I scroll over my dock and also on some animated websites. However, if I go to the display

  • Authorization for cost centers in KSV8  allocation T-code

    Hi all, I know it is possible to set an authorization in allocation T-code KSV8 based on the cost center. In the KSV8 transaction, there is a sender, a receiver and obviously in my case the sender is different to the receiver. The following step for

  • Robohelp Web Help See Also Pop up

    Hi Folks, Been trying to locate the place in Robohelp to change the background color for a "See Also" pop up box. Right now, it's defaulting to the windows gray, and I'd like to change it to white with blue text. If you can point me to the right plac

  • AE CC Windows 7 Crashing on render.

    Hi, I'm trying to render out a 4K comp to uncompressed quicktime but the render fails with every attempt as After Effects CC seems to be using up all the RAM (64GB). I haven't faced these issues with AE CS6. Is this a known issue and is there a solut

  • How to make data base link from oracle 11g r2 to microsoft sql 2008 express

    I need to make data base link from oracle 11g r2 to microsoft sql 2008 express to make replication between then please help me ! I didn't know what is the user and password in the command which create database link