Creation of Workflow related to Invoice Posting

Hello,
  I need to create a Workflow which gets triggered whenever an Invoice is posted and should be sending a mail to a specific agent two days before the clearing date, intimating him that the clearing date is nearing.
  I have used the Event IncomingInvoice.Posted to trigger the Workflow, but I am confused as to how to send a mail two days prior to Clearing date. I thought I would create a Condition in which I will be using Posting date and Clearing Date and check when Posting date will be two days less than Clearing Date and send a mail. But I dont understand how exactly to write that.
Can someone Please give their suggestion as to what can be done or if it is even possible. Will be very grateful to you. Would REWARD heavily.
         Thanks in Advance.
Edited by: Dagny on Jul 23, 2008 2:36 PM
Edited by: Dagny on Jul 23, 2008 2:38 PM

Hi,
There is already some of tables which keeps record of the t-codes executed by the user
by giving the login id you can fetch all the data, currently I don't remamber the table name but there is table, this will solve your problem.
Regards
Bikas

Similar Messages

  • Workflow on vendor invoice posting

    Hi,
    Please suggest on is there is any workflow tables(SW***) which can be linked to the bseg/bkpf tables.
    Is there any way to link the SWWWIHEAD to Besg/Bkpf?.
    Please help.
    Regards,
    Neslin.

    Hi Kjetil Kilhavn  ,
    This is my requirment.
    'Could it be that you want to find the workflows involving a particular accounting document?'
    Here is the scenario in detial:-
    IF I CAN GO TO THE WORKFLOW LOG FROM THE FBL1N(Vendor line item display) ie for a paticular accounting doument it is going to the specific workflow only. So there should be a link b/w the a/c doc no and the workflow id. i guess..
    please suggest...
    Neslin.

  • Trigger workflow for MIRO invoice creation

    Hello,
    In standard functionning it is not possible to trigger the workflow for documents coming from MM.
    When using transaction MIRO and selecting invoice creation the created document has following value :
    BKPF-AWTYP = 'RMRP'. whereas creating it from FB60 results to BKPF-AWTYP = 'BKPF'.
    The problem is standard code checks AWTYP is not equal to 'RMRP' before creating event to start the standard workflow for invoice validation.
    Question : why sap doesn't allow workflow creation for invoices from MIRO?
    Thanks for your answers.
    Best regards,
    Laurent.

    Hi,
    here they are...
    WS20000397 MMIVBlockedP Treatment of inv. blkd for price, Log.IV
    WS20001004 MMIVToRel Release the Completed Log. IV Document
    WS00400026 MMIVquantity Treatment inv.blocked f.quantity reasons
    WS20001003 MMIVToCompl Complete the Parked Log. IV Document
    WS00400027 MMIVprice Treatment invoic.blocked f.price reasons
    All of these workflows are a one-step / one-level of approval and needs some workflow configuration at least for the agent assignments. For a full-blown workflow you should take these workflows as an example, how you could work with it.
    The last two workflows work with preliminary posting on the miro (transaction MIR7).
    Best regards,
    Florin

  • SAP Workflow for vendor invoice is posting into past?

    Dear experts
    I have a heavy problems with the workflow for vendor invoices. The following example demonstrates it:
    I have created a vendor invoice on 1st of December 2011.The responsible person has checked and released this invoice on 3rd January 2012. In Customizing it is setup that posting date will be overwritten with system date.
    Does anybody has an idea why it is not posted in January 2012?
    What does the workflow? It is posting that invoice with posting date 1st December 2011 not with 3rd January. If I have a closer look into the head of the SAP document the following parameters are shown: document date: 1st December, posting date: 1st December, entry date: 3rd January.
    Does anybody has an idea why entry date is 3rd January?
    Thanks in advance
    Udo

    Dear expert
          It is not standard behavior for the posting date to overwrite the document date - at least its not something that I've ever come across. I'm wondering if there is a custom substitution on your system that is overwriting the document date . Check t-code OBBH. The substitution is most likely at the document header level.
    Regards
       Ajeesh.s

  • Workflow with invoice posting

    Hello,
    I have to trigger a workflow at the time of invoice posting. I have tried business object BUS2081, BKPF & BSEG.  The workflow is triggered after MIRO but when I try to post using FB60 the workflow is not triggered.
    Can anyone help, please
    Thanks,
    Scott

    Hi Scott:
    Did your solution work for workflow with FB60 ?  I was initially tryng to find a user exit where I could use WF ABAP functions to raise an event to force the triggerrng of workflow to send notification e-mails for Invoice approvals.
    I am trying to do something similiar to what you did, but did not want to do the following set-up below if it did not work for you.
    <i><b>"Financial Accounting - AR and AP - Business transactions - Incoming Invoices/ Credit Memos - Carry Out and Check Settings for Document Parking
    The above node has to be configured for events to be triggered through FB60
    If you are using document parking Workflow then the business object to be used is FIPP & not BUS2081, BKPF or BSEG & if you maintain the WF settings as mentioned by Kiran, I think it should work"</b></i>
    Thanks,
    Ernesto

  • Can I post workflow related ques here???

    Can I post workflow related ques here???
    If not can anyone plzz tell me where I can.
    Regards,
    Arpit

    Hi Arpit,
    Workflow related Questions can be posted in the Business Process Management SAP Business Workflow
    Regards,
    Suresh Datti

  • Report for asset: invoice posted by vendor

    Hello Gurus,
    My users want to have a report to extract the list of vendor invoices posted on assets. But I am Not able to find any such kind of table relationship in which Asset details & vendor Details both are maintained.
    While creation of Asset They didn't maintained the vendor details.  So the Vendor details are not available in Asset Master Tables .
    So please if you people can help me out.

    Hi
    Can you  please specify the report name.
    regards
    Navin

  • Std workflow for Parked Invoices?

    hi guys
    are there any std workflows for parked invoices? Our requirement is that once the Finance clerk creates a customer or vendor invoice he should only be able to park it and not post the invoice. Once the invoice is parked then the system should trigger a workflow and a notification neeeds to be sent to the approver to approve the invoice. Once it is done the finance clerk will post the invoice.
    I switched on the event trace and did a trace on while creating a parked invoice. No event is triggered when the document is parked. If i post the document the event POSTED of object FIPP is triggerd. So since we dont have any std events raised when a document is parked is it possible to have a workflow?

    Hi,
    The event FIPP.CREATED is raise via the customizing (SPRO)
    Financial Accounting -> Financial Accounting global setting -> document -> document parking -> create workflow variant for parking documents.
                                      Assign co.code to a workflow variant for parking documents.
    Have a look at ws10000051.
    Regards,
    Ronit.

  • Develop a Workflow to unblock Invoice

    Objective
    - Use BTE u2013 Business Transaction events to raise the event Invoice is blocked
    - Extend existing Business object and add new method to unblock the invoice
    - Develop a Workflow to unblock Invoice
    Questions:
    - Is there any standard FM to unblock the invoice?
    - EVENT Text
    00001025 POST DOCUMENT: Final checks completed
    I have identified this BTE for triggering WF using blocked price event. But this event get called twice so WF get called twice. Is there any way to prevent it?
    - I have copied the FM for above event and this FM gets called when invoice is posted. But in import parameters I am not able to find the key field l EBELN (Document no).
    Thanks & Regards,
    Anshul

    Hi,
    I think you can try SAVE routine in RV60AFZZ ( or sort ) to trigger your workflow...
    Regards
    Gautam Maini

  • A/R Invoice Posting Split Revenue A/c Amount to muliple Revenue A/c

    Hi All,
    One of my customer wants to split his Revenue A/c amount into different Revenue A/c.
    Case : My customer is in Job work business, he do Coating and Painting Process. he charges Painting charges and coating charges on same Item sent by his customer. Now he wants to enter 2 different rates for same line item and wants Invoice posting done on "Revenue from Coating" and "Revenue from Painting" A/cs.
    Plz guide me what to do for it.
    Regards,
    Kishor Patel

    Hi
    Create the Item as labour Item and Map Revenue Account in G/L Account Determination as below screen shot.
    Labour Item Creation
    G/L Account Mapping under Item Master Data => Inventory Data = Set G/L Account by as => Item Level and Map the Revenue Account mentioned as below screen shot.
    Finally you choose that item in Choose item list and please check this scenario in Test Database.
    With Regards
    Balaji

  • Block creation of an A/R invoice

    Hello everyone,
    I have a doubt; during my operation itu2019s common to change the a/r invoice posting date, to create an Invoice. Do you know if thereu2019s a way for asking authorization in the creation of this kind of documents. If the date of creation differs from the posting date.
    Thanks,

    Hello, I try buy doing this queries but they do not work,
    1) SELECT DISTINCT 'TRUE'  From OINV T0 Where T0.[Docdate] <>  T0.[CreateDate]
    2) If $[$10.0.0] <>  $[$??.0.0] SELECT DISTINCT 'TRUE'
    The second one is almost working but I donu2019t know how to obtain the Item id of the T0.[CreateDate]
    Thanks

  • SAP HR Technical Accounts related to payroll posting.

    Hi experts,
    I have a doubt in Assign Technical Accounts related to payroll posting.
    Menu Path IMG -> Payroll SG -> Reporting for Posting Payroll Results to Accounting -> Activities in the AC System -> Assigning Accounts -> Assign Technical Accounts
    Account key    Account (GL)
    1001               1307090
    *1307090 Clearing Account.
    My doubts are
    u2022     If I am maintaining a GL account as clearing account, is it applicable for the entire wage types across company codes?(As this config is not based on Co code,but based on Chart of accounts)
    u2022     Where these account keys we will be assigned in HR side to wage types / no need to assign?
    Regards
    Thomas

    Hi,
    My issue is not solved yet.
    I have tried that option now documents are splitting and there is no error in document creation, but now its a different  issue  of amt in that GL acc.
    My scenario is we are creating a new company code.So group of employees I need to move from one company to another.
    But their previous month claim needs to be posted in the old cost centre.
    Means when I am running Jan payroll (period 1), December claims which is created in Jan should processed and two documents has to be created. u2013Its is done now.-No issues.
    But now the new GL code (not assigned to any symbolic account) which is assigned for splitting ,in  the technical account is not displaying in the posting document.
    Example:-IT0015 record with origin as 15.Dec.2010, but created in Jan..
    In my document it is taking as       
    GL related to wage type u201C/552 Stat.net post u201C- as debit in period 1 Jan document .
    and
    GL related to wage type   u201C9xxx- staff out patient claimu201D u2013as debit in period 13 Dec document .
    Now question is what is the relevance of the GL given in the technical accounts, as nothing is posted in to that account?
    Edited by: Thomas Padiyara on Dec 3, 2010 11:17 AM
    Edited by: Thomas Padiyara on Dec 4, 2010 3:53 AM

  • Configuring double invoice check for vendor invoices posted through FB60

    Dear all
    Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
    for miro documents..we can use Tcode OMRDC
    Is there any such tcode which can be used for configuring fi invoices for double checking..
    regards
    Expertia

    Dear Expertia,
    In FI,when checking for duplicated invoices, the system compares the
    following :Vendor, currency, company code, gross amount of the invoice,
    reference document number and Invoice document date.
    SAP Note 305201 clarifies this in a more details; please read it.
    The following fields must be identical for Duplicate invoice check
         Company code                              (BUKRS)
         Vendor number                             (LIFNR)
         Currency                                  (WAERS)
         Reference number                          (XBLNR)
         Amount in document currency               (WRBTR)
         Document date                             (BLDAT)
    If the document is having any one of the above filed different then the
    system does not consider it as a duplicate invoice.
    Also It will check duplicate invoice check in vendor master data and
    in posting key is there check box selected for sales related
    The setting you making in OMRDC i.e Materials management->Logistics
    Invoice Verification->Incoming Invoice ->Set Check for Duplicate
    Invoices is only valid for MM and not  FI invoices posted via FB60/FB65
    You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
    in the relevant vendor master record (transaction FK03).
    Please also check, that message F5 117 has been set correctly in the
    IMG using this path:
    Financial Accounting -> Financial Accounting Global Settings ->
    Document -> Default Values for Document Processing -> Change Message
    Control for Document Control For Document Processing
    Finally & mainly, go to the relevant posting key is defined as sales
    related in transaction OB41. You have to flag this field if the
    duplicate invoice check should work.
    I hope this helps You.
    mauri

  • Workflow for Reversing Invoice (FB08)

    Hi Gurus,
                  We are configuring Payment Release workflow for our project.
                  I am using the standard Workflow WS00400012  for the same and its working fine.
                  In the above mentioned workflow, if the payment release is rejected it will go the next step 'Change document line'
                  to change the line item and post again.
                  But now the requirement is, once the payment release is rejected system should do the invoice reversal for that
                  document (FB08).
                  Is this possible by customizing the standard workflow ?
                  If so, is there any business object or workflow to reverse invoice through FB08.
                  Please suggest me.
                   Thanks in advance,
                   Santosh.

    Hi Suresh,
                   Thanks for the reply.
                   I have checked those methods to display and edit documents.
                   Actually they are calling the Transaction code  directly and we can change the data manually and save.
                   But we want the workflow should take care of the reversing invoice without manual interaction.
                   Can i use any BAPI or FM in my custom method to meet my requirement ?
                      Thanks in advance,
                      Shyam.

  • SRM Invoice posting without PO reference - Contract Management

    Dear experts,
    We are on SRM 701 with ECC 6.0, in ECS.
    Our requirement is to allow invoice posting in SRM, without PO reference. The invoice will only refer to an existing SRM central contract.
    We did all the relevant customizing and we were able to:
    Replicate SRM central contract to ERP, through PI;
    Invoice creation in SRM and posting in the backend (FI), through IDOCs.
    As far as I understood in this scenario, the invoice posting is made only through FI (not using MIRO).
    My expectation was to have the contract number in some field at the invoice document level, in the FI.  However there is absolutely no reference to the contract in the invoice document. Does anyone know if this is a standard behavior and/or any idea of how to achieve my requirement to have the contract number in the invoice posting?
    Thanks in advance.
    Regards,
    Andreia

    Hi guys,
    Any thoughts on this?
    Thanks!
    Andreia

Maybe you are looking for