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

F4 help in selection screen

HI,

I am using field EEPFN of table PA0587 in our selection screen like

S_EEPFN FOR PA0587-EEPFN.

I am unable to see input help means f4 help.Can any body tell me the

solution.

thanks,

rakesh

replied

Hi

I hope, since it is not having any search help or match code assign to it, it is not able to prompt a popup for F4 help.

If this is the case, you can code your own F4 help with custom code

 at selection-screen on value-request for S_EEPFN -LOW.
  perform F_GET_RELEASED_TRS changing S_EEPFN -LOW.

at selection-screen on value-request for S_EEPFN -HIGH.
  perform F_GET_RELEASED_TRS changing S_EEPFN -HIGH.

 form F_GET_RELEASED_TRS  changing P_EEPFN.
 data: it_tab type value_tab. "declare the internal table as u like  
 data: it_ret type DDSHRETVAL occurs 0 with header line.
  select field1 field2 from XXXX into table it_tab.

  call function 'F4IF_INT_TABLE_VALUE_REQUEST'
    exporting
      RETFIELD    = 'FIELD2' "field name in your value tab i.e it_tab
         VALUE_ORG   = 'S'
    tables
      VALUE_TAB   = it_tab[]
     return_tab       = it_ret[].
if sy-subrc eq 0.
read table it_ret index 1.
p_eepfn = it_ret-fieldval.
endif.
endform.                    " F_GET_RELEASED_TRS

Thanks

Praveen

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