AW: Own Change Document Object

Schmidinger, Heinz (Oerlikon TR) heinz.schmidinger at oerlikon.com
Tue Mar 31 06:32:24 EDT 2009


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

www.oerlikon.com/solar
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please notify the sender immediately and destroy this e-mail. Unauthorised copying, disclosure and distribution of the material in this e-mail are strictly prohibited.

Diese E-Mail enthaelt vertrauliche und/oder geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
Please consider our environment before printing this e-mail.
Bitte denken Sie an unsere Umwelt, bevor Sie diese E-Mail ausdrucken.
-----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

_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug





More information about the SAP-WUG mailing list