‎2009 Mar 12 5:14 AM
I am look for a standard Function Module / RFC / BAPI for the below
Get the list of table (for a given search criteria like if I give m* it should return me list of
tables starting with m)
Get details of the table (its field details)
Regards,
Samson.
‎2009 Mar 12 5:15 AM
‎2009 Mar 12 5:17 AM
Hi Friends
Refer table : TFDIR.
Regards,
Sreeram Kumar.Madisetty
‎2009 Mar 12 5:19 AM
Hi,
To get field details of table , you can use function module
DDIF_FIELDINFO_GETRegards
‎2009 Mar 12 5:20 AM
1) to get the list of tables : you can check in DD02L table
2) To get the list of field details based on table: there is a custom program which can give you all the field details. (please check the forum, if i find any ... i will post again)
Regards,
~Satya
‎2009 Mar 12 5:24 AM
FM: DDIF_FIELDINFO_GET solved the second requirment.
Thanks & Regards,
Samson.
‎2009 Mar 12 5:25 AM
Select TABNAME fron dd02l into Itab where Tabname like M*
Select FIELDNAME ROLLNAME DOMNAME DATATYPE from dd03l into itab2 fro all entries in Itab where tabname = itab-tabname.
Or:
Select TABNAME fron dd02l into Itab where Tabname like M*
Loo at Itab.
Pass table name in each loop pass to FM: GET_FIELDTAB or DDIF_FIELDINFO_GET
GET_FIELDTAB -
>If you pass table it will give you related fields.
Endloop.
Regards,
Gurpreet
‎2009 Mar 12 5:32 AM
Hello all,
I am specific in finding FM / RFC / BAPI only and not looking into tables and logic to get this working.
I need a FM / RFC / BAPI to get list of tables based on table name search like m* for mara,marc etc.
Thanks for you posts.
Regards,
Samson.
‎2009 Mar 12 5:40 AM
‎2009 Mar 12 5:40 AM
‎2009 Mar 12 5:34 AM
Hi Samson,
Pls check this function module "RS_DD_F4_OBJECT".
Ex: You can pass MAR* and can get all the tables which starts with MAR..
Regards,
Raghu
‎2009 Mar 12 6:08 AM
Thanks folks
I got the required FMs
Get list of table : RPY_TABLE_SELECT
Get details of table : DDIF_FIELDINFO_GET
Regards,
Samson.