‎2009 Jan 19 4:45 AM
Hi Friends,
How can i find the DATAELEMENT of a FIELD with the help of ABAP CODE,or is there any
function-module which returns me DATAELEMENT of a FIELD , if i export the FIELD NAME ?
Thanks and Regards,
Xavier.P
‎2009 Jan 19 5:08 AM
hi,
Use the Function Module DDIF_FIELDINFO_GET
or
Use the tables DD03l, DD04l for table fields and data elements.
thanks,
raji
‎2009 Jan 19 4:59 AM
Hi,
take the details from the table DD04L with the field values table = ENTITYTAB and ROLLNAME as yor data element.
hope this will helps you.
Thanks
‎2009 Jan 19 5:08 AM
hi,
Use the Function Module DDIF_FIELDINFO_GET
or
Use the tables DD03l, DD04l for table fields and data elements.
thanks,
raji
‎2009 Jan 19 5:09 AM
Hi,
Table DD03L contains the data you need. Pass the input as table name and field name and get it from DAta element field
‎2009 Jan 19 5:14 AM
Hi,
This FM gives the dataelement for the fieldname
SWU_GET_ROLLNAME_TO_FIELDNAMEu should give fieldname with the table name like VBAK-VBELN.
thanks
Mahesh
‎2009 Jan 19 7:00 AM
Hi,
I think there are couple of methods like u can get data-element name from DD03L and in that Roll name is the field.
Second is using FM 'BVW_FIELDNAMES_GET' in which u have to pass table name and it will give u all fields name with data element.
Cheers,
Parth Parikh
‎2009 Jan 19 7:13 AM
Hi ,
check the tables DD03L for table fields and DD04L data elements.
or press f1 on field ,go to technical setting u can get........
Regard's
Shaik.
Edited by: SHAIK JAILABDIN on Jan 19, 2009 8:14 AM
‎2009 Jan 19 7:32 AM
Hi...
data: it_dfies TYPE TABLE OF DFIES,
wa_dfies TYPE DFIES.
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
tabname = 'VBAK'
FIELDNAME = 'VBELN '
TABLES
DFIES_TAB = it_dfies.
READ TABLE it_dfies INTO wa_dfies INDEX 1.
WRITE /wa_dfies-ROLLNAME. "data element