R: Event BKPF.CREATED not raised from MM posting

Daniele Cattaneo daniele.cattaneo at e-city.it
Tue Nov 30 04:23:24 EST 2004


I got the event CREATED of BKPF using BTE (BTE event 1050) as suggested by
Heinz; last week I tried other BTE event but not the right one, evidently!!!
In this way the system can raise an FI event when posting an invoice
verification in MM. Great!
Thanks a lot!
 
Daniele
 
 
 
 
 
-----Messaggio originale-----
Da: SAP Workflow [mailto:Owner-SAP-WUG at MITVMA.MIT.EDU]Per conto di
Kjetil Kilhavn
Inviato: martedi 30 novembre 2004 9.30
A: SAP-WUG at MITVMA.MIT.EDU
Oggetto: Re: Event BKPF.CREATED not raised from MM posting
 
 
Unfortunately... you have to take care of this yourself as far as I know
(we use 4.6C). I saw Andy's reply, but in our system that would not solve
the problem. Therefore a BAdI implementation for invoice_update has been
created. In the change_at_save method we perform our own determination of
whether payment blocking is relevant (the same determination that SAP does
in FI), set a memory variable (SET PARAMETER ...) with the corresponding
payment block code (blank or the non-changeable code) and pick this memory
variable up in a FI substitution. There are probably other options here,
but what you can't (shouldn't) do is change the FI document block code
after it has been posted.
 
As far as I can understand SAP has been thinking that the people who do
invoice processing should not have full access to FI. We have not used code
R (which is always used for follow-on documents from MM invoices) as the
non-changeable code. I suppose that in our organization they never had this
divide between people working with invoices and people working with
accounts payable (FI), and that may be the reason they refused to use the
MM solution fully. In hindsight I think that is our loss, but at the time I
regarded the missing BSEG CREATED event as an error (or at least poor
integration). In a perfect world this would of course be customizable. But
then again, Bush was re-elected wasn't he?
 
As you probably have discovered there are better customizing options for
payment blocking MM documents. There is also a transaction (MRBR) to
manually release these blocked invoices in addition to the option of having
them automatically released when the condition causing the block no longer
exists - e.g. goods receipt not registered for a purchase order. The
follow-on documents will be updated if the payment block is removed in MM.
However, there is no "backwards" integration; if you remove the FI payment
block there is no update of the original (MM) document. This leaves an
inconsistency in the system. Making the "right people" aware of this
inconsistency has caused nothing more than shoulder exercises. Transaction
MRBR is blocked in our system. 'Nuff said...
 
It is probably worth your while setting up two payment block solutions, one
for MM and another one for FI instead of cheating it like we have done. If
you look at component MM-IV in the workflow explorer you will see that
there are several standard workflow templates (five in our system) for
various scenarious, one of them for releasing.
--
Kjetil Kilhavn
 
 
 
 
 
                    Daniele Cattaneo
                    <daniele.cattaneo at e-        To:
SAP-WUG at MITVMA.MIT.EDU
                    city.it>                    cc:     (bcc: Kjetil
Kilhavn)
                    Sent by: SAP                Subject:     Event
BKPF.CREATED not raised from MM posting
                    Workflow
                    <Owner-SAP-WUG at MITVM
                    A.MIT.EDU>
 
 
                    29.11.2004 13:54
                    Please respond to
                    "SAP Workflow Users'
                    Group"
 
 
 
 
 
 
Hi everyone,
we need to get the event CREATED for business object BKPF when the system
creates a new invoice verification. Well, when we post using MIRO
transaction the system raises the POSTED event for business object BUS2081
(Invoice Verification) but we need to know when the system creates the
relative account document (so the CREATED event for BKPF) for our process.
 
When you post from MIRO a new record is written in DB table BKPF, but the
corresponding change document logs only changes not inserts so change
documents seems to be useless; I found no Business Transaction Event and no
BAdI or user exit that could be usefull to call the event creation function
module.
 
Any idea is welcomed! Thank you!
 
Daniele
 
 
 
 
-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you.
 


More information about the SAP-WUG mailing list