‎2009 Jul 01 3:14 PM
Hi
Is there any ways to hardcode the selection text into the selection rather then including it in a text element.
Thanks
‎2009 Jul 01 3:20 PM
No. Why would you want to, anyway?
well, theoretically you could by doing your own screen design, but what would be the point - it'd be painful and you wouldn't achieve much. If you're concerned about the appearance when logging in on another language, it's easy enough to write a program that will copy English texts, for example, to the other language in the text pool, if no such text already exists.
matt
‎2009 Jul 01 3:24 PM
Hi Matt
So can u please help me about copying texts to english...
Thanks
‎2009 Jul 01 4:33 PM
Hi,
it's possible to fill the selection texts dinamically in the INITIALIZATION event of you report.
The statement to fill the selection text:
%_<NAME OF PARAMETER/SELECT OPTIONS>_%_app_%-text = 'Text from INITIALIZATION'.
Hereafter an example:
SELECT-OPTIONS: strkorr FOR w_aux_strkorr , "Request
spgmid FOR w_aux_pgmid, "Program ID
sobject FOR w_aux_object, "Object Type
sobjname FOR w_aux_obj_name. "Object Name
SELECTION-SCREEN SKIP 1.
PARAMETERS: rfcdes TYPE rfcdes-rfcdest OBLIGATORY . "Remote Destination
INITIALIZATION.
* Fill Dynamic texts
%_strkorr_%_app_%-text = 'Request'.
%_spgmid_%_app_%-text = 'Program ID'.
%_sobject_%_app_%-text = 'Object Type'.
%_sobjname_%_app_%-text = 'Object Name'.
%_rfcdes_%_app_%-text = 'Remote Dest.'.
Kind Regards.
Andrea
Edited by: Andrea Olivieri on Jul 1, 2009 5:39 PM