Initiate event via change document

Mark Pyc markpyc at hotmail.com
Fri Feb 11 09:32:52 EST 2005


G'day Peter,

If you want to know if you can perform field restrictions within SWEC have a 
look at the table entries in table CDPOS. If you don't see your fields 
explicitly listed you can use them.

When you create a new element, it's not really a change so there is no need 
to store old and new values. The CDPOS entries are simply an insert (I) per 
table.

In these case you need a Check Function Module which will read the 
application table and then analyse the fields.

Good luck,
Mark

From: "Peter Korman" <peter.korman at gmx.de>
Reply-To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
To: "SAP Workflow Users' Group" <sap-wug at mit.edu>
Subject: Initiate event via change document
Date: Fri, 11 Feb 2005 15:24:00 +0100

Hello fellow workflowers!

I've an issue with creating an event via change document. The system is a
4.70.

My existing (running) workflow starts, when change document MATERIAL is
changed (checking field restrictions for MARA-ZEINR or MARA-ZEIVR beeing
changed).
This works pretty good.

Now I'm trying to start this workflow when material master is created (and
checking field restrictions for MARA-ZEINR or MARA-ZEIVR beeing filled).
This event doesn't appear in workflow-trace. When the field restrictions are
deleted, the event is beeing triggered and the workflow starts. But I need
the field restrictions.

Does anyone know a solution? Is it possible to use field restriction at
creation of master data?
I've read in WUG-archive, that some change documents in CDHDR and CDPOS got
signed as "update", when master data is stored.
For new material masters it's the same. The didn't get the (I)nsert, the
appear with (U)pdate in CDHDR and new field entries are blank.
I don't know, if this has something to do with my issue, but probably anyone
does?

Thanks for help!

Peter
_______________________________________________
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