10-08-2007 7:44 AM
Hi
I have got a list of function module in txt file
I want to test whether these are obsolete function module or they still exists in ECC 6 server.
How to proceed ?
<b>Points will be Rewarded for helpfull answers</b>
Regards
Sumant Agarwal
10-08-2007 7:49 AM
hi,
REPORT zforum104 .
TABLES : tftit.
DATA : it LIKE tftit OCCURS 0 WITH HEADER LINE.
SELECT * FROM tftit INTO TABLE it
WHERE spras = sy-langu
AnD stext LIKE '%obsolete%'.
LOOP AT it.
WRITE: / it-funcname, it-stext.
ENDLOOP.
regards
siva
10-08-2007 7:48 AM
hi,
just check in SE38 --> pattern.
it will show message if it is obsolete.
Senthil kumar
10-08-2007 7:54 AM
I dont want to go for manual checking... as the txt file has 5000 + function modules ..
suggest me some program code.. how check these function module whether they exisits in ECC 6.0 server.
10-08-2007 7:57 AM
hi,
i had give u the code, check in table tftit, run the code it will give the list of function modules
regards
siva
10-08-2007 8:02 AM
hi siva
table tftit will give obsolete fm ...but for me the case is i am already haing a list of obsolete fm .. and i want to test within those only and not others .
10-08-2007 10:26 AM
Hi,
Populate the function module name in an internal table(from excel sheet).Let it be itab populated with field FUNCNAME from the file you have.
data itab1 type standard table of tftit.
data wa1 type tftit.
select * from TFTIT into table itab1 for all entries in itab where FUNCNAME = itab-FUNCNAME and stext like 'OBSOLETE%'.
loop at itab1 into wa1..
write : / wa1-funcname, wa1-stext.
endloop.
10-08-2007 7:49 AM
hi,
REPORT zforum104 .
TABLES : tftit.
DATA : it LIKE tftit OCCURS 0 WITH HEADER LINE.
SELECT * FROM tftit INTO TABLE it
WHERE spras = sy-langu
AnD stext LIKE '%obsolete%'.
LOOP AT it.
WRITE: / it-funcname, it-stext.
ENDLOOP.
regards
siva
10-08-2007 7:56 AM
10-08-2007 7:52 AM
Hi,
Obselete function module will exist in ECC6.0 but you insert it using the PATTERN button it will pop that it is obselete. Also you can find obselete statement by doing the extended program check in the Program -> Check -> Extended Program Check.
Thanks,
Muthu.
10-08-2007 7:52 AM
10-08-2007 7:55 AM
10-08-2007 7:58 AM
10-08-2007 7:58 AM
Hi,
EPC means Extended program check
SLIN is the Tcode to do it
after completing the program code
from menu
PROGRAM-> CHECK-> EXTENDED PROGRAM CHECK
check the character format and all check boxes and select strict below
execute
it displays all the errors.warnings etc
so that you can correct them
UCC means Unicode Check which is applicable to ECC versions of SAP
When you upgrade from lower versions of SAP to ECC versions this will become problematic as the code is checked against all Unicode errors.
ABAP Unicode Scan Tool UCCHECK
You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
Thanks,
Reward If Helpful.
10-08-2007 7:53 AM
use the t-code SLIN
There you can use the program name where you have Used UR FM
It can give you the necessary checks , there are various checks which can be perfromed to know the consistency of ur Fm
Thnkx
bhanu
10-08-2007 7:57 AM
Hi,
Plz check the table RODIR,please specify the object(give ur FM name) and then make the obsolete field as 'X' and see.
Regards,
Nagaraj
10-08-2007 8:47 AM
10-08-2007 10:06 AM
Hi ,
Use the table RODIR.
What i would suggest is as follows.
1. Upload the given list of FM into an internal table,
2. Select the data from table for all entreis in the internal table from the table RODIR where OBJECTTYPE = FUNC and OBSOLETE = 'X' , the resulting of data is the list of FM which are obseletd FM from your list.
Regards
Arun
10-08-2007 11:01 AM