on 2025 Mar 03 3:22 PM
Hi experts,
I know that in principle BTE is not intended for validations, but in our system, there are validations located in BTE2218. Now we've noticed that in the following scenario, two documents are being saved, even though the user entered only one document. (Two records are inserted into BKPF). The scenario:
From the debugging, it seems that with every save attempt, the system creates a new record (with a new document number). When the second save attempt is valid and a commit work is executed, both records are saved in the database, even though one record is invalid.
In the debug, it appears that the internal table for BKPF contains only one record each time. My assumption is that there is an internal table that gathers the two records, and in the end, the update to BKPF is done according to this table. I couldn't find this internal table or the place where the DB update is done .
How can this be fixed?
Thank you.
Request clarification before answering.
Read first 1888123 - FI BTE 00002218 message handling in Enjoy transaction (FV60) - You have broken the transaction process, some of the update task functions are already registered, you (or your colleagues) are messing with the consistency of the data. 😕
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
(After my breakfast and morning emails, and then FIFO between my office tasks 😎 - Rules of Engagement - I'm not SAP employee)
In principle, this BTE is executed too late to be used for customer control. The interrupt message 'A' preserves the integrity of the data, but the entry is lost.
You need to find another place to run this check such as validation rules and some Finance BAdi (It depends on the exact data required to perform the check)
| User | Count |
|---|---|
| 7 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.