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

Obsolete Function Module replacement

Former Member
0 Likes
772

Dear All,

Can anyone suggest me the replacement for the Obsolete function module "HELP_VALUES_GET_NO_DD_NAME"?

Plz reply me as soon as possible.

Correct replacement will be rewarded.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
697

hi,

it is :

F4IF_INT_TABLE_VALUE_REQUEST

reward if helpful..

5 REPLIES 5
Read only

Former Member
0 Likes
697

Hi

Use F4IF_INT_TABLE_VALUE_REQUEST

Thanks

Vijay

PLZ reward points if helpful

Read only

Former Member
0 Likes
697

Hi,

The replacement is F4IF_INT_TABLE_VALUE_REQUEST.

Regards,

John.

Read only

Former Member
0 Likes
697

Hi

see this sample code you can understand very easily


TYPES : BEGIN OF ST_OBJID_SH,
OTYPE TYPE HRP1000-OTYPE,
OBJID TYPE HRP1000-OBJID,
END OF ST_OBJID_SH.

DATA : IT_OBJID_SH TYPE STANDARD TABLE OF ST_OBJID_SH.
DATA : WA_OBJID_SH TYPE ST_OBJID_SH.

************SELECTION SCREEN DESIGN************************

SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.

*SELECT-OPTIONS : S_OTYPE FOR HRP1001-OTYPE NO INTERVALS .
SELECT-OPTIONS : S_OBJID FOR HRP1001-OBJID NO INTERVALS .
SELECT-OPTIONS : DATE FOR SY-DATUM NO-EXTENSION OBLIGATORY.

SELECTION-SCREEN END OF BLOCK B1.

***********END OF SELECTION SCREEN DESIGN******************

**********VALIDATION FOR SCREEN FIELDS*********************

AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_OBJID-LOW.


IF S_OBJID IS NOT INITIAL. 

SELECT OTYPE OBJID FROM HRP1000
INTO TABLE IT_OBJID_SH
WHERE OTYPE = 'D'.

IF SY-SUBRC EQ 0.


SEARCH HELP FOR QUALIFICATION. 

CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING

DDIC_STRUCTURE = ' ' 
RETFIELD = 'OBJID'

PVALKEY = ' ' 
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'S_OBJID'

STEPL = 0 
WINDOW_TITLE = 
VALUE = ' ' 
VALUE_ORG = 'S'

MULTIPLE_CHOICE = ' ' 
DISPLAY = ' ' 
CALLBACK_PROGRAM = ' ' 
CALLBACK_FORM = ' ' 
MARK_TAB = 
IMPORTING 
USER_RESET = 
TABLES
VALUE_TAB = IT_OBJID_SH

FIELD_TAB = 
RETURN_TAB = RETURN_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.
ENDIF.

Regards,

Chandru

Read only

Former Member
0 Likes
698

hi,

it is :

F4IF_INT_TABLE_VALUE_REQUEST

reward if helpful..

Read only

Former Member
0 Likes
697

Hi

F4IF_INT_TABLE_VALUE_REQUEST is the function module you can use instead of the obsolete one.

Thanks and Regads

A Swarna