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

Checkboxes persistance in PCR development

Hello ALL,

I am using checkbox group within JSP iView in the PCR development in MSS. Business package is 60.1.

I am unable to persist the checkboxes data (if checked

by user should remain checked after roundtrip.)

What data element should be used for checkboxes while defining characteristics?

What data is available in backend for checkboxes?

The Development guide in section 7.6 says that checkboxes are never used in the PCR framework.

Can anybody suggest on this by examples?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jan 26, 2005 at 09:11 AM

    Here is a workaround for the problem you are facing with checkboxes.

    The sample code below could be used for every checkbox on the PCR form. When the checkbox is checked, a values of 'X' is passed to R/3 and when left unchecked it's blank. In R/3, this should be handled appropriately.

    CHKBOX_CHKT_NAME is the name of the characteristic as defined in the scenario.

    <input type="hidden" id="CHKBOX_CHKT_NAME" name="CHKBOX_CHKT_NAME" value='<%= ISR.getValue("CHKBOX_CHKT_NAME") %>'>

    <% if ( ( ISR.getValue("CHKBOX_CHKT_NAME").equalsIgnoreCase("X")) ) { %>





    <% } else { %>



    checked="false" />

    <% } %>

    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.