09-01-2008 7:34 AM
hi all
in my selection screen Material group and corresponding text is there.
this is a simple report program.
selection screen:::
matnr
text
my requirement is
if user select any matnr then the corresponding text field coming automatically.
but this text field is present in one text table.
pls help me.. what can i do.
thanks in advance.
indu
09-01-2008 7:40 AM
Hi Indu,
You can achieve this using AT SELECTION-SCREEN. event block.
In AT SELECTION-SCREEN. event, write a SELECT query to fetch the text from MAKT table for the given MATNR and populate in Text field in seletion screen.
Best regards,
raam
09-01-2008 7:42 AM
09-01-2008 7:50 AM
Hi....
Check this program...
selection-screen begin of block b1 with frame.
parameter: p_matnr like mara-matnr.
parameter: text like makt-maktx.
selection-screen end of block b1.
at selection-screen.
select maktx from makt into text where matnr = p_matnr.
endselect.
Now in output enter Material number and Press Enter....
Thanks,
Naveen.I