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

CHECKBOX is showing as Text box

Hello Friends,

We upgraded system from 4.7 to ECC 6.0

In 4.7, SAP is displaying checkbox as Select Box (Tick) , But in ECC is displaying as text box.

Declaration in both the systems is

PARAMETERS: TEST TYPE CHECKBOX.

Please let me know that do i need to set any options to display as Checkbox in ECC.

or do i need to chage code as

PARAMETERS: TEST AS CHECKBOX.

Thanks & Regards

Dinesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on Aug 06, 2009 at 02:36 PM

    Yes, you should use AS CHECKBOX.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 06, 2009 at 02:38 PM

    Hi,

    Yes you are right.

    You need to use following line to achieve this functionality.

    PARAMETERS: TEST AS CHECKBOX

    Regards,

    Ramanath.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi. I don't have a 4.7 system in front of me at the moment, but in NW 7.0(ECC), you must use the AS CHECKBOX, and not the TYPE CHECKBOX.

      When you say..

      PARAMETERS: p_test1 type checkbox.

      You are merely assigning a type here. And since there is a data element called CHECKBOX, the syntax checker will allow this. The CHECKBOX data element is nothing more thann a character field with a length of one.

      Now if you specify this.

      PARAMETERS: p_test2 AS checkbox.

      You are telling the compiler something else, you are saying that you want a "checkbox" rendered in the screen. and similarly this field will be a character field with length of 1.

      Cheers,

      Rich

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2010 at 10:07 AM

    thank u

    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.