2006 Jun 15 10:39 AM
Hi Everybody,
Could someone give me the replacement function module for TRANSFER_NAMES_TO_FIELDS, as this is obsolete.
Thanks,
Arul.
Hi Everybody,
Could someone give me the replacement function module for TRANSFER_NAMES_TO_FIELDS, as this is obsolete.
Thanks,
Arul.
2006 Jun 15 10:46 AM
chk this
F4IF_INT_TABLE_VALUE_REQUEST
Reward points if answered and close thread if solved
Message was edited by: Chandrasekhar Jagarlamudi
2006 Jun 15 10:47 AM
2006 Jun 15 10:49 AM
2006 Jun 15 10:49 AM
Hi Raj,
Its not Obsolete even in ECC5.0.
Which version are you on? 6.0?
To tell that a function module is obsolete. you should
see the Attributes tab of the FM and see if a date is there in the Function Obsolete Field(IN General data Section).
In Ecc5.0 its not obsolte.
REgards,
ravi
2006 Jun 15 10:51 AM
Hi Ravi,
Even though it's not mentioned in the function module documentation, it gives an error in the EPC when it is used in a report, as the function module is flagged ( which means its obsolete).
Thanks,
Arul.
2006 Jun 15 10:58 AM
I Have done the EPC for a program using this FM.
Its absolutely alright.
The problem may be something else.
Do an EPC check for SAPMJBBEWZUSAINIT.
This program also uses the FM you have mentioned.
Regards,
Ravi
2006 Jun 15 10:55 AM
No,
This FM is obsolute from 4.7 onwards,
Check FMs available in <b>Function Groups SDH4 and SDHI</b>you can find a suitable one.
rgds,
TM
2006 Jun 15 11:14 AM
Hi,
The FM is obsolete in Higher versions. so you can use the FM <b>F4IF_INT_TABLE_VALUE_REQUEST</b>
Regards
vijay
2006 Jun 15 11:28 AM
Hai
go through the following COde
and also Check the difference b/w the two Function modules
both are giving the same output
LI_DDIC_FIELD_LIST-FELDNAME = 'ZAPO_FABGRP-FABGRP'.
APPEND LI_DDIC_FIELD_LIST.
*
REFRESH LI_FIELDS.
CALL FUNCTION 'TRANSFER_NAMES_TO_FIELDS'
EXPORTING
SELECTFIELD = 'FABGRP'
TABLES
FIELDS = LI_FIELDS
NAMELIST = LI_DDIC_FIELD_LIST
EXCEPTIONS
WRONG_FORMAT_GIVEN = 01.
*
*loop at LI_DDIC_FIELD_LIST.
*write 😕 LI_DDIC_FIELD_LIST.
*endloop.
DATA : T_RETURN TYPE STANDARD TABLE OF DDSHRETVAL WITH HEADER LINE.
DATA: BEGIN OF LI_DDIC_FIELD_LIST OCCURS 0,
matnr like mara-matnr,
END OF LI_DDIC_FIELD_LIST.
parameters : P_MATNR like MARA-MATNR.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
select matnr from mara into table LI_DDIC_FIELD_LIST
where mtart = 'ROH'.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'MATNR'
DYNPPROG = SY-REPID
DYNPNR = '1000'
DYNPROFIELD = 'P_MATNR'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = LI_DDIC_FIELD_LIST
RETURN_TAB = T_RETURN
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
start-of-selection.
loop at T_RETURN.
write 😕 T_RETURN-fieldname,T_RETURN-Fieldval.
endloop.
Thanks & Regards
Sreenivasulu P
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |