We have an issue for a customize program for TECOing process order. This transaction calls transaction CO54 (to send messages automatically) and COR2 to TECO the process order.
The error encounteered by the user is "sending message failed" wherein in fact message has already been sent because TECO box has been marked ok. The error occurs when a user tick the execute button and programs calls the CO54 and CO60 transactions and a message will prompt within the program. Sending of messages has BDC and we are having a problem checking the possible messages that will cause the sending message failed. There are two scenarios we have found. One is when a user is accessing a particular operation in the PI Sheet and another Process Order is being TECOd having the same operation. Another one is the "sent" message that is triggered once message has been successfully delivered.
Hope you could help us with this.