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

Function module for Package

Former Member
0 Likes
1,156

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

5 REPLIES 5
Read only

Former Member
0 Likes
853

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

Read only

0 Likes
853

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

Read only

0 Likes
853

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

Read only

0 Likes
853

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

Read only

0 Likes
853

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 = ' ';