I want to display the text 'text6' only when the value of gc_line2_display EQ 1. But the text is not displaying even if the value of gc_line2_display is 1. The first condition in the screenshot is satisfied. What might be the issue?
Code in initialization for setting gc_line2_display as 1. The internal table has one entry and it is setting the flag to 1.
select SINGLE * from ztbl_appl_sub
into gstr_sp_lh
where appno = wc_app_no
and appsp = 'LH'.
append gstr_sp_lh to gtbl_sp_lh.
if gtbl_sp_lh[] is not initial.
gc_line2_display = 1.
endif.
Please help. Urgent.
Thanks