‎2011 Jan 12 5:10 AM
Hi ,
I am looking at a function module , on providing input as a Package name , it should give all ddic objects with type.
Ex : Input : Test_sap (Package name )
Output : Ztest1 ( Data Element)
Z_struct ( Structure name)
Z_tt (Table type ) ..... etc....
Please suggest me on this.
Thanks and regards,
Anil
‎2011 Jan 12 5:55 AM
Hi,
I think you are looking for Tables beginning with APPL*.
Example:
APPL_FUGR -> Packages related to Function Groups
APPL_PROG -> Packages related to Programs.
etc.
Regards,
Jovito
‎2011 Jan 12 6:02 AM
Thanks for the reply.
I checked the tables but it even shows the deleted objects.
Ex : in table APPL_DTEL ->
if I give input as a package name it displays all the data elements ( even which are deleted )
But I want to get only the existing object.
I had found one table TADIR where in devclass(Package) if u give the package name it will list out all the objects(including deleted object names) related to that packages.But not the current existing objects.
So I need a table/FM where if we input a package name it should list out all possible existing objects.
Thanks and regards,
Anil
‎2011 Jan 12 11:32 AM
Hi Anil,
Im not quite sure what you mean by saying "It shows deleted objects".
I created a DataElement in SE11 and checked in TADIR if it exists. Row present with object Type DTEL.
I deleted the DataElement in SE11 and checked in TADIR. Row was removed.
So could you more specific what u mean by existing and deleted objects.
Regards,
Jovito
‎2011 Jan 13 5:22 AM
Hi Jovito,
I have created many data elements by SE11 and then I checked in table TADIR and then deleted few of them.
for table TADIR when I give input as the package name(DEVCLASS) and the OBJect type ( OBJECT ) , then you can find the data element still exists.
So please check it again .
Now I require a table where I can find only the existing data objects.
Thanks and regards,
Anil
‎2011 Jan 13 5:18 PM
There is a field called DELFLAG in TADIR.. If this flag is set, entries are deleted... so you can look for existing entries with this flag = ' ';