on 2025 Sep 26 10:37 AM
Hello,
I'm not getting the same behavior with my FI-GL validation (OB28 on user account) when using F0718 (Post General Journal Entries) and when using FB01.
Seems like F0718 is not able to capture the right account user. Is it normal ? Is there a way to correct this ? Thank you!
Any help please ?
Request clarification before answering.
Please note in OB28 validations/substitutions are tied to call points in FI (document header, line item, complete document). In classic transactions (FB01, FB50, F‑02, etc.), the system fills BKPF-TCODE with the actual SAP GUI transaction code. Your validation can check BKPF-TCODE = 'FB01' and it works. In Fiori apps like F0718, the posting is not executed under “FB01” at all. Instead, the app calls the Journal Entry API (BAPI_ACC_DOCUMENT_POST / ACC_DOCUMENT) in the background. That means BKPF-TCODE is not populated with FB01. Often it is blank, or filled with a generic technical value. As a result, any validation logic that depends on BKPF-TCODE or “user account” fields behaves differently. This is why you see your validation trigger in FB01 but not in F0718 — it’s normal in S/4HANA.
To fix it, avoid relying on BKPF-TCODE. Instead, use document type, account type, or enrich the posting with a BAdI if you need to distinguish Fiori vs. GUI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 29 | |
| 14 | |
| 14 | |
| 6 | |
| 5 | |
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.