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

corresponding text field coming automatically.

Former Member
0 Likes
677

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

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
Read only

Former Member
0 Likes
647

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

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
647

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

Read only

naveen_inuganti2
Active Contributor
0 Likes
647

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