2010 Aug 23 7:34 AM
Hi all,
how to find obsolete data elements and domains.
Is there any table is there?
Thanks in advance.
2010 Aug 24 7:10 AM
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.
2010 Aug 24 7:23 AM
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 .
2010 Aug 24 8:38 AM
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.
2010 Aug 24 8:48 AM
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
2010 Aug 27 6:16 AM
Hi jerry,
Do you know any other method to find obsolete domains and data elements.
Thank you.
Regards,
Viru.
2010 Aug 24 10:35 AM
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..