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

MIRO: Input help with check table

suhasykhengle
Explorer
0 Likes
1,074

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).

)

2 REPLIES 2
Read only

Sandra_Rossi
Active Contributor
0 Likes
773

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

Read only

Former Member
0 Likes
773

If you find some enhance point ..

try this..

  process ON VALUE-REQUEST.

  FIELD screen field name  module F_SEARCH.