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: 

Composite Search Help User-Exit (DEBI) - how to facilitate?

Former Member
0 Kudos

Hi all,

I am recently trying to enhance a composite Search Help DEBI.

It consists of ~13 Search Helps, like DEBIA, DEBIK, DEBIE ....

I am interested in 1 field that occurs in ~7 Search Helps.

And the field is SORTL.

What I would like to do is to enhance selection method,

so everywere user specifies value for SORTL field,

it will also be used to search for Debitors with telephone number.

In result also such Debitors should be displayed for which ADR2-TEL_NUMBER = SORTL.

And here the problem lies,

Is it possible to create such exit at the top level (DEBI),

and write only one piece of abap code?

Or do I need to create a separate Exit for each SHelp included (DEBIA, DEBIE, ...),

as each of them reads data with a different selection method?

That would be a disaster, as then I would need to crete 7 Exit functions,

and for each of them separately write abap logic for:

IF callcontrol-step = 'SELECT'... or 'DISP'...

     "collect data according to my abap code...

ENDIF.

I would appreciate your suggestions on that.

Regards,

Bob.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Here it is:

http://scn.sap.com/thread/1831345

Look at the discussion on collective search helps.

Rob

4 REPLIES 4

Former Member
0 Kudos

I asked a similar question some time ago and got a positive answer. I'll hunt around to see if I can find it.

Rob

Former Member
0 Kudos

Here it is:

http://scn.sap.com/thread/1831345

Look at the discussion on collective search helps.

Rob

0 Kudos

I wonder if will find his way back, one of the most knowledgeable guys I have ever seen here.

Thomas

0 Kudos

A very helpful guy, but I aven't seen him around for a long time.

Rob