‎2006 Dec 28 4:31 PM
Hi guys,
I'm not quite sure if it is possible, but one thing I've learned is, Everything is possible in Computer Science.
So my question is, Can I create a custom container variable in a selection screen, without using screen painter?
Well, my guess is yes, if we can using screen-painter why not using abap commands.
Imagine the first selection-screen from a report, a simple one....I want(better...i need ) to create an container variable there, so that after I can load a logo image to it, but I can't use screen-painter.... How can I do that...?
Example...
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: RB1 RADIOBUTTON GROUP G1 MODIF ID GR1.
SELECTION-SCREEN POSITION 5.
SELECTION-SCREEN COMMENT 5(32) TEXT-033.
SELECT-OPTIONS: p_num FOR ZTESTE-NUM no intervals.
'How can I place a container variable here '
SELECTION-SCREEN END OF LINE.
After creating the variable there I can load an image in a simple way to the variable, the problem is creating the variable...
Message was edited by:
Gonçalo Mouro Vaz
null
‎2006 Dec 28 4:40 PM
Please go through this code sample. It might be helpful for your problem,
Regards
Kathirvel
‎2006 Dec 28 4:42 PM
Hi
Probably all is possible in another world....not here.
No! I don't believe you can't do it without using the screen painter and you should consider it's not good idea to change the screen generated for the selection-screen manually because it's generated every time something is changed so it can risk to loose own modifications.
Max