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

Help in search help

Former Member
0 Likes
1,035

Hi

i create Z report.

In the selection screen i have 2 field: werks and MKMNR ( Master Inspection Characteristics). when i press F4 on MKMNR i see search help of MKMNR - <b>QPMK</b>

I want that the value of the werks will automatic enter to search help

for example if i entyer werks 1002,so i want to see only record that have 1002

How can i do it?

thanks

have a nice day

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
973

Hi,

What I understood is when you press F4 for MKMNR field you are getting the values of this field for all the plants, not for the one which was entered in WERKS field.

If you want like that you create youe own elementary search help for the field MKMNR from the table QPMK and use it instead of using the std help for the field MKMNR.

Regards,

Anji

Hi

i create Z report.

In the selection screen i have 2 field: werks and MKMNR ( Master Inspection Characteristics). when i press F4 on MKMNR i see search help of MKMNR - <b>QPMK</b>

I want that the value of the werks will automatic enter to search help

for example if i entyer werks 1002,so i want to see only record that have 1002

How can i do it?

thanks

have a nice day

7 REPLIES 7
Read only

Former Member
0 Likes
973

Hi Balan,

As per your requirement, go for the <b>extended search help</b> compared to the <b>elementary search help</b>.

Hope this will help you.

Reward all the helpful answers.

Regards

Read only

andreas_mann3
Active Contributor
0 Likes
973

hi,

try :

AT SELECTION-SCREEN ON VALUE-REQUEST FOR ...

...

fm F4IF_INT_TABLE_VALUE_REQUEST

A.

Message was edited by:

Andreas Mann

Read only

Former Member
0 Likes
974

Hi,

What I understood is when you press F4 for MKMNR field you are getting the values of this field for all the plants, not for the one which was entered in WERKS field.

If you want like that you create youe own elementary search help for the field MKMNR from the table QPMK and use it instead of using the std help for the field MKMNR.

Regards,

Anji

Read only

0 Likes
973

H iAnji

What you write it what i mean

but i dont undetstand what help me if iwll create new search help

Thanks

Read only

0 Likes
973

You need to do two things.

In you code. Set the parameter ID for plant 'WRK'.

Then on the search enter this parameter ID for the plant field.

Read only

0 Likes
973

hI

I did those 2 thing but it not work i see always all the plant and not the one i enter in selection screen

Read only

0 Likes
973

When the user enters the plant. They will have to hit 'enter' on the keyboard. Otherwise the plant value is not taken. What even did you do the set parameter.