09-21-2017 4:56 PM
Hello, I have a serie of entry parameters where there a match code, I need that this field (match code) will be dependent of a text parameter. For example, something like that :
SELECTION-SCREEN BEGIN OF BLOCK block02 WITH FRAME TITLE text-002.
PARAMETERS:
p_mona TYPE ZTIPOSOL GROUP rad1 MATCHCODE OBJECT ZFIMC002,
p_fcomp TYPE SY-DATUM MODIF ID A OBLIGATORY.
SELECTION-SCREEN END OF BLOCK block02
09-21-2017 5:47 PM
You should read how search helps work, in the SAP Library.
Using MATCHCODE OBJECT is not mandatory, whileas you type the screen fields to components of the same DDIC structure or table, see for instance :
PARAMETERS x TYPE scounter-carrid.
PARAMETERS y TYPE scounter-countnum.
People who don't have time to learn the concept of search helps often prefer to use the function module F4IF_INT_TABLE_VALUE_REQUEST and statement AT SELECTION-SCREEN ON VALUE-REQUEST (no need of using a search help).
PS: "match code" don't exist anymore since 4.0 (but it's a metonym for "search help")