‎2008 Apr 29 7:23 AM
Can any one tell what the replacement FM for
HELP_VALUES_GET_WITH_VALUE
‎2008 Apr 29 7:27 AM
Check out
POPUP_TO_DISPLAY_TEXT or POPUP_TO_DISPLAY_MESSAGE..
Regards,
Santosh
‎2008 Apr 29 7:30 AM
You can try F4_SEARCH_HELP or F4IF_DISPLAY_VALUES .
Do let me know if this helped.
Thanks,
Pranjal.
‎2008 Apr 29 7:31 AM
You can use this instead of your fm:
F4IF_INT_TABLE_VALUE_REQUEST
Regards.
Dara.
‎2008 Apr 29 7:32 AM
Hi Giridhar,
Use FM
F4IF_INT_TABLE_VALUE_REQUEST
and
POPUP_TO_DISPLAY_TEXT
If it is helpfull pls reward pts.
Regards
Srimanta
‎2008 Apr 29 7:51 AM
Hi,
You can use
F4IF_INT_TABLE_VALUE_REQUEST
Reward all helpful answers
‎2008 Apr 29 2:22 PM
>
> Can any one tell what the replacement FM for
> HELP_VALUES_GET_WITH_VALUE
Hi,
u can use function module "'F4IF_INT_TABLE_VALUE_REQUEST".but pass the parameters accordingly.
see the below code for example.
CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE'
EXPORTING
display = ' '
titel = text-h31
show_all_values_at_first_time = 'X'
IMPORTING
select_value = v_sel_cntry
TABLES
fields = isel_fields
valuetab = isel_cntry.
replacement :
data: v_sel_cntry_tab type table of DDSHRETVAL.
data: wa_sel_cntry_tab type DDSHRETVAL.
data: it1_fields type table of DFIES.
data: wa1_fields_tab type dfies.
data: wa1_fields type help_value.
loop at isel_fields into wa1_fields.
wa1_fields_tab-tabname = wa1_fields-tabname.
wa1_fields_tab-fieldname = wa1_fields-fieldname.
wa1_fields_tab-KEYFLAG = wa1_fields-SELECTFLAG.
append wa1_fields_tab to it1_fields.
endloop.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
DDIC_STRUCTURE = ' '
RETFIELD = 'JOBNAME'
WINDOW_TITLE = text-h31
DISPLAY = ' '
TABLES
VALUE_TAB = isel_cntry
FIELD_TAB = it1_fields
RETURN_TAB = v_sel_cntry_tab
DYNPFLD_MAPPING =
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
loop at v_sel_cntry_tab into wa_sel_cntry_tab.
if p_var1 = 's_cntry-low'.
s_cntry-low = wa_sel_cntry_tab-FIELDVAL.
elseif p_var1 = 's_cntry-high'.
s_cntry-high = wa_sel_cntry_tab-FIELDVAL.
endif.
exit.
Endloop.
reward if useful..
Edited by: Siva Kalyan Patti on Apr 29, 2008 3:22 PM