I have renamed FBCJ to ZFBCJ so that I can split between Cash and Cheque datat output on the deposit slip.
Before the WRITE_FORM subroutine the variables have values in them, but in the layout set debugger these fields are empty?
Usually this means that the variables aren't declared in global data. However, in this case they are, I have copied FBCJ as is to ZFBCJ and renamed all objects therein to Z*.
febsca-schnr = itcj_check_postings-check_number. "Check no 13
febsca-ausst = itcj_check_postings-check_issuer. "Issuer
febsca-bnklz = itcj_check_postings-bank_key. "Bank Key
febsca-bankl = itcj_check_postings-bank_key. "Bank Key
CALL FUNCTION 'WRITE_FORM'
window = 'MAIN'
element = '501'
element = 1.