Application Development and Automation 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: 
Read only

Selection screen field values

Former Member
0 Likes
531

Hi,

I created a selection screen with 2 fields.

SELECTION-SCREEN begin of block selscr1 with frame title text-s01.

example-

PARAMETERS: p_ptr type BU_PARTNER,

p_typ type BU_TYPE.

SELECTION-SCREEN begin of block selscr2 with frame title text-s02

My question is -

when user selects BP value (like example 1000000005 - then i want to display corresponding values in bp type field(p_typ) ( i don’t want to display all the values, i want to scrutinize the values and then display.)

can any one tell me how i can do this?

Thanks.

Sandhya.

3 REPLIES 3
Read only

Former Member
0 Likes
487

put them in the event AT SELECTION-SCREEN OUTPUT.


AT SELECTION-SCREEN OUTPUT.
*Select the bu_type
*change p_typ

Read only

Former Member
0 Likes
487

hi,

use at selection-screen output.

change the second field acording to u'r requirment.

The assignments to input fields in the event block AT SELECTION-SCREEN OUTPUT always affect the selection screen and overwrite the user inputs from previous displays of the same selection screen. .

regards,

chandu

Edited by: CHANDRASEKHAR KONDAPANENI on Mar 26, 2008 11:47 PM

Read only

Former Member
0 Likes
487

Sandhya

One way would be once the selection screen designing is done

at selection screen.

if bu_partner is not initial.

Select single BU_TYPE from <dtable> where bu_partner = <dtable>-bu_partner.

endif.

It will do the rest.