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 functions

divya_nayudu
Participant
0 Likes
853

with compilation of z-objects, can obsolete functions be identified?

6 REPLIES 6
Read only

Former Member
0 Likes
706

Check out this thread ..this thread has an answer to your question

Click on the table contents button and in the field Object Type pass the value 'FUNC' and X to OBSOLETE field and press execute button .. that lists out all the obsolete FM's

Read only

0 Likes
706

thanks Vasu. that link was informative.

Read only

0 Likes
706

where can u find the replacements of obselete func modules??????????????????

Read only

0 Likes
706

I think the poster here hasn't understood the basic principle of what is meant by "Obsolete".

You need to look at what the old function module was doing and how it fits into your business process.

There might not be a replacement -- for example there might be new functionality added to the SAP system which means that the ABAP code where you called the old function module is now no longer required as standard SAP will handle the function.

User exits for example with function module calls are also being phased out - the replacement method of choice is by using Badi's with calls to classes instead - and from rel 6.0 you can call these from a standard ABAP as well.

Other old function modules have been replaced by calls to OO classes which is definitely the future trend. You will soon see that gradually the BOR (business objects - transaction SWO1) will be replaced by classes performing enhanced functionality of the BOR.

There is no simple answer to this question. If a function module is really obsolete then you should try and recode your application (where necessary) because you can guarantee with 100% certainty that it will stop working within a few upgrades.

It is actually more necessary than ever now for "Abappers" to have some understanding at least of the business processes they are involved in. This is NOT to say they have to become fully fledged functional consultants -- but the days of the 100% pure abapper are definitely numbered now.

Cheers

jimbo

Read only

Former Member
0 Likes
705

Hi Divya,

Execute the transaction SLIN and give the program name. There one check box Obsolete statements is there, check it and uncheck all the check boxes. and excute it.

u can get what are the Obsolete statements that are in the program.

regards,

ravi shankar reddy

Edited by: Ravi Shankar Reddy S on Jan 24, 2008 5:41 PM

Read only

0 Likes
705

i will try this Ravi, thanks a lot. Hope it works for me.