Initiate event via change document

Myra H Gill Myra.Gill at ipaper.com
Thu Dec 14 14:50:38 EST 2000


Since a change document is not written at create time, another possibil=
ity
is the underused Business
 Transaction Event functionality (OPEN FI Interface), transaction FIBF.=
 
See if SAP provides an event at
Billing Document create time.
 
 
 
 
 
"Schaffer, Klaus" <kschaffer at kpmg.com>@MITVMA.MIT.EDU> on 12/14/2000
11:00:07 AM
 
Please respond to "SAP Workflow Users' Group" <SAP-WUG at MITVMA.MIT.EDU>
 
Sent by:  SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
 
 
 
To:   SAP-WUG at MITVMA.MIT.EDU
cc:
Subject:  Re: Initiate event via change document
 
 
you are all right,
 
stupid me that I forget to activate the checkbox to enter the event in =
SWEC
(thanks stephan).
 
however, the event for created hasn't been created. An event for a cust=
omer
billing is only raised if the billing is canceled (which in fact is a
change
of the existing billing). An entry in table cdhdr is made but only for =
the
change indicator U (update) and not I (insert). It seems to be of no ef=
fect
that I activated in SWED the radio button for writing the change docume=
nt
at
"create".
 
I will try like Myra proposed via message control.
 
Here's an other way which was published on this list some time ago. Per=
haps
Kishore or Jennie are still on the list. I've got two questions:
1. Did you put in the name of the event to be raised in the function mo=
dule
"VERKBELEG_WRITE_DOKUMENT"?
2. Did you put the funktion module in a user exit of SD?
 
-----Original Message-----
From: Kishore Thota [mailto:kthota at us.ibm.com]
Sent: Saturday, April 22, 2000 12:22 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Initiate an event from a new Change Documents
 
Jennie,
I have tried to do this before.  This is what I have found out.
When you create a custom change document object, you have to do the
following to make it trigger an event:
 
   Generate an Update program (SCDO)
   A Function module in the form 'Z_OBJECT'_WRITE_DOCUMENT
   Call this update program in the application from where you want to
   create the change document.  You can see how this is implemented by
   looking at where used list of active change document object function=
 
   modules ex: ERKBELEG_WRITE_DOCUMENT.
   This should create the change document and trigger the event linked =
to
   it in SCDO.
 
 
 
Thanks a lot.
 
Klaus
 
 
 
-----Urspr=FCngliche Nachricht-----
Von: Myra H Gill [mailto:Myra.Gill at ipaper.com]
Gesendet: Donnerstag, 14. Dezember 2000 15:23
An: SAP-WUG at MITVMA.MIT.EDU
Betreff: Re: Initiate event via change document
 
 
You also need to verify that a change document is actually being create=
d
for the Customer Billing
Document.  You can do this by looking at the CDHDR and CDPOS tables.  I=
f
SAP does not write out a
 change document than activating the event will not work.
 
 
 
 
"Baeuerle, Stefan" <stefan.baeuerle at sap.com>@MITVMA.MIT.EDU> on 12/14/2=
000
08:12:03 AM
 
Please respond to "SAP Workflow Users' Group" <SAP-WUG at MITVMA.MIT.EDU>
 
Sent by:  SAP Workflow <Owner-SAP-WUG at MITVMA.MIT.EDU>
 
 
 
To:   SAP-WUG at MITVMA.MIT.EDU
cc:
Subject:  Re: Initiate event via change document
 
 
Klaus,
 
Enter the changedocument and the objecttype in TA SWEC. Acitvate the
checkbox in front of your new entry after this and continue entering th=
e
event-name. This should help.
 
Stefan
 
-----Original Message-----
From:   Schaffer, Klaus [mailto:kschaffer at kpmg.com]
Sent:   Donnerstag, 14. Dezember 2000 15:05
To:     SAP-WUG at MITVMA.MIT.EDU
Subject:        Initiate event via change document
 
Dear all,
 
I'm on 4.6b and trie to get the event "created" for object BUS2037
(Customer
billing document).
What I did:
 
