Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

dynamic selectionof selection-screen

Former Member
0 Kudos

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

14 REPLIES 14

Pawan_Kesari
Active Contributor
0 Kudos

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

0 Kudos

hai

u have understood the question correctly

Former Member
0 Kudos

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

0 Kudos

my question is

when user enters table1 = vbak

on selection-screen 'input' should become as 'vbak' dynamically

i dnt want use text elements

0 Kudos

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

0 Kudos

i have done this

but the output is showing in list

but i need on selection-screen itself 'input' should become as vbak

0 Kudos

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

0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

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.

0 Kudos

HAI BHARATH

CAN U TELL ME WITHOUT PRESSING ENTER

CAN I GET THE OUTPUT U HAVE TOLD

Message was edited by:

shravan ramidi

0 Kudos

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.

0 Kudos

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

0 Kudos

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