Skip to Content
avatar image
Former Member

corresponding text field coming automatically.

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Sep 01, 2008 at 06: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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 01, 2008 at 06:42 AM

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

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 01, 2008 at 06: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

    Add comment
    10|10000 characters needed characters exceeded