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

how to find obsolete domains and data elements

Former Member
0 Kudos
401

Hi all,

how to find obsolete data elements and domains.

Is there any table is there?

Thanks in advance.

6 REPLIES 6
Read only

Former Member
0 Kudos
307

Hi all,

Can any one plz help how to identify the obsiolete data elements and domains which is used in ECC 6.0.

regards,

Viru.

Read only

0 Kudos
307

HI

There is no specific way to find obsolete Domains or Data elements .

When you use that Domains or data elements some where , when you do exteneded syntax check It will give waring or Error(Some times ) .Based on that we can recognize those obsolete .

Read only

Former Member
0 Kudos
307

Hi kamesh,

Thanks for your reply.

Do you know any obsolete domains or data elements which is used in ECC 6.0

thanks in advance.

Read only

JerryWang
Product and Topic Expert
Product and Topic Expert
0 Kudos
307

Hello friend,

here is the way to find obsolete function modules:

Go to transaction SE16

Enter the table name RODIR and press ENTER

Enter the object type as "FUNC" and the Obsolete field as 'X'.

Press EXECUTE.

The obtained list is the obsolete function modules in the SAP system.

and below report is to find obsolete system field in the system.

you can change them a little to try if it still works for domain and data element.

TYPES : BEGIN OF ty_tab,
        fieldname  TYPE dd03l-fieldname,
        rollname   TYPE dd03l-rollname,
        END  OF ty_tab.

TYPES: BEGIN OF ty_text,
       rollname TYPE dd04t-rollname,
       ddtext   TYPE dd04t-ddtext,
       END OF ty_text .

DATA: it_tab  TYPE STANDARD TABLE OF ty_tab WITH HEADER LINE,
      it_text TYPE STANDARD TABLE OF ty_text WITH HEADER LINE.

START-OF-SELECTION.

  SELECT fieldname
         rollname
         FROM dd03l
         INTO TABLE it_tab
         WHERE tabname = 'SYST'.

  IF sy-subrc = 0.
    SELECT rollname
           ddtext
           FROM dd04t
           INTO TABLE it_text
           FOR ALL ENTRIES IN it_tab
           WHERE rollname = it_tab-rollname
           AND   ddtext   = 'Obsolete'
           AND   ddlanguage = 'EN'.
  ENDIF.

Best Regards,

Jerry

Read only

0 Kudos
307

Hi jerry,

Do you know any other method to find obsolete domains and data elements.

Thank you.

Regards,

Viru.

Read only

Former Member
0 Kudos
307

Hi Jerry,

Thanks for your efforts taken.

I think it is not 100% percent correct one if go with text to find obsolete or not.

Bcz, By using table RODIR we can find obsolete FM.

same way the table TFTIT is used for getting FM texts.

SELECT FUNCNAME

FROM TFTIT

INTO TABLE it_text

AND stext = 'Obsolete'

AND spras = 'EN'.

but RODIR and TFTIT is not maching.

In RODIR there are 1115 obsolete FM are there but in TFTIT only 92 is there.(so TFTIT does not match with RODIR)

so if we go for text with dataelement and domains it is not getting all the obsolete dataelements and domains I think.

Regards,

Viru..