reference characteristic document type VBAK AUART
A reference characteristic worked fine for years. One day we saw unexpected behavior on 2 orders on one specific date.
The dependency simply uses VBAK-AUART to check on order type 'TA ' for a sales order type of OR.
$root.vbak_auart eq 'TA '
'TA ' relates to an order type of OR based on table TAUUM - 'TA ' is language independent so that is why it was used. It's worked for years.
It would look like this under Environment > change documents;
2 sales orders on 2014-05-08 apparently CONVERSION_EXIT_AUART_OUTPUT CONVERSION_EXIT_AUART_INPUT didn't trigger to send 'TA ' to the dependency, so it used OR instead (pictured below). All other orders over the years show TA. Interesting only 2 orders ever did this over 4 years of usage. Everything is returning 'TA ' today too.
Order creation example of those 2 under change documents inside of the configuration
The user changed the order several days later and it did use TA. No changes to VC were done. We didn't know this happened yet.
A few months after that it was noticed.
I guess the moral of the story is to expect the unexpected and we should have used TA and OR, but I'm a little perplexed as to why TA didn't get sent at least initially.
The revised dependency will catch that situation if it ever happens again, but that behavior was very odd;