Skip to Content

How to differentiate Incoming payment posting is done by F-28 or by FBZ1?

Aug 17, 2017 at 02:32 PM


avatar image

User has requirement to update value date by document date. But only when user post through F-28 not FBZ1.

Tried to use substitution rule when transaction code is F-28. However, when we post in F-28, backend is actually calling for FBZ1.

User does not want to make any substitution logic when post through FBZ1. How can we achieve this?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Eli Klovski
Aug 17, 2017 at 02:42 PM


You have BKPF-TCODE which will be FBZ1 in both cases, but you will have SY-TCODE in your substitution available parameters which will be different. This is a calling SAP transaction; so, if the user is posting document through F-28, SY-TCODE will have this value. For already posted documents you can not make this distinction.



Show 1 Share
10 |10000 characters needed characters left characters exceeded

Have tried with SY-TCODE, it also record as FBZ1 instead of F-28.

I found

gv_fagl_tcode actually indicated as F-28, but it is more of internal variable.

How to differentiate F-28 & FBZ1? Any idea?

Lucy Lucy Aug 17, 2017 at 02:45 PM

Does SY-TCODE different from SYST-TCODE? I have been using SYST-TCODE and it has given me FBZ1 even I post it through F-28. Anyway, I will try it with SY-TCODE again to verify.

10 |10000 characters needed characters left characters exceeded