02-17-2016 6:59 AM
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
02-17-2016 7:36 AM
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.
02-17-2016 8:17 AM
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
02-17-2016 8:35 AM
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.
02-17-2016 8:42 AM
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
02-17-2016 8:49 AM
Ok Similarly i am having same type of thing. I used some where in standard t-code.
02-17-2016 8:54 AM
What have done for that? And is that requirement is same as mine?
02-17-2016 9:00 AM
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.
02-17-2016 9:39 AM
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).
07-27-2016 7:02 PM
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