WF for Accounting Document line entry

Ulrich Mende wug at mende-edv-beratung.de
Tue Mar 19 12:53:42 EST 2002


Hi Govind-
are you interested in a SAP office message only? Then may be you could
use the Open-FI-Interface and from there directly send your message via
FM SO_NEW_DOCUMENT_SEND_API1.
If you want to trigger an event of a BOR-objecttype, you can do this in
that interface too.
Another good idea is to create an event together with a change document
(TA SCTO)
On the other hand an event can not only trigger a workflow. It can
directly call a function module. Therefore you have to write a special
FM with an interface like SWW_WI_CREATE_VIA_EVENT and put it into the
type linkage of that event (TA SWETYPV). The event manager will call
this FM every time an event is created.
 
Best regards Uli
 
 
 
 
 
 
"Govindarajan R, Consultant/PWC" <pwcgovind at bheltry.co.in> schrieb am
19.03.2002, 12:50:20:
> We are in 4.6B.
> I have developed workflow for sending mails when a sales order is
> changed.
> Now I am trying to develop a workflow for sending mail when an
> accounting document (Vendor Payment or Customer Receipt) beyond a
> certain value is created.
> Accounting value is stored in BSEG table and Header table is BKPF.
> The steps that I am planning are :
> 1. Create a subtype for BSEG say ZBSEG.
> 2. Create an event for ZBSEG say ZCREATE.
> 3. Create this Event ZCREATE with condition BSEG Document type = X and
> BSEG Value = Z.
> 4. Build desired attributes in the subtype.
> 5. Build a workflow based on this newly created Business Object.
>
> I am stuck at step 3.
> Can somebody help me in
> a. is this approach right?
> b. should i work in bseg or bkpf?
> c. how do i create the event in the above approach.
> thanks in anticipation
> rgds
> govind
 


More information about the SAP-WUG mailing list