2012 May 22 3:14 PM
Hi Experts,
I want to filter values that are already displayed in the input help in MIRO for witholding tax code based on some criteria (PO type and withholding type).
ACWT_ITEM-WT_WITHCD is the field in screen for which input has to be filtered in the F4 help itself.
But I am not able to get any exit to achieve this? Search help exit may not be feasible as no search help is used as such here.
Thanks,
Suhas
(FYI in detail to get clear idea:
Transaction MIRO Filter on Income withholding tax type
If withholding type (ACWT_ITEM-WITHT) is G1 or GA and
o Reference PO doc type (screen filed DRSEG-EBELNàEKKO-EBELNàEKKO-BSART) is not equal to ZS01, ZS02, ZTRN, ZLS, show only withholding tax code (ACWT_ITEM-WT_WITHCD) G3 in the drop down.
OR
o Reference PO doc type is ZS01, ZS02, ZTRN and ZLS, show all other tax codes for G1 and GA except G3.
However in all cases, though the filtered list is displayed, the AP clerk should still be able to enter other valid withholding codes (manual override).
)
Hi Experts,
I want to filter values that are already displayed in the input help in MIRO for witholding tax code based on some criteria (PO type and withholding type).
ACWT_ITEM-WT_WITHCD is the field in screen for which input has to be filtered in the F4 help itself.
But I am not able to get any exit to achieve this? Search help exit may not be feasible as no search help is used as such here.
Thanks,
Suhas
(FYI in detail to get clear idea:
Transaction MIRO Filter on Income withholding tax type
If withholding type (ACWT_ITEM-WITHT) is G1 or GA and
o Reference PO doc type (screen filed DRSEG-EBELNàEKKO-EBELNàEKKO-BSART) is not equal to ZS01, ZS02, ZTRN, ZLS, show only withholding tax code (ACWT_ITEM-WT_WITHCD) G3 in the drop down.
OR
o Reference PO doc type is ZS01, ZS02, ZTRN and ZLS, show all other tax codes for G1 and GA except G3.
However in all cases, though the filtered list is displayed, the AP clerk should still be able to enter other valid withholding codes (manual override).
)
2012 May 22 10:09 PM
Hi,
First, I'm not sure to understand what you exactly expect (especially because of the word "filter" that you use).
You can assign a custom search help through GuiXT: define a screen variant via transaction SHD0, assign GuiXT command "searchhelp"; then assign the screen variant to a transaction variant that you assign to MIRO as being standard.
For the custom search help, as you need to read other screen fields than the one you are "F4ing", I propose that you use ABAP via the search help exit, where you can read the screen fields you need (DYNP_VALUES_READ function module), that you will use to build the hit list (list of values displayed for F4).
Regards
Sandra
2012 May 23 3:47 AM
If you find some enhance point ..
try this..
process ON VALUE-REQUEST.
FIELD screen field name module F_SEARCH.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |