06-15-2009 10:49 PM
We have a piece of code in save_document_prepare, that loops against XKOMV and if there's and EDI1, customer expected price, it compare and either added a delivey block or just sends an email.
We added a new group condition and at the time this code is executed, it doesn't appear that all the group condition processing has finished and we are getting mixed results. If I move the code to save_document all is fine, but then I can't set the delivery block.
Any ideas? Kind of sounds like a bug to me. The group condition processing that is.
Thanks
06-17-2009 7:16 AM
Cathy,
we are also dealing with XKOMV in SAVEDOC_PREPARE and group conditions are in the game.
And it works fine from 46C up to ECC60.
Sounds like a bug. Did you check OSS? Many notes out there regarding group conditions.
Worst case: How about changing your logik from XKOMV to VBAP-CEPOC (which is set for EDI in Formula 009) ??
Cheers
carsten
06-17-2009 7:16 AM
Cathy,
we are also dealing with XKOMV in SAVEDOC_PREPARE and group conditions are in the game.
And it works fine from 46C up to ECC60.
Sounds like a bug. Did you check OSS? Many notes out there regarding group conditions.
Worst case: How about changing your logik from XKOMV to VBAP-CEPOC (which is set for EDI in Formula 009) ??
Cheers
carsten
06-17-2009 3:05 PM
Carsten,
thanks for your reply. I did check around OSS and I think I may put something on there.
I don't know if the problem has to do with the fact that the group condition also has a quantity scale and it's grouped by product hierarchy or what. I did get around it a bit. Not maybe in the best way, but my problem seems to be gone.
I moved the same logic to USEREXIT_NUMBER_RANGE! Not the proper place for it, but everything seems to be ok.
Cathy