07-02-2007 11:07 AM
parameters table1.
parameters input.
i have enter dynamic text into table1
like table1 = vbak.
i like to see instead of input as table1(i.e vbak) on selection-screen
when user dynamically gives value of table1
help me plz
<b></b><b></b><b></b><b></b>
Message was edited by:
shravan ramidi
07-02-2007 11:11 AM
IF I UNDERSTOOD THIS QUESTION CORRECTLY..
I think this is not possible..
To update the value of 'input' from 'table1' PAI and PBO should execute....
Message was edited by:
Pawan Kesari
07-02-2007 11:30 AM
07-02-2007 11:20 AM
Hi Shravan
declare like this
PARAMETERS : COMPANY LIKE BSEG-BUKRS.
or you can declare like this
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP 2.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 25(23) text-002.
SELECT-OPTIONS: S_ebelp FOR eKPO-ebelp.
PARAMETERS:p_lifnr LIKE ekko-lifnr .
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
and on the editor goto Text elements then goto change mode and there goto selection texts there u declare your name which you want to display outside for user
Reward all helpfull answers
Regards
Pavan
07-02-2007 11:33 AM
my question is
when user enters table1 = vbak
on selection-screen 'input' should become as 'vbak' dynamically
i dnt want use text elements
07-02-2007 11:39 AM
Hi..,
After entering the table name in table1 user has to press <b>enter.</b>
parameters :
table1(30) type c,
input(30) type c.
at selection-screen output.
input = table1.
start-of-selection.
write input.
regards,
sai ramesh
07-02-2007 11:46 AM
i have done this
but the output is showing in list
but i need on selection-screen itself 'input' should become as vbak
07-02-2007 11:51 AM
Hi Shravan
Do u want defalut value as vbak???Or you want all the values in the field VBAK. If you want your default value as vbak use this
Data: p_data(25) type c value ' vbak'
If your requirement is different then plz be clear in your question
Reward all helpfull answers
Regards
Pavan
07-02-2007 11:52 AM
even done like that
ur place the vbak in the textbox , like to place in the label of 'input' ,
as selection-screen output should
after the user given the value of table as vbak
it should like on selectionscreen
table : vbak
vbak :...............
the vbak is instead of input
07-02-2007 11:54 AM
not like that
if use gives value
table1 : vbak or vbap
i have to get instead of 'input' as 'vbak' or 'vbap' how user choose
07-02-2007 11:51 AM
hi,
GIVE THE VALUE FOR TABLE1 PARAMETER AND PRESS ENTER
parameters :
table1(30) type c DEFAULT 'INPUT',
input(30) type c.
at selection-screen output.
%_INPUT_%_APP_%-TEXT = table1.
<b>REWARD IF HELPFUL</b>
RGDS,
BHARAT.
07-02-2007 12:34 PM
HAI BHARATH
CAN U TELL ME WITHOUT PRESSING ENTER
CAN I GET THE OUTPUT U HAVE TOLD
Message was edited by:
shravan ramidi
07-02-2007 12:54 PM
Hi,
if u want to get it without pressing enter means u have to initialize that value(default value) or U HAVE TO USE TWO SCREENS.
otherwise it is not possible.
RGDS,
BHARAT.
07-02-2007 12:55 PM
hI...,
Just execute this program once.....
parameters :
table1(30) type c,
input(30) type c.
data w_flag type i.
at selection-screen output.
if w_flag eq 1.
clear w_flag.
loop at screen.
if screen-name = 'INPUT'.
%_INPUT_%_APP_%-TEXT = TABLE1.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
at selection-screen.
w_flag = 1.
start-of-selection.
write input.
regards,
sai ramesh
07-02-2007 1:12 PM
Hi shravan,
please take your caps lock out - it enhances readability as well as goodwill.
For a solution of 'change screen contents without Enter' do a forum search on 'autorefresh'.
Thats's a solution.
Regards,
Clemens