Skip to Content
author's profile photo Former Member
Former Member

checkbox

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Oct 13, 2005 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 05:40 PM

    somewhere it was getting cleared..Thanks and Sorry for the trouble..

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.