‎2008 Mar 26 10:30 PM
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 dont 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.
‎2008 Mar 26 10:42 PM
put them in the event AT SELECTION-SCREEN OUTPUT.
AT SELECTION-SCREEN OUTPUT.
*Select the bu_type
*change p_typ
‎2008 Mar 26 10:44 PM
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
‎2008 Mar 26 10:48 PM
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.