Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Dynamic Label for CheckBox

Former Member
0 Likes
1,719

Hi,

I am creating CheckBox dynamically based on the entries in the table.

Is it possible to give them label dynamically as I am creating it. I want to do it in simple ABAP. I am in Basis and do not want to go to Module programming or Dypro etc.

I will be glad if it is possible via simple ABAP.

Regards,

SC

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,187

Hi SC,

you could try the following code snippet:


PARAMETERS: p_xcheck AS CHECKBOX.

AT SELECTION-SCREEN OUTPUT.
  %_p_xcheck_%_app_%-text = 'hola'.

(extracted from [SAP ABAP Help - Dynamic Parameter Texts in Selection Screen|http://help-abap.zevolving.com/2009/04/dynamic-parameter-texts-in-selection-screen/] and

Kind regards,

Alvaro

Hi,

I am creating CheckBox dynamically based on the entries in the table.

Is it possible to give them label dynamically as I am creating it. I want to do it in simple ABAP. I am in Basis and do not want to go to Module programming or Dypro etc.

I will be glad if it is possible via simple ABAP.

Regards,

SC

2 REPLIES 2
Read only

Former Member
0 Likes
1,188

Hi SC,

you could try the following code snippet:


PARAMETERS: p_xcheck AS CHECKBOX.

AT SELECTION-SCREEN OUTPUT.
  %_p_xcheck_%_app_%-text = 'hola'.

(extracted from [SAP ABAP Help - Dynamic Parameter Texts in Selection Screen|http://help-abap.zevolving.com/2009/04/dynamic-parameter-texts-in-selection-screen/] and

Kind regards,

Alvaro

Read only

0 Likes
1,187

It works.

Thank you.

SC