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: 

How to filter search help entries for a standard field with no Search help in table

VijayaKrishnaG
Active Contributor
0 Kudos

Dear Experts, Good day.

I got a requirement to restrict the values in the Search help for the standard field based on some condition.

Transaction: VA01 / VA02.

Screen field : Special processing indicator (VBKD-SDABW)

Condition: Special processing indicators should be restricted/filtered based on the Division (VBAK-SPART) of Sale order.

If there is a search help exist for the field in table SDABW, search help exit can be used. But there is no Search help exist for the field and the values are coming directly from the value table.

Please help me out, how to restrict the Special processing indicators based on the Division of Sales order in transaction VA01 or VA02.

Thanks & Regards,

Vijay

9 REPLIES 9

meenakshi_raina
Advisor
Advisor
0 Kudos

Hi Vijay,

Try finding an exit/enhancement spot. Then you can try giving a error message if the user is selecting values other than you want.

0 Kudos

Hi Meenakshi,

The requirement is to filter the entries in the Search help, that means F4 help should display Special processing indicators that belong to respective division.

Throwing an error after selecting an entry by user is different kind of thing and that kills the User time.

Regards,

Vijay

0 Kudos

For suppose If there is any Enhancement point, Before showing the Search help result.

You can change the Records as per your requirement.

May i know where is this  Special processing indicator (VBKD-SDABW), Under which tab. Header or row.

Can u tell me. I never seen the exact point. I checked 5 minutes but not able to find it.

0 Kudos

Hi,

This field will be under  'Shipping' tab in 'Item conditions'.

I have a solution already to achieve this, that is by enhancing the routine: CALL_SHLP_EXIT in Include: LSDSDF05.

But I am waiting/looking for any much more better solution than the above.

Because, this routine will be triggered for all the search helps in the system.

Regards,

Vijay

0 Kudos

Ok Similarly i am having same type of thing. I used some where in standard t-code.

0 Kudos

What have done for that? And is that requirement is same as mine?

0 Kudos

No Tcode is Fs001  I Need to remove Some records in the search help.

I just delete the records.   before displaying the records. .

After clicking on search help before display One internal table it is saving the records.

I need to remove one gl from the itab. .

Code will trigger only for fs001.

michael_kozlowski
Active Contributor
0 Kudos

Try to create customer search help for TVSAK/SDABW and assign search help in Dynpro SAPMV45A 4452 for VBKD-SDABW (have to register object before).

0 Kudos

Hi Vijay,

Please refer below link, maybe this can help.

http://scn.sap.com/community/abap/hana/blog/2015/03/10/spotlight-on-the-enhanced-search-f4-help

Regards,

Dheeraj