‎2008 Jul 02 8:32 AM
Hi,
I want to change selection text of a select-option in my program. I don't want to change it in goto->textelement.....
In which table selection text are stored.
‎2008 Jul 02 8:39 AM
Hi
Try this
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (35) s_txt02 FOR FIELD s_werks.
SELECT-OPTIONS: s_werks FOR marc-werks .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1 .
*----------------------------------------------------------------------*
* INITIALIZATION EVENT
*----------------------------------------------------------------------*
INITIALIZATION.
s_txt02 = 'Plant'(t03).
‎2008 Jul 02 8:40 AM
‎2008 Jul 02 8:43 AM
Bala,
I guess this text not save any where in SAP because its exsistance only at runtime.
Amit.
‎2008 Jul 02 8:47 AM
Hi Rajinikanth .
One thing I forgot to mention is it is 40B version. you can't add select-option in between begin of line and end ofline.
If you comment and select-option , select-option display in next line.
That's why I want to code it in program itself.
Hi floraian,
I have to develop a program where I have to hardcode selection text and text symbols inside.
for text symbols I found solution.
Thanks for your reply.
‎2008 Jul 02 10:41 AM
Amit,
you said it wont' save text any where in SAP because its exsistance only at runtime. How come we are editing selection text in goto->text elements->selection text.
Some where it should be stored, then only it can restore the value.
So, it will store the textsymbols and selection text in some tables.
BM