10-13-2005 6:16 PM
I am trying to turn on my check box in PBO.. but it is not getting turned on..
IN pbo, i set v_chkbox = 'X'. and my screen variable is V_CHKBOX .. Shouldn't this turn on my checkbox in PBO?
What could i be doing wrong?
10-13-2005 6:17 PM
Yes, it should. Are you sure that your field name in the screen is V_CHKBOX?
report zrich_0002 .
data: v_checkbox(1) type c.
start-of-selection.
call screen 100.
*&---------------------------------------------------------------------*
*& Module STATUS_0100 OUTPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
v_checkbox = 'X'.
endmodule.
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0100 INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
module user_command_0100 input.
endmodule.
This works perfectly for me. My screen field is named as "v_checkbox".
Regards,
Rich Heilman
10-13-2005 6:17 PM
Yes, it should. Are you sure that your field name in the screen is V_CHKBOX?
report zrich_0002 .
data: v_checkbox(1) type c.
start-of-selection.
call screen 100.
*&---------------------------------------------------------------------*
*& Module STATUS_0100 OUTPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
v_checkbox = 'X'.
endmodule.
*&---------------------------------------------------------------------*
*& Module USER_COMMAND_0100 INPUT
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
module user_command_0100 input.
endmodule.
This works perfectly for me. My screen field is named as "v_checkbox".
Regards,
Rich Heilman
10-13-2005 6:40 PM
somewhere it was getting cleared..Thanks and Sorry for the trouble..