Application Development 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: 

How to name the Check Box as "Want Free Gift" using PARAMETERS statements

Former Member
0 Kudos

Hi all,

I am new to check boxes. I have a existing report where I have to add a check box to the selection screen.

So i said

PARAMETERS: p_cncldc AS CHECKBOX.

everythibng is fine and I get the check box on the selection screen. when i execute the report i get the name of check box as p_cncldc. but i want the name of the check box as "Want Free Gift".

How to name the check box as "Want Free Gift".

if i am saying

PARAMTERS: Want Free Gift AS CHECKBOX. it says a syntax error saying it canot be more that 8 chars.

Some one please help. I am new to Check boxes

Regards,

Jessica Sam

Edited by: jessica sam on Mar 31, 2009 10:37 PM

6 REPLIES 6

Former Member
0 Kudos

Hi,

After you done this:

PARAMETERS: p_cncldc AS CHECKBOX. and compile your report then click menu button goto and select

Text Elements->Selection Texts and then put descriptions for the parameter p_cncldc.

That will get correct descriptions.

Li

former_member156446
Active Contributor
0 Kudos

use selection text

Former Member
0 Kudos

Text on the Right hand side of check box.

selection-screen begin of block b1.
 selection-screen begin of line.
parameters: w_check as checkbox.
 selection-screen: comment  4(30) TEST .
  selection-screen end of line.
 selection-screen end of block b1.

 INITIALIZATION.
 test = 'Want Free Gift AS CHECKBOX'.

Text on the Left hand side of check box.

selection-screen begin of block b1.
 selection-screen begin of line.
 selection-screen: comment  2(30) TEST .
parameters: w_check as checkbox.
  selection-screen end of line.
 selection-screen end of block b1.

 INITIALIZATION.
 test = 'Want Free Gift AS CHECKBOX'.

OR:

GOTO(Menubar)>Text Elements>Selection Texts

Regards,

Gurpreet

Former Member
0 Kudos

Hi,

the best way to provide any text to your screen elements like checkbox, radiobutton, button is through

the text elements.

MENU->Text Elements->Selection Texts

and provide the name to p_cncldc.

save and activate the changes.

thanks

ravi aswani

Former Member
0 Kudos

Hi Jessica,

Do like this:

Selection-Screen begin of block b2 with frame title text-001.

Parameters : p_disp as CHECKBOX.

selection-screen end of block b2.

Now double click on "text-001" then click on Tab: Selection texts.

there u will get "p_disp" write ur description there.

If any problem then revert back.

Regards,

Ankur

Former Member
0 Kudos

thanks to all solved.