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

Search Help to display 2 different fields/values

Former Member
0 Likes
1,024

Hi Everyone,

I am going to use a search help for a certain screen transaction using a search help. A certain input field should have an F4 function (using list box). The values to be displayed after F4 input should be the Business Object type and BP number. This input field is can display either of the two fields.

How can I do this? Do I need to create a new search help for this? Business Object is from table SWOTIP field OBJTYPE and BP Number is form table BUT000 field PARTNER.

Kindly help me on this.

Thanks and regards,

RE

Hi Everyone,

I am going to use a search help for a certain screen transaction using a search help. A certain input field should have an F4 function (using list box). The values to be displayed after F4 input should be the Business Object type and BP number. This input field is can display either of the two fields.

How can I do this? Do I need to create a new search help for this? Business Object is from table SWOTIP field OBJTYPE and BP Number is form table BUT000 field PARTNER.

Kindly help me on this.

Thanks and regards,

RE

4 REPLIES 4
Read only

Former Member
0 Likes
838

Hi,

If i understand you correctly :

- You need F4 help on a screen filed and then display two separate fields.

Some questions based in this understanding:

- The values to be displayed (of the two fields) are dependent on some other screen field.

- Which is the value which should be copied back from the two displayed fields?

Please help me here to understand your problem.

Best Regards,

Ashish.

Read only

0 Likes
838

Hello Ashish,

The input help should have two possible values. It may be the Org unit number or the Business Partner number.

As for my experience in search help, the only thing I know about it is to set a reference db table then the field which is to be displayed during F4. For example, an input help requires a Plant number, the search help will have a reference table (selection method) T001W and a parameter of field WERKS.

What if the input field can contain either an org unit number OR a business partner number, how should I create the search help? What should be the selection method (table name) to be filled? Is it the BUT000 (for bus partner) or HRP1001 (for org unit)?

Thank you very much for your attention.

Regards,

RE

Read only

0 Likes
838

Hi Reymar,

Just try it out only if its feasible ,

firstly get the relavent data (to be displayed in F4 help) into an internal table.

prepare a ztable with the correct structure

use the db table in the search help.

Please revert if your scenario is different as far as my perspective is concerned.

Thanks and Regards

Srikanth.P

Read only

0 Likes
838

Hi SP,

I don't think I could control it using a program. The possible entries are populated thru the assignment of a search help in my structure in ABAP dictionary.

Would you know if a Search Help Exit can help me with my requirement?

Thanks and regards,

RE