05-19-2008 4:52 PM
Hi,
I have one question.Please help me .
In a report,there is one selection screen parameter 'Domain'.By filling that selection-screen field(Domain), In the Output,I need to get all the tables which contains that domain.I mean one of the fields of those Tables are linked to that domain.
By passing that Domain to Function Module,I think we can get it.Please help me what is that Function Module [or] if you know the code please help me.
Thanks in advance,
Pratap.
05-19-2008 4:55 PM
Did you try any of these FM's:
PA_DDIC_RECURSIVE_WHERE_USED
DD_GET_USED_TYPES
RS_EU_CROSSREF
CHVW_EXPLODE_ALL
05-19-2008 5:08 PM
05-19-2008 5:18 PM
You can use DD03L Table .
give domain name ( DOMNAME ) ,it gives list of table names here.
Thanks
Seshu
05-19-2008 7:44 PM
Hi,
You can get the table names related to that domain from table DD04L.
jus do like this.
Use DD03l and DD04l tables.
If you give Domain name as Input, you can get ROLLNAME from DD04l table.
Using this ROLLNAME, join DD03l and DD04l....and select TABNAME.
Hope it helps you.
regards
Sandeep Reddy.