Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Alternate to 'HELP_VALUES_GET_WITH_TABLE'

Former Member
0 Kudos

Dear All,

What could be the possible alternate to 'HELP_VALUES_GET_WITH_TABLE' a function module which has become obsolete now a days??

Regards,

Alok.

4 REPLIES 4

Former Member
0 Kudos

Hi ,

U can use FM <b>'F4IF_INT_TABLE_VALUE_REQUEST' .</b>

Regards ,

Senthil

santhosh_patil
Contributor
0 Kudos

Hi..

try with...POPUP_WITH_TABLE_DISPLAY

---santhosh

Former Member
0 Kudos

Hai Alok

Try with the following Code

TABLES : MARD.

DATA: BEGIN OF IT_MARD OCCURS 0,

WERKS LIKE MARD-WERKS,

END OF IT_MARD.

DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.

parameters : P_WERKS LIKE MARD-WERKS.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WERKS.

SELECT WERKS FROM MARD UP TO 10 ROWS INTO table IT_MARD.

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

RETFIELD = 'WERKS'

DYNPPROG = SY-REPID

DYNPNR = '1000'

DYNPROFIELD = 'P_WERKS'

VALUE_ORG = 'S'

TABLES

VALUE_TAB = IT_MARD

RETURN_TAB = T_RETURN

EXCEPTIONS

PARAMETER_ERROR = 1

NO_VALUES_FOUND = 2

OTHERS = 3.

if sy-subrc = 0.

read table it_mard index 1. "transporting werks.

move it_mard-lgort to p_lgort.

endif.

Thanks & regards

Sreenivasulu P

Former Member
0 Kudos

Hi

you can use the function module F4TOOL_F4FUNCTION_BRIDGE as an alternate for the Function Module HELP_VALUES_GET_WITH_TABLE