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

Similar Messages

  • Starting workflow with HTTP-Post

    Hello,
    like I wrote in Starting workflow with HTTP-Post I have a problem with starting a workflow with a http-post:
    I have an installation of SAP ERP 2005 SR2 IDES on Win2003 SR2 SP2 and want to start a simple workflow with an external application. Therefor I created an elementary test-workflow and set the general task flag so everybody is allowed to start it. So far everything work fine as I start it manually.
    Now I want to start the workflow by an external application over a HTTP-Post as described in
    http://help.sap.com/saphelp_47x200/helpdata/EN/54/de9e3887d6174fe10000009b38f842/content.htm
    I configured the webserver (Customizing Web-Server) as follows:
    Service: WebFlow (Intranet)
    Address: http://192.168.0.216:8000/
    Path: SAP/BC/WORKFLOW_XML/?
    and sent a post via perl to http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004
    <?xml version="1.0" ?>
    <WfMessage Version="1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request ResponseRequired="No">
    <Key>http://192.168.0.216:8000/SAP/BC/WORKFLOW_XML/?protocol=01&localkey=WS99900004</Key>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance.Request StartImmediately="true">
    <ObserverKey>http://192.168.0.224</ObserverKey>
    </CreateProcessInstance.Request>
    </WfMessageBody>
    </WfMessage>
    The Web-Server returns
    C:\FH\SAP\perl-scripte>perl http-post.pl
    HTTP/1.1 200 OK
    Server: SAP Web Application Server (1.0;700)
    Content-Length: 0
    Content-Type: text/plain
    Client-Date: Sun, 01 Jun 2008 11:00:24 GMT
    Client-Peer: 192.168.0.216:8000
    Client-Response-Num: 1
    but it seems that nothing happens.
    I also tried to post the XML via html-form-field with the same result.
    Did I forgot something essential?

    Hello Daniel
    It's 6 years after you posted your question, but I found your post very useful and thought it would be worth updating for future reference.
    I've just managed to trigger a workflow via http.
    URL :
    http://server.domain:8000/sap/bc/workflow_xml?sap-client=110
    Java :
    URL obj = new URL(url);
    URLConnection con = (URLConnection) obj.openConnection();
    String userpass = "username:password";
    String basicAuth = "Basic " + javax.xml.bind.DatatypeConverter.printBase64Binary(userpass.getBytes());
    con.setRequestProperty ("Authorization", basicAuth);
    con.setRequestProperty("Content-type", "text/xml");
    con.setDoOutput(true);
    DataOutputStream wr = new DataOutputStream(con.getOutputStream());
    wr.write( xml.getBytes("UTF-8") );
    wr.flush();
    wr.close();
    You can then read the response.
    I found that until I added the sap_client parameter I couldn't debug in CL_HTTP_WORKFLOW_XML->IF_HTTP_EXTENSION~HANDLE_REQUEST. Then I found that the content type has to be "text/xml".
    I set the xml variable (the data sent to ECC) to :
    <?xml version="1.0" ?>
    <WfMessage Version="SAP.1.0" xmlns="http://www.wfmc.org/standards/doc/WF-XML">
    <WfMessageHeader>
    <Request>
    <ResponseRequired>Yes</ResponseRequired>
    </Request>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <Operation>CreateProcessInstance</Operation>
    </WfMessageHeader>
    <WfMessageBody>
    <CreateProcessInstance>
    <Key>HTTP://server.domain:8000/SAP/BC/WORKFLOW_XML/?~localkey=WS90000074</Key>
    <ContextData>
    <YOUR_CONTEXT_VARIABLE>x</YOUR_CONTEXT_VARIABLE>
    </ContextData>
    <StartImmediately>Yes</StartImmediately>
    </CreateProcessInstance>
    </WfMessageBody>
    </WfMessage>
    regards
    Steve

  • Problem with invoice posting

    Hi .. i,m facing an issue with intercompany Invoice posting .
    I'm having delivery note as a reference to that invoice but im getting error message that delivery note doesnot exist..
      i have entered correct delivery note..
      how this can b overcome?
      Thanks and regards..
          Manoj

    hi,
    for having del. note as ref in MIRO, first you must have entered the same del. note while making GR (MIGO), then only that is possible.
    Have you done that,
    other wise PO ref is the best & will work anyway
    Regards
    AK

  • Workflow on invoice parking and posting

    Hello,
    Can anybody guide me how to configure the workflow for invoice parking and posting in detaills?
    Thanks
    Nilesh

    hello ,
    Prerequisites
    In the Implementation Guide (IMG) for Logistics Invoice Verification, you can specify for which company code, which vendors, which invoices, and above which amount a document is subject to release. In an invoice document that is completed for posting, the amount that is subject to release is based on the gross amount. (Logistics Invoice Verification ® Document Parking ® Define Release Criteria)
    Technical Implementation (MM-IV-LIV)
    Object Types
    Object technology is used to create the interface between the ERP functions and the Workflow system. The information given below is primarily of a technical nature and is not necessary for an initial overview.
    Incoming invoice
    Object type Bus2081 (Incoming invoice)
    Workflow Template
    The actual operational procedure is implemented as a workflow template. You will find this workflow template in your ERP system.
    Workflow template: WS 20001004
    Description: Release the Completed Log. IV Document
    Triggering Event for Workflow Template
    The event for workflow template IncomingInvoice.CompletedToRelease is triggered if the parked document is complete for posting (RBKP-RBSTAT='B') and is subject to release (RBKP-RFGKZ='X').
    This coupling between the event and the workflow template to be started is deactivated in the standard system. If you want to use the workflow template, you have to activate it in Customizing for Logistics Invoice Verification.
    User Roles
    You complete parked invoices for posting and release them at the following organizational levels.
    Processor Determination: Clerk Responsible for Releasing Invoices
    If you have already maintained an organizational unit, you can use it here.
    If no organization unit is available, create an organizational unit that includes the people responsible for releasing invoice documents that are complete for posting.
    Use the organizational unit in Customizing for Logistics Invoice Verification in the activity for defining release criteria.
    Processor Determination: Clerk Responsible for Completing Invoices for Posting
    If you have already maintained an organizational unit, you can use it here.
    If no organization unit is available, create an organizational unit that includes the people responsible for completing parked invoice documents for posting.
    Link the organizational unit to the single-step task TS20000879:
    ·        By simple processor assignment
    All users in the organizational unit receive the work item.
    ·        By defining an individual role
    Only selected users in the organizational unit receive the work item.
    Authorization Objects
    You must have maintained the authorization to display invoices (activity 03, M_RECH_WRK) for users who are responsible for releasing invoices.
    You must have maintained authorization to change parked invoice documents (activity 77, M_RECH_WRK) for users who are to complete parked invoice documents for posting.
    Several other specific customizing steps are necessary for this workflow template in addition to the general customizing that is necessary to make sure that the workflow system functions properly.
    Activating Event-Receiver Linkage
    The event IncomingInvoice.CompletedToRelease (Invoice document completed for posting and subject to release) for object type BUS2081 (Incoming invoice) is an event that triggers workflow template WS 20001004 and is entered in the event linkage table as such as the standard event.
    This coupling between the event and the workflow template to be started is deactivated in the standard system. If you want to use the workflow template, you activate the linkage between the triggering event and the workflow template as receiver of the event in Customizing for Logistics Invoice Verification. (Logistics Invoice Verification ® Document Parking ® Activate Workflow Template for Release for Posting.)
    Use
    The release of invoice documents that have been completed for posting is supported by a link to a workflow procedure.
    Prerequisites
    The event IncomingInvoice.CompletedToRelease must be triggered for an invoice (BUS2081) so that a release procedure is started. We recommend implementing this workflow together with the SAP workflow template WS20001003.
    In Customizing for Logistics Invoice Verification, you maintain the activity Define Release Criteria under Document Parking.
    Features
    Release for Posting
    In the release step, the person responsible for releasing the invoice document decides if it should be released. The system uses the virtual attribute ReleaseAgent for object type BUS2081 to determine the person responsible for releasing the document. The release criteria in Customizing for Logistics Invoice Verification are checked for this.
    If the person responsible decides to release the document, it is first released in the background and then posted.
    If he or she decided to reject the document, it is forwarded for further processing to the accounts payable clerk responsible for completing invoice documents for posting. The rejection reason should have been entered using the memo function.
    Completing Invoices for Posting
    The accounts payable receives a work item in his or her inbox. In this work item, he or she can read the reason why the invoice document was rejected and change it. If the accounts payable clerk parks the changed invoice document, saves it as complete, deletes it, or posts it, the workflow ends. It makes sense to save the invoice document as complete and therefore trigger the release workflow again, assuming that the invoice document is subject to release.
    If the invoice document is parked, deleted, posted, or released in the background outside the workflow process, the workflow ends.
    regards
    venga

  • Reversing A/P Invoice posted with wrong date and inventory cost adjustment

    Here's the situation:
    We had a PO dated 9/1/09 for items with a cost of $14.50, a Goods Receipt was entered 9/15/09 for the items with the same cost on the PO of $14.50.  Somehow the order got lost in the mix and the AP invoice wasn't entered until today, with a posting date of 1/21/10 and the cost was corrected per the original vendor invoice to the right amount of $19.33.  The invoice was actually dated 9/15/09.  This resulted in hitting the vendor, purchases clearing and the inventory account (for the cost adjustment) in January 2010 when it should have occurred in September 2009.
    The inventory itself has come and gone in the time between the GR and when the invoice was done with the incorrect date.  Normally I would try to reverse the transaction with a Credit Memo and start over, however since the inventory side happened so long ago, I don't see any way of easily going backwards.  I thought about doing service CM/invoice but what I am most concerned about is having the inventory valuation occur properly at the correct time.  I'm not sure how to go about this.
    Using SAP B1 2007A PL42 with moving average inventory.
    Any thoughts would be appreciated.

    Nicole,
    I am afraid you may not have ability to do the adjustment based on historical date that long times ago.  You know, the moving average has limited calculation based on current quantity and cost.  There are no options to go backward especially new year is coming.
    Thanks,
    Gordon

  • Service PO with Freight/ Insurance Condition- Invoice posting

    Hi,
    I'm using ECC6.0 version. I'm getting one problem in External Services Procurement.
    Issue is:
    1. Created a Service PO. Item Detail level, maintaines 1 text service with 10 Qty @ 50 INR.
    2. In PO item Conditions tab, maintained Insurance condition (which is created by copying Frt. Condition FRB1) with say Rs. 100/-. Actually this should be levied on the overall item level at item overview Qty (i.e. 1 AU).
    3. I made Service Entry, Acceptance.3.
    At the time of Invoice posting, when I choose Goods/Services+ Plannd Del. costs, system proposing 5,000 ( 10 qty x 100 inr), instead of showing 100 inr. i.e. system proposing sub item qty times insurance.
    Is there any setting to control this price?
    Regards,
    Kanth

    Hi Sujit,
    We can't maintain it as Header Condition because for service PO just like other POs, some times we may maintain more than 1 item which covers different Rates.
    Please check my scenario
    Has anybody got similar problem?

  • SD invoice posted with document type RV ,

    Hi all,
    I try to do incoming payment for SD invoice posted with document type - RV. when i used to do incoming payment by transc code: f-28. An ABAP dun error occurs, stating termination " message type-X".
    Is it possible to do incoming payment for SD invoice from FI. Urgent help needed.
    Regards
    Raj

    Hi,
    Once an Invoice is created in SD, An Accounting document is generated with document type RV. RV Doc. Type shows that the customer is liable to pay the amount.
    While you post the document through f-28, the document type shuld be changed to customer payment.
    It may be one of the reason. So select the docment type customr payment  but not RV and try
    Regards

  • Std. Transaction / Report to List all PO's with no invoice posting

    Hi All,
    I would like to know is there a standard transaction or report, which lists out all PO's for which goods receipt has been done, but invoice posting has not been done?
    Vivek

    Hi All,
    Thanks for your inputs,
    1. MR11 - Can you please let me know what input conditions do i have to give, to view only those PO's for which GR is done & Invoice not posted, because when i run this transaction it is showing all PO's which have invoice posted as well.
    2. ME2M - I am not able to select the dynamic selection option, it is in grey, how do i activate it?
    3. ME80FN - This gives a list of PO's line wise, but what i need is all PO lines for which GR is done, but no invoice posted.
    Await inputs.
    Vivek

  • Invoice posting through SRM

    Dear Experts,
    Currently we are implementing SRM 5.0 classic scenario and backend system is ECC 6.0.
    We are posting invoice through SRM. Is there any possibilty when we post the invoice through SRM then instead of directly posting we should park the document.
    Can you please let me know how to control this report?
    Thanks and Regards,
    Ravi

    Hi,
    Thanks for your reply. I understand that we can activate the workflows if we post invoice by an employee.
    We are implementing MM-SUS scenario and in this case vendor will post the invoice through SUS. I wan to control this invoice in mm instead of posting directly it should park the invoice.
    Pleas let me know if anybody implements MM-SUS scenario with this scenario.
    Thanks and Regards,
    Ravi

  • Reversal of workflow for invoice

    Hi gurus,
                         Can we able to reset the workflow for invoices which have already been approved by the VO, but not approved by AO?
    With regards,
    Arun.

    I did not undertand when u said, check on the receiving side. However, here is an example of the issue that I am encountering:
    In the subleder module for payables, I did the following setups.
    1. proprietary accounts
    2. budgetary accounts
    3. Reversal of accruals
    Scenario:
    1. Set the qty tolerance for $100.00
    2. Create a 3WAY Purchae Order for $150.00 ( quantity 3 and unit price as $50.00)
    3. Create a receipt for $50.00 (quantity 1 and unit price as $50.00)
    4. Create an invoice for $100 (quantity 2 and unit price as $50.00) and match to the Purchase order
    5. Validate the invoice ( the invoice will be validated as the amount is within the tolerance limit)
    6. Run create accounting program.
    7. We notice that the proprietary entries, budgetary entries and reversal of accruals are being recorded for $100.00 (Invoiced amount).
    Ideally, Proprietary and budgetary entries should be for $100.00 and reversal of accruals should be $50.00.
    So, I do not understand how to configure the reversal of accrual setups to post recevied amount and not invoiced amount.

  • Invoice posting in EBP

    I am trying to post invoice in EBP (Ex Classic). but it is giving error as follows.
    "Approval workflow is ambiguous. Inform system administrator"
    I know in EBP you need to have workflow for each doc and I have activated following workflow with starting condition. Invoice approval w/o approval - WS10400016
       (  " vollst&#1492;ndige Gutschrift egal von wem angelegt
         &EC Incoming Invoice.Eval. receipt sett.& &#8800; X
         and    &EC Incoming Invoice.InvoiceCreditMemoInd& = CM
         and    &EC Incoming Invoice.CompletionStatus& = X
      ) " vollst&#1492;ndige Gutschrift egal von wem angelegt
      or    (  " vollst&#1492;ndige Rechnung von Anforderer angelegt
         &EC Incoming Invoice.Eval. receipt sett.& &#8800; X
         and    &EC Incoming Invoice.InvoiceCreditMemoInd& &#8800; CM
         and    &EC Incoming Invoice.CompletionStatus& = X
         and    (  " 
            &EC Incoming Invoice.WFL Creator Type& = R
            or    &EC Incoming Invoice.WFL Creator Type& = D
         and    &Gross Amount(EUR)& < 1,000.00
      ) " vollst&#1492;ndige Rechnung von Anforderer angelegt
      or    (  " Rechnung von professionalem Benutzer (Invoicer) angelegt
         &EC Incoming Invoice.Eval. receipt sett.& &#8800; X
         and    &EC Incoming Invoice.InvoiceCreditMemoInd& &#8800; CM
         and    &EC Incoming Invoice.WFL Creator Type& = P
      ) " Rechnung von professionalem Benutzer (Invoicer) angelegt
      or    (  " Rechnung von Lieferanten f&#63637;r BE-Bestellungen (dabei Anforderer nicht gefunden) oder f&#63637;r externe Anforderungen
         &EC Incoming Invoice.Eval. receipt sett.& &#8800; X
         and    &EC Incoming Invoice.InvoiceCreditMemoInd& &#8800; CM
         and    &EC Incoming Invoice.WFL Creator Type& = V
         and    &EC Incoming Invoice.ApproverList& NX 
         and    &Gross Amount(EUR)& < 2,000.00
      ) " Rechnung von Lieferanten f&#63637;r BE-Bestellungen (dabei Anforderer nicht gefunden) oder f&#63637;r externe Anforderungen
      or    &EC Incoming Invoice.Eval. receipt sett.& = X
    I do not know what ambiguity is in workflow. Pls. help
    Sanjay

    Hi Sanjay,
    When the system says 'ambigous' that means either more than one WF starting condition is true, or none.
    If you need to have no approval WF for invoices, then put a simplier condition with something as '1=1' or 'docType =BUS2...'(je.je I don't remember the OBJECT ID for Invoices, BUSS2203 maybe )
    If you need for certain cases to get an approval on the Invoices, then you have to check that one and only one starting condition can be true for each invoice created.
    PS: Also be sure to activate only the starting coinditions you need (event linkage), it is the Red/Green light on the upper left of each starting condition.
    Regards.
    Vadim
    PS: Please don't forget to reward points on helpful answers  on your threads.

  • Wrong Vendor Invoice Posting Due To Wrong Excise Tax Code

    Hi:
    We have created a Purchase Order as per below:
    Qty     10
    Price     100
    Value     1000
    Excsie 10%     0
    Cess     0
    SECess     0
    Value+Excise     1000
    VAT 5%     50
    ValueExciseVAT     1050
    (Please note that the PO was to be created in the following fashion as the Material was excisable)
    Qty     10
    Price     100
    Value     1000
    Excsie 10%     100
    Cess     2
    SECess     1
    Value+Excise     1103
    VAT 5%     55.15
    ValueExciseVAT     1158.15
    We did the Goods Receipt and the FI Document is as follows:
    24340000     Paper Stock     BSX     1,000.00
    13110100     GR/IR-ext proc     WRX     1,000.00-
    We did the Vendor Invoice Posting as follows:
    100183     SIEGWERK INDIA PVT LTD (SICPA)     KBS     1,050.00-
    13110100     GR/IR-ext proc     WRX     1,000.00
    24638100     VAT Recoverable     JP5     50.00
    The Material was issued to Cost Centre
    Later at the time of Excise Invoice posting, we came to know that the Tax Code in the Purchase Order was wrong. Here in our case, we have created separate Tax Code based on Excise Percentage. For example, V1 for VAT 5%, E1 for VAT %+Excise 10.3%.
    To post the excise invoice, we changed the Tax Code in the Purchase Order and did the Excise Posting as follows:
    24820020     CENVAT Inp SHEcess     1.00
    24820000     CENVAT Inp BED     100.00
    24820010     CENVAT InpEcess     2.00
    13113920     CENVAT clearing     103.00-
    My Question:
    a. Is this the correct way?
    b. What about the following FI Entries which got generated when we do the MIRO with actual Tax Code:
    100183     SIEGWERK INDIA PVT LTD (SICPA)     KBS     1,158.15-
    13110100     GR/IR-ext proc     WRX     1,000.00
    13113920     CENVAT clearing     JI1     100.00
    13113920     CENVAT clearing     VS9     2.00
    13113920     CENVAT clearing     JI6     1.00
    24638100     VAT Recoverable     JP5     55.15
    Please guide.
    Regards,

    Thanks Sanjoo for the reply.
    Here my worry is the all the postings have been made in SAP in Production Client.
    The User has already done the postings for MIRO & J1IEX without informing to us, and the volume of transactions is huge.
    We are in the back-log mode and at this stage, we can't go for any reversal . I am Just exploring the alternatives.
    Our MM & FI Users are little bit smart, when ever they do some mistake, they simply say "we will pass a JV" and we are not able to educate them that the JV is not a Solution. Please guide.
    Regards,
    PK

  • AR Reserve Invoice - Posting date

    Hi,
    I have a customer who really would like to address the issue with the posting date on AR Reserve Invoices, because they think this field should be open for editing until the invoice has been paid.
    Is there a good reason for why the posting date field is closed after adding the document?
    And is there a possibility that this field can be opened for editing in a future version?
    Best regards,
    Lena-Marie D. Tørresvold

    Hi Lena.......
    The reason might be based on Posting Date the Payment is linked because Payment will be done as per the payment terms and payment terms ultimately linked with Document Date.
    And its preferable too as accounting is puerly done on the basis of date which is one of the most important factor from Financial Reports point of view.
    So if you think to edit the dates of docs when it si added then it is unncessary as it wont make any sense for finance reports........
    Hope you got the logic....
    Regards,
    Rahul

  • Open invoice posting while concelling in next month other than it was creat

    Hi Gurus,
    Please help.....
    Is there any way to do the following requirement???
    In transaction code : VF11, where we cancel billing document ,
    Invoice posted in old / closed financial period and got cancelled in current period, the cancel invoice should be posted as an Open document,with out reversing the original invoice.
    Thanks,
    Bhupender Dangi

    HI Manisha
    I will answer your question one by one.
    The answer for the first question is, YEs you can have any many periods open as you wish. This you can do in T.Code OB52. In OB52 , You have to give from which period to which period it should be open.
    Now coming to the second question. i don't think there is any other way to upload the balanace.
    If it helps, plz assign points.
    Regards
    Rajaram

  • Outbound delivery date in June and customer invoice post in July,tax rate?

    Hi Experts
    tax rate (June)=22%
    tax rate (july)=24%
    issue is Outbound delivery date in June and customer invoice post in July,so sytem taking tax rate =24% instead of 22%.Because outbound delivery is happened in June.
    Please let me know that,
    1)how system picking tax rate on base like billing date or service render date or ...?
    2)how to take tax rate (june)=22% in July posting.
    regards
    sachin

    Tax Rate is picked based on the pricing date.
    You need to check with your SD collegue to configure the pricing date to be equal to outbound delivery date to pick the outbound delivery date based tax rates.
    Regards,
    Gaurav

Maybe you are looking for