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: 

using se11 Single search help populate more than 1 parameter on selection screen

himanshu_patel6
Explorer
0 Kudos
1,293

Hi,

I'm having some problem with search helps in Selection Screen. I'm trying to develop a search help through the SE11, not using the function F4IF_INT_TABLE_VALUE_REQUEST.

The problem I'm having is to get the values other than the field in which the user pressed F4 to the screen.

For example:

1. User pressed F4 on Field EBELN.

2. He selects the line needs.

3. EBELN, MATNR and WERKS should be populated on screen, but I'm only getting EBELN.

As per below I created Search Help in SE11

Can someone explain how does the search help attachment is done so it can populate 3 fields at a time.

Thanks,

Himanshu Patel.

1 ACCEPTED SOLUTION

former_member223133
Active Participant
0 Kudos
679

Hi Himanshu,

Uncheck  IMP parameter for WERKS and MATNR.

Regards

Gangadhar

8 REPLIES 8

Former Member
0 Kudos
679


AT SELECTION-SCREEN OUTPUT you have to set the values of other selection screen parameters based on selected value of EBELN. There are some FMs to set the DYNPRO values.

You can check the SAP Standard Transaction code F110 , you will get whole logic.

Sorry I am currently not infront of SAP system else I could provide you more details.

BR,

Prakash

0 Kudos
679

Thanks for kindly reply.

But I want to use Search Help creating through SE11 and I faced problem.

Alternate solution using FM - 'F4IF_INT_TABLE_VALUE_REQUEST'.

But how to possible without using FM - ' F4IF_INT_TABLE_VALUE_REQUEST'.

Thanks,

Himanshu Patel.

former_member223133
Active Participant
0 Kudos
680

Hi Himanshu,

Uncheck  IMP parameter for WERKS and MATNR.

Regards

Gangadhar

0 Kudos
679

Hi Gangadhar Ragula,

  Not properly working after Uncheck  IMP parameter for WERKS and MATNR.


Thanks,

Himanshu Patel.

0 Kudos
679

Hi Himanshu,

Below are some points.

  • Check if the z-field is attached to the search help defined.
  • Define selection parameters, with the same fields as defined in the search help.
  • Order should be as per search help.

PARAMETERS: p_ebeln TYPE ZTEST_SH-ebeln,
             p_werks TYPE ZTEST_SH-werks,
             p_matnr TYPE ZTEST_SH-matnr.

Regards

Gangadhar

0 Kudos
679

Hi Gangadhar Ragula,

    Thanks, Done.

Thanks,

Himanshu Patel.

Former Member
0 Kudos
679

Hi,

When I create an identical search help, if I try to test (F8) it, fields EBELN WERKS and MATNR are available to input.

Is it what you want? If not, could you please describe more precisely what you need?

Regards,

Christophe Drancourt

0 Kudos
679

Oh, I think I got it with Gangadhar's anwer.

I think you can use a parameter ID to get what you want.

Create it or maintain it with SM30 on table tpara

Then fill the user ID name in default value of your search help.

Then, use "set parameter ID" on your search help call.