03-31-2009 11:32 PM
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
04-01-2009 12:18 AM
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
04-01-2009 12:20 AM
04-01-2009 5:19 AM
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
04-01-2009 5:40 AM
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
04-01-2009 7:01 AM
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
04-01-2009 7:31 PM