Application Development and Automation 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: 
Read only

Replacement for a Function module

Former Member
0 Likes
487

Hi all,

There is a function module '<b>HELP_VALUES_GET_NO_DD_NAME'</b> to display possible values for a database field. This FM is getting obsolete in near future.

Does anyone know any replacement provided by SAP for this FM?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
428

Hi

You can check with this Function Module F4IF_INT_TABLE_VALUE_REQUEST

Regards

Haritha

3 REPLIES 3
Read only

Former Member
0 Likes
429

Hi

You can check with this Function Module F4IF_INT_TABLE_VALUE_REQUEST

Regards

Haritha

Read only

anversha_s
Active Contributor
0 Likes
428

Hi,

<b>replaced with the FM F4IF_INT_TABLE_VALUE_REQUEST.</b>

check this thread

sample code.

tables: mara, makt.

data: begin of itab occurs 0,

matnr like mara-matnr,

end of itab.

data : begin of btab occurs 0,

maktx like makt-maktx,

end of btab.

data mak like makt-maktx.

DATA : return like ddshretval occurs 0 with header line.

data: begin of dynpfields occurs 0.

include structure dynpread.

data: end of dynpfields.

parameters: p_matnr like mara-matnr,

p_maktx like makt-maktx.

Initialization.

AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.

REFRESH ITAB.

SELECT matnr FROM mara INTO TABLE ITAB.

call function 'F4IF_INT_TABLE_VALUE_REQUEST'

EXPORTING

retfield = 'MATNR '

dynprofield = 'P_MATNR '

dynpprog = sy-REPID

dynpnr = sy-dynnr

value_org = 'S'

TABLES

value_tab = ITAB

return_tab = return.

p_matnr = return-fieldval.

rgds

anver

<i>if hlped pls mark points</i>

Message was edited by: Anversha s

Read only

Former Member
0 Likes
428

Hi Amogh,

If you can check the documentation of the FM 'HELP_VALUES_GET_NO_DD_NAME' , it is clearly mentioned that it is obsolete and use F4IF_INT_TABLE_VALUE_REQUEST