Skip to Content
0
Former Member
Mar 21, 2012 at 06:58 AM

F4 help

24 Views

Hi

In F4 help list, no values comings in the output list. Please help me.

Types: begin of ty_ext,

p_extype(10) type c,

end of ty_ext.

data: t_ext type standard table of ty_ext,

wa_ext like line of t_ext.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_extype.

wa_ext-p_extype = 'OLD'.

APPENd wa_ext to t_ext.

wa_ext-p_extype = 'NEW'.

APPENd wa_ext to t_ext.

wa_ext-p_extype = 'CHNAGE'.

APPENd wa_ext to t_ext.

* SELECT EX_TYPE FROM yextraction_type INTO TABLE ext.

*-------------------------------------------------------*

* F4 value for Extraction Type *

*-------------------------------------------------------*

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'P_EXTYPE'

dynpprog = sy-cprog

dynpnr = '1000'

dynprofield = 'P_EXTYPE'

value_org = 'S'

display = 'F'

TABLES

value_tab = t_ext[]

return_tab = it_return

EXCEPTIONS

parameter_error = 1

no_values_found = 2

OTHERS = 3.

READ TABLE it_return INTO wa_return INDEX 1.

IF sy-subrc EQ 0.

p_extype = wa_return-fieldval.

ENDIF.

Moderator message : Not enough re-search before posting, discussion locked.

Message was edited by: Vinod Kumar