Condition is not sufficient ?!!

Dart, Jocelyn jocelyn.dart at sap.com
Tue Oct 22 06:45:20 EDT 2002


Gulsen,=20
It's tricky with such a complex change document.=20
 
Firstly check that the change document created does include the new =
inserted or
deleted items.
 
Actually for this sort of test the standard entry of field restrictions
looks like it might be more suitable, rather than a condition, as
from the code it seems to look at created, changed and deleted parts
of the change document.=20
Try using the field restrictions:
VBEP WMENG from * to *
VBAP MATNR from * to *
VBAP ABGRU from * to *=20
As fields are only written into the change document if they are new, =
changed or deleted=20
this should suit your purpose.
 
If you still can't get it to work you might need to resort to a check =
function module.
Regards,
        Jocelyn Dart=20
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"=20
SAP Australia
email: jocelyn.dart at sap.com=20
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
-----Original Message-----
From: <Gun> <Celine> [mailto:gulsenu at kocsistem.com.tr]
Sent: Monday, 21 October 2002 10:25 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Condition is not sufficient ?!!
 
 
Thank you for your answer Jocelyn,
As you told,
 
For creation of a new line there probably isn't any ..._OLD to compare =
to. =20
Similarly for deletion of  a new line there probably isn't any ..._NEW =
to compare to.=20
Hence the comparison doesn't work.=20
 
But old=3D null or zero  or new =3Dnull or zero or something else =
according to field at the startting point.  Aren't they ?=20
 Do you have any alternative solution about it ?
 
 
_______________________________________________________________
=20
G=FCl=FEen =DCnal
=20
Dan=FD=FEman/Consultant
gulsenu at kocsistem.com.tr
Yaz=FDl=FDm Uygulama ve Destek
 Ko=E7Sistem=20
Yaz=FDl=FDm Uygulama ve Destek/ Software Application & Support
Tel: +90(216)556 1279
Fax:+90(216)556 1188
mailto:adisoyadi at kocsistem.com.tr
www.kocsistem.com.tr
________________________________________________________________________=
_
=20
-----Original Message-----
From: Dart, Jocelyn [mailto:jocelyn.dart at sap.com]=20
Sent: 21 Ekim 2002 Pazartesi 02:50
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Re: Condition is not sufficient ?!!
 
 
Hi Gulsen,
Check what change documents are created under your different scenarios =
and exactly what each change document gives you.=20
 
For creation of a new line there probably isn't any ..._OLD to compare =
to. =20
Similarly for deletion of  a new line there probably isn't any ..._NEW =
to compare to.=20
Hence the comparison doesn't work.=20
 
You probably need to adjust your test.=20
Regards,
        Jocelyn Dart=20
Consultant (SRM, EBP, Workflow)
and co-author of the book
"Practical Workflow for SAP"=20
SAP Australia
email: jocelyn.dart at sap.com=20
phone: +61 412 390 267
fax:   +61 2 9935 4880
 
 
 
 
 
 
-----Original Message-----
From: <Gun> <Celine> [mailto:gulsenu at kocsistem.com.tr]
Sent: Friday, 18 October 2002 10:54 PM
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Condition is not sufficient ?!!
 
 
Hallo everybody !
I have added three conditions to BUS2032.Zchanged about the SD order =
changes in swec as Boolean. I'm trying to catch the changes about =
material(VBAP_MATNR), quantity of material(WBEP_WMENG) and rejection =
reason (which means the line is cancelled without deleting) =
(VBAP_ABGRU).=20
VBEP_WMENG_OLD    NE            VBEP_WMENG_NEW
VBAP_MATNR_OLD    NE            VBAP_MATNR_NEW
VBAP_ABGRU_OLD       NE         VBAP_ABGRU_NEW
 
Event is trigerred when the condition above are occurs. But while =
adding a new order line or deleting an order line is not triggered.   =
Why ? And how can I make it included in the conditions ?
=20
G=FCl=FEen =DCnal
=20
Dan=FD=FEman/Consultant
gulsenu at kocsistem.com.tr
Yaz=FDl=FDm Uygulama ve Destek
 Ko=E7Sistem=20
Yaz=FDl=FDm Uygulama ve Destek/ Software Application & Support
Tel: +90(216)556 1279
Fax:+90(216)556 1188
mailto:gulsenu at kocsistem.com.tr
www.kocsistem.com.tr =
________________________________________________________________________=
_
=20
Bu e-posta mesaj=FD ki=FEiye =F6zel olup, gizli bilgiler i=E7eriyor =
olabilir. E=F0er bu e-posta mesaj=FD size yanl=FD=FEl=FDkla =
ula=FEm=FD=FEsa, e-posta mesaj=FDn=FD kullan=FDc=FDya hemen geri =
g=F6nderiniz ve mesaj kutunuzdan siliniz. Bu e-posta mesaj=FD, hi=E7 =
bir =FEekilde, herhangi bir ama=E7 i=E7in =E7o=F0alt=FDlamaz, =
yay=FDnlanamaz ve para
kar=FE=FDl=FD=F0=FD sat=FDlamaz. Yollay=FDc=FD, bu e-posta =
mesaj=FDn=FDn - vir=FCs koruma sistemleri ile kontrol ediliyor olsa =
bile - vir=FCs i=E7ermedi=F0ini garanti etmez ve meydana gelebilecek =
zararlardan do=F0acak hi=E7bir sorumlulu=F0u kabul etmez.
=20
The information contained in this message is confidential, intended =
solely for the use of the individual or entity to whom it is addressed =
and may be protected by professional secrecy. You should not copy, =
disclose or distribute this information for any purpose.  If you are =
not the intended
recipient of this message or you receive this mail in error, you should =
refrain from making any use of the contents and from opening any =
attachment. In that case, please notify the sender immediately and =
return the message to the sender, then, delete and destroy all copies. =
This e-mail message has
been swept by anti-virus systems for the presence of computer viruses. =
In doing so, however, we cannot warrant that virus or other forms of =
data corruption may not be present and we do not take any =
responsibility in any occurrence. =
________________________________________________________________
=20
 


More information about the SAP-WUG mailing list