AW: SAP-WUG Digest, Vol 52, Issue 73

Werner.Koessl@hirschvogel.de Werner.Koessl at hirschvogel.de
Tue Mar 31 06:53:05 EDT 2009


Hi Florin & Heinz,

thanks for your fast answers!
I will try your suggestions!

Best regards,
Werner Kößl

Message: 5
Date: Tue, 31 Mar 2009 12:01:41 +0200
From: "Florin Wach" <florin.wach at gmx.net>
Subject: Re: Own Change Document Object
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID: <20090331100141.237320 at gmx.net>
Content-Type: text/plain; charset="iso-8859-1"

Hi,

your change document needs to be written by function module
CHANGEDOCUMENT_OPEN etc. and has to be integrated within the appropriate
transactions in order to work.

You can populate additional event parameters during the processing of a
change document by implemented a function exit for changing the event
container. This entry is found at the change document event creation
maintenance (SWEC) and the F1-Help to this field leads you to a sample
function module that explains the usage very well.
This is probably what you really need here, instead of a new change document
type.

Best wishes,
   Florin


Message: 6
Date: Tue, 31 Mar 2009 12:32:24 +0200
From: "Schmidinger, Heinz (Oerlikon TR)"
	<heinz.schmidinger at oerlikon.com>
Subject: AW: Own Change Document Object
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Message-ID:
	<4072E0D0EEA33240A4E39DB04A4AE9E002188861 at ad02bz0101.dom02.net>
Content-Type: text/plain;	charset="iso-8859-1"

Hi Werner,

the change document based event is fired normally out of f.m.
"CHANGEDOCUMENT_CLOSE" with f.m. "SWE_EVENT_CREATE_CHANGEDOCUMNT".

Maybe you find the reason for your problem debugging the f.m.

I belive you will see that you do not open an ChangeDocument for your new
ChangeObjectClass ZKNVV.
If I understand the coding right, the Appl-Tx say with ChangeObjectClass is
used; so if you have an own ObjectClass you must make sure that the
application write a ChangeDocument of this Class. I do not belive that this
is done automaticlly by assigning the leading table in SCDO. Bit I am not
sure.

Greetigs
Heinz
_________________________________________
Heinz Schmidinger
Certified Senior Application Consultant

Oerlikon Solar AG, Tr?bbach
Hauptstrasse 1a
9477 Tr?bbach
Schweiz

P +41 58 356 8626
F +41 58 356 8826
heinz.schmidinger at oerlikon.com

-----Urspr?ngliche Nachricht-----
Von: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu] Im Auftrag von
Werner.Koessl at hirschvogel.de
Gesendet: Dienstag, 31. M?rz 2009 11:43
An: SAP-WUG at mit.edu
Betreff: Own Change Document Object

Hi workflow colleagues,

I created my own change document object ZKNVV with tables KNA1 and KNVV,
because I want to start a workflow when someone adds a salesorganization to
an existing customer.
I created ZKNVV in SCDO and generated it,
then I add a new entry in SWED with KNVV as leading table.
The last step was a new entry in SWEC.
But the event hasn't been triggered and I don't know why?!
In the event trace I only could see that event KNA1->CREATED has been
triggered.

I also tried to used the event KNA1->CREATED and added a multiline parameter
SalesOrganization hoping that the new salesorganization has been written to
this element.
But it also didn't work.

Has anybody an idea for this issue?

Best regards,
Werner K??l.

Die gesetzlichen Pflichtangaben finden Sie unter:
http://www.hirschvogel.de/disclaimer




More information about the SAP-WUG mailing list