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: 

corresponding text field coming automatically.

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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

kesavadas_thekkillath
Active Contributor
0 Kudos

Ur Qn ism confusing...make it a bit more clear

naveen_inuganti2
Active Contributor
0 Kudos

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