Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • 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.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?

  • avatar image
    Former Member
    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.

    Add comment
    10|10000 characters needed characters exceeded