Workflow trigger on posting date change

Dear All,
The workflow which I have implemented works as the document goes for
the approval at different levels prior to posting.If in any case some
problem occurs prior to posting like this time posting period is not
closed then the document will go to the Regional reflection center(RRC)
to post the document. There are around 600 document of 2008 pending
with RRC's for the posting.
I have made changes to the user exit ZXF09U07, it is now allowing me to
change the posting date in FV60 to the current fiscal year,but as soon
as I made changes to the posting date through the report ZFSAP2_B, the
new workflow process is getting start that means for all the documents
new workflow will start and again the whole approval process is getting
started.
Is there any way that if the posting date is change then no new
workflow will start and RRC will able to post the document with old
workitem in their inbox.
With Kind Regards,
Sangeeta

Sangeeta,
I am looking for ways to make report ZFSAP2_B work, it works in DEV but does not work in QA, I'd like you to share with us how you got it to work.

Similar Messages

  • Posting date changes when I approved a Funds reservation

    Hello experts,
    When I approved a Fund reservation in SAP business workplace, system creates a Accounting document with a different posting date.
    I give you an example:
    Funds reservation:
    Document number: 1101000099
    Document type: R0
    Document date: 01.08.2011 (day.month.year)
    Posting date: 04.08.2011 (day.month.year)
    Accounting document
    Document number: 1000000916
    Fiscal year: 2011
    Period: 08
    Doc. Date: 01.08.2011 (day.month.year)
    Posting date: 29.08.2011 <<<----
    ?¿?¿?¿? Why sy-datum ??
    Maybe a SAP error ?? Do you know where SAP (abap code) determine posting date??
    I need posting date of accounting document is equal to posting date of funds reservation.
    Note: If I created a funds reservation with posting date 31.12.2011 and then I approve it, system creates accounting document with posting date correct! (31.12.2011)
    A lot of thanks in advance.
    Best regards,
    djlu.
    Edited by: djlu on Aug 30, 2011 12:27 PM
    Edited by: djlu on Aug 30, 2011 12:45 PM
    Edited by: djlu on Aug 30, 2011 12:49 PM

    Hello gautam maini,
    First of all a lot of thanks for your quick answer.
    My BO is ZFMRE a custom objecto of FMRE.
    Methods: I don't know which method exactly but I think zfmre.Approve_1 or zfmre.Approve (standard methods)
    Workflow: WS90200003 / WS99800014
    SAP Version: SAP ECC 6.0
    Sorry but I am not a workflow expert.
    Please give me your suggestions.
    Thank you in advance.
    Best regards.
    djlu.

  • Posting date changing manually-

    Hi all,
    when we  release a billing doc to accounting...can we change the posting date manually to the current date.
    If it is possible, how to do that in SAP . Is there any Transaction code for changing the date.
    thanx in advance
    sourav

    hello, friend.
    the system takes the billing date as the posting date.  when you are creating the billing document, enter the desired date.  you can also change the date as long as the billing document has not been posted, whether using VF02 or VFX3.
    however, you cannot change the date if the billing has been posted to accounting.
    regards.
    Edited by: jonathan yap on Feb 18, 2008 3:47 PM

  • Tax Code removed on changing the posting Date in Purchase Order

    Dear All,
    This is with reference to the Purchase Order Document tax part, the document has been defined with the approval procedure and document series followed as annual series. The document series is linked to the period indicator as I am using the monthly series for the A/R & A/P Invoice.
    Now some Purchase Order was generated in the last month i.e. 30 NOV 07 which has gone for approval. These document are approved in the current month (Dec 07) & user are trying to add the records it displays the message as "Date deviates from permissible range [Purchase Order - Posting Date]  [Message 173-11]" as the period indicator is changed to Dec 07 in document numbering.
    The problem is when user changes the document date to Dec 07 for posting; system removes the tax codes, which is available in the document. Now as this is approved document user is not able to change or renter the tax codes.
    In this situation what can be done as the same case will again happen for the next month.
    Pls. provide the solution / work around for this problem.
    Regards,
    Yogesh Jadav

    hi yogesh,
    Cancel/Close the created purchase order.
    First you should change docduedate in posting period upto december 2007/end of fiscal year,by following the below path.
    (Administration->sytem intialization-> general settings--> posting period tab)
    Create a new purchase order.
    Send it for approval,authorizer can change date as required,
    once the posting date changes,tax code get refreshed,authorizer
    need to select tax code once again.
    <b>Tax code normally get refreshed when you change posting date it's normal
    system behaviour.</b>
    After authorizer does above changes,he can approve purchase order.
    Once purchase order is approved,orginator can add it as purchase order in draft stauts.
    <b>After approval we can not do any changes in purchase order.</b>
    Hope my solution will solve the problem.
    Thanks,
    With regards,
    A.Jeyakanthan

  • Posting Date to be changed?

    Hi SAP experts,
    Is it possible to have a FI document (not yet paid) (status Overdue only) to have the posting date changed?
    This document type was created after the IDOC processing and the date posted is February 1st.
    This should have been Jan 31st instead.
    Are there any legal constraints in editing this via FB02 or is there any other alternative because this posting must be part of pay run from January and not February.
    Any help is welcome
    Roger

    Hi,
    its better to reverse the transaction and update the IDOC processing with February date.
    via  FB02, you cannot edit any kind of dates.
    You can edit only the assignment and text
    regards,
    Sanju M S

  • MB_MIGO_BADI. Post document. Posting date?

    Hi Guys,
    I need your help. I'm using MB_MIGO_BADI, method post_document to change posting date in header. After user changed the posting date I need to check some conditions and if they are fulfilled I want to change this posting date with sending the W-message that posting date was changed. After this user needs to press post again and GR will be posted. My problem is that I cannot change the posting date in is_mkpf structure. In method PAI_HEADER I saved posting date changed by user and now I'm trying to use it to update is_mkpf
    field-symbols: <fs> type mkpf.
    if post_fy > del_fy.
    concatenate cur_fy '0831' into post_date.
    assign is_mkpf to <fs>.
    <fs>-budat = post_date.
    message w895(m7) with 'Posting date changed. Post again.'.
    but I have runtime error "overwriting protected filed". What I need to do to change the posting date with a new value?
    Thanks a lot.

    Hi,
    Create an implementation of this badi in SE19.
    Go to tcode SE19. Give the z implementation name. In the definition name of give MB_MIGO_BADI.
    If the z-fields are in table MSEG I hope it will be available to you in IT_MSEG table as well in the badi.
    Write the code for populating the fields. Save and Activate the badi implementation.
    KR Jaideep,

  • Mass change of posting date/fiscal year in LIV parked invoices

    Hi,
    We have OSS note 99775 (program ZFSAP2_B) for mass changing posting date and fiscal year for FI parked documents but I can not use this to change posting date for LIV parked invoices.
    Did anyone have any idea how to mass change the posting date of LIV invoices? any NOTE or PROGRAM?
    I tried to create a BDC using FBV4, which in turn calls MIR4, but system is over writing  initial line item amount and qty from PO. 
    I can read initial invoice line item values and over write again but I dont think this is how I should do.
    Please advice.
    Thank you all and best Regards
    Vijay Goli

    Hi
    Thank you very much for your input.I modified the program ZFSAP2_B given by sap and it worked fine for LIV invoices also.
    When I used this program  in 2007 for FV60 documents the document key was changed without raising the event FIPP.CHANGED. But this year when we changed the posting date the system triggered the CHANGED event and as a result of this event the workflow came to the starting point. We did not make any chages to workflow template during 2007. Any idea what could have casued this event to trigger?
    Thanks
    Vijay

  • Default key date, Document date and posting date needs to be changed automa

    Hi Experts,
    The user wants to create a variant for Foreign currency valuation, wherein the default key date, Doc date and Posting date needs to be changed every month automatically. Is it possible?
    Please let me know your thoughts.
    Warm regards,
    Murukan Arunachalam

    Hi
    Please follow this process.
    Only specify fields that should be changed
    Select these fields by entering an X in the checkboxes
    Enter a U in the UPDATEFLAG field
    Always specify key fields when changing the data, including in the checkboxes
    The configuration is an exception here. If this needs to be changed, you need to complete it again fully.
    Maintain quantities and dates in the schedule line data.
    1. Minimum entry:
    You must enter the order number in the SALESDOCUMENT structure.
    You must always enter key fields for changes.
    You must always specify the update indicator in the ORDER_HEADER_INX.
    2. Commit control:
    The BAPI does not run a database Commit, which means that the application must trigger the Commit so that the changes are read to the database. To do this, use the BAPI_TRANSACTION_COMMIT BAPI.

  • Auto change Posting date to current date in Service Entry on approval day

    Hi Guru
    The scenario is:
    User is creating a Service Entry (SE) ML81n
    The Posting date X is taken automatically as today's / sys date in SE
    The SE goes for approval in Approver's inbox.
    Approver is taken to SE when presses approval button on X+1 date i.e. the next day.
    In SE the posting date is still the same as X
    Posting Date automatically change to X+1 in SE.
    (I found that this issue does not have link to workflow,  i ts only in ML81n we need to look in. or there may be other opinion)
    Pl help in understanding to get this change automatically done.
    Best Regards

    There are two date fields in the accept data tab.
    1> Document date: The date at which the service entry sheet was created
    2> Posting date: When the entry sheet is created but not approved then
    document date and posting date are the same.The document date is updated only when the entry sheet is approved.
    If there are multiple levels of approval, the posting date will reflect the date last approval and will be updated with the date of final approval when the sheet is finally approved.
    Hope this has helped you !
    Regards,
    Aviator

  • Post-query trigger order for data blocks in master detail relationship

    Using Forms [32 Bit] Version 10.1.2.2.0 (Production) Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production.
    I have the following problem with a form I am working on. It has a master data block with multiple detail data blocks. I am trying to create a post-query trigger on one of these detail blocks that will do a select using the value of a field from another of the detail blocks.
    The problem is that the post-query trigger of the data block I am trying to do the select with is firing before the post-query trigger of the block I need the value from is firing. I tested by just putting in a display message and having it return the value of the id I am tryign to use. Right after I do a query on the form, I get the messages saying:
    "Error: cannot find price for id:" and there is no id, and then the message from the other datablocks post-query saying, "id is: 123"
    Is there a way to change the order that the datablocks are queried? Or should I be using a different trigger to do this?

    Do you mean as it is displayed in the object navigator? It's not the first block under the data block section, but it is above the other block that is exceuting before it, so I assumed the order in that did not matter.
    EDIT: Thanks Magoo! That solved the issue.
    Edited by: a small rabbit on Sep 4, 2009 11:28 AM

  • Change Posting Date of Parked Invoice on Approval

    Hi,
    I have a scenario where one user creates a parked invoice in FB60 and is routed to another user as a workflow item to release the parked invoice.
    I need to change the posting date according to some business requirements, upon release of the parked invoice by the approving officer. For e.g. if invoice is created in last fiscal year but approved in new fiscal year, the posting date shld be changed to last day of the last fiscal year. and all these needs to be coded somewhere. Which means I can't use the standard SAP config to set posting date to System Date or the original Date entered- as these are not what I want.
    Does anyone know of a user exit, BTE, BAdI to accomplish this? I tried some BAdIs, but the posting date is always being reset to the procedure for setting the posting date in T001-PP_PDATE. and i do not want this.
    Your help is greatly appreciated! Thank you!

    Hi,
    Can you please provide any documentation or any links regarding the Workflow approval process for the parked documents. As you have already dealt with it can you  atleast share the knowledge...
    any help is greatley appreciated...
    thanks

  • Change Posting Date of Parked Invoice on Release

    Hi,
    I have a scenario where one user creates a parked invoice in FB60 and is routed to another user as a workflow item to release the parked invoice.
    I need to change the posting date according to some business requirements, upon release of the parked invoice by the approving officer. For e.g. if invoice is created in last fiscal year but approved in new fiscal year, the posting date shld be changed to last day of the last fiscal year. and all these needs to be coded somewhere. Which means I can't use the standard SAP config to set posting date to System Date or the original Date entered- as these are not what I want.
    Does anyone know of a user exit, BTE, BAdI to accomplish this? I tried some BAdIs, but the posting date is always being reset to the procedure for setting the posting date in T001-PP_PDATE. and i do not want this.
    Your help is greatly appreciated! Thank you!

    hi,
    You have to cancel the Parked invoice and again you have to verify using the new date
    G.Ganesh Kumar

  • Change posting date during UD Reversal

    Hi All
    During working with a UD reversal program by using SAP note 175842 i came to know that the posting date only comes as the current date.
    If Today i am  reversing  the UD of a batch which is 15 days old (Example-15.02.2014) then the posting date in the material document will be of today.
    But my requirement is that, date should be the actual inspection lot creation date ie. 15.02.2014 . I have already discussed with the technical team , as
    per their understanding no option is there to edit the standard program.
    Please help me in this regard, is there any option to change the posting date.
    Regards
    D Mohanty

    Hi,
    I understand that you are looking to make 322 movement today but need posting date/ document date in past. I tried my reversal program and I could achieve this. While making the UD reversal, change the date which is required.
    In following case, I made the 321 today but in back posting date i.e 15.02.14. For this, refer Document date.
    Then again, while making the reversal, I entered the backdate (20.02.14) and same is appearing for the document. Refer 322 movement.
    Ofcourse you need to allow posting in previous periods using MMRV.
    If you need something else, please come up again.
    ntn

  • How to change the posting date in UD stock posting for a HU managed item?

    Hi,
    We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
    I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
    Thanks & Regards,
    Madhavan Krishnamoorthy.

    I don't think you can.
    Craig

  • Unable to change stock posting date at usage decision while inspecting HUs

    If we were using materials without WMS it's simple: thereu2019s a button in the screen for stock posting by which we're able to change document date and posting date; but we're using WM and the screen is slightly different: the button I'm referring it's gone!
    So, how to change the posting date at posting stock in QA11 when we're using handle units? Some end-user told me that in version 4.7 this was possible. I don't think so ...unless there was something customized at WM IMG...or maybe they were using a USER EXIT to bring a pop-up window for this (I'm starting to believe that this was implemented..). This is the first time I work with HUs, so I don't know how to manage this.
    Anyone?
    Seba
    Edited by: Sebastian Sniezyk on Apr 3, 2009 10:16 AM

    I solved it in this topic: Changing posting date at usage decision for handle units. How?

Maybe you are looking for

  • I have a macbook pro safari 5, it now won't open.

    I can't open safari - it won't let me delete and reinstall.   Following error code - please help Process:         Safari [414] Path:            /Applications/Safari.app/Contents/MacOS/Safari Identifier:      com.apple.Safari Version:         5.1.7 (7

  • Bridge CS5.1 Help

    I am cataloging some eps files using bridge.  When ever it catalogs the files you can see the images  but they are not the whole image its cutting off some of them. What am I doing wrong?  PLEASE HELP! Thanks in advance

  • Do SSD's have to 'warm-up' ?

    Hello, I purchased a Macbook Pro Core 2 Duo 2.4GHz 17" 4GB RAM, 160GB Hard drive (see below) http://www.everymac.com/systems/apple/macbook_pro/stats/macbook-pro-core-2-duo-2 .4-17-santa-rosa-specs.html I intentionally purchased the older machine, out

  • LogFileNotFoundException from one index but not another in DPL

    Hi folks, I have an entity type in the DPL called an Item. It has various secondary keys. When I try to use the "type" of the item to get all items of a particular type, I get a LogFileNotFoundException (the log file is clearly gone, and we have no p

  • Accidentally deleted quicktime

    while deleting files on my laptop I deleted quicktime. I can't open itunes without it. the error message says to reinstall itunes. If I do that, will I lose my existing itunes library? thanks