‎2007 Sep 06 9:10 AM
Hello Friends
Friends i had a input field in my screen name is zhr_pr_m-perid basically its a db field which retrieve data
now i want that wen i select a add function code of application toolbar i want the input mode should change to non-input i mean it should be disable
i had done this
PROCESS BEFORE OUTPUT.
PBO FLOW LOGIC FOR TABSTRIP 'EMPTAB'
MODULE EMPTAB_ACTIVE_TAB_SET.
CALL SUBSCREEN EMPTAB_SCA
INCLUDING G_EMPTAB-PROG G_EMPTAB-SUBSCREEN.
MODULE STATUS_0001.
module screen_modification.
PROCESS AFTER INPUT.
*PAI FLOW LOGIC FOR TABSTRIP 'EMPTAB'
CALL SUBSCREEN EMPTAB_SCA.
MODULE EMPTAB_ACTIVE_TAB_GET.
MODULE USER_COMMAND_0001.
module fill_in.
PROCESS ON VALUE-REQUEST.
FIELD ZHR_PR_m-perid MODULE f4_help_for_emp.
module screen_modification output.
if stat eq 'X'.
break-point.
loop at screen.
if screen-name = 'zhr_pr_m-perid'.
screen-input = 0.
endif.
modify screen.
endloop.
clear stat.
endif.
endmodule. " screen_modification OUTPUT
please tellme the error and how can i solve it
Hope u got my prob
With Best Regards
Waiting
Ruby
‎2007 Sep 06 9:20 AM
Hi Ruby..
I got the point.. check this..Changes in BOLD
Module screen_modification output.
if stat eq 'X'.
break-point.
loop at screen.
<b>if screen-name = 'ZHR_PR_M-PERID'. "Name Only in Upper case</b>
screen-input = 0.
endif.
modify screen.
endloop.
clear stat.
endif.
endmodule. " screen_modification OUTPUT
Call this module in PBO..
PROCESS BEFORE OUTPUT.
<b> MODULE screen_modification.</b>
<b>reward if helpful</b>
‎2007 Sep 06 9:46 AM
friend help me for one more thing
as u said that make it in capital letter i had done that it works for one screen as i had different subscreens in a tabstrip so wen i click diff tabstrip the input field again becomes enable
please help me out where to put
PROCESS BEFORE OUTPUT.
PBO FLOW LOGIC FOR TABSTRIP 'EMPTAB'
MODULE EMPTAB_ACTIVE_TAB_SET.
CALL SUBSCREEN EMPTAB_SCA
INCLUDING G_EMPTAB-PROG G_EMPTAB-SUBSCREEN.
MODULE STATUS_0001.
module screen_modification.
PROCESS AFTER INPUT.
*PAI FLOW LOGIC FOR TABSTRIP 'EMPTAB'
CALL SUBSCREEN EMPTAB_SCA.
MODULE EMPTAB_ACTIVE_TAB_GET.
MODULE USER_COMMAND_0001.
module fill_in.
PROCESS ON VALUE-REQUEST.
FIELD ZHR_PR_m-perid MODULE f4_help_for_emp.
<u><b>module screen_modification.</b></u>
Hope u got my problem
With Best Regards
Waiting
Ruby
‎2007 Sep 06 9:57 AM
hi..
Call this module in the Beginning of PBO in the Main Screen..
PROCESS BEFORE OUTPUT.
module screen_modification.
Even if u get a problem the best way is to Debug the Code ..
<b>reward if Helpful</b>
‎2007 Sep 06 11:39 AM