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

obsolete function module

Former Member
0 Likes
1,951

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
Read only

Former Member
0 Likes
1,738

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
Read only

Former Member
0 Likes
1,738

hi,

just check in SE38 --> pattern.

it will show message if it is obsolete.

Senthil kumar

Read only

0 Likes
1,738

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.

Read only

0 Likes
1,738

hi,

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

regards

siva

Read only

0 Likes
1,738

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 .

Read only

0 Likes
1,738

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.

Read only

Former Member
0 Likes
1,739

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

Read only

0 Likes
1,738

I want to test from the given list of Function module

Read only

Former Member
0 Likes
1,738

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.

Read only

Former Member
0 Likes
1,738

u can do EPC for the FM

regards

Giridhar

Read only

0 Likes
1,738

what is epc

Read only

0 Likes
1,738

Error Program Check (SLIN)

Read only

0 Likes
1,738

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.

Read only

Former Member
0 Likes
1,738

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

Read only

former_member404244
Active Contributor
0 Likes
1,738

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

Read only

Former Member
0 Likes
1,738

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

Read only

0 Likes
1,738

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

Read only

Former Member
0 Likes
1,738

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

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