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

Standard Function Modules required

Former Member
0 Likes
1,095

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.

11 REPLIES 11
Read only

GauthamV
Active Contributor
0 Likes
1,057

Tables - DD02L,DD03L.

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
1,057

Hi Friends

Refer table : TFDIR.

Regards,

Sreeram Kumar.Madisetty

Read only

Former Member
0 Likes
1,057

Hi,

To get field details of table , you can use function module

DDIF_FIELDINFO_GET

Regards

Read only

Former Member
0 Likes
1,057

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

Read only

Former Member
0 Likes
1,057

FM: DDIF_FIELDINFO_GET solved the second requirment.

Thanks & Regards,

Samson.

Read only

Former Member
0 Likes
1,057

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

Read only

0 Likes
1,057

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.

Read only

0 Likes
1,057

Use this fm.

F4_DD_TABLES

Read only

0 Likes
1,057

Try this:

F4_DD_TABLES

regards,

Gurpreet

Read only

Former Member
0 Likes
1,057

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

Read only

Former Member
0 Likes
1,057

Thanks folks

I got the required FMs

  • Get list of table : RPY_TABLE_SELECT

  • Get details of table : DDIF_FIELDINFO_GET

Regards,

Samson.