Skip to Content
0
Former Member
Sep 21, 2012 at 02:25 PM

restrict F4 searchhelp for matnr: only show values of material-type ZXYZ

1348 Views

Hi all,

I want to restrict my F4 searchhelp for matnr: only show values of material-type ZFER

But I want to keep the nice standard searchhelp of matnr including it tabs and options and all.

Creating my own F4-search help using 'F4IF_INT_TABLE_VALUE_REQUEST' only shows one view forgetting all the standard F4-views for matnr.

Program

tables: mara, vbak.
constants co_mtart_ZFER type mtart value 'ZFER'.
*$*$ S E L E C T I O N S C R E E N *
SELECTION-SCREEN: BEGIN OF BLOCK s01 WITH FRAME TITLE text-s01.
SELECT-OPTIONS: so_matnr FOR MARA-matnr.
SELECTION-SCREEN: END OF BLOCK s01.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_matnr-low.
PERFORM so_matnr_f4 using 'SOMARA-LOW'.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_matnr-high.
PERFORM so_matnr_f4 using 'SOMARA-HIGH'.


Is there a way to just restrict the values in the matnr-searchhelp to only those materials of type ZFER?


Best regards,

Tim van Steenbergen

Tieka.nl