Skip to Content
0
Former Member
Nov 30, 2006 at 07:22 AM

Variable has a value at runtime in print program but not in layout set?

110 Views

Hi,

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

<u>Code portion:</u>

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

PERFORM write_formu_list.

CALL FUNCTION 'WRITE_FORM'

EXPORTING

window = 'MAIN'

element = '501'

EXCEPTIONS

element = 1.

regards,

Warren.