Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Passing input parameter to an standard search help

Hi all.

I have the following code into my Z report:

p_bukrs TYPE t8jv-bukrs OBLIGATORY,
p_vname TYPE t8jv-vname OBLIGATORY MATCHCODE OBJECT h_t8jv.

The SHLP H_T8JV has the field BUKRS as an import parameter. When the user executes the SHLP (press F4), I would like for it to reflect the value indicated by the user into the selection parameter P_BUKRS.

How can I do this?




I guess you want to allow F4 to both parameters p_bukrs and p_vname, and both values have to be passed to the search help forth and back?

I also guess that vname is the first parameter of this search help?

In that case, you must not use MATCHCODE OBJECT at all, because it will link only one field at a time.

Instead, you must find out a structure (or create it) that have these 2 fields, each having the H_T8JV search help assigned (with correct parameter assignment too), and the selection screen parameters must refer to this structure.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question