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

Multi-Value return on the selection screen.

harimanjesh_an
Active Participant
0 Likes
677

hi everyone,

I have two parameters on selection screen, Material Number and Material Description. I have provided custom F4 help for Material Number and the Material Description Field is input disabled. On selecting one of the values for Matnr from F4 help, it should auto populate Material Description without pressing enter or F8.

How to achieve this?

1 ACCEPTED SOLUTION
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
616

Hi,

For this you need to create a Search help that EXPORTS these two values.

And then Create a strcutre which will have these two fields, and in SE11 you should assign your search help to on of the fields and MAP your search help EXPORT parameters to your Structure fields.

After doing this use this strcutre to create your selection-screen fields.

PARAMETER: fld1 like struct-fld1,

fld2 like struct-fld2.

Here struct is the structure that you create and where you assign your search help to structure.

Regards,

Sesh

3 REPLIES 3
Read only

seshatalpasai_madala
Product and Topic Expert
Product and Topic Expert
0 Likes
617

Hi,

For this you need to create a Search help that EXPORTS these two values.

And then Create a strcutre which will have these two fields, and in SE11 you should assign your search help to on of the fields and MAP your search help EXPORT parameters to your Structure fields.

After doing this use this strcutre to create your selection-screen fields.

PARAMETER: fld1 like struct-fld1,

fld2 like struct-fld2.

Here struct is the structure that you create and where you assign your search help to structure.

Regards,

Sesh

Read only

Former Member
0 Likes
616

Harimanjesh,

You could use the <b>AT SELECTION-SCREEN ON VALUE REQUEST for p_matnr</b> for filling description into your Material Description parameter.

*p_matnr is your parameter for material no.

Cheers,

AJ

Message was edited by:

Ankur Jain

Read only

vallamuthu_madheswaran2
Active Contributor
0 Likes
616

Hi,

parameters: p_matnr like mara-matnr,

p_desc like makt-maktx.

data desc like makt-maktx.

AT SELECTION-SCREEN ON VALUE REQUEST for p_matnr .

select single maktx form makt

into desc where matnr = p_matnr.

p_desc = desc.

Good Regards,

vallamuthu.M