‎2008 Jun 24 10:40 AM
Hi Experts,
I am using a table control for write and set buttons. The Problem is that the settings are not available when I want to show it.
What must I do?
Michael
‎2008 Jun 24 12:44 PM
Mike,
I'm not completely sure what your issue is, but possibly this will help.
Setting Attributes is done in the PBO routine
module TABCTL_ZLMACT_change_tc_attr. "<== Change table control screen attributes
module TABCTL_ZLMACT_change_col_attr. "<== Change table columns screen attributes
loop at WT_ZLMACT
into WK_ZLMACT
with control TABCTL_ZLMACT
cursor TABCTL_ZLMACT-current_line.
module TABCTL_ZLMACT_change_field_attr "<== Change table field screen attributes
endloop.
Now.. in the PAI routine
loop at WT_ZLMACT.
chain.
field WK_ZLMACT-SEQNO.
field WK_ZLMACT-CONT_TY.
field WK_ZLMACT-CONT_DT.
field WK_ZLMACT-CONT_TM.
field WK_ZLMACT-CONTRE.
field WK_ZLMACT-FOLLDT.
field WK_ZLMACT-COMP_DT.
field WK_ZLMACT-COMP_TM.
field WK_ZLMACT-COMP_NM.
field WK_ZLMACT-AEDAT.
field WK_ZLMACT-AETIM.
field WK_ZLMACT-AENAM.
field WK_ZLMACT-ERDAT.
field WK_ZLMACT-ERTIM.
field WK_ZLMACT-ERNAM.
field WK_ZLMACT-DISP_NOTE.
endchain.
field WK_ZLMACT-SEL
module TABCTL_ZLMACT_mark on request.
endloop.
at this point all the data is in my internal table WT_ZLMACT as it is on the screen.
From here it would be up to you to edit, move and save this data as you need.