1. I created my subtyp ZBUS2037, implemented the event "created" and ma=
de
the delegation.
2. I found change document object type FAKTBELEG in SCDO for billings i=
n
SD.
3. I went to SWED, inserted FAKTBELEG with leading table VBRK and I mar=
ked
that I want the event generated for "create" records.
4. In SWEC I made the entry FAKTBELEG, BUS2037, and with F4 help I choo=
se
the event CREATED. I mark the radiobutton "create" and as soon I'm savi=
ng
the entry for event is deleted and the checked radio button jumps from
create to change???
 
Do I miss something?
Did anybody go another way to get BUS2037.CREATED?
 
Thanks a lot for help.
 
Klaus
 
 
 
 
--
                  E-Mail Disclaimer
 
Der Inhalt dieser E-Mail ist ausschliesslich fuer den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser
E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass
jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder
Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie,
sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu
setzen. Aussagen gegenueber dem Adressaten unterliegen den Regelungen
des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den
Allgemeinen Auftragsbedingungen und der individuellen Haftungs-
vereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er
unsererseits durch einen Brief entsprechend bestaetigt wird. Die
Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir
moechten Sie ausserdem darauf hinweisen, dass die Kommunikation per
E-Mail ueber das Internet unsicher ist, da fuer unberechtigte Dritte
grundsaetzlich die Moeglichkeit der Kenntnisnahme und Manipulation
besteht. Wir werden daher keine vertraulichen Daten unverschluesselt
per E-Mail ueber das Internet versenden.
 
The information contained in this email is intended solely for the
addressee. Access to this email by anyone else is unauthorized. If you
are not the intended recipient, any form of disclosure, reproduction,
distribution or any action taken or refrained from in reliance on it,
is prohibited and may be unlawful. Please notify the sender
immediately. All statements of opinion or advice directed via this
email to our clients are subject to the terms and conditions expressed
in the governing KPMG client engagement letter. The content of this
email is not legally binding unless confirmed by letter. The sending
of emails to us will not constitute compliance with any time limits or
deadlines. We also like to inform you that communication via email
over the internet is insecure because third parties may have the
possibility to access and manipulate emails. For this reason we will
not send any confidential information via email over the internet,
unless encrypted.
 
 
--
                  E-Mail Disclaimer
 
Der Inhalt dieser E-Mail ist ausschliesslich fuer den bezeichneten
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser
E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass
jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder
Weitergabe des Inhalts dieser E-Mail unzulaessig ist. Wir bitten Sie,
sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu
setzen. Aussagen gegenueber dem Adressaten unterliegen den Regelungen
des zugrundeliegenden Angebotes bzw. Auftrags, insbesondere den
Allgemeinen Auftragsbedingungen und der individuellen Haftungs-
vereinbarung. Der Inhalt der E-Mail ist nur rechtsverbindlich, wenn er
unsererseits durch einen Brief entsprechend bestaetigt wird. Die
Versendung von E-Mails an uns hat keine fristwahrende Wirkung. Wir
moechten Sie ausserdem darauf hinweisen, dass die Kommunikation per
E-Mail ueber das Internet unsicher ist, da fuer unberechtigte Dritte
grundsaetzlich die Moeglichkeit der Kenntnisnahme und Manipulation
besteht. Wir werden daher keine vertraulichen Daten unverschluesselt
per E-Mail ueber das Internet versenden.
 
The information contained in this email is intended solely for the
addressee. Access to this email by anyone else is unauthorized. If you
are not the intended recipient, any form of disclosure, reproduction,
distribution or any action taken or refrained from in reliance on it,
is prohibited and may be unlawful. Please notify the sender
immediately. All statements of opinion or advice directed via this
email to our clients are subject to the terms and conditions expressed
in the governing KPMG client engagement letter. The content of this
email is not legally binding unless confirmed by letter. The sending
of emails to us will not constitute compliance with any time limits or
deadlines. We also like to inform you that communication via email
over the internet is insecure because third parties may have the
possibility to access and manipulate emails. For this reason we will
not send any confidential information via email over the internet,
unless encrypted.
 
=
 


More information about the SAP-WUG mailing list