Application Development 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: 

obsolete function module

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

17 REPLIES 17

Former Member
0 Kudos

hi,

just check in SE38 --> pattern.

it will show message if it is obsolete.

Senthil kumar

0 Kudos

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.

0 Kudos

hi,

i had give u the code, check in table tftit, run the code it will give the list of function modules

regards

siva

0 Kudos

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 .

0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

I want to test from the given list of Function module

Former Member
0 Kudos

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.

Former Member
0 Kudos

u can do EPC for the FM

regards

Giridhar

0 Kudos

what is epc

0 Kudos

Error Program Check (SLIN)

0 Kudos

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.

Former Member
0 Kudos

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

former_member404244
Active Contributor
0 Kudos

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

Former Member
0 Kudos

can we do this using bdc .... if yes then how ?

0 Kudos

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

Former Member
0 Kudos

There is no need to write any function module. Look at this:

http://www.saptechnical.com/Tips/ABAP/ObsoleteFMs.htm