cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

iklovski
Active Contributor
0 Kudos

Hi,

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.

Regards,

Eli

Former Member
0 Kudos

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?